// // PauseLayer::onPracticeMode from 0x14037e1c0 to 0x14037e2a0 (224 bytes) // // 4 xrefs: // > PauseLayer::keyDown @ 0x14037edac // > PauseLayer::customSetup @ 0x14037ccef // > @ 0x1406d5d68 // > @ 0x1406d5d74 // // 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=5 void PauseLayer::onPracticeMode(PauseLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rcx __int64 v4; // rcx __int64 v5; // rax cocos2d::CCTouchDispatcher *v6; // rax __int64 v7; // rcx void *v8; // [rsp+30h] [rbp+8h] void *v9; // [rsp+30h] [rbp+8h] v3 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v8 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v3 = qword_1406C2ED8; } *(_BYTE *)(v3 + 922) = 1; PlayLayer::togglePracticeMode(*(PlayLayer **)(v3 + 520), 1); if ( a1->m_forcePrioRegistered ) { a1->m_forcePrioRegistered = 0; v5 = cocos2d::CCDirector::sharedDirector(v4); v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5); cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1); } v7 = qword_1406C2ED8; if ( !qword_1406C2ED8 ) { v9 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v9); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); v7 = qword_1406C2ED8; } PlayLayer::resume(*(PlayLayer **)(v7 + 520)); a1->removeMeAndCleanup(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source