L L4D2node

Music::Music

0x008edad0 · 1427 bytes · __thiscall

_ZN5MusicC2EP13CTerrorPlayer

Decompiled

undefined (2 params)

/* Music::Music(CTerrorPlayer*) */

void __thiscall Music::Music(Music *this,CTerrorPlayer *param_1)

{
  int iVar1;
  
  *(undefined ***)this = &PTR__Music_00cfce08;
  *(undefined ***)(this + 0x14) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x18) = 0;
  *(undefined4 *)(this + 0x1c) = 0xbf800000;
  *(undefined4 *)(this + 0xc) = 0;
  *(undefined4 *)(this + 0x10) = 0;
  *(undefined ***)(this + 0x28) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x2c) = 0;
  *(undefined4 *)(this + 0x30) = 0xbf800000;
  *(undefined4 *)(this + 0x20) = 0;
  *(undefined4 *)(this + 0x24) = 0;
  *(undefined ***)(this + 0x3c) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x40) = 0;
  *(undefined4 *)(this + 0x44) = 0xbf800000;
  *(undefined4 *)(this + 0x34) = 0;
  *(undefined4 *)(this + 0x38) = 0;
  *(undefined ***)(this + 0x50) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x54) = 0;
  *(undefined4 *)(this + 0x58) = 0xbf800000;
  *(undefined4 *)(this + 0x48) = 0;
  *(undefined4 *)(this + 0x4c) = 0;
  *(undefined ***)(this + 100) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x68) = 0;
  *(undefined4 *)(this + 0x6c) = 0xbf800000;
  *(undefined4 *)(this + 0x5c) = 0;
  *(undefined4 *)(this + 0x60) = 0;
  *(undefined ***)(this + 0x78) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x7c) = 0;
  *(undefined4 *)(this + 0x80) = 0xbf800000;
  *(undefined4 *)(this + 0x70) = 0;
  *(undefined4 *)(this + 0x74) = 0;
  *(undefined ***)(this + 0x8c) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x90) = 0;
  *(undefined4 *)(this + 0x94) = 0xbf800000;
  *(undefined4 *)(this + 0x84) = 0;
  *(undefined4 *)(this + 0x88) = 0;
  *(undefined ***)(this + 0xa0) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0xa4) = 0;
  *(undefined4 *)(this + 0xa8) = 0xbf800000;
  *(undefined4 *)(this + 0x98) = 0;
  *(undefined4 *)(this + 0x9c) = 0;
  *(undefined ***)(this + 0xb4) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0xb8) = 0;
  *(undefined4 *)(this + 0xbc) = 0xbf800000;
  *(undefined4 *)(this + 0xac) = 0;
  *(undefined4 *)(this + 0xb0) = 0;
  *(undefined ***)(this + 200) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0xcc) = 0;
  *(undefined4 *)(this + 0xd0) = 0xbf800000;
  *(undefined4 *)(this + 0xc0) = 0;
  *(undefined4 *)(this + 0xc4) = 0;
  *(undefined ***)(this + 0xdc) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0xe0) = 0;
  *(undefined4 *)(this + 0xe4) = 0xbf800000;
  *(undefined4 *)(this + 0xd4) = 0;
  *(undefined4 *)(this + 0xd8) = 0;
  *(undefined ***)(this + 0xf0) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0xf4) = 0;
  *(undefined4 *)(this + 0xf8) = 0xbf800000;
  *(undefined4 *)(this + 0xe8) = 0;
  *(undefined4 *)(this + 0xec) = 0;
  *(undefined ***)(this + 0x10c) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x110) = 0;
  *(undefined4 *)(this + 0x114) = 0xbf800000;
  *(undefined ***)(this + 0x118) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x11c) = 0;
  *(undefined4 *)(this + 0x120) = 0xbf800000;
  *(undefined ***)(this + 0x124) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x128) = 0;
  *(undefined4 *)(this + 300) = 0xbf800000;
  *(undefined ***)(this + 0x130) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x134) = 0;
  *(undefined4 *)(this + 0x138) = 0xbf800000;
  *(undefined ***)(this + 0x13c) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x140) = 0;
  *(undefined4 *)(this + 0x144) = 0xbf800000;
  *(undefined ***)(this + 0x148) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x14c) = 0;
  *(undefined4 *)(this + 0x150) = 0xbf800000;
  *(undefined ***)(this + 0x154) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x158) = 0;
  *(undefined4 *)(this + 0x15c) = 0xbf800000;
  *(undefined ***)(this + 0x18c) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 400) = 0;
  *(undefined4 *)(this + 0x194) = 0xbf800000;
  *(undefined4 *)(this + 0x19c) = 0;
  *(undefined4 *)(this + 0x1a0) = 0;
  *(undefined4 *)(this + 0x1a4) = 0;
  *(undefined4 *)(this + 0x1a8) = 0;
  *(undefined4 *)(this + 0x1ac) = 0;
  *(undefined ***)(this + 0x1bc) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x1c0) = 0;
  *(undefined4 *)(this + 0x1c4) = 0xbf800000;
  *(undefined ***)(this + 0x1cc) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x1d0) = 0;
  *(undefined4 *)(this + 0x1d4) = 0xbf800000;
  *(undefined ***)(this + 0x1e4) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x1e8) = 0;
  *(undefined4 *)(this + 0x1ec) = 0xbf800000;
  *(undefined ***)(this + 0x1f0) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 500) = 0;
  *(undefined4 *)(this + 0x1f8) = 0xbf800000;
  *(undefined ***)(this + 0x200) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x204) = 0;
  *(undefined4 *)(this + 0x208) = 0xbf800000;
  *(undefined ***)(this + 0x210) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x214) = 0;
  *(undefined4 *)(this + 0x218) = 0xbf800000;
  *(undefined ***)(this + 0x21c) = &PTR_NetworkStateChanged_00c0b6e0;
  *(undefined4 *)(this + 0x220) = 0;
  *(undefined4 *)(this + 0x224) = 0xbf800000;
  *(undefined4 *)(this + 0x22c) = 0;
  *(undefined4 *)(this + 0x230) = 0;
  *(undefined4 *)(this + 0x234) = 0;
  *(undefined4 *)(this + 0x238) = 0;
  *(undefined4 *)(this + 0x23c) = 0;
  *(undefined4 *)(this + 0x240) = 0;
  *(undefined4 *)(this + 0x244) = 0;
  *(undefined4 *)(this + 0x248) = 0;
  *(undefined4 *)(this + 0x24c) = 0;
  *(undefined4 *)(this + 0x250) = 0;
  *(undefined4 *)(this + 600) = 0;
  *(undefined4 *)(this + 0x25c) = 0;
  *(undefined4 *)(this + 0x260) = 0;
  *(undefined4 *)(this + 0x264) = 0;
  *(undefined4 *)(this + 0x268) = 0;
  *(undefined4 *)(this + 0x26c) = 0;
  *(undefined4 *)(this + 0x270) = 0;
  *(undefined4 *)(this + 0x274) = 0;
  *(undefined4 *)(this + 0x278) = 0;
  *(undefined4 *)(this + 0x27c) = 0;
  *(undefined4 *)(this + 0x28c) = 0;
  *(undefined4 *)(this + 0x290) = 0;
  *(undefined4 *)(this + 0x294) = 0;
  *(undefined4 *)(this + 0x298) = 0;
  *(undefined4 *)(this + 0x29c) = 0;
  *(undefined4 *)(this + 0x2a0) = 0;
  *(undefined4 *)(this + 0x2a4) = 0;
  *(undefined4 *)(this + 0x2a8) = 0;
  *(undefined4 *)(this + 0x2ac) = 0;
  *(undefined4 *)(this + 0x2b0) = 0;
  *(undefined4 *)(this + 0x2c0) = 0;
  *(undefined4 *)(this + 0x2c4) = 0;
  *(undefined4 *)(this + 0x2c8) = 0;
  *(undefined4 *)(this + 0x2cc) = 0;
  *(undefined4 *)(this + 0x2d0) = 0;
                    /* try { // try from 008ee03c to 008ee05a has its CatchHandler @ 008ee063 */
  iVar1 = Q_log2(0x20);
  *(int *)(this + 0x37c) = iVar1 + 1;
  *(CTerrorPlayer **)(this + 0x378) = param_1;
  Init(this);
  return;
}

SourceMod gamedata

paste into addons/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.



        

        

          

Type inference is best-effort from the C signature - sanity-check the DHooks types before shipping.

Return-type handling cheatsheet (DHookReturn)