{"type": "func", "start": 9417200, "end": 9417264, "name": "EndLevelLayer::keyDown", "pseudocode": "// \n// EndLevelLayer::keyDown from 0x8fb1f0 to 0x8fb230 (64 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'EndLevelLayer::keyDown @ 0x8fb234\n// > <???> @ 0x42c28\n// > <???> @ 0x1462b18\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:57:03 +0000\n// \n\n__int64 __fastcall EndLevelLayer::keyDown(EndLevelLayer *a1, int a2)\n{\n  if ( a2 == 1001 )\n    return EndLevelLayer::onReplay(a1, nullptr);\n  if ( a2 > 1001 )\n  {\n    if ( a2 == 1003 )\n      return EndLevelLayer::onMenu(a1, nullptr);\n    if ( a2 != 1009 )\n      return cocos2d::CCLayer::keyDown(a1);\n    return EndLevelLayer::onReplay(a1, nullptr);\n  }\n  if ( a2 != 27 )\n  {\n    if ( a2 != 32 )\n      return cocos2d::CCLayer::keyDown(a1);\n    return EndLevelLayer::onReplay(a1, nullptr);\n  }\n  return EndLevelLayer::onMenu(a1, nullptr);\n}", "assembly": "; \n; EndLevelLayer::keyDown from 0x8fb1f0 to 0x8fb230 (64 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'EndLevelLayer::keyDown @ 0x8fb234\n; > <???> @ 0x42c28\n; > <???> @ 0x1462b18\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:57:03 +0000\n; \nCMP             W1, #0x3E9                                             ; +0x0, 0x8fb1f0\nB.EQ            loc_8FB220                                             ; +0x4, 0x8fb1f4\nB.GT            loc_8FB210                                             ; +0x8, 0x8fb1f8\nCMP             W1, #0x1B                                              ; +0xc, 0x8fb1fc\nB.EQ            loc_8FB228                                             ; +0x10, 0x8fb200\nCMP             W1, #0x20 ; ' '                                        ; +0x14, 0x8fb204\nB.EQ            loc_8FB220                                             ; +0x18, 0x8fb208\nB               _ZN7cocos2d7CCLayer7keyDownENS_12enumKeyCodesEd; cocos2d::CCLayer::keyDown(cocos2d::enumKeyCodes,double) ; +0x1c, 0x8fb20c\nCMP             W1, #0x3EB                                             ; +0x20, 0x8fb210\nB.EQ            loc_8FB228                                             ; +0x24, 0x8fb214\nCMP             W1, #0x3F1                                             ; +0x28, 0x8fb218\nB.NE            loc_8FB20C                                             ; +0x2c, 0x8fb21c\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x30, 0x8fb220\nB               _ZN13EndLevelLayer8onReplayEPN7cocos2d8CCObjectE; EndLevelLayer::onReplay(cocos2d::CCObject *) ; +0x34, 0x8fb224\nMOV             X1, #0; cocos2d::CCObject *                            ; +0x38, 0x8fb228\nB               _ZN13EndLevelLayer6onMenuEPN7cocos2d8CCObjectE; EndLevelLayer::onMenu(cocos2d::CCObject *) ; +0x3c, 0x8fb22c", "xrefs": ["`non-virtual thunk to'EndLevelLayer::keyDown @ 0x8fb234", "<???> @ 0x42c28", "<???> @ 0x1462b18"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}