{"type": "func", "start": 4302135600, "end": 4302135773, "name": "GJSongBrowser::onDeleteAll", "pseudocode": "// \n// GJSongBrowser::onDeleteAll from 0x1006d6130 to 0x1006d61dd (173 bytes)\n// \n// 1 xrefs:\n// > GJSongBrowser::customSetup @ 0x1006d5f0d\n// \n// This function is hookable on this platform (idp: pc, 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 12:35:40 +0000\n// \n\n__int64 __fastcall GJSongBrowser::onDeleteAll(int a1)\n{\n  char *v1; // rbx\n  _QWORD v3[2]; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  __p = operator new(0x28u);\n  v3[0] = 41;\n  v3[1] = 36;\n  strcpy((char *)__p, \"Delete all downloaded custom songs?\\n\");\n  v1 = FLAlertLayer::create_1(a1 + 608, (int)\"Delete All\", (__int64)v3, (int)\"Cancel\", (int)\"Delete\", 360.0);\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v1 + 72LL))(v1, 1);\n  return (*(__int64 (__fastcall **)(char *))(*(_QWORD *)v1 + 1312LL))(v1);\n}", "assembly": "; \n; GJSongBrowser::onDeleteAll from 0x1006d6130 to 0x1006d61dd (173 bytes)\n; \n; 1 xrefs:\n; > GJSongBrowser::customSetup @ 0x1006d5f0d\n; \n; This function is hookable on this platform (idp: pc, 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 12:35:40 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006d6130\nmov     rbp, rsp                                                       ; +0x1, 0x1006d6131\npush    rbx                                                            ; +0x4, 0x1006d6134\nsub     rsp, 18h                                                       ; +0x5, 0x1006d6135\nmov     rbx, rdi                                                       ; +0x9, 0x1006d6139\nadd     rbx, 260h                                                      ; +0xc, 0x1006d613c\nmov     edi, 28h ; '('; __sz                                           ; +0x13, 0x1006d6143\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1006d6148\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1006d614d\nmov     [rbp+var_20], 29h ; ')'                                        ; +0x21, 0x1006d6151\nmov     [rbp+var_18], 24h ; '$'                                        ; +0x29, 0x1006d6159\nmovups  xmm0, xmmword ptr cs:aDeleteAllDownl+10h; \"oaded custom songs?\\n\" ; +0x31, 0x1006d6161\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x38, 0x1006d6168\nmovups  xmm0, xmmword ptr cs:aDeleteAllDownl; \"Delete all downloaded custom songs?\\n\" ; +0x3c, 0x1006d616c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x43, 0x1006d6173\nmov     dword ptr [rax+20h], 0A3F7367h                                 ; +0x46, 0x1006d6176\nmov     byte ptr [rax+24h], 0                                          ; +0x4d, 0x1006d617d\nlea     rsi, aDeleteAll; \"Delete All\"                                  ; +0x51, 0x1006d6181\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x58, 0x1006d6188\nlea     r8, aDelete_0; \"Delete\"                                        ; +0x5f, 0x1006d618f\nlea     rdx, [rbp+var_20]                                              ; +0x66, 0x1006d6196\nmovss   xmm0, cs:flt_100A03590                                         ; +0x6a, 0x1006d619a\nmov     rdi, rbx                                                       ; +0x72, 0x1006d61a2\ncall    FLAlertLayer__create_1                                         ; +0x75, 0x1006d61a5\nmov     rbx, rax                                                       ; +0x7a, 0x1006d61aa\ntest    byte ptr [rbp+var_20], 1                                       ; +0x7d, 0x1006d61ad\njz      short loc_1006D61BC                                            ; +0x81, 0x1006d61b1\nmov     rdi, [rbp+__p]; __p                                            ; +0x83, 0x1006d61b3\ncall    __ZdlPv; operator delete(void *)                               ; +0x87, 0x1006d61b7\nmov     rax, [rbx]                                                     ; +0x8c, 0x1006d61bc\nmov     rdi, rbx                                                       ; +0x8f, 0x1006d61bf\nmov     esi, 1                                                         ; +0x92, 0x1006d61c2\ncall    qword ptr [rax+48h]                                            ; +0x97, 0x1006d61c7\nmov     rax, [rbx]                                                     ; +0x9a, 0x1006d61ca\nmov     rdi, rbx                                                       ; +0x9d, 0x1006d61cd\ncall    qword ptr [rax+520h]                                           ; +0xa0, 0x1006d61d0\nadd     rsp, 18h                                                       ; +0xa6, 0x1006d61d6\npop     rbx                                                            ; +0xaa, 0x1006d61da\npop     rbp                                                            ; +0xab, 0x1006d61db\nretn                                                                   ; +0xac, 0x1006d61dc", "xrefs": ["GJSongBrowser::customSetup @ 0x1006d5f0d"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}