L L4D2node

CAI_BehaviorBase::IsJumpLegal

0x005a5c70 · 23 bytes · __cdecl

_ZNK16CAI_BehaviorBase11IsJumpLegalERK6VectorS2_S2_fff

Decompiled

undefined (6 params)

/* CAI_BehaviorBase::IsJumpLegal(Vector const&, Vector const&, Vector const&, float, float, float)
   const */

void CAI_BehaviorBase::IsJumpLegal
               (Vector *param_1,Vector *param_2,Vector *param_3,float param_4,float param_5,
               float param_6)

{
                    /* WARNING: Could not recover jumptable at 0x005a5c85. Too many branches */
                    /* WARNING: Treating indirect jump as call */
  (**(code **)(**(int **)(param_1 + 0x24) + 0x9c))();
  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)