// // GJSongBrowser::exitLayer from 0x1402b7330 to 0x1402b73eb (187 bytes) // // 2 xrefs: // > @ 0x14057f9e8 // > @ 0x1406d254c // // 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 // void GJSongBrowser::exitLayer(GJSongBrowser *a1, cocos2d::CCObject *a2) { __int64 v3; // rbx FMODAudioEngine *v4; // [rsp+30h] [rbp+8h] v3 = qword_1406C2E88; if ( !qword_1406C2E88 ) { v4 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v4); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v3 = qword_1406C2E88; } if ( *(_QWORD *)(v3 + 552) ) FMOD::ChannelControl::stop(*(FMOD::ChannelControl **)(v3 + 552)); sub_14005E0D0((_QWORD *)(v3 + 1064)); sub_14005E0D0((_QWORD *)(v3 + 1128)); sub_14005E0D0((_QWORD *)(v3 + 1192)); a1->setKeypadEnabled(a1, 0); a1->disableUI(a1); a1->hideLayer(a1, a1->m_fastMenu); }