CAI_BehaviorBase::BehaviorBridge_OnTakeDamage_Alive
0x005a7160 · 7 bytes · __thiscall
_ZThn8_N16CAI_BehaviorBase33BehaviorBridge_OnTakeDamage_AliveERK15CTakeDamageInfo
Decompiled
undefined (2 params)
/* non-virtual thunk to CAI_BehaviorBase::BehaviorBridge_OnTakeDamage_Alive(CTakeDamageInfo const&)
*/
void __thiscall
CAI_BehaviorBase::BehaviorBridge_OnTakeDamage_Alive(CAI_BehaviorBase *this,CTakeDamageInfo *param_1)
{
BehaviorBridge_OnTakeDamage_Alive((CTakeDamageInfo *)(this + -8));
return;
}
SourceMod gamedata
paste intoaddons/sourcemod/gamedata/<your_plugin>.txt
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.
Signatures + Functions block. The plugin uses
DHookCreateFromConf - DHooks reads return type, this-type,
calling convention, and argument types straight from the gamedata. Less
boilerplate in the plugin, types travel with the gamedata.
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.