L L4D2node

GCSDK::CGCBase::Shutdown

0x00079f30 · 72 bytes · __thiscall

_ZN5GCSDK7CGCBase8ShutdownEv

Decompiled

undefined (1 param)

/* GCSDK::CGCBase::Shutdown() */

void __thiscall GCSDK::CGCBase::Shutdown(CGCBase *this)

{
  CJob *this_00;
  
  this_00 = operator_new(0x70);
                    /* try { // try from 00079f53 to 00079f57 has its CatchHandler @ 00079f78 */
  CJob::CJob(this_00,(CJobMgr *)(this + 4));
  *(CGCBase **)(this_00 + 0x6c) = this;
  *(undefined ***)this_00 = &PTR__CGCShutdownJob_000b5c48;
  CJob::StartJob(this_00,(void *)0x0);
  return;
}

SourceMod gamedata

paste into addons/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.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)