InfoChangelevel::OnCheckpointDoorOpened
0x00864c90 · 182 bytes · __cdecl
_ZN15InfoChangelevel22OnCheckpointDoorOpenedER11inputdata_t
Decompiled
undefined (1 param)
/* InfoChangelevel::OnCheckpointDoorOpened(inputdata_t&) */
void InfoChangelevel::OnCheckpointDoorOpened(inputdata_t *param_1)
{
undefined4 local_3c;
undefined4 local_38;
undefined4 local_34;
undefined4 local_30;
undefined4 local_2c;
undefined4 local_28;
undefined4 local_24;
undefined4 local_20;
undefined4 local_1c;
undefined4 local_18;
undefined1 local_14;
undefined1 local_13;
undefined1 local_12;
inputdata_t *local_10;
local_3c = 0;
local_38 = 0;
local_34 = 0;
local_30 = 0;
local_2c = 0;
param_1[0x5aa] = (inputdata_t)0x1;
local_28 = 0;
local_24 = 0;
local_20 = 0;
local_1c = 0;
local_18 = 0;
local_10 = param_1;
local_14 = 0;
local_13 = 0;
local_12 = 0;
/* try { // try from 00864cfd to 00864d01 has its CatchHandler @ 00864d46 */
ForEachSurvivor<InfoChangelevelPlayerCollector>((InfoChangelevelPlayerCollector *)&local_3c);
local_1c = 0;
CUtlMemory<CTerrorPlayer*,int>::Purge((CUtlMemory<CTerrorPlayer*,int> *)&local_28);
local_18 = local_28;
CUtlMemory<CTerrorPlayer*,int>::Purge((CUtlMemory<CTerrorPlayer*,int> *)&local_28);
local_30 = 0;
CUtlMemory<CTerrorPlayer*,int>::Purge((CUtlMemory<CTerrorPlayer*,int> *)&local_3c);
local_2c = local_3c;
CUtlMemory<CTerrorPlayer*,int>::Purge((CUtlMemory<CTerrorPlayer*,int> *)&local_3c);
return;
}
SourceMod gamedata
paste intoaddons/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.
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.
Gamedata KeyValues
DHooks plugin example
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.