{"type": "func", "start": 5372632960, "end": 5372633238, "name": "GJSongBrowser::onDeleteAll", "pseudocode": "// \n// GJSongBrowser::onDeleteAll from 0x1403bdf80 to 0x1403be096 (278 bytes)\n// \n// 2 xrefs:\n// > GJSongBrowser::customSetup @ 0x1403bdb04\n// > <???> @ 0x140923f3c\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 11:31:27 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJSongBrowser::onDeleteAll(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  _BYTE v5[32]; // [rsp+50h] [rbp-58h] BYREF\n  __int128 v6; // [rsp+70h] [rbp-38h] BYREF\n  __int64 v7; // [rsp+80h] [rbp-28h]\n  __int64 v8; // [rsp+88h] [rbp-20h]\n\n  v1 = a1 + 608;\n  if ( !a1 )\n    v1 = 0;\n  v6 = 0;\n  *(_QWORD *)&v6 = sub_14003D460(0x30u);\n  v7 = 36;\n  v8 = 47;\n  strcpy((char *)v6, \"Delete all downloaded custom songs?\\n\");\n  v2 = sub_14003F4F0((__int64)v5, (__int64)&v6);\n  v3 = FLAlertLayer::create(\n         v1,\n         (int)\"Delete All\",\n         v2,\n         (__int64)\"Cancel\",\n         (__int64)\"Delete\",\n         1135869952,\n         0,\n         0,\n         1065353216);\n  sub_14003D310((__int64)&v6);\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 64LL))(v3, 1);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; GJSongBrowser::onDeleteAll from 0x1403bdf80 to 0x1403be096 (278 bytes)\n; \n; 2 xrefs:\n; > GJSongBrowser::customSetup @ 0x1403bdb04\n; > <???> @ 0x140923f3c\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 11:31:27 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x1403bdf80\npush    rbx                                                            ; +0x3, 0x1403bdf83\nsub     rsp, 0A0h                                                      ; +0x4, 0x1403bdf84\nlea     rbx, [rcx+260h]                                                ; +0xb, 0x1403bdf8b\nxor     eax, eax                                                       ; +0x12, 0x1403bdf92\ntest    rcx, rcx                                                       ; +0x14, 0x1403bdf94\ncmovz   rbx, rax                                                       ; +0x17, 0x1403bdf97\nxorps   xmm0, xmm0                                                     ; +0x1b, 0x1403bdf9b\nmovups  [rsp+0A8h+var_38], xmm0                                        ; +0x1e, 0x1403bdf9e\nmov     [r11-28h], rax                                                 ; +0x23, 0x1403bdfa3\nmov     [r11-20h], rax                                                 ; +0x27, 0x1403bdfa7\nmov     ecx, 30h ; '0'                                                 ; +0x2b, 0x1403bdfab\ncall    sub_14003D460                                                  ; +0x30, 0x1403bdfb0\nmov     qword ptr [rsp+0A8h+var_38], rax                               ; +0x35, 0x1403bdfb5\nmov     [rsp+0A8h+var_28], 24h ; '$'                                   ; +0x3a, 0x1403bdfba\nmov     [rsp+0A8h+var_20], 2Fh ; '/'                                   ; +0x46, 0x1403bdfc6\nmovups  xmm0, cs:xmmword_140782788                                     ; +0x52, 0x1403bdfd2\nmovups  xmmword ptr [rax], xmm0                                        ; +0x59, 0x1403bdfd9\nmovups  xmm1, cs:xmmword_140782798                                     ; +0x5c, 0x1403bdfdc\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x63, 0x1403bdfe3\nmov     ecx, cs:dword_1407827A8                                        ; +0x67, 0x1403bdfe7\nmov     [rax+20h], ecx                                                 ; +0x6d, 0x1403bdfed\nmov     byte ptr [rax+24h], 0                                          ; +0x70, 0x1403bdff0\nlea     rax, [rsp+0A8h+var_38]                                         ; +0x74, 0x1403bdff4\nmov     [rsp+0A8h+arg_0], rax                                          ; +0x79, 0x1403bdff9\nlea     rdx, [rsp+0A8h+var_38]                                         ; +0x81, 0x1403be001\nlea     rcx, [rsp+0A8h+var_58]                                         ; +0x86, 0x1403be006\ncall    sub_14003F4F0                                                  ; +0x8b, 0x1403be00b\nmovss   xmm0, cs:flt_140835080                                         ; +0x90, 0x1403be010\nmovss   [rsp+0A8h+var_68], xmm0                                        ; +0x98, 0x1403be018\nxorps   xmm1, xmm1                                                     ; +0x9e, 0x1403be01e\nmovss   [rsp+0A8h+var_70], xmm1                                        ; +0xa1, 0x1403be021\nmov     [rsp+0A8h+var_78], 0                                           ; +0xa7, 0x1403be027\nmovss   xmm0, cs:Y                                                     ; +0xac, 0x1403be02c\nmovss   [rsp+0A8h+var_80], xmm0                                        ; +0xb4, 0x1403be034\nlea     rcx, aDelete_0; \"Delete\"                                       ; +0xba, 0x1403be03a\nmov     [rsp+0A8h+var_88], rcx                                         ; +0xc1, 0x1403be041\nlea     r9, aCancel; \"Cancel\"                                          ; +0xc6, 0x1403be046\nmov     r8, rax                                                        ; +0xcd, 0x1403be04d\nlea     rdx, aDeleteAll; \"Delete All\"                                  ; +0xd0, 0x1403be050\nmov     rcx, rbx                                                       ; +0xd7, 0x1403be057\ncall    FLAlertLayer__create                                           ; +0xda, 0x1403be05a\nmov     rbx, rax                                                       ; +0xdf, 0x1403be05f\nlea     rcx, [rsp+0A8h+var_38]                                         ; +0xe2, 0x1403be062\ncall    sub_14003D310                                                  ; +0xe7, 0x1403be067\nmov     rcx, [rbx]                                                     ; +0xec, 0x1403be06c\nmov     r8, [rcx+40h]                                                  ; +0xef, 0x1403be06f\nmov     edx, 1                                                         ; +0xf3, 0x1403be073\nmov     rcx, rbx                                                       ; +0xf8, 0x1403be078\ncall    r8                                                             ; +0xfb, 0x1403be07b\nmov     rcx, [rbx]                                                     ; +0xfe, 0x1403be07e\nmov     rdx, [rcx+428h]                                                ; +0x101, 0x1403be081\nmov     rcx, rbx                                                       ; +0x108, 0x1403be088\ncall    rdx                                                            ; +0x10b, 0x1403be08b\nadd     rsp, 0A0h                                                      ; +0x10d, 0x1403be08d\npop     rbx                                                            ; +0x114, 0x1403be094\nretn                                                                   ; +0x115, 0x1403be095", "xrefs": ["GJSongBrowser::customSetup @ 0x1403bdb04", "<???> @ 0x140923f3c"], "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"}