MD5Init
0x00245b60 · 49 bytes · __cdecl
_Z7MD5InitP12MD5Context_t
Decompiled
undefined (1 param)
/* MD5Init(MD5Context_t*) */
void MD5Init(MD5Context_t *param_1)
{
*(undefined4 *)param_1 = 0x67452301;
*(undefined4 *)(param_1 + 4) = 0xefcdab89;
*(undefined4 *)(param_1 + 8) = 0x98badcfe;
*(undefined4 *)(param_1 + 0xc) = 0x10325476;
*(undefined4 *)(param_1 + 0x10) = 0;
*(undefined4 *)(param_1 + 0x14) = 0;
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.