CSteamWorksGameStatsUploader::Steam_OnSteamGameStatsIssued_Server
0x004c5b00 · 93 bytes · __thiscall
_ZN28CSteamWorksGameStatsUploader35Steam_OnSteamGameStatsIssued_ServerEP24GameStatsSessionIssued_t
Decompiled
undefined (2 params)
/* CSteamWorksGameStatsUploader::Steam_OnSteamGameStatsIssued_Server(GameStatsSessionIssued_t*) */
void __thiscall
CSteamWorksGameStatsUploader::Steam_OnSteamGameStatsIssued_Server
(CSteamWorksGameStatsUploader *this,GameStatsSessionIssued_t *param_1)
{
undefined4 uVar1;
if (((this[900] != (CSteamWorksGameStatsUploader)0x0) &&
(this[900] = (CSteamWorksGameStatsUploader)0x0, param_1 != (GameStatsSessionIssued_t *)0x0))
&& (*(int *)(param_1 + 8) == 1)) {
uVar1 = *(undefined4 *)param_1;
*(undefined4 *)(this + 0x36c) = *(undefined4 *)(param_1 + 4);
*(undefined4 *)(this + 0x368) = uVar1;
this[0x370] = *(CSteamWorksGameStatsUploader *)(param_1 + 0xc);
this[0x371] = *(CSteamWorksGameStatsUploader *)(param_1 + 0xd);
ConVar::SetValue(0xf9de00);
return;
}
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.