{"type": "func", "start": 8205604, "end": 8205668, "name": "EndLevelLayer::keyDown", "pseudocode": "// \n// EndLevelLayer::keyDown from 0x7d3524 to 0x7d3564 (64 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EndLevelLayer::keyDown @ 0x7d3568\n// > <???> @ 0x2c1a8\n// > <???> @ 0x117f6a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid EndLevelLayer::keyDown(EndLevelLayer *a1, cocos2d::enumKeyCodes a2, double a3)\n{\n  if ( a2 == CONTROLLER_A )\n    goto LABEL_8;\n  if ( a2 > CONTROLLER_A )\n  {\n    if ( a2 == CONTROLLER_B )\n      goto LABEL_9;\n    if ( a2 != CONTROLLER_Start )\n      goto LABEL_5;\nLABEL_8:\n    EndLevelLayer::onReplay(a1, nullptr);\n    return;\n  }\n  if ( a2 != KEY_Escape )\n  {\n    if ( a2 != KEY_Space )\n    {\nLABEL_5:\n      cocos2d::CCLayer::keyDown(a1, a2, a3);\n      return;\n    }\n    goto LABEL_8;\n  }\nLABEL_9:\n  EndLevelLayer::onMenu(a1, nullptr);\n}", "assembly": "; \n; EndLevelLayer::keyDown from 0x7d3524 to 0x7d3564 (64 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EndLevelLayer::keyDown @ 0x7d3568\n; > <???> @ 0x2c1a8\n; > <???> @ 0x117f6a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nCMP             W1, #0x3E9                                             ; +0x0, 0x7d3524\nB.EQ            loc_7D3554                                             ; +0x4, 0x7d3528\nB.GT            loc_7D3544                                             ; +0x8, 0x7d352c\nCMP             W1, #0x1B                                              ; +0xc, 0x7d3530\nB.EQ            loc_7D355C                                             ; +0x10, 0x7d3534\nCMP             W1, #0x20 ; ' '                                        ; +0x14, 0x7d3538\nB.EQ            loc_7D3554                                             ; +0x18, 0x7d353c\nB               _ZN7cocos2d7CCLayer7keyDownENS_12enumKeyCodesEd; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x1c, 0x7d3540\nCMP             W1, #0x3EB                                             ; +0x20, 0x7d3544\nB.EQ            loc_7D355C                                             ; +0x24, 0x7d3548\nCMP             W1, #0x3F1                                             ; +0x28, 0x7d354c\nB.NE            loc_7D3540                                             ; +0x2c, 0x7d3550\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x30, 0x7d3554\nB               _ZN13EndLevelLayer8onReplayEPN7cocos2d8CCObjectE; EndLevelLayer::onReplay(cocos2d::CCObject *) ; +0x34, 0x7d3558\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x38, 0x7d355c\nB               _ZN13EndLevelLayer6onMenuEPN7cocos2d8CCObjectE; EndLevelLayer::onMenu(cocos2d::CCObject *) ; +0x3c, 0x7d3560", "xrefs": ["`non-virtual thunk to'EndLevelLayer::keyDown @ 0x7d3568", "<???> @ 0x2c1a8", "<???> @ 0x117f6a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}