// // MenuLayer::keyDown from 0x1003058f4 to 0x1003059b8 (196 bytes) // // 2 xrefs: // > sub_1003059B8 @ 0x1003059bc // > @ 0x10092a878 // // 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 11:03:07 +0000 // __int64 __fastcall MenuLayer::keyDown(__int64 a1, int a2) { char *v4; // x20 if ( a2 <= 1006 ) { if ( a2 != 13 && a2 != 32 ) { if ( a2 == 1005 ) return MenuLayer::onCreator(a1); return cocos2d::CCLayer::keyDown(a1, a2); } return MenuLayer::onPlay(a1); } if ( a2 == 1007 ) return MenuLayer::onGarage(a1); if ( a2 != 1023 ) { if ( a2 != 1009 ) return cocos2d::CCLayer::keyDown(a1, a2); return MenuLayer::onPlay(a1); } v4 = OptionsLayer::create(); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v4, 100); return (*(__int64 (__fastcall **)(char *, _QWORD))(*(_QWORD *)v4 + 1328LL))(v4, 0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source