GCSDK::CGCSOUpdateJob::BYieldingRunGCJob
0x0005f060 · 124 bytes · __thiscall
_ZN5GCSDK14CGCSOUpdateJob17BYieldingRunGCJobEPNS_10CNetPacketE
Decompiled
undefined (2 params)
/* GCSDK::CGCSOUpdateJob::BYieldingRunGCJob(GCSDK::CNetPacket*) */
undefined4 __thiscall
GCSDK::CGCSOUpdateJob::BYieldingRunGCJob(CGCSOUpdateJob *this,CNetPacket *param_1)
{
CSharedObjectCache *this_00;
undefined **local_2c;
int local_28;
int local_24;
undefined4 local_20;
undefined4 local_1c;
undefined4 local_18;
char local_14;
int local_10;
local_1c = 0x1e;
local_18 = 4;
local_14 = '\0';
local_2c = &PTR__CGCMsg_000b5590;
local_28 = *(int *)param_1;
local_20 = *(undefined4 *)(param_1 + 4);
local_24 = local_28 + 0x1e;
local_10 = local_28 + 0x22;
this_00 = (CSharedObjectCache *)(*(int *)(this + 0x6c) + 0x160);
/* try { // try from 0005f0b7 to 0005f0bb has its CatchHandler @ 0005f0dc */
CSharedObjectCache::BUpdateFromMsg(this_00,*(int *)(local_28 + 0x1e),(CMsgBase_t *)&local_2c);
local_2c = &PTR__CMsgBase_t_000b51f8;
if (local_14 != '\0') {
CMsgBase_t<GCSDK::GCMsgHdrEx_t>::~CMsgBase_t((CMsgBase_t<GCSDK::GCMsgHdrEx_t> *)this_00);
}
return 1;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
used as the SourceMod key — change to fit your plugin's convention
SourceMod library name (server / engine / matchmaking)
Just a Signatures{} block, ready to drop into a gamedata
file. Wire it up in your plugin however you like - SDKCall, DHooks,
raw memory ops, or anything else.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.