{"type": "func", "start": 4296800156, "end": 4296800336, "name": "GauntletSelectLayer::loadLevelsFailed", "pseudocode": "// \n// GauntletSelectLayer::loadLevelsFailed from 0x1001bf79c to 0x1001bf850 (180 bytes)\n// \n// 2 xrefs:\n// > sub_1001BF86C @ 0x1001bf870\n// > <???> @ 0x1007b69e8\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 __fastcall GauntletSelectLayer::loadLevelsFailed(GauntletSelectLayer *a1, const char *a2, int a3)\n{\n  bool v4; // w20\n  void *__p[2]; // [xsp+0h] [xbp-40h] BYREF\n  char v6; // [xsp+17h] [xbp-29h]\n  void *v7[2]; // [xsp+18h] [xbp-28h] BYREF\n  char v8; // [xsp+2Fh] [xbp-11h]\n\n  sub_100009900(v7, (char *)a2);\n  sub_100009900(__p, \"get_gauntlets\");\n  v4 = sub_1000045BC(v7, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  if ( v8 < 0 )\n  {\n    operator delete(v7[0]);\n    if ( !v4 )\n      return;\n  }\n  else if ( !v4 )\n  {\n    return;\n  }\n  ((void (__fastcall *)(LoadingCircle *, _QWORD))a1->m_loadingCircle->setVisible)(a1->m_loadingCircle, 0);\n  ((void (__fastcall *)(TextArea *, __int64))a1->m_tryAgainText->setVisible)(a1->m_tryAgainText, 1);\n  ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))a1->m_refreshButton->setVisible)(a1->m_refreshButton, 1);\n}", "assembly": "; \n; GauntletSelectLayer::loadLevelsFailed from 0x1001bf79c to 0x1001bf850 (180 bytes)\n; \n; 2 xrefs:\n; > sub_1001BF86C @ 0x1001bf870\n; > <???> @ 0x1007b69e8\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\nSUB             SP, SP, #0x50                                          ; +0x0, 0x1001bf79c\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x1001bf7a0\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x1001bf7a4\nADD             X29, SP, #0x40                                         ; +0xc, 0x1001bf7a8\nMOV             X19, X0                                                ; +0x10, 0x1001bf7ac\nADD             X0, SP, #0x40+var_28; int                              ; +0x14, 0x1001bf7b0\nBL              sub_100009900                                          ; +0x18, 0x1001bf7b4\nADRL            X1, aGetGauntlets; \"get_gauntlets\"                     ; +0x1c, 0x1001bf7b8\nMOV             X0, SP; int                                            ; +0x24, 0x1001bf7c0\nBL              sub_100009900                                          ; +0x28, 0x1001bf7c4\nADD             X0, SP, #0x40+var_28                                   ; +0x2c, 0x1001bf7c8\nMOV             X1, SP                                                 ; +0x30, 0x1001bf7cc\nBL              sub_1000045BC                                          ; +0x34, 0x1001bf7d0\nMOV             X20, X0                                                ; +0x38, 0x1001bf7d4\nLDRSB           W8, [SP,#0x40+var_29]                                  ; +0x3c, 0x1001bf7d8\nTBZ             W8, #0x1F, loc_1001BF7E8                               ; +0x40, 0x1001bf7dc\nLDR             X0, [SP,#0x40+__p]; __p                                ; +0x44, 0x1001bf7e0\nBL              __ZdlPv; operator delete(void *)                       ; +0x48, 0x1001bf7e4\nLDRSB           W8, [SP,#0x40+var_11]                                  ; +0x4c, 0x1001bf7e8\nTBNZ            W8, #0x1F, loc_1001BF840                               ; +0x50, 0x1001bf7ec\nTBZ             W20, #0, loc_1001BF830                                 ; +0x54, 0x1001bf7f0\nLDR             X0, [X19,#0x1E8]                                       ; +0x58, 0x1001bf7f4\nLDR             X8, [X0]                                               ; +0x5c, 0x1001bf7f8\nLDR             X8, [X8,#0x148]                                        ; +0x60, 0x1001bf7fc\nMOV             W1, #0                                                 ; +0x64, 0x1001bf800\nBLR             X8                                                     ; +0x68, 0x1001bf804\nLDR             X0, [X19,#0x1E0]                                       ; +0x6c, 0x1001bf808\nLDR             X8, [X0]                                               ; +0x70, 0x1001bf80c\nLDR             X8, [X8,#0x148]                                        ; +0x74, 0x1001bf810\nMOV             W1, #1                                                 ; +0x78, 0x1001bf814\nBLR             X8                                                     ; +0x7c, 0x1001bf818\nLDR             X0, [X19,#0x1D0]                                       ; +0x80, 0x1001bf81c\nLDR             X8, [X0]                                               ; +0x84, 0x1001bf820\nLDR             X8, [X8,#0x148]                                        ; +0x88, 0x1001bf824\nMOV             W1, #1                                                 ; +0x8c, 0x1001bf828\nBLR             X8                                                     ; +0x90, 0x1001bf82c\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0x94, 0x1001bf830\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0x98, 0x1001bf834\nADD             SP, SP, #0x50 ; 'P'                                    ; +0x9c, 0x1001bf838\nRET                                                                    ; +0xa0, 0x1001bf83c\nLDR             X0, [SP,#0x40+var_28]; __p                             ; +0xa4, 0x1001bf840\nBL              __ZdlPv; operator delete(void *)                       ; +0xa8, 0x1001bf844\nTBNZ            W20, #0, loc_1001BF7F4                                 ; +0xac, 0x1001bf848\nB               loc_1001BF830                                          ; +0xb0, 0x1001bf84c", "xrefs": ["sub_1001BF86C @ 0x1001bf870", "<???> @ 0x1007b69e8"], "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"}