// // EndLevelLayer::keyDown from 0x1002f8b80 to 0x1002f8bbc (60 bytes) // // 2 xrefs: // > sub_1002F8BBC @ 0x1002f8bc0 // > @ 0x1007e9430 // // 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 EndLevelLayer::keyDown(EndLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3) { if ( a2 <= (KEY_OEM3|KEY_Down|0x300) ) { if ( a2 != KEY_Escape ) { if ( a2 == KEY_Space ) goto LABEL_5; LABEL_8: cocos2d::CCLayer::keyDown(a1, a2, a3); return; } } else { if ( a2 == CONTROLLER_Start ) { LABEL_5: EndLevelLayer::onReplay(a1, *(cocos2d::CCObject **)&a2); return; } if ( a2 != CONTROLLER_B ) { if ( a2 == CONTROLLER_A ) goto LABEL_5; goto LABEL_8; } } EndLevelLayer::onMenu(a1, *(cocos2d::CCObject **)&a2); }