// // MenuLayer::keyDown from 0x100392370 to 0x1003923e8 (120 bytes) // // 2 xrefs: // > sub_100392440 @ 0x10039244c // > @ 0x10091fac8 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall MenuLayer::keyDown(MenuLayer *a1, cocos2d::enumKeyCodes a2, double a3) { OptionsLayer *v3; // r14 switch ( a2 ) { case CONTROLLER_Y: MenuLayer::onCreator(a1, *(cocos2d::CCObject **)&a2); return; case KEY_OEM102|KEY_Clear|0x300: case KEY_OEM3|KEY_Zero|0x300: case KEY_OEM102|KEY_Shift|0x300: case CONTROLLER_Back: case KEY_OEM3|KEY_Four|0x300: case CONTROLLER_RB: case KEY_Attn|0x300: case CONTROLLER_LB: case KEY_ExSel|0x300: case CONTROLLER_RT: case KEY_Play|0x300: case CONTROLLER_LT: case KEY_ArrowDown|KEY_OEM3|KEY_Space|0x200: case CONTROLLER_Up: case KEY_ArrowRight|KEY_OEM3|KEY_Space|0x200: goto LABEL_6; case CONTROLLER_X: MenuLayer::onGarage(a1, *(cocos2d::CCObject **)&a2); return; case CONTROLLER_Start: goto LABEL_5; case CONTROLLER_Down: v3 = OptionsLayer::create(); ((void (__fastcall *)(MenuLayer *, OptionsLayer *, __int64, double))a1->addChild_0)(a1, v3, 100, a3); ((void (__fastcall *)(OptionsLayer *, _QWORD))v3->showLayer)(v3, 0); return; default: if ( a2 == KEY_Space || a2 == KEY_Enter ) LABEL_5: MenuLayer::onPlay(a1, *(cocos2d::CCObject **)&a2); else LABEL_6: cocos2d::CCLayer::keyDown(a1, a2, a3); return; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source