#pragma once #define WEAK __declspec(selectany) namespace game { /*************************************************************** * Functions **************************************************************/ WEAK symbol AddRefToValue{0x14036E600, 0x14043C580}; WEAK symbol RemoveRefToValue{0x1403700F0, 0x14043E090}; WEAK symbol AddRefToObject{0x14036E5F0, 0x14043C570}; WEAK symbol RemoveRefToObject{0x14036FFE0, 0x14043DF80}; WEAK symbol AllocThread{0x14036E960, 0x14043C8E0}; WEAK symbol AllocVariable{0x14036E9C0, 0x14043C940}; WEAK symbol Cbuf_AddText{0x140342EB0, 0x1404033B0}; WEAK symbol Cbuf_ExecuteBufferInternal{0x140342FC0, 0x1404034C0}; WEAK symbol Conbuf_AppendText{0x1403E3300, 0x140513FF0}; WEAK symbol ConcatArgs{0x1402697F0, 0x140335D70}; WEAK symbol Cmd_ExecuteSingleCommand{0x140343980, 0x140403F60}; WEAK symbol Cmd_AddCommandInternal{0x1403433E0, 0x140403950}; WEAK symbol Cmd_RemoveCommand{0x140343FF0, 0x1404045D0}; WEAK symbol Cmd_TokenizeString{0x140344110, 0x1404046F0}; WEAK symbol Cmd_EndTokenizeString{0x140343630, 0x140403C20}; WEAK symbol AimAssist_AddToTargetList{0, 0x14009D0F0}; WEAK symbol BG_GetWeaponNameComplete{0x140430550, 0x1401F9670}; WEAK symbol Com_Frame_Try_Block_Function{0x1401CE8D0, 0x1400D8310}; WEAK symbol Com_GetCurrentCoDPlayMode{0, 0x1405039A0}; WEAK symbol Com_InFrontEnd{0x1400E4B30, 0x140176A30}; WEAK symbol Com_SetSlowMotion{0, 0x1400DB790}; WEAK symbol Com_Error{0x1403509C0, 0x1400D78A0}; WEAK symbol Com_Quit_f{0x140352BE0, 0x1400DA830}; WEAK symbol Quit{0x140352D90, 0x1400DA830}; WEAK symbol CG_GameMessage{0x1401389A0, 0x140220CC0}; WEAK symbol CG_GameMessageBold{0x140138750, 0x140220620}; WEAK symbol CG_SetClientDvarFromServer{0, 0x140236120}; WEAK symbol CL_IsCgameInitialized{0x14017EE30, 0x140245650}; WEAK symbol Dvar_SetCommand{0x1403C72B0, 0x1404FD0A0}; WEAK symbol Dvar_FindVar{0x1403C5D50, 0x1404FBB00}; WEAK symbol Dvar_GetCombinedString{0x140354DF0, 0x14041D830}; WEAK symbol Dvar_ValueToString{0x1403C8560, 0x1404FE660}; WEAK symbol Dvar_Reset{0, 0x1404FCC40}; WEAK symbol Dvar_SetFromStringByNameFromSource{0, 0x1404FD490}; WEAK symbol Dvar_RegisterBool{0x1403C47E0, 0x1404FA540}; WEAK symbol Dvar_RegisterInt{0x1403C4CC0, 0x1404FAA20}; WEAK symbol Dvar_RegisterFloat{0x1403C4BB0, 0x1404FA910}; WEAK symbol Dvar_RegisterString{0x1403C4DA0, 0x1404FAB00}; WEAK symbol Dvar_RegisterVec4{0x1403C5220, 0x1404FAF40}; WEAK symbol FS_ReadFile{0x1403B9020, 0x1404EE720}; WEAK symbol FS_FreeFile{0x1403B9010, 0x1404EE710}; WEAK symbol FS_Startup{0x1403B85D0, 0x1404EDD30}; WEAK symbol FS_AddLocalizedGameDirectory{0x1403B6030, 0x1404EBE20}; WEAK symbol GetVariable{0x14036FDD0, 0x1403F3730}; WEAK symbol GetNewVariable{0x14036FA00, 0x14043D990}; WEAK symbol GetNewArrayVariable{0x14036F880, 0x14043D810}; WEAK symbol GScr_LoadConsts{0x1402D13E0, 0x140393810}; WEAK symbol FindVariable{0x14036F4B0, 0x14043D430}; WEAK symbol FindEntityId{0x14036F3B0, 0x14043D330}; WEAK symbol RemoveVariableValue{0x140370190, 0x14043E130}; WEAK symbol GetEntityFieldValue{0x140373780, 0x140441780}; WEAK symbol generateHashValue{0x1400FE8A0, 0x1401B1010}; WEAK symbol G_Glass_Update{0x14026C570, 0x14033A640}; WEAK symbol G_GetClientScore{0, 0x140342F90}; WEAK symbol G_GetWeaponForName{0x1402C2A90, 0x14038C300}; WEAK symbol G_GivePlayerWeapon{0x1402C2DF0, 0x14038C750}; WEAK symbol G_InitializeAmmo{0x140270980, 0x14033EDD0}; WEAK symbol G_SelectWeapon{0x1402C3750, 0x14038D1B0}; WEAK symbol G_TakePlayerWeapon{0x1402C3900, 0x14038D370}; WEAK symbol I_CleanStr{0x1403CD230, 0x140503D00}; WEAK symbol Key_KeynumToString{0x140187CC0, 0x14024FE10}; WEAK symbol Live_SyncOnlineDataFlags{0, 0x14059A700}; WEAK symbol Material_RegisterHandle{0x1404E48B0, 0x1405EAB30}; WEAK symbol NetadrToSockadr{0x1403C11C0, 0x1404F62F0}; WEAK symbol NET_OutOfBandPrint{0x140357560, 0x1404255D0}; WEAK symbol NET_SendLoopPacket{0, 0x140425790}; WEAK symbol NET_StringToAdr{0, 0x140425870}; WEAK symbol R_AddCmdDrawStretchPic{0x14017E5C0, 0x1402443A0}; WEAK symbol R_RegisterFont{0x1404D4100, 0x1405D91E0}; WEAK symbol R_TextWidth{0x1404D43B0, 0x1405D94A0}; WEAK symbol R_GetFontHeight{0x1405EA360, 0x1405D92C0}; WEAK symbol R_DrawSomething{0x1404D37B0, 0x1405D8890}; WEAK symbol R_SyncRenderThread{0x1404F8240, 0x1405FF3A0}; WEAK symbol H1_AddBaseDrawTextCmd{0x1404F3DC0, 0x1405FB1F0}; #define R_AddCmdDrawText(TXT, MC, F, X, Y, XS, YS, R, C, S) \ H1_AddBaseDrawTextCmd(TXT, MC, F, game::R_GetFontHeight(F), X, Y, XS, YS, R, C, S,-1, 0, game::R_DrawSomething(S)) #define R_AddCmdDrawTextWithCursor(TXT, MC, F, UNK, X, Y, XS, YS, R, C, S, CP, CC) \ H1_AddBaseDrawTextCmd(TXT, MC, F, game::R_GetFontHeight(F), X, Y, XS, YS, R, C, S, CP, CC, game::R_DrawSomething(S)) WEAK symbol VM_Execute{0x140376360, 0x140444350}; WEAK symbol Scr_NotifyId{0x140375800, 0x1404437E0}; WEAK symbol Scr_AllocVector{0x140370930, 0x14043E7D0}; WEAK symbol Scr_GetFloat{0x140374D20, 0x140442D10}; WEAK symbol Scr_GetString{0x140375210, 0x140443150}; WEAK symbol Scr_GetNumParam{0x140374F30, 0x140442E70}; WEAK symbol Scr_ClearOutParams{0x140374460, 0x140442510}; WEAK symbol Scr_GetEntityIdRef{0x140372D50, 0x140440D80}; WEAK symbol Scr_GetEntityId{0x140372CA0, 0x140440CD0}; WEAK symbol ScrPlace_GetViewPlacement{0x1401981F0, 0x140288550}; WEAK symbol DB_EnumXAssets_Internal{0x1401C9C10, 0x1402BA830}; WEAK symbol DB_GetXAssetName{0x14019A390, 0x14028BE50}; WEAK symbol DB_GetXAssetTypeSize{0x14019A3B0, 0x14028BE70}; WEAK symbol LUI_OpenMenu{0x14039D5F0, 0x1404CD210}; WEAK symbol Menu_IsMenuOpenAndVisible{0x1404709C0, 0x1404C7320}; WEAK symbol SL_FindString{0x14036D700, 0x14043B470}; WEAK symbol SL_GetString{0x14036D9A0, 0x14043B840}; WEAK symbol SL_ConvertToString{0x14036D420, 0x14043B170}; WEAK symbol Scr_SetObjectField{0x1402B9F60, 0x140385330}; WEAK symbol SV_DirectConnect{0, 0x140480860}; WEAK symbol SV_Cmd_ArgvBuffer{0x1403446C0, 0x140404CA0}; WEAK symbol SV_Cmd_TokenizeString{0x140344740, 0x140404D20}; WEAK symbol SV_Cmd_EndTokenizedString{0x140344700, 0x140404CE0}; WEAK symbol SV_AddBot{0, 0x140480190}; WEAK symbol SV_BotIsBot{0, 0x14046E6C0}; WEAK symbol SV_BotGetRandomName{0, 0x14046DBA0}; WEAK symbol SV_SpawnTestClient{0, 0x1404832A0}; WEAK symbol SV_GetGuid{0, 0x140484B90}; WEAK symbol SV_GetClientPing{0, 0x140484B70}; WEAK symbol SV_GetPlayerstateForClientNum{0x1404426D0, 0x140484C10}; WEAK symbol SV_SetConfigstring{0, 0x140486720}; WEAK symbol SV_Loaded{0x140442F60, 0x1404864A0}; WEAK symbol SV_KickClientNum{0, 0x14047ED00}; WEAK symbol SV_MapExists{0, 0x14047ED60}; WEAK symbol SV_ExecuteClientCommand{0, 0x140481870}; WEAK symbol SV_FastRestart{0, 0x14047E990}; WEAK symbol SV_GameSendServerCommand{ 0x1403F3A70, 0x140484AD0 }; WEAK symbol Sys_ShowConsole{0x1403E3B90, 0x140514910}; WEAK symbol Sys_Error{0x1403E0C40, 0x140511520}; WEAK symbol Sys_BuildAbsPath{0x1403CFF90, 0x140507010}; WEAK symbol Sys_Milliseconds{0x1403E2B10, 0x140513710}; WEAK symbol Sys_IsDatabaseReady2{0x1403580B0, 0x14042B090}; WEAK symbol Sys_SendPacket{0x1403E2820, 0x1405133B0}; WEAK symbol Sys_FileExists{0x1403E0CE0, 0x1405115E0}; WEAK symbol UI_GetMapDisplayName{0, 0x140408CC0}; WEAK symbol UI_GetGameTypeDisplayName{0, 0x1404086A0}; WEAK symbol UI_RunMenuScript{0x14039EFF0, 0x1404CFE60}; WEAK symbol UI_TextWidth{0x1403A0F20, 0x1404D21A0}; WEAK symbol UI_SafeTranslateString{0x140350430, 0x14041C580}; WEAK symbol longjmp{0x140648FD4, 0x140779F64}; WEAK symbol _setjmp{0x1406BFD30, 0x1407F5F90}; /*************************************************************** * Variables **************************************************************/ WEAK symbol sv_cmd_args{0x14AD99A10, 0x14946BA20}; WEAK symbol g_script_error_level{0x14BCFA4A4, 0x14A33C824}; WEAK symbol g_script_error{0x14BCFA5C0, 0x14A33C940}; WEAK symbol levelEntityId{0x14B65E3B0, 0x149CA0730}; WEAK symbol gameEntityId{0x14B65E3B4, 0x149CA0734}; WEAK symbol command_whitelist{0x141079A60, 0x14120C360}; WEAK symbol cmd_functions{0x14AD99AB8, 0x14946BAC8}; WEAK symbol cmd_args{0x14AD99960, 0x14946B970}; WEAK symbol g_poolSize{0x140DE84A0, 0x140FEADF0}; WEAK symbol g_classMap{0x14107AAF0, 0x1412106B0}; WEAK symbol scr_VarGlob{0x14B686480, 0x149CC8800}; WEAK symbol scr_VmPub{0x14BCFC6C0, 0x14A33EA40}; WEAK symbol scr_function_stack{0x14BD06C40, 0x14A348FC0}; WEAK symbol gfxDrawMethod{0x14F05CE50, 0x14FD21180}; WEAK symbol dvarCount{0x14C217D10, 0x14D064CF4}; WEAK symbol dvarPool{0x14C217D20, 0x14D064D00}; WEAK symbol DB_XAssetPool{0x140DE8C80, 0x140FEB5D0}; WEAK symbol g_assetNames{0x1408B0870, 0x140FEA240}; WEAK symbol keyCatchers{0x14243DAF0, 0x142D0BA9C}; WEAK symbol playerKeys{0x1422A873C, 0x142C19AFC}; WEAK symbol query_socket{0, 0x14DDFBF98}; WEAK symbol threadIds{0x14B19B880, 0x149810E00}; namespace mp { WEAK symbol g_entities{0, 0x14621E530}; WEAK symbol svs_clients{0, 0x14B204A10}; WEAK symbol svs_numclients{0, 0x14B204A0C}; WEAK symbol gameTime{0, 0x14621BDBC}; WEAK symbol ping{0, 0x142D106F0}; WEAK symbol sv_serverId_value{0, 0x14A3E99B8}; WEAK symbol virtualLobby_loaded{0, 0x142D077FD}; } namespace sp { WEAK symbol g_entities{0x14550DD90, 0}; } namespace hks { WEAK symbol lua_state{0x141E2C2F8, 0x1426D3D08}; WEAK symbol hksi_lua_pushlstring{0x14004DA90, 0x1400624F0}; WEAK symbol hks_obj_getfield{0x14009C0A0, 0x14012C600}; WEAK symbol hks_obj_settable{0x14009D240, 0x14012D820}; WEAK symbol hks_obj_gettable{0x14009C580, 0x14012CAE0}; WEAK symbol vm_call_internal{0x1400C87A0, 0x140159EB0}; WEAK symbol Hashtable_Create{0x14008B3B0, 0x14011B320}; WEAK symbol cclosure_Create{0x14008B5D0, 0x14011B540}; WEAK symbol hksi_luaL_ref{0x1400A64D0, 0x140136D30}; WEAK symbol hksi_luaL_unref{0x14009EF10, 0x14012F610}; } }