L L4D2node

CEngineTrace::GetPointContents_Collideable

0x00159d60 · 65 bytes · __thiscall

_ZN12CEngineTrace28GetPointContents_CollideableEP12ICollideableRK6Vector

Decompiled

undefined (3 params)

/* CEngineTrace::GetPointContents_Collideable(ICollideable*, Vector const&) */

int __thiscall
CEngineTrace::GetPointContents_Collideable(CEngineTrace *this,ICollideable *param_1,Vector *param_2)

{
  int local_14;
  ICollideable *local_10 [3];
  
  local_14 = 0;
  CPointContentsEnum::TestEntity(this,param_1,param_2,-1,&local_14,local_10);
  return local_14;
}

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)