{"type": "func", "start": 5371558432, "end": 5371558700, "name": "GJSongBrowser::onDeleteAll", "pseudocode": "// \n// GJSongBrowser::onDeleteAll from 0x1402b7a20 to 0x1402b7b2c (268 bytes)\n// \n// 2 xrefs:\n// > GJSongBrowser::customSetup @ 0x1402b7565\n// > <???> @ 0x1406d2570\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\n// Hidden C++ exception states: #wind=1\nvoid GJSongBrowser::onDeleteAll(GJSongBrowser *a1, cocos2d::CCObject *a2)\n{\n  int v2; // ebx\n  __int64 v3; // rax\n  FLAlertLayer *v4; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v2 = (_DWORD)a1 + 608;\n  if ( !a1 )\n    v2 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003AA10(0x30u);\n  v6 = 36;\n  v7 = 47;\n  strcpy((char *)v5, \"Delete all downloaded custom songs?\\n\");\n  v3 = sub_14003BDB0((__int64)v8, (__int64)&v5);\n  v4 = FLAlertLayer::create(\n         v2,\n         (int)\"Delete All\",\n         v3,\n         (__int64)\"Cancel\",\n         (__int64)\"Delete\",\n         1135869952,\n         0,\n         0,\n         1065353216);\n  sub_14003A830((__int64)&v5);\n  v4->setTag(v4, 1);\n  v4->show(v4);\n}", "assembly": "; \n; GJSongBrowser::onDeleteAll from 0x1402b7a20 to 0x1402b7b2c (268 bytes)\n; \n; 2 xrefs:\n; > GJSongBrowser::customSetup @ 0x1402b7565\n; > <???> @ 0x1406d2570\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    rbx                                                            ; +0x0, 0x1402b7a20\nsub     rsp, 90h                                                       ; +0x2, 0x1402b7a22\nlea     rbx, [rcx+260h]                                                ; +0x9, 0x1402b7a29\nxor     eax, eax                                                       ; +0x10, 0x1402b7a30\ntest    rcx, rcx                                                       ; +0x12, 0x1402b7a32\ncmovz   rbx, rax                                                       ; +0x15, 0x1402b7a35\nxorps   xmm0, xmm0                                                     ; +0x19, 0x1402b7a39\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x1402b7a3c\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x1402b7a41\nmov     [rsp+98h+var_30], 0Fh                                          ; +0x26, 0x1402b7a46\nlea     ecx, [rax+30h]                                                 ; +0x2f, 0x1402b7a4f\ncall    sub_14003AA10                                                  ; +0x32, 0x1402b7a52\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x37, 0x1402b7a57\nmov     [rsp+98h+var_38], 24h ; '$'                                    ; +0x3c, 0x1402b7a5c\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0x45, 0x1402b7a65\nmovups  xmm0, cs:xmmword_14057F4D0                                     ; +0x4e, 0x1402b7a6e\nmovups  xmmword ptr [rax], xmm0                                        ; +0x55, 0x1402b7a75\nmovups  xmm1, cs:xmmword_14057F4E0                                     ; +0x58, 0x1402b7a78\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x5f, 0x1402b7a7f\nmov     ecx, cs:dword_14057F4F0                                        ; +0x63, 0x1402b7a83\nmov     [rax+20h], ecx                                                 ; +0x69, 0x1402b7a89\nmov     byte ptr [rax+24h], 0                                          ; +0x6c, 0x1402b7a8c\nlea     rax, [rsp+98h+var_48]                                          ; +0x70, 0x1402b7a90\nmov     [rsp+98h+arg_0], rax                                           ; +0x75, 0x1402b7a95\nlea     rdx, [rsp+98h+var_48]                                          ; +0x7d, 0x1402b7a9d\nlea     rcx, [rsp+98h+var_28]                                          ; +0x82, 0x1402b7aa2\ncall    sub_14003BDB0                                                  ; +0x87, 0x1402b7aa7\nmovss   xmm0, cs:flt_140622C24                                         ; +0x8c, 0x1402b7aac\nmovss   [rsp+98h+var_58], xmm0                                         ; +0x94, 0x1402b7ab4\nxorps   xmm1, xmm1                                                     ; +0x9a, 0x1402b7aba\nmovss   [rsp+98h+var_60], xmm1                                         ; +0x9d, 0x1402b7abd\nmov     [rsp+98h+var_68], 0                                            ; +0xa3, 0x1402b7ac3\nmovss   xmm0, cs:flt_14062346C                                         ; +0xa8, 0x1402b7ac8\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xb0, 0x1402b7ad0\nlea     rcx, aDelete_0; \"Delete\"                                       ; +0xb6, 0x1402b7ad6\nmov     [rsp+98h+var_78], rcx                                          ; +0xbd, 0x1402b7add\nlea     r9, aCancel; \"Cancel\"                                          ; +0xc2, 0x1402b7ae2\nmov     r8, rax                                                        ; +0xc9, 0x1402b7ae9\nlea     rdx, aDeleteAll; \"Delete All\"                                  ; +0xcc, 0x1402b7aec\nmov     rcx, rbx                                                       ; +0xd3, 0x1402b7af3\ncall    FLAlertLayer__create                                           ; +0xd6, 0x1402b7af6\nmov     rbx, rax                                                       ; +0xdb, 0x1402b7afb\nlea     rcx, [rsp+98h+var_48]                                          ; +0xde, 0x1402b7afe\ncall    sub_14003A830                                                  ; +0xe3, 0x1402b7b03\nmov     r8, [rbx]                                                      ; +0xe8, 0x1402b7b08\nmov     edx, 1                                                         ; +0xeb, 0x1402b7b0b\nmov     rcx, rbx                                                       ; +0xf0, 0x1402b7b10\ncall    qword ptr [r8+40h]                                             ; +0xf3, 0x1402b7b13\nmov     rdx, [rbx]                                                     ; +0xf7, 0x1402b7b17\nmov     rcx, rbx                                                       ; +0xfa, 0x1402b7b1a\ncall    qword ptr [rdx+410h]                                           ; +0xfd, 0x1402b7b1d\nadd     rsp, 90h                                                       ; +0x103, 0x1402b7b23\npop     rbx                                                            ; +0x10a, 0x1402b7b2a\nretn                                                                   ; +0x10b, 0x1402b7b2b", "xrefs": ["GJSongBrowser::customSetup @ 0x1402b7565", "<???> @ 0x1406d2570"], "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"}