#pragma once #define WEAK __declspec(selectany) namespace game { /*************************************************************** * Functions **************************************************************/ WEAK symbol AddRefToValue{0x0, 0x5090E0}; WEAK symbol RemoveRefToValue{0x0, 0x50ABF0}; WEAK symbol AddRefToObject{0x0, 0x5090D0}; WEAK symbol RemoveRefToObject{0x0, 0x50AAE0}; WEAK symbol AllocThread{0x0, 0x509440}; WEAK symbol AllocVariable{0x0, 0x0}; WEAK symbol Cbuf_AddText{0x0, 0x1CF480}; WEAK symbol Cbuf_ExecuteBufferInternal{0x0, 0x155BC0}; WEAK symbol Conbuf_AppendText{0x0, 0x0}; WEAK symbol ConcatArgs{0x0, 0x413050}; WEAK symbol Cmd_ExecuteSingleCommand{0x0, 0x156E90}; WEAK symbol Cmd_AddCommandInternal{0x0, 0x156880}; WEAK symbol Cmd_RemoveCommand{0x0, 0x157690}; WEAK symbol Cmd_TokenizeString{0x0, 0x0}; // not a function WEAK symbol Cmd_EndTokenizeString{0x0, 0x0}; // not a function WEAK symbol AimAssist_AddToTargetList{0x0, 0xE66C0}; WEAK symbol BG_GetWeaponNameComplete{0x0, 0x2E2500}; WEAK symbol Com_Frame_Try_Block_Function{0x0, 0x0}; WEAK symbol Com_GetCurrentCoDPlayMode{0x0, 0x5AEF80}; WEAK symbol Com_InFrontend{0x0, 0x76A40}; WEAK symbol Com_SetSlowMotion{0x0, 0x17E5F0}; WEAK symbol Com_Error{0x0, 0x159860}; WEAK symbol Com_Quit_f{0x0, 0x1F9280}; WEAK symbol Com_Shutdown{0x0, 0x0}; WEAK symbol Quit{0x0, 0x17CF50}; WEAK symbol CG_GameMessage{0x0, 0x316210}; WEAK symbol CG_GameMessageBold{0x0, 0x3122F0}; WEAK symbol CG_SetClientDvarFromServer{0x0, 0x0}; WEAK symbol CG_GetWeaponDisplayName{0x0, 0x0}; WEAK symbol CL_IsCgameInitialized{0x0, 0x33C640}; WEAK symbol CL_VirtualLobbyShutdown{0x0, 0x0}; WEAK symbol Dvar_SetCommand{0x0, 0x1857D0}; WEAK symbol Dvar_FindVar{0x0, 0x183EB0}; WEAK symbol Dvar_ClearModified{0x0, 0x0}; WEAK symbol Dvar_GetCombinedString{0x0, 0x4EA020}; WEAK symbol Dvar_ValueToString{0x0, 0x187000}; WEAK symbol Dvar_Reset{0x0, 0x185390}; WEAK symbol Dvar_SetFromStringByNameFromSource{0x0, 0x185BD0}; WEAK symbol Dvar_RegisterBool{0x0, 0x182340}; WEAK symbol Dvar_RegisterInt{0x0, 0x182A10}; WEAK symbol Dvar_RegisterFloat{0x0, 0x1827F0}; WEAK symbol Dvar_RegisterString{0x0, 0x182BD0}; WEAK symbol Dvar_RegisterVec4{0x0, 0x183010}; WEAK symbol FS_ReadFile{0x0, 0x0}; WEAK symbol FS_FreeFile{0x0, 0x0}; WEAK symbol FS_Startup{0x0, 0x0}; WEAK symbol FS_AddLocalizedGameDirectory{0x0, 0x0}; WEAK symbol GetVariable{0x0, 0x0}; WEAK symbol GetNewVariable{0x0, 0x0}; WEAK symbol GetNewArrayVariable{0x0, 0x0}; WEAK symbol GScr_LoadConsts{0x0, 0x0}; WEAK symbol FindVariable{0x0, 0x0}; WEAK symbol FindEntityId{0x0, 0x0}; WEAK symbol RemoveVariableValue{0x0, 0x0}; WEAK symbol GetEntityFieldValue{0x0, 0x0}; WEAK symbol generateHashValue{0x0, 0x183F80}; WEAK symbol G_Glass_Update{0x0, 0x0}; WEAK symbol G_GetClientScore{0x0, 0x0}; WEAK symbol G_GetWeaponForName{0x0, 0x0}; WEAK symbol G_GivePlayerWeapon{0x0, 0x0}; WEAK symbol G_InitializeAmmo{0x0, 0x0}; WEAK symbol G_SelectWeapon{0x0, 0x0}; WEAK symbol G_TakePlayerWeapon{0x0, 0x0}; WEAK symbol I_CleanStr{0x0, 0x0}; WEAK symbol Key_KeynumToString{0x0, 0x0}; WEAK symbol Live_SyncOnlineDataFlags{0x0, 0x1A5C10}; WEAK symbol Material_RegisterHandle{0x0, 0x692360}; WEAK symbol NetadrToSockadr{0x0, 0x59E580}; WEAK symbol NET_OutOfBandPrint{0x0, 0x4F1EB0}; WEAK symbol NET_SendLoopPacket{0x0, 0x4F2070}; WEAK symbol NET_StringToAdr{0x0, 0x4F2150}; WEAK symbol R_AddCmdDrawStretchPic{0x0, 0x33B2B0}; WEAK symbol R_RegisterFont{0x0, 0x67F630}; WEAK symbol R_TextWidth{0x0, 0x67F8F0}; WEAK symbol R_GetFontHeight{0x0, 0x67F710}; WEAK symbol R_DrawSomething{0x0, 0x67ECE0}; WEAK symbol R_SyncRenderThread{0x0, 0x0}; WEAK symbol H1_AddBaseDrawTextCmd{0x0, 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_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 Image_Setup{0x0, 0x0}; WEAK symbol VM_Execute{0x0, 0x0}; WEAK symbol Scr_NotifyId{0x0, 0x510340}; WEAK symbol Scr_AllocVector{0x0, 0x0}; WEAK symbol Scr_GetFloat{0x0, 0x0}; WEAK symbol Scr_GetString{0x0, 0x0}; WEAK symbol Scr_GetNumParam{0x0, 0x0}; WEAK symbol Scr_ClearOutParams{0x0, 0x0}; WEAK symbol Scr_GetEntityIdRef{0x0, 0x0}; WEAK symbol Scr_GetEntityId{0x0, 0x0}; WEAK symbol Scr_SetObjectField{0x0, 0x0}; WEAK symbol ScrPlace_GetViewPlacement{0x0, 0x362840}; WEAK symbol DB_EnumXAssets_Internal{0x0, 0x0}; WEAK symbol DB_GetXAssetName{0x0, 0x0}; WEAK symbol DB_GetXAssetTypeSize{0x0, 0x0}; WEAK symbol DB_FindXAssetHeader{0x0, 0x0}; WEAK symbol LUI_OpenMenu{0x0, 0x0}; WEAK symbol LUI_BeginEvent{0x0, 0x0}; WEAK symbol LUI_EndEvent{0x0, 0x0}; WEAK symbol LUI_EnterCriticalSection{0x0, 0x0}; WEAK symbol LUI_LeaveCriticalSection{0x0, 0x0}; WEAK symbol Menu_IsMenuOpenAndVisible{0x0, 0x0}; WEAK symbol SL_FindString{0x0, 0x0}; WEAK symbol SL_GetString{0x0, 0x5083A0}; WEAK symbol SL_ConvertToString{0x0, 0x0}; WEAK symbol SL_GetCanonicalString{0x0, 0x0}; WEAK symbol SV_DirectConnect{0x0, 0x54DBF0}; WEAK symbol SV_Cmd_ArgvBuffer{0x0, 0x0}; WEAK symbol SV_Cmd_TokenizeString{0x0, 0x1CACE0}; WEAK symbol SV_Cmd_EndTokenizedString{0x0, 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, 0x0}; WEAK symbol SV_GetClientPing{0x0, 0x0}; WEAK symbol SV_GetPlayerstateForClientNum{0x0, 0x0}; WEAK symbol SV_SetConfigstring{0x0, 0x0}; WEAK symbol SV_Loaded{0x0, 0x553970}; WEAK symbol SV_KickClientNum{0x0, 0x0}; WEAK symbol SV_MapExists{0x0, 0x54C0C0}; WEAK symbol SV_ExecuteClientCommand{0x0, 0x0}; WEAK symbol SV_FastRestart{0x0, 0x0}; WEAK symbol SV_SendServerCommand{0x0, 0x1CC040}; WEAK symbol Sys_ShowConsole{0x0, 0x0}; WEAK symbol Sys_Error{0x0, 0x0}; WEAK symbol Sys_BuildAbsPath{0x0, 0x0}; WEAK symbol Sys_Milliseconds{0x0, 0x0}; WEAK symbol Sys_IsDatabaseReady2{0x0, 0x4F79C0}; WEAK symbol Sys_SendPacket{0x0, 0x5BDA90}; WEAK symbol Sys_FileExists{0x0, 0x0}; WEAK symbol UI_GetMapDisplayName{0x0, 0x0}; WEAK symbol UI_GetGameTypeDisplayName{0x0, 0x4DD8C0}; WEAK symbol UI_RunMenuScript{0x0, 0x1E35B0}; WEAK symbol UI_TextWidth{0x0, 0x0}; WEAK symbol UI_SafeTranslateString{0x0, 0x4E8BC0}; WEAK symbol longjmp{0x0, 0x0}; WEAK symbol _setjmp{0x0, 0x0}; /*************************************************************** * Variables **************************************************************/ WEAK symbol sv_cmd_args{0x0, 0x2ED1EB0}; WEAK symbol g_script_error_level{0x0, 0x0}; WEAK symbol g_script_error{0x0, 0x0}; WEAK symbol levelEntityId{0x0, 0x0}; WEAK symbol gameEntityId{0x0, 0x0}; WEAK symbol command_whitelist{0x0, 0x0}; WEAK symbol cmd_functions{0x0, 0x344DF18}; WEAK symbol cmd_args{0x0, 0x2ED1E00}; WEAK symbol g_poolSize{0x0, 0x0}; WEAK symbol g_classMap{0x0, 0x0}; WEAK symbol scr_VarGlob{0x0, 0x0}; WEAK symbol scr_VmPub{0x0, 0xB7AE3C0}; WEAK symbol scr_function_stack{0x0, 0x0}; WEAK symbol gfxDrawMethod{0x0, 0x0}; WEAK symbol dvarCount{0x0, 0x2999C34}; WEAK symbol dvarPool{0x0, 0x344DF20}; WEAK symbol DB_XAssetPool{0x0, 0x0}; WEAK symbol g_assetNames{0x0, 0x0}; WEAK symbol keyCatchers{0x0, 0x2EC82C4}; WEAK symbol playerKeys{0x0, 0x2999E1C}; WEAK symbol query_socket{0x0, 0xC9DCD38}; WEAK symbol threadIds{0x0, 0x0}; 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 ping{0x0, 0x0}; WEAK symbol sv_serverId_value{0x0, 0x0}; WEAK symbol virtualLobby_loaded{0x0, 0x2E6EC9D}; } namespace sp { WEAK symbol g_entities{0x0, 0x0}; } namespace hks { WEAK symbol lua_state{0x0, 0x0}; WEAK symbol hksi_lua_pushlstring{0x0, 0x0}; WEAK symbol hks_obj_getfield{0x0, 0x0}; WEAK symbol hks_obj_settable{0x0, 0x0}; WEAK symbol hks_obj_gettable{0x0, 0x0}; WEAK symbol vm_call_internal{0x0, 0x0}; WEAK symbol Hashtable_Create{0x0, 0x0}; WEAK symbol cclosure_Create{0x0, 0x0}; WEAK symbol hksi_luaL_ref{0x0, 0x0}; WEAK symbol hksi_luaL_unref{0x0, 0x0}; WEAK symbol closePendingUpvalues{0x0, 0x0}; } }