// // MenuLayer::keyDown from 0x10037d2b0 to 0x10037d328 (120 bytes) // // 2 xrefs: // > sub_10037D380 @ 0x10037d38c // > @ 0x100b27e10 // // This function is hookable on this platform (idp: pc, 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:29:07 +0000 // __int64 __fastcall MenuLayer::keyDown(__int64 a1, __int64 a2) { __int64 v3; // r14 switch ( (int)a2 ) { case 1005: return MenuLayer::onCreator(a1, a2); case 1006: case 1008: case 1010: case 1011: case 1012: case 1013: case 1014: case 1015: case 1016: case 1017: case 1018: case 1019: case 1020: case 1021: case 1022: return cocos2d::CCLayer::keyDown(a1); case 1007: return MenuLayer::onGarage(a1, a2); case 1009: return MenuLayer::onPlay(a1, a2); case 1023: v3 = OptionsLayer::create(a1); (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 100); return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1328LL))(v3, 0); default: if ( (_DWORD)a2 == 32 || (_DWORD)a2 == 13 ) return MenuLayer::onPlay(a1, a2); else return cocos2d::CCLayer::keyDown(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source