L L4D2node

CSpatialPartition::CSpatialPartition

0x001de7c0 · 180 bytes · __thiscall

_ZN17CSpatialPartitionC1Ev

Decompiled

undefined (1 param)

/* CSpatialPartition::CSpatialPartition() */

void __thiscall CSpatialPartition::CSpatialPartition(CSpatialPartition *this)

{
  *(undefined ***)this = &PTR__CSpatialPartition_002be648;
                    /* try { // try from 001de7d8 to 001de7dc has its CatchHandler @ 001de874 */
  CMemoryStack::CMemoryStack((CMemoryStack *)(this + 4));
                    /* try { // try from 001de800 to 001de804 has its CatchHandler @ 001de8bd */
  CMemoryStack::Init((CMemoryStack *)(this + 4),0x33ffcc,0xd000,0,4);
  *(undefined2 *)(this + 0x2e) = 0xffff;
  *(undefined2 *)(this + 0x2a) = 0;
  *(undefined2 *)(this + 0x2c) = 0;
  *(undefined2 *)(this + 0x28) = 0xffff;
  *(undefined2 *)(this + 0x24) = 0xffff;
  *(undefined2 *)(this + 0x26) = 0xffff;
  *(undefined4 *)(this + 0x30) = *(undefined4 *)(this + 0x10);
  *(undefined4 *)(this + 0x34) = 0;
  *(undefined4 *)(this + 0x38) = 0;
                    /* try { // try from 001de84f to 001de853 has its CatchHandler @ 001de8b6 */
  CVoxelTree::CVoxelTree((CVoxelTree *)(this + 0x40));
                    /* try { // try from 001de85d to 001de861 has its CatchHandler @ 001de882 */
  CVoxelTree::CVoxelTree((CVoxelTree *)(this + 0x130));
  *(undefined4 *)(this + 0x22c) = 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)