{"type": "func", "start": 4298724516, "end": 4298724576, "name": "EndLevelLayer::keyDown", "pseudocode": "// \n// EndLevelLayer::keyDown from 0x1003954a4 to 0x1003954e0 (60 bytes)\n// \n// 2 xrefs:\n// > sub_1003954E0 @ 0x1003954e4\n// > <???> @ 0x100941528\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 11:03:40 +0000\n// \n\nvoid __fastcall EndLevelLayer::keyDown(_BYTE *a1, int a2)\n{\n  if ( a2 <= 1000 )\n  {\n    if ( a2 != 27 )\n    {\n      if ( a2 == 32 )\n        goto LABEL_5;\nLABEL_8:\n      cocos2d::CCLayer::keyDown((__int64)a1, a2);\n      return;\n    }\n  }\n  else\n  {\n    if ( a2 == 1009 )\n    {\nLABEL_5:\n      EndLevelLayer::onReplay(a1);\n      return;\n    }\n    if ( a2 != 1003 )\n    {\n      if ( a2 == 1001 )\n        goto LABEL_5;\n      goto LABEL_8;\n    }\n  }\n  sub_100393BF4((__int64)a1);\n}", "assembly": "; \n; EndLevelLayer::keyDown from 0x1003954a4 to 0x1003954e0 (60 bytes)\n; \n; 2 xrefs:\n; > sub_1003954E0 @ 0x1003954e4\n; > <???> @ 0x100941528\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 11:03:40 +0000\n; \nCMP             W1, #0x3E8                                             ; +0x0, 0x1003954a4\nB.LE            loc_1003954C8                                          ; +0x4, 0x1003954a8\nCMP             W1, #0x3F1                                             ; +0x8, 0x1003954ac\nB.EQ            loc_1003954C4                                          ; +0xc, 0x1003954b0\nCMP             W1, #0x3EB                                             ; +0x10, 0x1003954b4\nB.EQ            loc_1003954DC                                          ; +0x14, 0x1003954b8\nCMP             W1, #0x3E9                                             ; +0x18, 0x1003954bc\nB.NE            loc_1003954D8                                          ; +0x1c, 0x1003954c0\nB               EndLevelLayer__onReplay                                ; +0x20, 0x1003954c4\nCMP             W1, #0x1B                                              ; +0x24, 0x1003954c8\nB.EQ            loc_1003954DC                                          ; +0x28, 0x1003954cc\nCMP             W1, #0x20 ; ' '                                        ; +0x2c, 0x1003954d0\nB.EQ            loc_1003954C4                                          ; +0x30, 0x1003954d4\nB               cocos2d__CCLayer__keyDown                              ; +0x34, 0x1003954d8\nB               sub_100393BF4                                          ; +0x38, 0x1003954dc", "xrefs": ["sub_1003954E0 @ 0x1003954e4", "<???> @ 0x100941528"], "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"}