CItemBaseUpgradePack::GetTargetEntity
0x00540810 · 16 bytes · __thiscall
_ZN20CItemBaseUpgradePack15GetTargetEntityEP13CTerrorPlayerN17CBaseBackpackItem22BackpackItemActionTypeE
Decompiled
undefined (3 params)
/* CItemBaseUpgradePack::GetTargetEntity(CTerrorPlayer*, CBaseBackpackItem::BackpackItemActionType)
*/
undefined4 __thiscall
CItemBaseUpgradePack::GetTargetEntity(undefined4 this,undefined4 param_1,int param_3)
{
undefined4 uVar1;
uVar1 = 0;
if (param_3 == 0) {
uVar1 = param_1;
}
return uVar1;
}
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.