{"type": "func", "start": 5370375152, "end": 5370375376, "name": "EditorSoundConfigInfoLayer::musicActionFailed", "pseudocode": "// \n// EditorSoundConfigInfoLayer::musicActionFailed from 0x140196bf0 to 0x140196cd0 (224 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14074e5d0\n// > <???> @ 0x140919538\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:27:45 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall EditorSoundConfigInfoLayer::musicActionFailed(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 *v3; // rdi\n  __int64 v4; // rbx\n  __int64 v5; // rax\n  char v6[16]; // [rsp+30h] [rbp-48h] BYREF\n  __int64 v7; // [rsp+40h] [rbp-38h]\n  __int64 v8; // [rsp+48h] [rbp-30h]\n  __int128 v9; // [rsp+50h] [rbp-28h] BYREF\n  __int64 v10; // [rsp+60h] [rbp-18h]\n  __int64 v11; // [rsp+68h] [rbp-10h]\n\n  if ( (_DWORD)a2 == 2 )\n  {\n    v3 = (__int64 *)(a1 - 1064);\n    if ( *(_BYTE *)(a1 - 1064 + 1106) )\n    {\n      *(_BYTE *)(a1 + 42) = 0;\n      v9 = 0;\n      v10 = 0;\n      v11 = 15;\n      LOBYTE(v9) = 0;\n      v7 = 15;\n      v8 = 15;\n      strcpy(v6, \"Download failed\");\n      v4 = *v3;\n      v5 = TextAlertPopup::create(v6, a2, a3, 150, &v9);\n      (*(void (__fastcall **)(__int64 *, __int64, __int64))(v4 + 456))(v3, v5, 100);\n    }\n  }\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::musicActionFailed from 0x140196bf0 to 0x140196cd0 (224 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14074e5d0\n; > <???> @ 0x140919538\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:27:45 +0000\n; \ncmp     edx, 2                                                         ; +0x0, 0x140196bf0\njnz     locret_140196CCF                                               ; +0x3, 0x140196bf3\nmov     r11, rsp                                                       ; +0x9, 0x140196bf9\nmov     [r11+8], rbx                                                   ; +0xc, 0x140196bfc\npush    rdi                                                            ; +0x10, 0x140196c00\nsub     rsp, 70h                                                       ; +0x11, 0x140196c01\nlea     rdi, [rcx-428h]                                                ; +0x15, 0x140196c05\ncmp     byte ptr [rdi+452h], 0                                         ; +0x1c, 0x140196c0c\njz      loc_140196CC2                                                  ; +0x23, 0x140196c13\nmov     byte ptr [rcx+2Ah], 0                                          ; +0x29, 0x140196c19\nlea     rax, [r11-28h]                                                 ; +0x2d, 0x140196c1d\nmov     [r11+18h], rax                                                 ; +0x31, 0x140196c21\nxorps   xmm0, xmm0                                                     ; +0x35, 0x140196c25\nmovups  [rsp+78h+var_28], xmm0                                         ; +0x38, 0x140196c28\nmov     qword ptr [r11-18h], 0                                         ; +0x3d, 0x140196c2d\nmov     qword ptr [r11-10h], 0Fh                                       ; +0x45, 0x140196c35\nmov     byte ptr [rsp+78h+var_28], 0                                   ; +0x4d, 0x140196c3d\nmov     qword ptr [r11-38h], 0Fh                                       ; +0x52, 0x140196c42\nmov     qword ptr [r11-30h], 0Fh                                       ; +0x5a, 0x140196c4a\nmovsd   xmm0, cs:qword_14074D468                                       ; +0x62, 0x140196c52\nmovsd   qword ptr [rsp+78h+var_48], xmm0                               ; +0x6a, 0x140196c5a\nmov     eax, cs:dword_14074D470                                        ; +0x70, 0x140196c60\nmov     dword ptr [rsp+78h+var_48+8], eax                              ; +0x76, 0x140196c66\nmovzx   eax, cs:word_14074D474                                         ; +0x7a, 0x140196c6a\nmov     word ptr [rsp+78h+var_48+0Ch], ax                              ; +0x81, 0x140196c71\nmovzx   eax, cs:byte_14074D476                                         ; +0x86, 0x140196c76\nmov     [rsp+78h+var_48+0Eh], al                                       ; +0x8d, 0x140196c7d\nmov     [rsp+78h+var_48+0Fh], 0                                        ; +0x91, 0x140196c81\nmov     rbx, [rdi]                                                     ; +0x96, 0x140196c86\nlea     rax, [r11-28h]                                                 ; +0x99, 0x140196c89\nmov     [r11-58h], rax                                                 ; +0x9d, 0x140196c8d\nmov     r9d, 96h                                                       ; +0xa1, 0x140196c91\nmovss   xmm2, cs:dword_140834F64                                       ; +0xa7, 0x140196c97\nmovss   xmm1, cs:dword_140834F20                                       ; +0xaf, 0x140196c9f\nlea     rcx, [r11-48h]                                                 ; +0xb7, 0x140196ca7\ncall    TextAlertPopup__create                                         ; +0xbb, 0x140196cab\nmov     rdx, rax                                                       ; +0xc0, 0x140196cb0\nmov     r8d, 64h ; 'd'                                                 ; +0xc3, 0x140196cb3\nmov     rcx, rdi                                                       ; +0xc9, 0x140196cb9\ncall    qword ptr [rbx+1C8h]                                           ; +0xcc, 0x140196cbc\nmov     rbx, [rsp+78h+arg_0]                                           ; +0xd2, 0x140196cc2\nadd     rsp, 70h                                                       ; +0xda, 0x140196cca\npop     rdi                                                            ; +0xde, 0x140196cce\nretn                                                                   ; +0xdf, 0x140196ccf", "xrefs": ["<???> @ 0x14074e5d0", "<???> @ 0x140919538"], "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"}