ServerClassInit<DT_EnvWindShared::ignored>
0x00672360 · 1284 bytes · __cdecl
_Z15ServerClassInitIN16DT_EnvWindShared7ignoredEEiPT_
Decompiled
int (1 param)
/* int ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*) */
int ServerClassInit<DT_EnvWindShared::ignored>(ignored *param_1)
{
int iVar1;
if (ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::g_SendProps == '\0') {
iVar1 = __cxa_guard_acquire(&ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)
::g_SendProps);
if (iVar1 != 0) {
/* try { // try from 006723ef to 006723f3 has its CatchHandler @ 00672866 */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps,0xbfae4c,0,4,-1,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 00672436 to 0067243a has its CatchHandler @ 00672895 */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x54,0xc71287,0xc,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0067247d to 00672481 has its CatchHandler @ 0067289c */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0xa8,0xc712aa,0x10,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 006724c4 to 006724c8 has its CatchHandler @ 006728ba */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0xfc,0xc712cd,0x14,4,0xe,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x0,'\0');
/* try { // try from 0067250b to 0067250f has its CatchHandler @ 006728c1 */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x150,0xc712f5,0x18,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00672552 to 00672556 has its CatchHandler @ 006728c8 */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x1a4,0xc71318,0x1c,4,10,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 006725a9 to 006725ad has its CatchHandler @ 006728cf */
SendPropFloat(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x1f8,0xc70d65,0x20,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00672600 to 00672604 has its CatchHandler @ 006728d6 */
SendPropFloat(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x24c,0xc70d76,0x24,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00672647 to 0067264b has its CatchHandler @ 006728dd */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x2a0,0xc70d87,0x2c,4,9,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 0067268e to 00672692 has its CatchHandler @ 006728e4 */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x2f4,0xc70d98,8,4,0x20,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 006726e5 to 006726e9 has its CatchHandler @ 006728eb */
SendPropVector(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x348,0xc70da4,0x30,0xc,0x1000,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xc0);
/* try { // try from 0067272c to 00672730 has its CatchHandler @ 006728f5 */
SendPropInt(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x39c,0xc70daf,0x6c,4,9,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0x1,'\0');
/* try { // try from 00672783 to 00672787 has its CatchHandler @ 006728ff */
SendPropFloat(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x3f0,0xc70dc1,0x70,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 006727da to 006727de has its CatchHandler @ 00672909 */
SendPropFloat(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x444,0xc6a94d,4,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
/* try { // try from 00672831 to 00672835 has its CatchHandler @ 00672913 */
SendPropFloat(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps + 0x498,0xc70dd6,0x28,4,0,5.60519e-45,0.0,
(_func_void_SendProp_ptr_void_ptr_void_ptr_DVariant_ptr_int_int *)0xc7ec9090,
0xa0);
__cxa_guard_release(&ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::
g_SendProps);
__cxa_atexit(__tcf_2,0,&__dso_handle);
}
}
SendTable::Construct
((SendTable *)DT_EnvWindShared::g_SendTable,
(SendProp *)
(ServerClassInit<DT_EnvWindShared::ignored>(DT_EnvWindShared::ignored*)::g_SendProps +
0x54),0xe,"DT_EnvWindShared");
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.