// // AppDelegate::musicTest from 0x1400833c0 to 0x1400834f6 (310 bytes) // // 2 xrefs: // > AppDelegate::resumeSound @ 0x1400832c9 // > @ 0x1406c6aa4 // // 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 bool AppDelegate::musicTest(AppDelegate *a1) { __int64 v1; // rax __int64 v2; // rdx __int64 v3; // rcx __int64 v4; // rbx __int64 v5; // rax __int64 v6; // rax __int64 v7; // rax void *v9; // [rsp+30h] [rbp+8h] void *v10; // [rsp+30h] [rbp+8h] void *v11; // [rsp+30h] [rbp+8h] v1 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v1 = qword_1406C2ED8; } if ( *(_BYTE *)(v1 + 1076) ) return 1; v4 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector(a1) + 264); if ( !v4 ) return 0; v5 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v10 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v10); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v5 = qword_1406C2ED8; } if ( *(_QWORD *)(v5 + 520) ) { if ( *(_BYTE *)(cocos2d::CCApplication::sharedApplication(v3, v2) + 217) ) return 1; v6 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v11 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00(v11); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v6 = qword_1406C2ED8; } v7 = *(_QWORD *)(v6 + 520); if ( *(_BYTE *)(v7 + 14717) || !*(_BYTE *)(v7 + 12888) || *(_BYTE *)(*(_QWORD *)(v7 + 3488) + 2496LL) ) return 1; } return *(_DWORD *)(v4 + 28) == 6; }