{"type": "func", "start": 4299934096, "end": 4299934160, "name": "EndLevelLayer::keyDown", "pseudocode": "// \n// EndLevelLayer::keyDown from 0x1004bc990 to 0x1004bc9d0 (64 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b5a370\n// \n// This function is hookable on this platform (idp: pc, 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:31:03 +0000\n// \n\nvoid __fastcall EndLevelLayer::keyDown(_BYTE *a1, double a2, __int64 a3)\n{\n  if ( (int)a3 <= 1000 )\n  {\n    if ( (_DWORD)a3 != 27 )\n    {\n      if ( (_DWORD)a3 == 32 )\n        goto LABEL_5;\nLABEL_8:\n      cocos2d::CCLayer::keyDown((__int64)a1, a3);\n      return;\n    }\n  }\n  else\n  {\n    if ( (_DWORD)a3 == 1009 )\n    {\nLABEL_5:\n      EndLevelLayer::onReplay(a1, a2);\n      return;\n    }\n    if ( (_DWORD)a3 != 1003 )\n    {\n      if ( (_DWORD)a3 == 1001 )\n        goto LABEL_5;\n      goto LABEL_8;\n    }\n  }\n  EndLevelLayer::onMenu((__int64)a1, a3);\n}", "assembly": "; \n; EndLevelLayer::keyDown from 0x1004bc990 to 0x1004bc9d0 (64 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b5a370\n; \n; This function is hookable on this platform (idp: pc, 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:31:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004bc990\nmov     rbp, rsp                                                       ; +0x1, 0x1004bc991\ncmp     esi, 3E8h                                                      ; +0x4, 0x1004bc994\njle     short loc_1004BC9BA                                            ; +0xa, 0x1004bc99a\ncmp     esi, 3F1h                                                      ; +0xc, 0x1004bc99c\njz      short loc_1004BC9B4                                            ; +0x12, 0x1004bc9a2\ncmp     esi, 3EBh                                                      ; +0x14, 0x1004bc9a4\njz      short loc_1004BC9CA                                            ; +0x1a, 0x1004bc9aa\ncmp     esi, 3E9h                                                      ; +0x1c, 0x1004bc9ac\njnz     short loc_1004BC9C4                                            ; +0x22, 0x1004bc9b2\npop     rbp                                                            ; +0x24, 0x1004bc9b4\njmp     EndLevelLayer__onReplay                                        ; +0x25, 0x1004bc9b5\ncmp     esi, 1Bh                                                       ; +0x2a, 0x1004bc9ba\njz      short loc_1004BC9CA                                            ; +0x2d, 0x1004bc9bd\ncmp     esi, 20h ; ' '                                                 ; +0x2f, 0x1004bc9bf\njz      short loc_1004BC9B4                                            ; +0x32, 0x1004bc9c2\npop     rbp                                                            ; +0x34, 0x1004bc9c4\njmp     cocos2d__CCLayer__keyDown                                      ; +0x35, 0x1004bc9c5\npop     rbp                                                            ; +0x3a, 0x1004bc9ca\njmp     EndLevelLayer__onMenu                                          ; +0x3b, 0x1004bc9cb", "xrefs": ["<???> @ 0x100b5a370"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}