L L4D2node

CAI_BehaviorBase::BehaviorBridge_CanRunAScriptedNPCInteraction

0x005a7280 · 7 bytes · __thiscall

_ZThn8_N16CAI_BehaviorBase44BehaviorBridge_CanRunAScriptedNPCInteractionEb

Decompiled

undefined (2 params)

/* non-virtual thunk to CAI_BehaviorBase::BehaviorBridge_CanRunAScriptedNPCInteraction(bool) */

void __thiscall
CAI_BehaviorBase::BehaviorBridge_CanRunAScriptedNPCInteraction(CAI_BehaviorBase *this,bool param_1)

{
  this._0_1_ = (bool)((char)this + -8);
  BehaviorBridge_CanRunAScriptedNPCInteraction(this._0_1_);
  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)