// // PauseLayer::keyDown from 0x7d6904 to 0x7d69d8 (212 bytes) // // 3 xrefs: // > `non-virtual thunk to'PauseLayer::keyDown @ 0x7d69dc // > @ 0xae910 // > @ 0x1437fc8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:54:21 +0000 // PauseLayer *__fastcall PauseLayer::keyDown(PauseLayer *result, int a2) { PauseLayer *v2; // x19 if ( *((_BYTE *)result + 586) && (a2 == 1007 || a2 == 1009 || a2 == 32) ) return (PauseLayer *)PauseLayer::onToggleUI(result, nullptr); if ( a2 == 1003 ) return (PauseLayer *)PauseLayer::tryQuit(result, nullptr); if ( a2 <= 1003 ) { if ( a2 != 27 ) { if ( a2 == 32 ) return (PauseLayer *)PauseLayer::onResume((cocos2d::CCArray **)result, nullptr); return result; } return (PauseLayer *)PauseLayer::tryQuit(result, nullptr); } if ( a2 == 1007 ) { v2 = result; if ( *(_BYTE *)(*(_QWORD *)(GameManager::sharedState(result) + 544) + 12544LL) ) return (PauseLayer *)PauseLayer::onNormalMode(v2, nullptr); else return (PauseLayer *)PauseLayer::onPracticeMode(v2, nullptr); } else if ( a2 == 1009 ) { return (PauseLayer *)PauseLayer::onResume((cocos2d::CCArray **)result, nullptr); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source