CVoxelHash::_GLOBAL__sub_I_CVoxelHash
0x0009fd20 · 535 bytes · __cdecl
Decompiled
undefined (0 params)
/* CVoxelHash::CVoxelHash() */
void CVoxelHash::_GLOBAL__sub_I_CVoxelHash(void)
{
::vec2_origin._0_4_ = 0;
::vec2_origin._4_4_ = 0;
::UNSPECIFIED_LOGGING_COLOR._0_1_ = 0;
::vec2_invalid._0_4_ = 0x7f7fffff;
::vec2_invalid._4_4_ = 0x7f7fffff;
::UNSPECIFIED_LOGGING_COLOR._1_1_ = 0;
::UNSPECIFIED_LOGGING_COLOR._2_1_ = 0;
::UNSPECIFIED_LOGGING_COLOR._3_1_ = 0;
s_pVoxelColor[0] = 0xff;
s_pVoxelColor[1] = 0;
s_pVoxelColor[2] = 0;
s_pVoxelColor[3] = 0xff;
s_pVoxelColor[4] = 0;
s_pVoxelColor[5] = 0xff;
s_pVoxelColor[6] = 0;
s_pVoxelColor[7] = 0xff;
s_pVoxelColor[8] = 0;
s_pVoxelColor[9] = 0;
s_pVoxelColor[10] = 0xff;
s_pVoxelColor[0xb] = 0xff;
s_pVoxelColor[0xc] = 0xff;
s_pVoxelColor[0xd] = 0;
s_pVoxelColor[0xe] = 0xff;
s_pVoxelColor[0xf] = 0xff;
s_pVoxelColor[0x10] = 0xff;
s_pVoxelColor[0x11] = 0xff;
s_pVoxelColor[0x12] = 0;
s_pVoxelColor[0x13] = 0xff;
s_pVoxelColor[0x14] = 0;
s_pVoxelColor[0x15] = 0xff;
s_pVoxelColor[0x16] = 0xff;
s_PartitionMin = 0xc6800000;
DAT_003b1208 = 0xc6800000;
DAT_003b120c = 0xc6800000;
s_pVoxelColor[0x17] = 0xff;
s_PartitionMax = 0x46800000;
DAT_003b11fc = 0x46800000;
DAT_003b1200 = 0x46800000;
s_pVoxelColor[0x18] = 0xff;
s_pVoxelColor[0x19] = 0xff;
s_pVoxelColor[0x1a] = 0xff;
s_pVoxelColor[0x1b] = 0xff;
s_pVoxelColor[0x1c] = 0xc0;
s_pVoxelColor[0x1d] = 0xc0;
s_pVoxelColor[0x1e] = 0;
s_pVoxelColor[0x1f] = 0xff;
s_pVoxelColor[0x20] = 0x80;
s_pVoxelColor[0x21] = 0x80;
s_pVoxelColor[0x22] = 0x80;
s_pVoxelColor[0x23] = 0xff;
CSpatialPartition::CSpatialPartition((CSpatialPartition *)g_SpatialPartition);
__cxa_atexit(CSpatialPartition::~CSpatialPartition,g_SpatialPartition,&__dso_handle);
InterfaceReg::InterfaceReg
((InterfaceReg *)__g_CreateCSpatialPartitionISpatialPartition_reg,
__CreateCSpatialPartitionISpatialPartition_interface,"SpatialPartition001");
ConVar::ConVar((ConVar *)r_partition_level,"r_partition_level","-1",0x4000,
"Displays a particular level of the spatial partition system. Use -1 to disable it."
);
__cxa_atexit(ConVar::~ConVar,r_partition_level,&__dso_handle);
return;
}
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.
⚠ This function has no mangled symbol — it may be internal/static. The
Linux gamedata field uses @-prefix symbol resolution which
requires an exported mangled name. You'll need a Linux byte signature
for this one (extract via extract_signature.java).
Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.