ChatIDFromClanID
0x000bb050 · 36 bytes · __cdecl
_Z16ChatIDFromClanIDRK8CSteamID
Decompiled
undefined (1 param)
/* ChatIDFromClanID(CSteamID const&) */
void ChatIDFromClanID(CSteamID *param_1)
{
CSteamID CVar1;
undefined4 uVar2;
undefined4 *in_stack_00000008;
CVar1 = *(CSteamID *)((int)in_stack_00000008 + 7);
uVar2 = *in_stack_00000008;
param_1[4] = (CSteamID)0x0;
param_1[5] = (CSteamID)0x0;
param_1[6] = (CSteamID)0x88;
param_1[7] = CVar1;
*(undefined4 *)param_1 = uVar2;
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.