{"type": "func", "start": 4299791984, "end": 4299792100, "name": "LevelBrowserLayer::loadLevelsFailed", "pseudocode": "// \n// LevelBrowserLayer::loadLevelsFailed from 0x100499e70 to 0x100499ee4 (116 bytes)\n// \n// 4 xrefs:\n// > LevelListLayer::loadLevelsFailed @ 0x1002e35ec\n// > sub_1002E35F0 @ 0x1002e35f4\n// > sub_100499EE4 @ 0x100499ee8\n// > <???> @ 0x10097bbd8\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:05:58 +0000\n// \n\n__int64 __fastcall LevelBrowserLayer::loadLevelsFailed(__int64 a1, char *a2)\n{\n  __int64 result; // x0\n\n  result = LevelBrowserLayer::isCorrect(a1, a2);\n  if ( (_DWORD)result )\n  {\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 736) + 344LL))(*(_QWORD *)(a1 + 736), 0);\n    if ( !sub_1001F91E0() )\n      (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 600) + 344LL))(*(_QWORD *)(a1 + 600), 1);\n    result = *(_QWORD *)(a1 + 648);\n    if ( result )\n      return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 344LL))(result, 1);\n  }\n  return result;\n}", "assembly": "; \n; LevelBrowserLayer::loadLevelsFailed from 0x100499e70 to 0x100499ee4 (116 bytes)\n; \n; 4 xrefs:\n; > LevelListLayer::loadLevelsFailed @ 0x1002e35ec\n; > sub_1002E35F0 @ 0x1002e35f4\n; > sub_100499EE4 @ 0x100499ee8\n; > <???> @ 0x10097bbd8\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:05:58 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100499e70\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100499e74\nADD             X29, SP, #0x10                                         ; +0x8, 0x100499e78\nMOV             X19, X0                                                ; +0xc, 0x100499e7c\nBL              LevelBrowserLayer__isCorrect                           ; +0x10, 0x100499e80\nCBZ             W0, loc_100499ED8                                      ; +0x14, 0x100499e84\nLDR             X0, [X19,#0x2E0]                                       ; +0x18, 0x100499e88\nLDR             X8, [X0]                                               ; +0x1c, 0x100499e8c\nLDR             X8, [X8,#0x158]                                        ; +0x20, 0x100499e90\nMOV             W1, #0                                                 ; +0x24, 0x100499e94\nBLR             X8                                                     ; +0x28, 0x100499e98\nBL              sub_1001F91E0                                          ; +0x2c, 0x100499e9c\nTBNZ            W0, #0, loc_100499EB8                                  ; +0x30, 0x100499ea0\nLDR             X0, [X19,#0x258]                                       ; +0x34, 0x100499ea4\nLDR             X8, [X0]                                               ; +0x38, 0x100499ea8\nLDR             X8, [X8,#0x158]                                        ; +0x3c, 0x100499eac\nMOV             W1, #1                                                 ; +0x40, 0x100499eb0\nBLR             X8                                                     ; +0x44, 0x100499eb4\nLDR             X0, [X19,#0x288]                                       ; +0x48, 0x100499eb8\nCBZ             X0, loc_100499ED8                                      ; +0x4c, 0x100499ebc\nLDR             X8, [X0]                                               ; +0x50, 0x100499ec0\nLDR             X2, [X8,#0x158]                                        ; +0x54, 0x100499ec4\nMOV             W1, #1                                                 ; +0x58, 0x100499ec8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100499ecc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100499ed0\nBR              X2                                                     ; +0x64, 0x100499ed4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x100499ed8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x100499edc\nRET                                                                    ; +0x70, 0x100499ee0", "xrefs": ["LevelListLayer::loadLevelsFailed @ 0x1002e35ec", "sub_1002E35F0 @ 0x1002e35f4", "sub_100499EE4 @ 0x100499ee8", "<???> @ 0x10097bbd8"], "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"}