// // PauseLayer::keyDown from 0x6c89e0 to 0x6c8a84 (164 bytes) // // 3 xrefs: // > `non-virtual thunk to'PauseLayer::keyDown @ 0x6c8a88 // > @ 0x835b0 // > @ 0x1158748 // // 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) { if ( a2 == CONTROLLER_B ) goto LABEL_11; if ( a2 <= CONTROLLER_B ) { if ( a2 != KEY_Escape ) { if ( a2 != KEY_Space ) return; LABEL_7: PauseLayer::onResume(a1, nullptr); return; } LABEL_11: PauseLayer::tryQuit(a1, nullptr); return; } if ( a2 != CONTROLLER_X ) { if ( a2 != CONTROLLER_Start ) return; goto LABEL_7; } if ( GameManager::sharedState()->m_playLayer->m_isPracticeMode ) PauseLayer::onNormalMode(a1, nullptr); else PauseLayer::onPracticeMode(a1, nullptr); }
GD Web Decomp Icon

GD Web Decomp

Raw Source