#pragma once #define WEAK __declspec(selectany) namespace game { /*************************************************************** * Functions **************************************************************/ WEAK symbol AddRefToValue{0x3C1F50, 0x5090E0}; WEAK symbol RemoveRefToValue{0x3C3A60, 0x50ABF0}; WEAK symbol AddRefToObject{0x3C1F40, 0x5090D0}; WEAK symbol RemoveRefToObject{0x3C3950, 0x50AAE0}; WEAK symbol AllocThread{0x3C22B0, 0x509440}; WEAK symbol AllocVariable{0x3C2310, 0x5094A0}; namespace sp { WEAK symbol Cbuf_AddText{0x3764A0, 0x0}; } namespace mp { WEAK symbol Cbuf_AddText{0x0, 0x1CF480}; } WEAK symbol Cbuf_ExecuteBufferInternal{0x3765B0, 0x155BC0}; WEAK symbol Conbuf_AppendText{0x0, 0x0}; WEAK symbol ConcatArgs{0x296420, 0x413050}; WEAK symbol Cmd_ExecuteSingleCommand{0x376FF0, 0x156E90}; WEAK symbol Cmd_AddCommandInternal{0x376A40, 0x156880}; WEAK symbol Cmd_RemoveCommand{0x377670, 0x157690}; namespace sp { WEAK symbol Cmd_TokenizeString{0x377790, 0x0}; WEAK symbol Cmd_EndTokenizeString{0x376C90, 0x0}; } namespace mp { WEAK symbol Cmd_TokenizeStringWithLimit{0x0, 0x157A40}; } WEAK symbol AimAssist_AddToTargetList{0x0, 0xE66C0}; WEAK symbol BG_GetWeaponNameComplete{0x4B19C0, 0x2E2500}; WEAK symbol Com_Frame_Try_Block_Function{0x385280, 0x0}; WEAK symbol Com_GetCurrentCoDPlayMode{0x0, 0x5AEF80}; WEAK symbol Com_InFrontend{0xF6430, 0x76A40}; WEAK symbol Com_SetSlowMotion{0x0, 0x17E5F0}; WEAK symbol Com_Error{0x384820, 0x159860}; WEAK symbol Com_Quit_f{0x0, 0x1F9280}; WEAK symbol Com_Shutdown{0x3A6A50, 0x0}; WEAK symbol Quit{0x3A5A20, 0x17CF50}; WEAK symbol CG_GameMessage{0x15B3B0, 0x316210}; WEAK symbol CG_GameMessageBold{0x15B110, 0x3122F0}; WEAK symbol CG_SetClientDvarFromServer{0x0, 0x0}; WEAK symbol CG_GetWeaponDisplayName{0x192B80, 0x104B70}; WEAK symbol CL_IsCgameInitialized{0x1A3210, 0x33C640}; WEAK symbol CL_VirtualLobbyShutdown{0x0, 0x0}; WEAK symbol Dvar_SetCommand{0x41BAD0, 0x1857D0}; WEAK symbol Dvar_FindVar{0x41A600, 0x183EB0}; WEAK symbol Dvar_FindMalleableVar{0x41A570, 0x183E20}; WEAK symbol Dvar_ClearModified{0x41A4F0, 0x183D50}; WEAK symbol Dvar_GetCombinedString{0x3A7D60, 0x4EA020}; WEAK symbol Dvar_ValueToString{0x41CE00, 0x187000}; WEAK symbol Dvar_Reset{0x41B5F0, 0x185390}; WEAK symbol Dvar_SetFromStringByNameFromSource{0x41BD90, 0x185BD0}; WEAK symbol Dvar_RegisterBool{0x419220, 0x182340}; WEAK symbol Dvar_RegisterInt{0x419700, 0x182A10}; WEAK symbol Dvar_RegisterFloat{0x4195F0, 0x1827F0}; WEAK symbol Dvar_RegisterFloatHashed{0x0, 0x182900}; WEAK symbol Dvar_RegisterString{0x4197E0, 0x182BD0}; WEAK symbol Dvar_RegisterVec4{0x419C60, 0x183010}; WEAK symbol FS_ReadFile{0x40E280, 0x1EC690}; WEAK symbol FS_FreeFile{0x40E270, 0x59E2F0}; WEAK symbol FS_Startup{0x40D890, 0x0}; WEAK symbol FS_AddLocalizedGameDirectory{0x40B1E0, 0x1878F0}; WEAK symbol GetVariable{0x3C3740, 0x50A8D0}; WEAK symbol GetNewVariable{0x3C3360, 0x50A4F0}; WEAK symbol GetNewArrayVariable{0x3C31E0, 0x50A370}; WEAK symbol FindVariable{0x3C2E00, 0x509F90}; WEAK symbol FindEntityId{0x3C2D00, 0x509E90}; WEAK symbol RemoveVariableValue{0x3C3B00, 0x50AC90}; WEAK symbol GetEntityFieldValue{0x3C71A0, 0x50E2E0}; WEAK symbol generateHashValue{0x11FEA0, 0x183F80}; WEAK symbol G_Glass_Update{0x2992E0, 0x417940}; WEAK symbol G_GetClientScore{0x0, 0x420420}; WEAK symbol G_GetWeaponForName{0x2F20F0, 0x461180}; WEAK symbol G_GivePlayerWeapon{0x2F24F0, 0x461600}; WEAK symbol G_InitializeAmmo{0x29D9E0, 0x41C170}; WEAK symbol G_SelectWeapon{0x2F2EA0, 0x462560}; WEAK symbol G_TakePlayerWeapon{0x2F3050, 0x462770}; WEAK symbol I_CleanStr{0x4293E0, 0x5AF2E0}; WEAK symbol Key_KeynumToString{0x1AC410, 0x199990}; WEAK symbol Live_SyncOnlineDataFlags{0x0, 0x1A5C10}; WEAK symbol Material_RegisterHandle{0x56EA20, 0x692360}; WEAK symbol NetadrToSockadr{0x416580, 0x59E580}; WEAK symbol NET_OutOfBandPrint{0x3AA550, 0x4F1EB0}; WEAK symbol NET_SendLoopPacket{0x0, 0x4F2070}; WEAK symbol NET_StringToAdr{0x0, 0x4F2150}; WEAK symbol R_AddCmdDrawStretchPic{0x1A29A0, 0x33B2B0}; WEAK symbol R_RegisterFont{0x55C4E0, 0x67F630}; WEAK symbol R_TextWidth{0x55C7A0, 0x67F8F0}; WEAK symbol R_GetFontHeight{0x55C5C0, 0x67F710}; WEAK symbol R_GetSomething{0x55BB90, 0x67ECE0}; WEAK symbol R_SyncRenderThread{0x582F30, 0x6A78C0}; WEAK symbol H1_AddBaseDrawTextCmd{0x57EA60, 0x6A3080}; #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_GetSomething(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_GetSomething(S)) WEAK symbol Image_Setup{0x560740, 0x683890}; WEAK symbol VM_Execute{0x3C9E50, 0x510EB0}; WEAK symbol Scr_NotifyId{0x3C92E0, 0x510340}; WEAK symbol Scr_AllocVector{0x3C42D0, 0x50B330}; WEAK symbol Scr_GetFloat{0x3C87D0, 0x50F870}; WEAK symbol Scr_GetString{0x3C8CC0, 0x50FCB0}; WEAK symbol Scr_GetNumParam{0x0, 0x50F9D0}; WEAK symbol Scr_ClearOutParams{0x3C7EF0, 0x50F070}; WEAK symbol Scr_GetEntityIdRef{0x3C6760, 0x50D8E0}; WEAK symbol Scr_GetEntityId{0x3C66B0, 0x50D830}; WEAK symbol Scr_SetObjectField{0x2E8FC0, 0x459CD0}; WEAK symbol ScrPlace_GetViewPlacement{0x1BCED0, 0x362840}; WEAK symbol DB_EnumXAssets_Internal{0x1F0BF0, 0x394C60}; WEAK symbol DB_GetXAssetName{0x1BF890, 0x366140}; WEAK symbol DB_GetXAssetTypeSize{0x0, 0x0}; WEAK symbol DB_FindXAssetHeader{0x1F1120, 0x3950C0}; WEAK symbol LUI_OpenMenu{0x3F20A0, 0x1E1210}; WEAK symbol LUI_EnterCriticalSection{0xF19A0, 0x2669B0}; WEAK symbol LUI_LeaveCriticalSection{0xF6C40, 0x26BDC0}; WEAK symbol Menu_IsMenuOpenAndVisible{0x4F43C0, 0x389F70}; WEAK symbol SL_FindString{0x3C0F50, 0x507FD0}; WEAK symbol SL_GetString{0x3C1210, 0x5083A0}; WEAK symbol SL_ConvertToString{0x3C0C50, 0x507CD0}; WEAK symbol SL_GetCanonicalString{0x3BDA20, 0x504A00}; WEAK symbol SV_DirectConnect{0x0, 0x54DBF0}; WEAK symbol SV_Cmd_ArgvBuffer{0x377D40, 0x1CAC60}; WEAK symbol SV_Cmd_TokenizeString{0x377DC0, 0x1CACE0}; WEAK symbol SV_Cmd_EndTokenizedString{0x377D80, 0x1CACA0}; WEAK symbol SV_AddBot{0x0, 0x54D4F0}; WEAK symbol SV_BotIsBot{0x0, 0x53B6D0}; WEAK symbol SV_BotGetRandomName{0x0, 0x53ABD0}; WEAK symbol SV_SpawnTestClient{0x0, 0x550580}; WEAK symbol SV_GetGuid{0x0, 0x551D90}; WEAK symbol SV_GetClientPing{0x0, 0x551D70}; WEAK symbol SV_GetPlayerstateForClientNum{0x4C3F10, 0x551E10}; WEAK symbol SV_SetConfigstring{0x0, 0x553E60}; WEAK symbol SV_Loaded{0x4C4810, 0x553970}; WEAK symbol SV_KickClientNum{0x0, 0x54C060}; WEAK symbol SV_MapExists{0x0, 0x54C0C0}; WEAK symbol SV_ExecuteClientCommand{0x0, 0x0}; WEAK symbol SV_FastRestart{0x0, 0x54BE00}; WEAK symbol SV_SendServerCommand{0x0, 0x1CC040}; WEAK symbol Sys_ShowConsole{0x0, 0x0}; WEAK symbol Sys_Error{0x0, 0x1D8710}; WEAK symbol Sys_BuildAbsPath{0x42C330, 0x0}; WEAK symbol Sys_Milliseconds{0x462B30, 0x5BDDF0}; WEAK symbol Sys_IsDatabaseReady2{0x3AB100, 0x4F79C0}; WEAK symbol Sys_SendPacket{0x0, 0x5BDA90}; WEAK symbol Sys_FileExists{0x0, 0x0}; WEAK symbol UI_GetMapDisplayName{0x0, 0x4DDEE0}; WEAK symbol UI_GetGameTypeDisplayName{0x0, 0x4DD8C0}; WEAK symbol UI_RunMenuScript{0x3F3AA0, 0x1E35B0}; WEAK symbol UI_TextWidth{0x3F5D90, 0x0}; WEAK symbol UI_SafeTranslateString{0x3840A0, 0x4E8BC0}; WEAK symbol longjmp{0x6DCA90, 0x826710}; WEAK symbol _setjmp{0x758980, 0x8A3190}; /*************************************************************** * Variables **************************************************************/ WEAK symbol sv_cmd_args{0xB48FF90, 0x2ED1EB0}; WEAK symbol g_script_error_level{0xC3FD358, 0xB7AC1A4}; WEAK symbol g_script_error{0xC3FD470, 0xB7AC2C0}; WEAK symbol levelEntityId{0xBD58DA0, 0xB1100B0}; WEAK symbol gameEntityId{0xBD58DA4, 0xB1100B4}; WEAK symbol command_whitelist{0x115ADF0, 0x10ACB70}; WEAK symbol cmd_functions{0xB490038, 0x344DF18}; WEAK symbol cmd_args{0xB48FEE0, 0x2ED1E00}; WEAK symbol cmd_argsPrivate{0, 0x3513F20}; WEAK symbol connectionState{0x0, 0x2EC82C8}; WEAK symbol g_poolSize{0x0, 0x0}; WEAK symbol scr_VarGlob{0xBD80E00, 0xB138180}; WEAK symbol scr_VmPub{0xC3F4E20, 0xB7AE3C0}; WEAK symbol scr_function_stack{0xC4015C0, 0xB7B8940}; WEAK symbol gfxDrawMethod{0xF7530B0, 0xE9213F0}; WEAK symbol dvarCount{0xC90E550, 0x2999C34}; WEAK symbol dvarPool{0xC90E560, 0x344DF20}; WEAK symbol DB_XAssetPool{0xEC9FB0, 0x10B4460}; WEAK symbol g_assetNames{0x991BA0, 0x10B30D0}; WEAK symbol keyCatchers{0x252AF70, 0x2EC82C4}; WEAK symbol playerKeys{0x2395B0C, 0x2999E1C}; WEAK symbol query_socket{0xD64D3F8, 0xC9DCD38}; WEAK symbol threadIds{0xB896210, 0xAC80740}; namespace mp { WEAK symbol g_entities{0x0, 0x71F19E0}; WEAK symbol svs_clients{0x0, 0x2DC3390}; WEAK symbol svs_numclients{0x0, 0x2DC338C}; WEAK symbol gameTime{0x0, 0x0}; WEAK symbol sv_serverId_value{0x0, 0x0}; WEAK symbol virtualLobby_loaded{0x0, 0x2E6EC9D}; WEAK symbol client_state{0x0, 0x2EC84F0}; WEAK symbol connect_state{0x0, 0x2EC8510}; } namespace sp { WEAK symbol g_entities{0x56E74D0, 0x0}; } namespace hks { WEAK symbol lua_state{0x1F0E408, 0x36647F8}; WEAK symbol hksi_lua_pushlstring{0x62E60, 0x79800}; WEAK symbol hks_obj_getfield{0xB5100, 0x22CB90}; WEAK symbol hks_obj_settable{0xB6320, 0x22DDB0}; WEAK symbol hks_obj_gettable{0xB55E0, 0x22D070}; WEAK symbol vm_call_internal{0xE5E40, 0x25D2F0}; WEAK symbol Hashtable_Create{0xA3570, 0x21B030}; WEAK symbol cclosure_Create{0xA3790, 0x21B250}; WEAK symbol hksi_luaL_ref{0xB7F90, 0x236CC0}; WEAK symbol hksi_luaL_unref{0xB8130, 0x22FC40}; WEAK symbol hksi_hksL_loadbuffer{0xB6B90, 0x22E620}; WEAK symbol hksi_lua_getinfo{0xB84D0, 0x22FFE0}; WEAK symbol hksi_lua_getstack{0xB87A0, 0x2302B0}; WEAK symbol hksi_luaL_error{0xBF120, 0x22F930}; WEAK symbol typenames{0x98CD20, 0x10AD750}; } }