ServerClassInit<DT_ParticleSystem::ignored>
0x00770410 · 1325 bytes · __cdecl
_Z15ServerClassInitIN17DT_ParticleSystem7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*) */
int ServerClassInit<DT_ParticleSystem::ignored>(ignored *param_1)
{
int iVar1;
code *pcVar2;
undefined4 uVar3;
SendProp local_15c [84];
SendProp local_108 [84];
SendProp local_b4 [84];
SendProp local_60 [84];
if (ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::g_SendProps == '\0')
{
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 007704a7 to 007704ab has its CatchHandler @ 00770941 */
SendPropInt(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 007704fe to 00770502 has its CatchHandler @ 0077097a */
SendPropVector(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0x54,0xbfae62,0x39c,0xc,-1,3.73082e-40,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
'`');
/* try { // try from 00770535 to 00770539 has its CatchHandler @ 00770a0e */
SendPropEHandle(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0xa8,0xc21570,0x220,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 0077056c to 00770570 has its CatchHandler @ 007709fa */
SendPropEHandle(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0xfc,0xc0b9e8,0x188,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 007705b3 to 007705b7 has its CatchHandler @ 00770a04 */
SendPropInt(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0x150,0xc5c1a6,0x185,1,6,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 007705fa to 007705fe has its CatchHandler @ 007709d2 */
SendPropQAngles(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0x1a4,0xc5c1e2,0x3a8,0xc,0xd,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
(__DT_REL + 0x5c40),0x80);
/* try { // try from 00770641 to 00770645 has its CatchHandler @ 007709dc */
SendPropInt(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0x1f8,0xcabe00,0x44c,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00770668 to 0077066c has its CatchHandler @ 007709e6 */
SendPropBool(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0x24c,0xc27859,0x448);
/* try { // try from 007706bf to 007706c3 has its CatchHandler @ 007709f0 */
SendPropFloat(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::
g_SendProps + 0x2a0,0xc6a94d,0x450,4,0x20,0.0,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
uVar3 = 0x80;
pcVar2 = SendProxy_VectorToVector;
/* try { // try from 00770718 to 0077071c has its CatchHandler @ 00770981 */
SendPropVector((char *)local_15c,0xcabe0f,0x454,0xc,0x20,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 0077075b to 0077075f has its CatchHandler @ 00770988 */
SendPropArray3(0xfebc94,"m_vServerControlPoints",0x454,0xc,4,local_15c,
SendProxy_DataTableToDataTable,0x80,pcVar2,uVar3);
SendProp::~SendProp(local_15c);
/* try { // try from 007707ac to 007707b0 has its CatchHandler @ 00770996 */
SendPropInt((char *)local_108,0xcac864,0x484,1,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 007707ef to 007707f3 has its CatchHandler @ 0077099d */
SendPropArray3(0xfebce8,"m_iServerControlPointAssignments",0x484,1,4,local_108,
SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_108);
/* try { // try from 00770830 to 00770834 has its CatchHandler @ 007709ab */
SendPropEHandle((char *)local_b4,0xcabe26,0x584,4,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)
&DAT_ffffffff);
/* try { // try from 00770873 to 00770877 has its CatchHandler @ 007709b2 */
SendPropArray3(0xfebd3c,"m_hControlPointEnts",0x584,4,0x3f,local_b4,
SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_b4);
/* try { // try from 007708c1 to 007708c5 has its CatchHandler @ 007709c0 */
SendPropInt((char *)local_60,0xcabe3a,0x680,1,3,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00770904 to 00770908 has its CatchHandler @ 007709c4 */
SendPropArray3(0xfebd90,"m_iControlPointParents",0x680,1,0x3f,local_60,
SendProxy_DataTableToDataTable,0x80);
SendProp::~SendProp(local_60);
__cxa_guard_release(&ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)
::g_SendProps);
__cxa_atexit(__tcf_0,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_ParticleSystem::g_SendTable,
(SendProp *)
(ServerClassInit<DT_ParticleSystem::ignored>(DT_ParticleSystem::ignored*)::g_SendProps
+ 0x54),0xc,"DT_ParticleSystem");
return 1;
}
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.