{"type": "func", "start": 5373413632, "end": 5373413936, "name": "MusicBrowser::musicActionFailed", "pseudocode": "// \n// MusicBrowser::musicActionFailed from 0x14047c900 to 0x14047ca30 (304 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1407b6030\n// > <???> @ 0x14092864c\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:32:43 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall MusicBrowser::musicActionFailed(__int64 a1, int a2)\n{\n  cocos2d::CCNode *v4; // rbx\n  __int64 result; // rax\n  __int64 v6; // rbx\n  __int64 v7; // rdx\n  __int64 v8; // r8\n  cocos2d::CCNode *v9; // rax\n  __int128 v10; // [rsp+30h] [rbp-68h] BYREF\n  __int64 v11; // [rsp+40h] [rbp-58h]\n  __int64 v12; // [rsp+48h] [rbp-50h]\n  __int128 v13; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v14; // [rsp+60h] [rbp-38h]\n  __int64 v15; // [rsp+68h] [rbp-30h]\n\n  v4 = *(cocos2d::CCNode **)(a1 + 192);\n  cocos2d::CCNode::stopActionByTag(v4, 0);\n  (*(void (__fastcall **)(_QWORD *, _QWORD))(*((_QWORD *)v4 + 40) + 40LL))((_QWORD *)v4 + 40, 0);\n  result = (*(__int64 (__fastcall **)(cocos2d::CCNode *, _QWORD))(*(_QWORD *)v4 + 336LL))(v4, 0);\n  if ( a2 == 6 && !*(_BYTE *)(a1 + 248) )\n  {\n    v10 = 0;\n    v11 = 0;\n    v12 = 15;\n    LOBYTE(v10) = 0;\n    v13 = 0;\n    v14 = 0;\n    v15 = 0;\n    *(_QWORD *)&v13 = sub_14003D460(0x30u);\n    v14 = 36;\n    v15 = 47;\n    strcpy((char *)v13, \"Music Library is the latest version.\");\n    v6 = *(_QWORD *)(a1 - 664);\n    v9 = TextAlertPopup::create((__int64)&v13, v7, v8, 150, (__int64)&v10);\n    return (*(__int64 (__fastcall **)(__int64, cocos2d::CCNode *, __int64))(v6 + 456))(a1 - 664, v9, 100);\n  }\n  return result;\n}", "assembly": "; \n; MusicBrowser::musicActionFailed from 0x14047c900 to 0x14047ca30 (304 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1407b6030\n; > <???> @ 0x14092864c\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:32:43 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x14047c900\npush    rsi                                                            ; +0x5, 0x14047c905\npush    rdi                                                            ; +0x6, 0x14047c906\npush    r14                                                            ; +0x7, 0x14047c907\nsub     rsp, 80h                                                       ; +0x9, 0x14047c909\nmov     edi, edx                                                       ; +0x10, 0x14047c910\nmov     rsi, rcx                                                       ; +0x12, 0x14047c912\nmov     rbx, [rcx+0C0h]                                                ; +0x15, 0x14047c915\nxor     edx, edx                                                       ; +0x1c, 0x14047c91c\nmov     rcx, rbx                                                       ; +0x1e, 0x14047c91e\ncall    cs:?stopActionByTag@CCNode@cocos2d@@QEAAXH@Z; cocos2d::CCNode::stopActionByTag(int) ; +0x21, 0x14047c921\nlea     rcx, [rbx+140h]                                                ; +0x27, 0x14047c927\nmov     rax, [rcx]                                                     ; +0x2e, 0x14047c92e\nxor     edx, edx                                                       ; +0x31, 0x14047c931\ncall    qword ptr [rax+28h]                                            ; +0x33, 0x14047c933\nmov     rax, [rbx]                                                     ; +0x36, 0x14047c936\nxor     edx, edx                                                       ; +0x39, 0x14047c939\nmov     rcx, rbx                                                       ; +0x3b, 0x14047c93b\ncall    qword ptr [rax+150h]                                           ; +0x3e, 0x14047c93e\ncmp     edi, 6                                                         ; +0x44, 0x14047c944\njnz     loc_14047CA1C                                                  ; +0x47, 0x14047c947\ncmp     byte ptr [rsi+0F8h], 0                                         ; +0x4d, 0x14047c94d\njnz     loc_14047CA1C                                                  ; +0x54, 0x14047c954\nlea     rax, [rsp+98h+var_68]                                          ; +0x5a, 0x14047c95a\nmov     [rsp+98h+arg_0], rax                                           ; +0x5f, 0x14047c95f\nxorps   xmm0, xmm0                                                     ; +0x67, 0x14047c967\nmovups  [rsp+98h+var_68], xmm0                                         ; +0x6a, 0x14047c96a\nxor     eax, eax                                                       ; +0x6f, 0x14047c96f\nmov     [rsp+98h+var_58], rax                                          ; +0x71, 0x14047c971\nmov     [rsp+98h+var_50], 0Fh                                          ; +0x76, 0x14047c976\nmov     byte ptr [rsp+98h+var_68], al                                  ; +0x7f, 0x14047c97f\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x83, 0x14047c983\nmov     [rsp+98h+var_38], rax                                          ; +0x88, 0x14047c988\nmov     [rsp+98h+var_30], rax                                          ; +0x8d, 0x14047c98d\nmov     ecx, 30h ; '0'                                                 ; +0x92, 0x14047c992\ncall    sub_14003D460                                                  ; +0x97, 0x14047c997\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x9c, 0x14047c99c\nmov     [rsp+98h+var_38], 24h ; '$'                                    ; +0xa1, 0x14047c9a1\nmov     [rsp+98h+var_30], 2Fh ; '/'                                    ; +0xaa, 0x14047c9aa\nmovups  xmm0, cs:xmmword_1407B6CA0                                     ; +0xb3, 0x14047c9b3\nmovups  xmmword ptr [rax], xmm0                                        ; +0xba, 0x14047c9ba\nmovups  xmm1, cs:xmmword_1407B6CB0                                     ; +0xbd, 0x14047c9bd\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0xc4, 0x14047c9c4\nmov     ecx, cs:dword_1407B6CC0                                        ; +0xc8, 0x14047c9c8\nmov     [rax+20h], ecx                                                 ; +0xce, 0x14047c9ce\nmov     byte ptr [rax+24h], 0                                          ; +0xd1, 0x14047c9d1\nmov     rbx, [rsi-298h]                                                ; +0xd5, 0x14047c9d5\nlea     rax, [rsp+98h+var_68]                                          ; +0xdc, 0x14047c9dc\nmov     [rsp+98h+var_78], rax                                          ; +0xe1, 0x14047c9e1\nmov     r9d, 96h                                                       ; +0xe6, 0x14047c9e6\nmovss   xmm2, cs:dword_140834F20                                       ; +0xec, 0x14047c9ec\nmovss   xmm1, cs:flt_140835080                                         ; +0xf4, 0x14047c9f4\nlea     rcx, [rsp+98h+var_48]                                          ; +0xfc, 0x14047c9fc\ncall    TextAlertPopup__create                                         ; +0x101, 0x14047ca01\nmov     rdx, rax                                                       ; +0x106, 0x14047ca06\nmov     r8d, 64h ; 'd'                                                 ; +0x109, 0x14047ca09\nlea     rcx, [rsi-298h]                                                ; +0x10f, 0x14047ca0f\ncall    qword ptr [rbx+1C8h]                                           ; +0x116, 0x14047ca16\nmov     rbx, [rsp+98h+arg_8]                                           ; +0x11c, 0x14047ca1c\nadd     rsp, 80h                                                       ; +0x124, 0x14047ca24\npop     r14                                                            ; +0x12b, 0x14047ca2b\npop     rdi                                                            ; +0x12d, 0x14047ca2d\npop     rsi                                                            ; +0x12e, 0x14047ca2e\nretn                                                                   ; +0x12f, 0x14047ca2f", "xrefs": ["<???> @ 0x1407b6030", "<???> @ 0x14092864c"], "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"}