{"type": "func", "start": 4297999220, "end": 4297999384, "name": "LevelListLayer::levelListDeleteFailed", "pseudocode": "// \n// LevelListLayer::levelListDeleteFailed from 0x1002e4374 to 0x1002e4418 (164 bytes)\n// \n// 2 xrefs:\n// > sub_1002E4434 @ 0x1002e4438\n// > <???> @ 0x100923a48\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:02:49 +0000\n// \n\n__int64 __fastcall LevelListLayer::levelListDeleteFailed(__int64 result, int a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  if ( *(_DWORD *)(*(_QWORD *)(result + 912) + 344LL) == a2 )\n  {\n    v2 = result;\n    sub_100009900(__p, \"List delete failed, please try again later.\");\n    v3 = FLAlertLayer::create_1(0, \"Error\", __p, \"OK\", 0, 300.0);\n    if ( v5 < 0 )\n      operator delete(__p[0]);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1312LL))(v3);\n    return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(v2 + 736) + 344LL))(*(_QWORD *)(v2 + 736), 0);\n  }\n  return result;\n}", "assembly": "; \n; LevelListLayer::levelListDeleteFailed from 0x1002e4374 to 0x1002e4418 (164 bytes)\n; \n; 2 xrefs:\n; > sub_1002E4434 @ 0x1002e4438\n; > <???> @ 0x100923a48\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:02:49 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1002e4374\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1002e4378\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1002e437c\nADD             X29, SP, #0x30                                         ; +0xc, 0x1002e4380\nLDR             X8, [X0,#0x390]                                        ; +0x10, 0x1002e4384\nLDR             W8, [X8,#0x158]                                        ; +0x14, 0x1002e4388\nCMP             W8, W1                                                 ; +0x18, 0x1002e438c\nB.NE            loc_1002E4408                                          ; +0x1c, 0x1002e4390\nMOV             X19, X0                                                ; +0x20, 0x1002e4394\nADRL            X1, aListDeleteFail; \"List delete failed, please try again la\"... ; +0x24, 0x1002e4398\nADD             X0, SP, #0x30+__p; int                                 ; +0x2c, 0x1002e43a0\nBL              sub_100009900                                          ; +0x30, 0x1002e43a4\nADRL            X1, aError; \"Error\"                                    ; +0x34, 0x1002e43a8\nADRL            X3, aOk; \"OK\"                                          ; +0x3c, 0x1002e43b0\nMOV             W8, #0x43960000                                        ; +0x44, 0x1002e43b8\nFMOV            S0, W8                                                 ; +0x48, 0x1002e43bc\nADD             X2, SP, #0x30+__p                                      ; +0x4c, 0x1002e43c0\nMOV             X0, #0                                                 ; +0x50, 0x1002e43c4\nMOV             X4, #0                                                 ; +0x54, 0x1002e43c8\nBL              FLAlertLayer__create_1                                 ; +0x58, 0x1002e43cc\nMOV             X20, X0                                                ; +0x5c, 0x1002e43d0\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x60, 0x1002e43d4\nTBZ             W8, #0x1F, loc_1002E43E4                               ; +0x64, 0x1002e43d8\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x68, 0x1002e43dc\nBL              __ZdlPv; operator delete(void *)                       ; +0x6c, 0x1002e43e0\nLDR             X8, [X20]                                              ; +0x70, 0x1002e43e4\nLDR             X8, [X8,#0x520]                                        ; +0x74, 0x1002e43e8\nMOV             X0, X20                                                ; +0x78, 0x1002e43ec\nBLR             X8                                                     ; +0x7c, 0x1002e43f0\nLDR             X0, [X19,#0x2E0]                                       ; +0x80, 0x1002e43f4\nLDR             X8, [X0]                                               ; +0x84, 0x1002e43f8\nLDR             X8, [X8,#0x158]                                        ; +0x88, 0x1002e43fc\nMOV             W1, #0                                                 ; +0x8c, 0x1002e4400\nBLR             X8                                                     ; +0x90, 0x1002e4404\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x94, 0x1002e4408\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x98, 0x1002e440c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x9c, 0x1002e4410\nRET                                                                    ; +0xa0, 0x1002e4414", "xrefs": ["sub_1002E4434 @ 0x1002e4438", "<???> @ 0x100923a48"], "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"}