CChoreoEvent::CChoreoEvent
0x00bad430 · 561 bytes · __thiscall
_ZN12CChoreoEventC2EP12CChoreoScene
Decompiled
undefined (2 params)
/* CChoreoEvent::CChoreoEvent(CChoreoScene*) */
void __thiscall CChoreoEvent::CChoreoEvent(CChoreoEvent *this,CChoreoScene *param_1)
{
*(undefined ***)this = &PTR_GetDuration_00d54990;
CUtlString::CUtlString((CUtlString *)(this + 8));
/* try { // try from 00bad459 to 00bad45d has its CatchHandler @ 00bad661 */
CUtlString::CUtlString((CUtlString *)(this + 0x18));
/* try { // try from 00bad467 to 00bad46b has its CatchHandler @ 00bad748 */
CUtlString::CUtlString((CUtlString *)(this + 0x28));
/* try { // try from 00bad475 to 00bad479 has its CatchHandler @ 00bad744 */
CUtlString::CUtlString((CUtlString *)(this + 0x38));
*(undefined4 *)(this + 0x5c) = 0;
*(undefined2 *)(this + 0x71) = 0;
*(undefined4 *)(this + 0x60) = 0;
*(undefined4 *)(this + 100) = 0;
*(undefined4 *)(this + 0x68) = 0;
*(undefined4 *)(this + 0x6c) = 0;
this[0x70] = (CChoreoEvent)0x0;
*(undefined4 *)(this + 0x73) = 0;
this[0x77] = (CChoreoEvent)0x0;
*(undefined2 *)(this + 0x78) = 0;
*(undefined4 *)(this + 0x7a) = 0;
*(undefined4 *)(this + 0x80) = 0;
*(undefined4 *)(this + 0x84) = 0;
*(undefined4 *)(this + 0x88) = 0;
*(undefined4 *)(this + 0x8c) = 0;
*(undefined4 *)(this + 0x90) = 0;
/* try { // try from 00bad4fd to 00bad501 has its CatchHandler @ 00bad740 */
CUtlString::CUtlString((CUtlString *)(this + 0x94));
/* try { // try from 00bad50b to 00bad50f has its CatchHandler @ 00bad73c */
CUtlString::CUtlString((CUtlString *)(this + 0xa4));
*(undefined4 *)(this + 0xbc) = 0;
*(undefined4 *)(this + 0xc0) = 0;
*(undefined4 *)(this + 0xc4) = 0;
*(undefined4 *)(this + 200) = 0;
*(undefined4 *)(this + 0xcc) = 0;
*(undefined4 *)(this + 0xd0) = 0;
*(undefined4 *)(this + 0xd4) = 0;
*(undefined4 *)(this + 0xd8) = 0;
*(undefined4 *)(this + 0xdc) = 0;
*(undefined4 *)(this + 0xe0) = 0;
*(undefined4 *)(this + 0xe4) = 0;
*(undefined4 *)(this + 0xe8) = 0;
*(undefined4 *)(this + 0xec) = 0;
*(undefined4 *)(this + 0xf0) = 0;
*(undefined4 *)(this + 0xf4) = 0;
*(undefined4 *)(this + 0xf8) = 0;
*(undefined4 *)(this + 0xfc) = 0;
*(undefined4 *)(this + 0x100) = 0;
*(undefined4 *)(this + 0x104) = 0;
*(undefined4 *)(this + 0x108) = 0;
*(undefined4 *)(this + 0x10c) = 0;
*(undefined4 *)(this + 0x110) = 0;
*(undefined4 *)(this + 0x114) = 0;
*(undefined4 *)(this + 0x118) = 0;
*(undefined4 *)(this + 0x11c) = 0;
/* try { // try from 00bad613 to 00bad617 has its CatchHandler @ 00bad6c9 */
CUtlString::CUtlString((CUtlString *)(this + 0x13c));
*(undefined4 *)(this + 0x158) = 0;
*(undefined4 *)(this + 0x15c) = 0;
*(undefined4 *)(this + 0x160) = 0;
*(undefined4 *)(this + 0x164) = 0;
*(undefined4 *)(this + 0x168) = 0;
/* try { // try from 00bad654 to 00bad658 has its CatchHandler @ 00bad676 */
Init(this,param_1);
return;
}
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.