L L4D2node

CVoxelTree::RenderAllObjectsInTree

0x001df060 · 141 bytes · __cdecl

_ZN10CVoxelTree22RenderAllObjectsInTreeEf

Decompiled

undefined (1 param)

/* CVoxelTree::RenderAllObjectsInTree(float) */

void CVoxelTree::RenderAllObjectsInTree(float param_1)

{
  int *piVar1;
  int iVar2;
  int iVar3;
  
  piVar1 = g_pMDLCache;
  (**(code **)(*g_pMDLCache + 0x68))(g_pMDLCache);
                    /* try { // try from 001df094 to 001df0d8 has its CatchHandler @ 001df0ed */
  CThreadSpinRWLock::LockForRead();
  iVar2 = 0;
  if (0 < *(int *)((int)param_1 + 4)) {
    iVar3 = 0;
    do {
      CVoxelHash::RenderAllObjectsInTree((float)(*(int *)((int)param_1 + 8) + iVar3));
      iVar2 = iVar2 + 1;
      iVar3 = iVar3 + 0x1050;
    } while (iVar2 < *(int *)((int)param_1 + 4));
  }
  CThreadSpinRWLock::UnlockRead();
                    /* WARNING: Could not recover jumptable at 0x001df0eb. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(*piVar1 + 0x6c))();
  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)