// // GJBaseGameLayer::clearActivatedAudioTriggers from 0x9aab48 to 0x9aac2c (228 bytes) // // 5 xrefs: // > LevelEditorLayer::resetPlayback @ 0x78c694 // > LevelEditorLayer::onPlaytest @ 0x796748 // > LevelEditorLayer::updateGameObjects @ 0x79e878 // > GJBaseGameLayer::resetLevelVariables @ 0x9e7270 // > @ 0xdbda8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:58:12 +0000 // unsigned __int64 __fastcall GJBaseGameLayer::clearActivatedAudioTriggers(GJBaseGameLayer *this) { _QWORD *v2; // x0 _QWORD *v3; // x20 __int64 v4; // x2 __int64 v5; // x0 unsigned __int64 result; // x0 __int64 v7; // x2 __int64 v8; // x3 __int64 v9; // x2 if ( *((_QWORD *)this + 227) ) { v2 = *((_QWORD **)this + 226); if ( v2 ) { do { v3 = (_QWORD *)*v2; operator delete(v2); v2 = v3; } while ( v3 ); } v4 = *((_QWORD *)this + 225); v5 = 0; *((_QWORD *)this + 226) = 0; if ( v4 ) { do *(_QWORD *)(*((_QWORD *)this + 224) + 8 * v5++) = 0; while ( v5 != v4 ); } *((_QWORD *)this + 227) = 0; } result = *((_QWORD *)this + 232); if ( result ) { sub_998F98(*((_QWORD **)this + 231)); *((_QWORD *)this + 231) = 0; v9 = *((_QWORD *)this + 230); result = 0; if ( v9 ) { do *(_QWORD *)(*((_QWORD *)this + 229) + 8 * result++) = 0; while ( result != v9 ); } *((_QWORD *)this + 232) = 0; } v7 = *((_QWORD *)this + 234); v8 = *((_QWORD *)this + 235); if ( v7 != v8 ) { result = (0xF3CF3CF3CF3CF3DLL * ((unsigned __int64)(v8 - 168 - v7) >> 3)) & 0x1FFFFFFFFFFFFFFFLL; *((_QWORD *)this + 235) = v8 + -168LL * result - 168; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source