// // PauseLayer::keyDown from 0x3a8fe0 to 0x3a904a (106 bytes) // // 1 xrefs: // > `non-virtual thunk to'PauseLayer::keyDown @ 0x3a904e // // 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 PauseLayer::keyDown(PauseLayer *a1, cocos2d::enumKeyCodes a2, double a3) { bool *p_m_isPracticeMode; // r3 if ( a2 == CONTROLLER_B ) goto LABEL_9; if ( a2 < (KEY_OEM3|KEY_PrintScreen|0x300) ) { if ( a2 != KEY_Escape ) { if ( a2 != KEY_Space ) return; LABEL_8: PauseLayer::onResume(a1, nullptr); return; } LABEL_9: PauseLayer::tryQuit(a1, nullptr); return; } if ( a2 != CONTROLLER_X ) { if ( a2 != CONTROLLER_Start ) return; goto LABEL_8; } p_m_isPracticeMode = &GameManager::sharedState()->m_playLayer->m_isPracticeMode; if ( *p_m_isPracticeMode ) PauseLayer::onNormalMode(a1, nullptr); else PauseLayer::onPracticeMode(a1, (cocos2d::CCObject *)*p_m_isPracticeMode); }
GD Web Decomp Icon

GD Web Decomp

Raw Source