L L4D2node

GCSDK::CJobMgr::CJobMgr

0x0005fe10 · 626 bytes · __thiscall

_ZN5GCSDK7CJobMgrC1Ev

Decompiled

undefined (1 param)

/* GCSDK::CJobMgr::CJobMgr() */

void __thiscall GCSDK::CJobMgr::CJobMgr(CJobMgr *this)

{
  int iVar1;
  CJobMgr *pCVar2;
  
  *(code **)this = CDefOps<unsigned_long_long>::LessFunc;
  *(undefined4 *)(this + 4) = 0;
  *(undefined4 *)(this + 8) = 0;
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined4 *)(this + 0x10) = 0xffffffff;
  *(undefined4 *)(this + 0x14) = 0;
  *(undefined4 *)(this + 0x18) = 0xffffffff;
  *(undefined4 *)(this + 0x1c) = 0xffffffff;
  *(undefined4 *)(this + 0x20) = 0;
  *(undefined4 *)(this + 0x24) = 0;
  *(undefined4 *)(this + 0x28) = 0;
  *(undefined4 *)(this + 0x2c) = 0;
  *(undefined4 *)(this + 0x44) = 0xffffffff;
  *(undefined4 *)(this + 0x30) = 0xffffffff;
  *(undefined4 *)(this + 0x34) = 0xffffffff;
  *(undefined4 *)(this + 0x38) = 0xffffffff;
  *(undefined4 *)(this + 0x3c) = 0;
  *(undefined4 *)(this + 0x40) = 0;
  *(undefined4 *)(this + 0x48) = 0;
  *(undefined4 *)(this + 0x50) = 0;
  *(undefined4 *)(this + 0x54) = 0;
  *(undefined4 *)(this + 0x58) = 0;
  *(undefined4 *)(this + 0x5c) = 0;
  *(undefined4 *)(this + 0x60) = 0;
  *(code **)(this + 100) = JobSleepingLessFunc;
  *(undefined4 *)(this + 0x68) = 0;
  *(undefined4 *)(this + 0x6c) = 0;
  *(undefined4 *)(this + 0x70) = 0;
  *(undefined4 *)(this + 0x88) = 0xffffffff;
  *(undefined4 *)(this + 0x74) = 0xffffffff;
  *(undefined2 *)(this + 0xa4) = 0xffff;
  *(undefined2 *)(this + 0xa0) = 0xffff;
  *(undefined2 *)(this + 0xa2) = 0;
  *(undefined2 *)(this + 0xa6) = 0xffff;
  *(undefined4 *)(this + 0x78) = 0xffffffff;
  *(undefined4 *)(this + 0x7c) = 0xffffffff;
  *(undefined4 *)(this + 0x80) = 0;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x8c) = 0;
  *(undefined4 *)(this + 0x94) = 0;
  *(undefined4 *)(this + 0x98) = 0;
  *(undefined4 *)(this + 0x9c) = 0;
  *(undefined4 *)(this + 0xa8) = 0;
  pCVar2 = this + 0xb0;
  for (iVar1 = 0xc; iVar1 != 0; iVar1 = iVar1 + -1) {
    *(undefined4 *)pCVar2 = 0;
    pCVar2 = pCVar2 + 4;
  }
  *(undefined4 *)(this + 0xe0) = 0;
  *(undefined2 *)(this + 300) = 0xffff;
  *(undefined2 *)(this + 0x12e) = 0;
  *(undefined2 *)(this + 0x130) = 0xffff;
  *(undefined4 *)(this + 0xe4) = 0;
  *(code **)(this + 0xf8) = CDefOps<unsigned_int>::LessFunc;
  *(undefined4 *)(this + 0xfc) = 0;
  *(undefined4 *)(this + 0x100) = 0;
  *(undefined4 *)(this + 0x104) = 0;
  *(undefined4 *)(this + 0x108) = 0xffffffff;
  *(undefined4 *)(this + 0x10c) = 0;
  *(undefined4 *)(this + 0x110) = 0xffffffff;
  *(undefined4 *)(this + 0x114) = 0xffffffff;
  *(undefined4 *)(this + 0x118) = 0;
  *(undefined4 *)(this + 0x120) = 0;
  *(undefined4 *)(this + 0x124) = 0;
  *(undefined4 *)(this + 0x128) = 0;
  *(undefined2 *)(this + 0x132) = 0xffff;
  *(undefined4 *)(this + 0x134) = 0;
  *(code **)(this + 0x90) = CDefOps<unsigned_long_long>::LessFunc;
  *(code **)(this + 0x11c) = CDefOps<unsigned_int>::LessFunc;
  this[0xac] = (CJobMgr)0x0;
  *(undefined4 *)(this + 0x4c) = 0;
  this[0xec] = (CJobMgr)0x0;
  *(undefined4 *)(this + 0xf0) = 0;
  *(undefined4 *)(this + 0xe8) = 0;
  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)