// // MoreOptionsLayer::onFMODDebug from 0x140376410 to 0x140376559 (329 bytes) // // 2 xrefs: // > MoreOptionsLayer::init @ 0x1403742dd // > @ 0x1406d5bac // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Hidden C++ exception states: #wind=3 void MoreOptionsLayer::onFMODDebug(MoreOptionsLayer *a1, cocos2d::CCObject *a2) { __int64 v2; // rcx _QWORD *FMODStatus; // rax size_t v4; // r8 __int64 v5; // rax FLAlertLayer *v6; // rbx FMODAudioEngine *v7; // [rsp+50h] [rbp-88h] __int128 v8; // [rsp+58h] [rbp-80h] BYREF __int64 v9; // [rsp+68h] [rbp-70h] __int64 v10; // [rsp+70h] [rbp-68h] _BYTE v11[32]; // [rsp+80h] [rbp-58h] BYREF _BYTE v12[32]; // [rsp+A0h] [rbp-38h] BYREF v2 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v7 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v2 = qword_1406C2E88; } FMODStatus = (_QWORD *)FMODAudioEngine::getFMODStatus(v2, (__int64)v12); if ( FMODStatus[3] > 0xFu ) FMODStatus = (_QWORD *)*FMODStatus; v8 = 0; v9 = 0; v10 = 0; v4 = -1; do ++v4; while ( *((_BYTE *)FMODStatus + v4) ); sub_14003A930(&v8, FMODStatus, v4); v5 = sub_14003BDB0((__int64)v11, (__int64)&v8); v6 = FLAlertLayer::create(0, (int)"FMOD Debug", v5, (__int64)"OK", 0, 1136525312, 0, 0, 1065353216); sub_14003A830((__int64)&v8); sub_14003A830((__int64)v12); v6->show(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source