DmxElementUnpackInit<ParticleChildrenInfo_t>
0x00bca100 · 66 bytes · __cdecl
_Z20DmxElementUnpackInitI22ParticleChildrenInfo_tEP27DmxElementUnpackStructure_tPT_
Decompiled
DmxElementUnpackStructure_t * (1 param)
/* DmxElementUnpackStructure_t*
DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*) */
DmxElementUnpackStructure_t *
DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t *param_1)
{
int iVar1;
if (DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*)::unpack != '\0') {
return (DmxElementUnpackStructure_t *)
DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*)::unpack;
}
iVar1 = __cxa_guard_acquire(&DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*)
::unpack);
if (iVar1 != 0) {
DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*)::unpack._8_4_ = 3;
__cxa_guard_release(&DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*)::
unpack);
}
return (DmxElementUnpackStructure_t *)
DmxElementUnpackInit<ParticleChildrenInfo_t>(ParticleChildrenInfo_t*)::unpack;
}
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.