{"type": "func", "start": 4301255600, "end": 4301255773, "name": "GJSongBrowser::onDeleteAll", "pseudocode": "// \n// GJSongBrowser::onDeleteAll from 0x1005ff3b0 to 0x1005ff45d (173 bytes)\n// \n// 1 xrefs:\n// > GJSongBrowser::customSetup @ 0x1005ff18d\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  char *v2; // 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  v2 = FLAlertLayer::create_1(\n         (int)a1 + 608,\n         (int)\"Delete All\",\n         (__int64)v3,\n         (int)\"Cancel\",\n         (int)\"Delete\",\n         COERCE_DOUBLE(1135869952));\n  if ( (v3[0] & 1) != 0 )\n    operator delete(__p);\n  (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 72LL))(v2, 1);\n  (*(void (__fastcall **)(char *))(*(_QWORD *)v2 + 1288LL))(v2);\n}", "assembly": "; \n; GJSongBrowser::onDeleteAll from 0x1005ff3b0 to 0x1005ff45d (173 bytes)\n; \n; 1 xrefs:\n; > GJSongBrowser::customSetup @ 0x1005ff18d\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\npush    rbp                                                            ; +0x0, 0x1005ff3b0\nmov     rbp, rsp                                                       ; +0x1, 0x1005ff3b1\npush    rbx                                                            ; +0x4, 0x1005ff3b4\nsub     rsp, 18h                                                       ; +0x5, 0x1005ff3b5\nmov     rbx, rdi                                                       ; +0x9, 0x1005ff3b9\nadd     rbx, 260h                                                      ; +0xc, 0x1005ff3bc\nmov     edi, 28h ; '('; __sz                                           ; +0x13, 0x1005ff3c3\ncall    __Znwm; operator new(ulong)                                    ; +0x18, 0x1005ff3c8\nmov     [rbp+__p], rax                                                 ; +0x1d, 0x1005ff3cd\nmov     [rbp+var_20], 29h ; ')'                                        ; +0x21, 0x1005ff3d1\nmov     [rbp+var_18], 24h ; '$'                                        ; +0x29, 0x1005ff3d9\nmovups  xmm0, xmmword ptr cs:aDeleteAllDownl+10h; \"oaded custom songs?\\n\" ; +0x31, 0x1005ff3e1\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x38, 0x1005ff3e8\nmovups  xmm0, xmmword ptr cs:aDeleteAllDownl; \"Delete all downloaded custom songs?\\n\" ; +0x3c, 0x1005ff3ec\nmovups  xmmword ptr [rax], xmm0                                        ; +0x43, 0x1005ff3f3\nmov     dword ptr [rax+20h], 0A3F7367h                                 ; +0x46, 0x1005ff3f6\nmov     byte ptr [rax+24h], 0                                          ; +0x4d, 0x1005ff3fd\nlea     rsi, aDeleteAll; \"Delete All\"                                  ; +0x51, 0x1005ff401\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x58, 0x1005ff408\nlea     r8, aDelete_0; \"Delete\"                                        ; +0x5f, 0x1005ff40f\nlea     rdx, [rbp+var_20]                                              ; +0x66, 0x1005ff416\nmovss   xmm0, cs:flt_100815070                                         ; +0x6a, 0x1005ff41a\nmov     rdi, rbx                                                       ; +0x72, 0x1005ff422\ncall    FLAlertLayer__create_1                                         ; +0x75, 0x1005ff425\nmov     rbx, rax                                                       ; +0x7a, 0x1005ff42a\ntest    byte ptr [rbp+var_20], 1                                       ; +0x7d, 0x1005ff42d\njz      short loc_1005FF43C                                            ; +0x81, 0x1005ff431\nmov     rdi, [rbp+__p]; __p                                            ; +0x83, 0x1005ff433\ncall    __ZdlPv; operator delete(void *)                               ; +0x87, 0x1005ff437\nmov     rax, [rbx]                                                     ; +0x8c, 0x1005ff43c\nmov     rdi, rbx                                                       ; +0x8f, 0x1005ff43f\nmov     esi, 1                                                         ; +0x92, 0x1005ff442\ncall    qword ptr [rax+48h]                                            ; +0x97, 0x1005ff447\nmov     rax, [rbx]                                                     ; +0x9a, 0x1005ff44a\nmov     rdi, rbx                                                       ; +0x9d, 0x1005ff44d\ncall    qword ptr [rax+508h]                                           ; +0xa0, 0x1005ff450\nadd     rsp, 18h                                                       ; +0xa6, 0x1005ff456\npop     rbx                                                            ; +0xaa, 0x1005ff45a\npop     rbp                                                            ; +0xab, 0x1005ff45b\nretn                                                                   ; +0xac, 0x1005ff45c", "xrefs": ["GJSongBrowser::customSetup @ 0x1005ff18d"], "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"}