// // GJBaseGameLayer::processQueuedAudioTriggers from 0x5b1bd0 to 0x5b1c4a (122 bytes) // // 3 xrefs: // > PlayLayer::startMusic @ 0x4120f2 // > LevelEditorLayer::onPlaytest @ 0x46856c // > EditorUI::onPlayback @ 0x482512 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:53:33 +0000 // void __fastcall GJBaseGameLayer::processQueuedAudioTriggers(GJBaseGameLayer *this) { int **v2; // r6 int **v3; // r5 SFXTriggerGameObject *v4; // r1 int *v5; // t1 int v6; // r3 int v7; // r2 int v8; // r3 v2 = *((int ***)this + 361); v3 = *((int ***)this + 360); *((_BYTE *)this + 1439) = 0; while ( v3 != v2 ) { v5 = *v3++; v4 = (SFXTriggerGameObject *)v5; v6 = v5[223]; if ( v6 == 3602 ) { GJBaseGameLayer::activateSFXTrigger(this, v4); } else if ( v6 > 3602 ) { if ( v6 == 3603 ) { GJBaseGameLayer::activateSFXEditTrigger(this, v4); } else if ( v6 == 3605 ) { GJBaseGameLayer::activateSongEditTrigger(this, v4); } } else if ( v6 == 1934 ) { GJBaseGameLayer::activateSongTrigger(this, v4); } } v7 = *((_DWORD *)this + 360); while ( 1 ) { v8 = *((_DWORD *)this + 361); if ( v7 == v8 ) break; *((_DWORD *)this + 361) = v8 - 4; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source