DmxElementUnpackInit<CParticleSystemDefinition>
0x00bca150 · 400 bytes · __cdecl
_Z20DmxElementUnpackInitI25CParticleSystemDefinitionEP27DmxElementUnpackStructure_tPT_
Decompiled
DmxElementUnpackStructure_t * (1 param)
/* DmxElementUnpackStructure_t*
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*) */
DmxElementUnpackStructure_t *
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition *param_1)
{
int iVar1;
if (DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack != '\0') {
return (DmxElementUnpackStructure_t *)
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack;
}
iVar1 = __cxa_guard_acquire(&DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)
::unpack);
if (iVar1 != 0) {
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._8_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._48_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._128_4_ = 10
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._168_4_ = 10
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._208_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._248_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._288_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._408_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._448_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._488_4_ = 8;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._528_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._568_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._608_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._648_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._688_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._728_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._768_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._808_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._848_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._888_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._928_4_ = 2;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._968_4_ = 3;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1008_4_ = 3
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1048_4_ = 4
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1088_4_ = 4
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1128_4_ = 4
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1168_4_ = 4
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1208_4_ = 4
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1248_4_ = 3
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1288_4_ = 2
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1328_4_ = 3
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1368_4_ = 2
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1408_4_ = 2
;
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::unpack._1448_4_ = 3
;
__cxa_guard_release(&DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)
::unpack);
}
return (DmxElementUnpackStructure_t *)
DmxElementUnpackInit<CParticleSystemDefinition>(CParticleSystemDefinition*)::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.