L L4D2node

Frustum_t::SetPlane

0x000a9a60 · 51 bytes · __thiscall

_ZN9Frustum_t8SetPlaneEiRK6Vectorf

Decompiled

undefined (4 params)

/* Frustum_t::SetPlane(int, Vector const&, float) */

void __thiscall Frustum_t::SetPlane(Frustum_t *this,int param_1,Vector *param_2,float param_3)

{
  if (3 < param_1) {
    param_1 = param_1 + -4;
    this = this + 0xa0;
  }
  fourplanes_t::SetPlane((fourplanes_t *)this,param_1,param_2,param_3);
  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)