L L4D2node

CStaticProp::GetCollisionAngles

0x001e4220 · 40 bytes · __thiscall

_ZNK11CStaticProp18GetCollisionAnglesEv

Decompiled

undefined (1 param)

/* CStaticProp::GetCollisionAngles() const */

CStaticProp * __thiscall CStaticProp::GetCollisionAngles(CStaticProp *this)

{
  int iVar1;
  CStaticProp *pCVar2;
  
  iVar1 = (**(code **)(*(int *)this + 0x58))(this);
  pCVar2 = (CStaticProp *)&vec3_angle;
  if (iVar1 == 6) {
    pCVar2 = this + 0x1c;
  }
  return pCVar2;
}

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)