{"type": "func", "start": 4299782148, "end": 4299782300, "name": "LevelBrowserLayer::onDeleteAll", "pseudocode": "// \n// LevelBrowserLayer::onDeleteAll from 0x100497804 to 0x10049789c (152 bytes)\n// \n// 1 xrefs:\n// > LevelBrowserLayer::init @ 0x1004960c8\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:57 +0000\n// \n\n__int64 __fastcall LevelBrowserLayer::onDeleteAll(__int64 a1)\n{\n  void *v2; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(\n    __p,\n    \"Delete all saved online levels?\\n\"\n    \"<cg>Search and folder filters apply.</c>\\n\"\n    \"<cl>Favorite levels will not be deleted.</c>\\n\"\n    \"<cy>Stats and progress will be saved.</c>\");\n  v2 = FLAlertLayer::create_1(\n         a1 + 552,\n         (__int64)\"Delete All\",\n         (__int64)__p,\n         (__int64)\"Cancel\",\n         (__int64)\"Delete\",\n         360.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1);\n  return (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v2 + 1312LL))(v2);\n}", "assembly": "; \n; LevelBrowserLayer::onDeleteAll from 0x100497804 to 0x10049789c (152 bytes)\n; \n; 1 xrefs:\n; > LevelBrowserLayer::init @ 0x1004960c8\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:57 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x100497804\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100497808\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x10049780c\nADD             X29, SP, #0x30                                         ; +0xc, 0x100497810\nMOV             X19, X0                                                ; +0x10, 0x100497814\nADRL            X1, aDeleteAllSaved; \"Delete all saved online levels?\\n<cg>Se\"... ; +0x14, 0x100497818\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x100497820\nBL              sub_100009900                                          ; +0x20, 0x100497824\nADRL            X1, aDeleteAll; \"Delete All\"                           ; +0x24, 0x100497828\nADRL            X3, aCancel; \"Cancel\"                                  ; +0x2c, 0x100497830\nADRL            X4, aDelete_0; \"Delete\"                                ; +0x34, 0x100497838\nMOV             W8, #0x43B40000                                        ; +0x3c, 0x100497840\nFMOV            S0, W8                                                 ; +0x40, 0x100497844\nADD             X0, X19, #0x228                                        ; +0x44, 0x100497848\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x10049784c\nBL              FLAlertLayer__create_1                                 ; +0x4c, 0x100497850\nMOV             X19, X0                                                ; +0x50, 0x100497854\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x100497858\nTBZ             W8, #0x1F, loc_100497868                               ; +0x58, 0x10049785c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x100497860\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x100497864\nLDR             X8, [X19]                                              ; +0x64, 0x100497868\nLDR             X8, [X8,#0x48]                                         ; +0x68, 0x10049786c\nMOV             X0, X19                                                ; +0x6c, 0x100497870\nMOV             W1, #1                                                 ; +0x70, 0x100497874\nBLR             X8                                                     ; +0x74, 0x100497878\nLDR             X8, [X19]                                              ; +0x78, 0x10049787c\nLDR             X8, [X8,#0x520]                                        ; +0x7c, 0x100497880\nMOV             X0, X19                                                ; +0x80, 0x100497884\nBLR             X8                                                     ; +0x84, 0x100497888\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x10049788c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x100497890\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x100497894\nRET                                                                    ; +0x94, 0x100497898", "xrefs": ["LevelBrowserLayer::init @ 0x1004960c8"], "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"}