L L4D2node

CMapReslistGenerator::CMapReslistGenerator

0x0018c830 · 550 bytes · __thiscall

_ZN20CMapReslistGeneratorC1Ev

Decompiled

undefined (1 param)

/* CMapReslistGenerator::CMapReslistGenerator() */

void __thiscall CMapReslistGenerator::CMapReslistGenerator(CMapReslistGenerator *this)

{
  this[6] = (CMapReslistGenerator)0x0;
  *(undefined4 *)(this + 8) = 0;
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined4 *)(this + 0x10) = 0;
  *(undefined4 *)(this + 0x14) = 0;
  *(undefined4 *)(this + 0x18) = 0;
                    /* try { // try from 0018c884 to 0018c888 has its CatchHandler @ 0018ca56 */
  CUtlSymbolTable::CUtlSymbolTable((CUtlSymbolTable *)(this + 0x28),0,0,true);
                    /* try { // try from 0018c8ad to 0018c8b1 has its CatchHandler @ 0018cb12 */
  CUtlSymbolTable::CUtlSymbolTable((CUtlSymbolTable *)(this + 0xe8),0,0x10,false);
  *(code **)(this + 0x120) = CDefOps<CUtlSymbol>::LessFunc;
  *(undefined4 *)(this + 0x124) = 0;
  *(undefined4 *)(this + 0x128) = 0;
  *(undefined4 *)(this + 300) = 0;
  *(undefined2 *)(this + 0x130) = 0xffff;
  *(undefined2 *)(this + 0x132) = 0;
  *(undefined2 *)(this + 0x134) = 0xffff;
  *(undefined2 *)(this + 0x136) = 0xffff;
  *(undefined4 *)(this + 0x138) = 0;
                    /* try { // try from 0018c932 to 0018c936 has its CatchHandler @ 0018cb09 */
  CUtlSymbolTable::CUtlSymbolTable((CUtlSymbolTable *)(this + 0x13c),0,0x10,false);
  *(code **)(this + 0x174) = ReslistLogLessFunc;
  *(undefined4 *)(this + 0x178) = 0;
  *(undefined4 *)(this + 0x17c) = 0;
  *(undefined4 *)(this + 0x180) = 0;
  *(undefined4 *)(this + 0x184) = 0xffffffff;
  *(undefined4 *)(this + 0x188) = 0;
  *(undefined4 *)(this + 0x18c) = 0xffffffff;
  *(undefined4 *)(this + 400) = 0xffffffff;
  *(undefined4 *)(this + 0x194) = 0;
  *(code **)(this + 0x198) = ReslistLogLessFunc;
  *(undefined4 *)(this + 0x19c) = 0;
  *(undefined4 *)(this + 0x1a0) = 0;
  *(undefined4 *)(this + 0x1a4) = 0;
  *(undefined4 *)(this + 0x1a8) = 0xffffffff;
  *(undefined4 *)(this + 0x1ac) = 0;
  *(undefined4 *)(this + 0x1b0) = 0xffffffff;
  *(undefined4 *)(this + 0x1b4) = 0xffffffff;
  *(undefined4 *)(this + 0x1b8) = 0;
                    /* try { // try from 0018c9f4 to 0018c9f8 has its CatchHandler @ 0018cb05 */
  CUtlString::CUtlString((CUtlString *)(this + 0x1bc));
  this[2] = (CMapReslistGenerator)0x0;
  *this = (CMapReslistGenerator)0x0;
  this[1] = (CMapReslistGenerator)0x0;
  this[4] = (CMapReslistGenerator)0x0;
  *(undefined4 *)(this + 0x1c) = 0;
  *(undefined4 *)(this + 0x20) = 0;
  *(undefined4 *)(this + 0x24) = 0;
  this[0x68] = (CMapReslistGenerator)0x0;
  this[0xa8] = (CMapReslistGenerator)0x0;
  *(undefined4 *)(this + 0x60) = 2;
  *(undefined4 *)(this + 100) = 300;
  this[3] = (CMapReslistGenerator)0x0;
  this[5] = (CMapReslistGenerator)0x1;
                    /* try { // try from 0018ca49 to 0018ca4d has its CatchHandler @ 0018ca80 */
  CUtlString::operator=((CUtlString *)(this + 0x1bc),"reslists");
  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)