{"type": "func", "start": 5370199248, "end": 5370200408, "name": "CustomSongWidget::onPlayback", "pseudocode": "// \n// CustomSongWidget::onPlayback from 0x14016bcd0 to 0x14016c158 (1160 bytes)\n// \n// 2 xrefs:\n// > CustomSongWidget::init @ 0x1401698c5\n// > <???> @ 0x14091814c\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:29 +0000\n// \n\n// Hidden C++ exception states: #wind=15\nvoid __fastcall CustomSongWidget::onPlayback(__int64 a1)\n{\n  void (__fastcall ***v2)(_QWORD, _QWORD); // rcx\n  __int64 v3; // rcx\n  _QWORD *v4; // rcx\n  __int64 v5; // rcx\n  void **v6; // r14\n  unsigned __int64 v7; // rsi\n  __int64 v8; // rbx\n  _QWORD *v9; // rcx\n  _QWORD *v10; // rbx\n  __int64 v11; // rcx\n  _QWORD *v12; // rcx\n  _QWORD *v13; // rbx\n  __int64 v14; // rcx\n  __int64 v15; // rcx\n  _QWORD *v16; // rax\n  size_t v17; // r8\n  _QWORD *v18; // rcx\n  void *v19; // [rsp+30h] [rbp-39h]\n  void *v20; // [rsp+30h] [rbp-39h]\n  void *v21; // [rsp+30h] [rbp-39h]\n  void *v22; // [rsp+30h] [rbp-39h]\n  void *v23; // [rsp+30h] [rbp-39h]\n  void *v24; // [rsp+38h] [rbp-31h]\n  void *v25; // [rsp+38h] [rbp-31h]\n  void *v26; // [rsp+38h] [rbp-31h]\n  void *v27; // [rsp+38h] [rbp-31h]\n  __int128 v28; // [rsp+40h] [rbp-29h] BYREF\n  unsigned __int64 v29; // [rsp+50h] [rbp-19h]\n  __int64 v30; // [rsp+58h] [rbp-11h]\n  void *Src[2]; // [rsp+60h] [rbp-9h] BYREF\n  unsigned __int64 v32; // [rsp+70h] [rbp+7h]\n  unsigned __int64 v33; // [rsp+78h] [rbp+Fh]\n  _BYTE v34[32]; // [rsp+80h] [rbp+17h] BYREF\n\n  v2 = *(void (__fastcall ****)(_QWORD, _QWORD))(a1 + 520);\n  if ( v2 )\n  {\n    (**v2)(v2, *(_QWORD *)(a1 + 336));\n  }\n  else if ( *(_QWORD *)(a1 + 336) )\n  {\n    v3 = qword_14090C070;\n    if ( !qword_14090C070 )\n    {\n      v24 = operator new(0x3D0u);\n      qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v24);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n      v3 = qword_14090C070;\n    }\n    MusicDownloadManager::pathForSong(v3, Src, *(unsigned int *)(*(_QWORD *)(a1 + 336) + 320LL));\n    v4 = (_QWORD *)qword_14090BF60;\n    if ( !qword_14090BF60 )\n    {\n      v25 = operator new(0x8A8u);\n      qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v25);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      v4 = (_QWORD *)qword_14090BF60;\n    }\n    if ( FMODAudioEngine::isMusicPlaying_1(v4, 0) )\n    {\n      v28 = 0;\n      v29 = 0;\n      v30 = 0;\n      v6 = Src;\n      if ( v33 > 0xF )\n        v6 = (void **)Src[0];\n      v7 = v32;\n      v8 = 0x7FFFFFFFFFFFFFFFLL;\n      if ( v32 > 0x7FFFFFFFFFFFFFFFLL )\n        sub_140009D90(v5);\n      if ( v32 > 0xF )\n      {\n        if ( (v32 | 0xF) <= 0x7FFFFFFFFFFFFFFFLL )\n        {\n          v8 = v32 | 0xF;\n          if ( (v32 | 0xF) < 0x16 )\n            v8 = 22;\n        }\n        *(_QWORD *)&v28 = sub_14003D460(v8 + 1);\n        v29 = v7;\n        v30 = v8;\n        memcpy((void *)v28, v6, v7 + 1);\n      }\n      else\n      {\n        v29 = v32;\n        v30 = 15;\n        v28 = *(_OWORD *)v6;\n      }\n      v9 = (_QWORD *)qword_14090BF60;\n      if ( !qword_14090BF60 )\n      {\n        v19 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v19);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n        v9 = (_QWORD *)qword_14090BF60;\n      }\n      if ( !FMODAudioEngine::isMusicPlaying(v9, &v28) )\n      {\n        v10 = (_QWORD *)qword_14090BF60;\n        if ( !qword_14090BF60 )\n        {\n          v20 = operator new(0x8A8u);\n          qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v20);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n          v10 = (_QWORD *)qword_14090BF60;\n        }\n        v11 = v10[69];\n        if ( v11 )\n          FMOD::ChannelControl::stop(v11);\n        sub_14003EB60(v10 + 137);\n        sub_14003EB60(v10 + 145);\n        sub_14003EB60(v10 + 153);\n      }\n    }\n    v12 = (_QWORD *)qword_14090BF60;\n    if ( !qword_14090BF60 )\n    {\n      v21 = operator new(0x8A8u);\n      qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v21);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n      v12 = (_QWORD *)qword_14090BF60;\n    }\n    if ( FMODAudioEngine::isMusicPlaying_1(v12, 0) )\n    {\n      v13 = (_QWORD *)qword_14090BF60;\n      if ( !qword_14090BF60 )\n      {\n        v22 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v22);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n        v13 = (_QWORD *)qword_14090BF60;\n      }\n      v14 = v13[69];\n      if ( v14 )\n        FMOD::ChannelControl::stop(v14);\n      sub_14003EB60(v13 + 137);\n      sub_14003EB60(v13 + 145);\n      sub_14003EB60(v13 + 153);\n    }\n    else if ( *(_QWORD *)(a1 + 336) )\n    {\n      v15 = qword_14090C070;\n      if ( !qword_14090C070 )\n      {\n        v26 = operator new(0x3D0u);\n        qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v26);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n        v15 = qword_14090C070;\n      }\n      v16 = (_QWORD *)MusicDownloadManager::pathForSong(v15, v34, *(unsigned int *)(*(_QWORD *)(a1 + 336) + 320LL));\n      if ( v16[3] > 0xFu )\n        v16 = (_QWORD *)*v16;\n      v28 = 0;\n      v29 = 0;\n      v30 = 0;\n      v17 = -1;\n      do\n        ++v17;\n      while ( *((_BYTE *)v16 + v17) );\n      sub_14003D230(&v28, v16, v17);\n      v18 = (_QWORD *)qword_14090BF60;\n      if ( !qword_14090BF60 )\n      {\n        v27 = operator new(0x8A8u);\n        qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v27);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60);\n        v18 = (_QWORD *)qword_14090BF60;\n      }\n      FMODAudioEngine::playMusic(v18, (__int64)&v28, 0, 0.0);\n      sub_14003D310((__int64)v34);\n    }\n    if ( !qword_14090C070 )\n    {\n      v23 = operator new(0x3D0u);\n      qword_14090C070 = MusicDownloadManager::MusicDownloadManager(v23);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090C070 + 72LL))(qword_14090C070);\n    }\n    MusicDownloadManager::songStateChanged();\n    sub_14003D310((__int64)Src);\n  }\n}", "assembly": "; \n; CustomSongWidget::onPlayback from 0x14016bcd0 to 0x14016c158 (1160 bytes)\n; \n; 2 xrefs:\n; > CustomSongWidget::init @ 0x1401698c5\n; > <???> @ 0x14091814c\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:29 +0000\n; \nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x14016bcd0\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x14016bcd5\nmov     [rsp-8+arg_18], rdi                                            ; +0xa, 0x14016bcda\npush    rbp                                                            ; +0xf, 0x14016bcdf\npush    r14                                                            ; +0x10, 0x14016bce0\npush    r15                                                            ; +0x12, 0x14016bce2\nlea     rbp, [rsp-47h]                                                 ; +0x14, 0x14016bce4\nsub     rsp, 0B0h                                                      ; +0x19, 0x14016bce9\nmov     rax, cs:__security_cookie                                      ; +0x20, 0x14016bcf0\nxor     rax, rsp                                                       ; +0x27, 0x14016bcf7\nmov     [rbp+57h+var_20], rax                                          ; +0x2a, 0x14016bcfa\nmov     rdi, rcx                                                       ; +0x2e, 0x14016bcfe\nmov     rcx, [rcx+208h]                                                ; +0x31, 0x14016bd01\ntest    rcx, rcx                                                       ; +0x38, 0x14016bd08\njz      short loc_14016BD1E                                            ; +0x3b, 0x14016bd0b\nmov     rax, [rcx]                                                     ; +0x3d, 0x14016bd0d\nmov     rdx, [rdi+150h]                                                ; +0x40, 0x14016bd10\ncall    qword ptr [rax]                                                ; +0x47, 0x14016bd17\njmp     loc_14016C129                                                  ; +0x49, 0x14016bd19\ncmp     qword ptr [rdi+150h], 0                                        ; +0x4e, 0x14016bd1e\njz      loc_14016C129                                                  ; +0x56, 0x14016bd26\nmov     rcx, cs:qword_14090C070                                        ; +0x5c, 0x14016bd2c\ntest    rcx, rcx                                                       ; +0x63, 0x14016bd33\njnz     short loc_14016BD69                                            ; +0x66, 0x14016bd36\nmov     ecx, 3D0h; Size                                                ; +0x68, 0x14016bd38\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x6d, 0x14016bd3d\nmov     [rbp+57h+var_88], rax                                          ; +0x72, 0x14016bd42\nmov     rcx, rax                                                       ; +0x76, 0x14016bd46\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x79, 0x14016bd49\nnop                                                                    ; +0x7e, 0x14016bd4e\nmov     cs:qword_14090C070, rax                                        ; +0x7f, 0x14016bd4f\nmov     rcx, [rax]                                                     ; +0x86, 0x14016bd56\nmov     rdx, [rcx+48h]                                                 ; +0x89, 0x14016bd59\nmov     rcx, rax                                                       ; +0x8d, 0x14016bd5d\ncall    rdx                                                            ; +0x90, 0x14016bd60\nmov     rcx, cs:qword_14090C070                                        ; +0x92, 0x14016bd62\nmov     r8, [rdi+150h]                                                 ; +0x99, 0x14016bd69\nmov     r8d, [r8+140h]                                                 ; +0xa0, 0x14016bd70\nlea     rdx, [rbp+57h+Src]                                             ; +0xa7, 0x14016bd77\ncall    MusicDownloadManager__pathForSong                              ; +0xab, 0x14016bd7b\nnop                                                                    ; +0xb0, 0x14016bd80\nmov     rcx, cs:qword_14090BF60                                        ; +0xb1, 0x14016bd81\ntest    rcx, rcx                                                       ; +0xb8, 0x14016bd88\njnz     short loc_14016BDBE                                            ; +0xbb, 0x14016bd8b\nmov     ecx, 8A8h; Size                                                ; +0xbd, 0x14016bd8d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xc2, 0x14016bd92\nmov     [rbp+57h+var_88], rax                                          ; +0xc7, 0x14016bd97\nmov     rcx, rax                                                       ; +0xcb, 0x14016bd9b\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0xce, 0x14016bd9e\nnop                                                                    ; +0xd3, 0x14016bda3\nmov     cs:qword_14090BF60, rax                                        ; +0xd4, 0x14016bda4\nmov     rcx, [rax]                                                     ; +0xdb, 0x14016bdab\nmov     rdx, [rcx+48h]                                                 ; +0xde, 0x14016bdae\nmov     rcx, rax                                                       ; +0xe2, 0x14016bdb2\ncall    rdx                                                            ; +0xe5, 0x14016bdb5\nmov     rcx, cs:qword_14090BF60                                        ; +0xe7, 0x14016bdb7\nxor     edx, edx                                                       ; +0xee, 0x14016bdbe\ncall    FMODAudioEngine__isMusicPlaying_1                              ; +0xf0, 0x14016bdc0\nxor     r15d, r15d                                                     ; +0xf5, 0x14016bdc5\ntest    al, al                                                         ; +0xf8, 0x14016bdc8\njz      loc_14016BF25                                                  ; +0xfa, 0x14016bdca\nlea     rax, [rbp+57h+var_80]                                          ; +0x100, 0x14016bdd0\nmov     [rbp+57h+var_88], rax                                          ; +0x104, 0x14016bdd4\nxorps   xmm0, xmm0                                                     ; +0x108, 0x14016bdd8\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x10b, 0x14016bddb\nmov     [rbp+57h+var_70], r15                                          ; +0x10f, 0x14016bddf\nmov     [rbp+57h+var_68], r15                                          ; +0x113, 0x14016bde3\nlea     r14, [rbp+57h+Src]                                             ; +0x117, 0x14016bde7\ncmp     [rbp+57h+var_48], 0Fh                                          ; +0x11b, 0x14016bdeb\ncmova   r14, [rbp+57h+Src]                                             ; +0x120, 0x14016bdf0\nmov     rsi, [rbp+57h+var_50]                                          ; +0x125, 0x14016bdf5\nmov     rbx, 7FFFFFFFFFFFFFFFh                                         ; +0x129, 0x14016bdf9\ncmp     rsi, rbx                                                       ; +0x133, 0x14016be03\nja      loc_14016C152                                                  ; +0x136, 0x14016be06\ncmp     rsi, 0Fh                                                       ; +0x13c, 0x14016be0c\nja      short loc_14016BE28                                            ; +0x140, 0x14016be10\nmov     [rbp+57h+var_70], rsi                                          ; +0x142, 0x14016be12\nmov     [rbp+57h+var_68], 0Fh                                          ; +0x146, 0x14016be16\nmovups  xmm0, xmmword ptr [r14]                                        ; +0x14e, 0x14016be1e\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x152, 0x14016be22\njmp     short loc_14016BE68                                            ; +0x156, 0x14016be26\nmov     rax, rsi                                                       ; +0x158, 0x14016be28\nor      rax, 0Fh                                                       ; +0x15b, 0x14016be2b\ncmp     rax, rbx                                                       ; +0x15f, 0x14016be2f\nja      short loc_14016BE43                                            ; +0x162, 0x14016be32\nmov     rbx, rax                                                       ; +0x164, 0x14016be34\nmov     ecx, 16h                                                       ; +0x167, 0x14016be37\ncmp     rax, rcx                                                       ; +0x16c, 0x14016be3c\ncmovb   rbx, rcx                                                       ; +0x16f, 0x14016be3f\nlea     rcx, [rbx+1]                                                   ; +0x173, 0x14016be43\ncall    sub_14003D460                                                  ; +0x177, 0x14016be47\nmov     qword ptr [rbp+57h+var_80], rax                                ; +0x17c, 0x14016be4c\nmov     [rbp+57h+var_70], rsi                                          ; +0x180, 0x14016be50\nmov     [rbp+57h+var_68], rbx                                          ; +0x184, 0x14016be54\nlea     r8, [rsi+1]; Size                                              ; +0x188, 0x14016be58\nmov     rdx, r14; Src                                                  ; +0x18c, 0x14016be5c\nmov     rcx, rax; void *                                               ; +0x18f, 0x14016be5f\ncall    memcpy                                                         ; +0x192, 0x14016be62\nnop                                                                    ; +0x197, 0x14016be67\nmov     rcx, cs:qword_14090BF60                                        ; +0x198, 0x14016be68\ntest    rcx, rcx                                                       ; +0x19f, 0x14016be6f\njnz     short loc_14016BEA5                                            ; +0x1a2, 0x14016be72\nmov     ecx, 8A8h; Size                                                ; +0x1a4, 0x14016be74\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a9, 0x14016be79\nmov     [rbp+57h+var_90], rax                                          ; +0x1ae, 0x14016be7e\nmov     rcx, rax                                                       ; +0x1b2, 0x14016be82\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x1b5, 0x14016be85\nnop                                                                    ; +0x1ba, 0x14016be8a\nmov     cs:qword_14090BF60, rax                                        ; +0x1bb, 0x14016be8b\nmov     rcx, [rax]                                                     ; +0x1c2, 0x14016be92\nmov     rdx, [rcx+48h]                                                 ; +0x1c5, 0x14016be95\nmov     rcx, rax                                                       ; +0x1c9, 0x14016be99\ncall    rdx                                                            ; +0x1cc, 0x14016be9c\nmov     rcx, cs:qword_14090BF60                                        ; +0x1ce, 0x14016be9e\nlea     rdx, [rbp+57h+var_80]                                          ; +0x1d5, 0x14016bea5\ncall    FMODAudioEngine__isMusicPlaying                                ; +0x1d9, 0x14016bea9\ntest    al, al                                                         ; +0x1de, 0x14016beae\njnz     short loc_14016BF25                                            ; +0x1e0, 0x14016beb0\nmov     rbx, cs:qword_14090BF60                                        ; +0x1e2, 0x14016beb2\ntest    rbx, rbx                                                       ; +0x1e9, 0x14016beb9\njnz     short loc_14016BEEF                                            ; +0x1ec, 0x14016bebc\nmov     ecx, 8A8h; Size                                                ; +0x1ee, 0x14016bebe\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1f3, 0x14016bec3\nmov     [rbp+57h+var_90], rax                                          ; +0x1f8, 0x14016bec8\nmov     rcx, rax                                                       ; +0x1fc, 0x14016becc\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x1ff, 0x14016becf\nnop                                                                    ; +0x204, 0x14016bed4\nmov     cs:qword_14090BF60, rax                                        ; +0x205, 0x14016bed5\nmov     rcx, [rax]                                                     ; +0x20c, 0x14016bedc\nmov     rdx, [rcx+48h]                                                 ; +0x20f, 0x14016bedf\nmov     rcx, rax                                                       ; +0x213, 0x14016bee3\ncall    rdx                                                            ; +0x216, 0x14016bee6\nmov     rbx, cs:qword_14090BF60                                        ; +0x218, 0x14016bee8\nmov     rcx, [rbx+228h]                                                ; +0x21f, 0x14016beef\ntest    rcx, rcx                                                       ; +0x226, 0x14016bef6\njz      short loc_14016BF01                                            ; +0x229, 0x14016bef9\ncall    cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x22b, 0x14016befb\nlea     rcx, [rbx+448h]                                                ; +0x231, 0x14016bf01\ncall    sub_14003EB60                                                  ; +0x238, 0x14016bf08\nlea     rcx, [rbx+488h]                                                ; +0x23d, 0x14016bf0d\ncall    sub_14003EB60                                                  ; +0x244, 0x14016bf14\nlea     rcx, [rbx+4C8h]                                                ; +0x249, 0x14016bf19\ncall    sub_14003EB60                                                  ; +0x250, 0x14016bf20\nmov     rcx, cs:qword_14090BF60                                        ; +0x255, 0x14016bf25\ntest    rcx, rcx                                                       ; +0x25c, 0x14016bf2c\njnz     short loc_14016BF62                                            ; +0x25f, 0x14016bf2f\nmov     ecx, 8A8h; Size                                                ; +0x261, 0x14016bf31\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x266, 0x14016bf36\nmov     [rbp+57h+var_90], rax                                          ; +0x26b, 0x14016bf3b\nmov     rcx, rax                                                       ; +0x26f, 0x14016bf3f\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x272, 0x14016bf42\nnop                                                                    ; +0x277, 0x14016bf47\nmov     cs:qword_14090BF60, rax                                        ; +0x278, 0x14016bf48\nmov     rcx, [rax]                                                     ; +0x27f, 0x14016bf4f\nmov     rdx, [rcx+48h]                                                 ; +0x282, 0x14016bf52\nmov     rcx, rax                                                       ; +0x286, 0x14016bf56\ncall    rdx                                                            ; +0x289, 0x14016bf59\nmov     rcx, cs:qword_14090BF60                                        ; +0x28b, 0x14016bf5b\nxor     edx, edx                                                       ; +0x292, 0x14016bf62\ncall    FMODAudioEngine__isMusicPlaying_1                              ; +0x294, 0x14016bf64\ntest    al, al                                                         ; +0x299, 0x14016bf69\njz      short loc_14016BFE5                                            ; +0x29b, 0x14016bf6b\nmov     rbx, cs:qword_14090BF60                                        ; +0x29d, 0x14016bf6d\ntest    rbx, rbx                                                       ; +0x2a4, 0x14016bf74\njnz     short loc_14016BFAA                                            ; +0x2a7, 0x14016bf77\nmov     ecx, 8A8h; Size                                                ; +0x2a9, 0x14016bf79\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2ae, 0x14016bf7e\nmov     [rbp+57h+var_90], rax                                          ; +0x2b3, 0x14016bf83\nmov     rcx, rax                                                       ; +0x2b7, 0x14016bf87\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x2ba, 0x14016bf8a\nnop                                                                    ; +0x2bf, 0x14016bf8f\nmov     cs:qword_14090BF60, rax                                        ; +0x2c0, 0x14016bf90\nmov     rcx, [rax]                                                     ; +0x2c7, 0x14016bf97\nmov     rdx, [rcx+48h]                                                 ; +0x2ca, 0x14016bf9a\nmov     rcx, rax                                                       ; +0x2ce, 0x14016bf9e\ncall    rdx                                                            ; +0x2d1, 0x14016bfa1\nmov     rbx, cs:qword_14090BF60                                        ; +0x2d3, 0x14016bfa3\nmov     rcx, [rbx+228h]                                                ; +0x2da, 0x14016bfaa\ntest    rcx, rcx                                                       ; +0x2e1, 0x14016bfb1\njz      short loc_14016BFBC                                            ; +0x2e4, 0x14016bfb4\ncall    cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0x2e6, 0x14016bfb6\nlea     rcx, [rbx+448h]                                                ; +0x2ec, 0x14016bfbc\ncall    sub_14003EB60                                                  ; +0x2f3, 0x14016bfc3\nlea     rcx, [rbx+488h]                                                ; +0x2f8, 0x14016bfc8\ncall    sub_14003EB60                                                  ; +0x2ff, 0x14016bfcf\nlea     rcx, [rbx+4C8h]                                                ; +0x304, 0x14016bfd4\ncall    sub_14003EB60                                                  ; +0x30b, 0x14016bfdb\njmp     loc_14016C0DD                                                  ; +0x310, 0x14016bfe0\ncmp     qword ptr [rdi+150h], 0                                        ; +0x315, 0x14016bfe5\njz      loc_14016C0DD                                                  ; +0x31d, 0x14016bfed\nlea     rax, [rbp+57h+var_80]                                          ; +0x323, 0x14016bff3\nmov     [rbp+57h+var_90], rax                                          ; +0x327, 0x14016bff7\nmov     rcx, cs:qword_14090C070                                        ; +0x32b, 0x14016bffb\ntest    rcx, rcx                                                       ; +0x332, 0x14016c002\njnz     short loc_14016C038                                            ; +0x335, 0x14016c005\nmov     ecx, 3D0h; Size                                                ; +0x337, 0x14016c007\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x33c, 0x14016c00c\nmov     [rbp+57h+var_88], rax                                          ; +0x341, 0x14016c011\nmov     rcx, rax                                                       ; +0x345, 0x14016c015\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x348, 0x14016c018\nnop                                                                    ; +0x34d, 0x14016c01d\nmov     cs:qword_14090C070, rax                                        ; +0x34e, 0x14016c01e\nmov     rcx, [rax]                                                     ; +0x355, 0x14016c025\nmov     rdx, [rcx+48h]                                                 ; +0x358, 0x14016c028\nmov     rcx, rax                                                       ; +0x35c, 0x14016c02c\ncall    rdx                                                            ; +0x35f, 0x14016c02f\nmov     rcx, cs:qword_14090C070                                        ; +0x361, 0x14016c031\nmov     r8, [rdi+150h]                                                 ; +0x368, 0x14016c038\nmov     r8d, [r8+140h]                                                 ; +0x36f, 0x14016c03f\nlea     rdx, [rbp+57h+var_40]                                          ; +0x376, 0x14016c046\ncall    MusicDownloadManager__pathForSong                              ; +0x37a, 0x14016c04a\nnop                                                                    ; +0x37f, 0x14016c04f\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x380, 0x14016c050\njbe     short loc_14016C05A                                            ; +0x385, 0x14016c055\nmov     rax, [rax]                                                     ; +0x387, 0x14016c057\nxorps   xmm0, xmm0                                                     ; +0x38a, 0x14016c05a\nmovups  [rbp+57h+var_80], xmm0                                         ; +0x38d, 0x14016c05d\nmov     [rbp+57h+var_70], r15                                          ; +0x391, 0x14016c061\nmov     [rbp+57h+var_68], r15                                          ; +0x395, 0x14016c065\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x399, 0x14016c069\ninc     r8                                                             ; +0x3a0, 0x14016c070\ncmp     byte ptr [rax+r8], 0                                           ; +0x3a3, 0x14016c073\njnz     short loc_14016C070                                            ; +0x3a8, 0x14016c078\nmov     rdx, rax                                                       ; +0x3aa, 0x14016c07a\nlea     rcx, [rbp+57h+var_80]                                          ; +0x3ad, 0x14016c07d\ncall    sub_14003D230                                                  ; +0x3b1, 0x14016c081\nnop                                                                    ; +0x3b6, 0x14016c086\nmov     rcx, cs:qword_14090BF60                                        ; +0x3b7, 0x14016c087\ntest    rcx, rcx                                                       ; +0x3be, 0x14016c08e\njnz     short loc_14016C0C4                                            ; +0x3c1, 0x14016c091\nmov     ecx, 8A8h; Size                                                ; +0x3c3, 0x14016c093\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3c8, 0x14016c098\nmov     [rbp+57h+var_88], rax                                          ; +0x3cd, 0x14016c09d\nmov     rcx, rax                                                       ; +0x3d1, 0x14016c0a1\ncall    FMODAudioEngine__FMODAudioEngine                               ; +0x3d4, 0x14016c0a4\nnop                                                                    ; +0x3d9, 0x14016c0a9\nmov     cs:qword_14090BF60, rax                                        ; +0x3da, 0x14016c0aa\nmov     rcx, [rax]                                                     ; +0x3e1, 0x14016c0b1\nmov     rdx, [rcx+48h]                                                 ; +0x3e4, 0x14016c0b4\nmov     rcx, rax                                                       ; +0x3e8, 0x14016c0b8\ncall    rdx                                                            ; +0x3eb, 0x14016c0bb\nmov     rcx, cs:qword_14090BF60                                        ; +0x3ed, 0x14016c0bd\nxorps   xmm3, xmm3                                                     ; +0x3f4, 0x14016c0c4\nxor     r8d, r8d                                                       ; +0x3f7, 0x14016c0c7\nlea     rdx, [rbp+57h+var_80]                                          ; +0x3fa, 0x14016c0ca\ncall    FMODAudioEngine__playMusic                                     ; +0x3fe, 0x14016c0ce\nnop                                                                    ; +0x403, 0x14016c0d3\nlea     rcx, [rbp+57h+var_40]                                          ; +0x404, 0x14016c0d4\ncall    sub_14003D310                                                  ; +0x408, 0x14016c0d8\nmov     rcx, cs:qword_14090C070                                        ; +0x40d, 0x14016c0dd\ntest    rcx, rcx                                                       ; +0x414, 0x14016c0e4\njnz     short loc_14016C11A                                            ; +0x417, 0x14016c0e7\nmov     ecx, 3D0h; Size                                                ; +0x419, 0x14016c0e9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x41e, 0x14016c0ee\nmov     [rbp+57h+var_90], rax                                          ; +0x423, 0x14016c0f3\nmov     rcx, rax                                                       ; +0x427, 0x14016c0f7\ncall    MusicDownloadManager__MusicDownloadManager                     ; +0x42a, 0x14016c0fa\nnop                                                                    ; +0x42f, 0x14016c0ff\nmov     cs:qword_14090C070, rax                                        ; +0x430, 0x14016c100\nmov     rcx, [rax]                                                     ; +0x437, 0x14016c107\nmov     rdx, [rcx+48h]                                                 ; +0x43a, 0x14016c10a\nmov     rcx, rax                                                       ; +0x43e, 0x14016c10e\ncall    rdx                                                            ; +0x441, 0x14016c111\nmov     rcx, cs:qword_14090C070                                        ; +0x443, 0x14016c113\ncall    MusicDownloadManager__songStateChanged                         ; +0x44a, 0x14016c11a\nnop                                                                    ; +0x44f, 0x14016c11f\nlea     rcx, [rbp+57h+Src]                                             ; +0x450, 0x14016c120\ncall    sub_14003D310                                                  ; +0x454, 0x14016c124\nmov     rcx, [rbp+57h+var_20]                                          ; +0x459, 0x14016c129\nxor     rcx, rsp; StackCookie                                          ; +0x45d, 0x14016c12d\ncall    __security_check_cookie                                        ; +0x460, 0x14016c130\nlea     r11, [rsp+0C0h+var_10]                                         ; +0x465, 0x14016c135\nmov     rbx, [r11+28h]                                                 ; +0x46d, 0x14016c13d\nmov     rsi, [r11+30h]                                                 ; +0x471, 0x14016c141\nmov     rdi, [r11+38h]                                                 ; +0x475, 0x14016c145\nmov     rsp, r11                                                       ; +0x479, 0x14016c149\npop     r15                                                            ; +0x47c, 0x14016c14c\npop     r14                                                            ; +0x47e, 0x14016c14e\npop     rbp                                                            ; +0x480, 0x14016c150\nretn                                                                   ; +0x481, 0x14016c151\ncall    sub_140009D90                                                  ; +0x482, 0x14016c152\nalign 8                                                                ; +0x487, 0x14016c157", "xrefs": ["CustomSongWidget::init @ 0x1401698c5", "<???> @ 0x14091814c"], "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"}