{"type": "func", "start": 4297481904, "end": 4297482056, "name": "GJSongBrowser::onDeleteAll", "pseudocode": "// \n// GJSongBrowser::onDeleteAll from 0x100265eb0 to 0x100265f48 (152 bytes)\n// \n// 1 xrefs:\n// > GJSongBrowser::customSetup @ 0x100265cc8\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 GJSongBrowser::onDeleteAll(GJSongBrowser *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v5; // [xsp+1Fh] [xbp-11h]\n\n  sub_100009900(__p, \"Delete all downloaded custom songs?\\n\");\n  v3 = FLAlertLayer::create_1(&a1->FLAlertLayerProtocol, \"Delete All\", __p, \"Cancel\", \"Delete\", 360.0);\n  if ( v5 < 0 )\n    operator delete(__p[0]);\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1);\n  (*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 1288LL))(v3);\n}", "assembly": "; \n; GJSongBrowser::onDeleteAll from 0x100265eb0 to 0x100265f48 (152 bytes)\n; \n; 1 xrefs:\n; > GJSongBrowser::customSetup @ 0x100265cc8\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, #0x40                                          ; +0x0, 0x100265eb0\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100265eb4\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100265eb8\nADD             X29, SP, #0x30                                         ; +0xc, 0x100265ebc\nMOV             X19, X0                                                ; +0x10, 0x100265ec0\nADRL            X1, aDeleteAllDownl; \"Delete all downloaded custom songs?\\n\" ; +0x14, 0x100265ec4\nADD             X0, SP, #0x30+__p; int                                 ; +0x1c, 0x100265ecc\nBL              sub_100009900                                          ; +0x20, 0x100265ed0\nADRL            X1, aDeleteAll; \"Delete All\"                           ; +0x24, 0x100265ed4\nADRL            X3, aCancel; \"Cancel\"                                  ; +0x2c, 0x100265edc\nADRL            X4, aDelete; \"Delete\"                                  ; +0x34, 0x100265ee4\nMOV             W8, #0x43B40000                                        ; +0x3c, 0x100265eec\nFMOV            S0, W8                                                 ; +0x40, 0x100265ef0\nADD             X0, X19, #0x260                                        ; +0x44, 0x100265ef4\nADD             X2, SP, #0x30+__p                                      ; +0x48, 0x100265ef8\nBL              FLAlertLayer__create_1                                 ; +0x4c, 0x100265efc\nMOV             X19, X0                                                ; +0x50, 0x100265f00\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x54, 0x100265f04\nTBZ             W8, #0x1F, loc_100265F14                               ; +0x58, 0x100265f08\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x5c, 0x100265f0c\nBL              __ZdlPv; operator delete(void *)                       ; +0x60, 0x100265f10\nLDR             X8, [X19]                                              ; +0x64, 0x100265f14\nLDR             X8, [X8,#0x48]                                         ; +0x68, 0x100265f18\nMOV             X0, X19                                                ; +0x6c, 0x100265f1c\nMOV             W1, #1                                                 ; +0x70, 0x100265f20\nBLR             X8                                                     ; +0x74, 0x100265f24\nLDR             X8, [X19]                                              ; +0x78, 0x100265f28\nLDR             X8, [X8,#0x508]                                        ; +0x7c, 0x100265f2c\nMOV             X0, X19                                                ; +0x80, 0x100265f30\nBLR             X8                                                     ; +0x84, 0x100265f34\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x88, 0x100265f38\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x8c, 0x100265f3c\nADD             SP, SP, #0x40 ; '@'                                    ; +0x90, 0x100265f40\nRET                                                                    ; +0x94, 0x100265f44", "xrefs": ["GJSongBrowser::customSetup @ 0x100265cc8"], "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"}