{"type": "func", "start": 4304092576, "end": 4304092643, "name": "AudioAssetsPopup::musicActionFinished", "pseudocode": "// \n// AudioAssetsPopup::musicActionFinished from 0x1008b3da0 to 0x1008b3de3 (67 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100bad310\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 12:37:22 +0000\n// \n\nvoid __fastcall AudioAssetsPopup::musicActionFinished(__int64 a1, int a2)\n{\n  __int64 v2; // rbx\n  int v3; // r14d\n  __int64 v4; // rax\n\n  if ( a2 == 8 )\n  {\n    v2 = *(_QWORD *)(a1 + 1024);\n    if ( v2 )\n    {\n      v3 = *(_DWORD *)(MusicDownloadManager::sharedState() + 392);\n      v4 = MusicDownloadManager::sharedState();\n      sub_1006FC940(v2, v3, *(_DWORD *)(v4 + 396));\n    }\n  }\n}", "assembly": "; \n; AudioAssetsPopup::musicActionFinished from 0x1008b3da0 to 0x1008b3de3 (67 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100bad310\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 12:37:22 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008b3da0\nmov     rbp, rsp                                                       ; +0x1, 0x1008b3da1\npush    r14                                                            ; +0x4, 0x1008b3da4\npush    rbx                                                            ; +0x6, 0x1008b3da6\ncmp     esi, 8                                                         ; +0x7, 0x1008b3da7\njnz     short loc_1008B3DDE                                            ; +0xa, 0x1008b3daa\nmov     rbx, [rdi+400h]                                                ; +0xc, 0x1008b3dac\ntest    rbx, rbx                                                       ; +0x13, 0x1008b3db3\njz      short loc_1008B3DDE                                            ; +0x16, 0x1008b3db6\ncall    MusicDownloadManager__sharedState                              ; +0x18, 0x1008b3db8\nmov     r14d, [rax+188h]                                               ; +0x1d, 0x1008b3dbd\ncall    MusicDownloadManager__sharedState                              ; +0x24, 0x1008b3dc4\nmov     edx, [rax+18Ch]                                                ; +0x29, 0x1008b3dc9\nmov     rdi, rbx                                                       ; +0x2f, 0x1008b3dcf\nmov     esi, r14d                                                      ; +0x32, 0x1008b3dd2\npop     rbx                                                            ; +0x35, 0x1008b3dd5\npop     r14                                                            ; +0x36, 0x1008b3dd6\npop     rbp                                                            ; +0x38, 0x1008b3dd8\njmp     sub_1006FC940                                                  ; +0x39, 0x1008b3dd9\npop     rbx                                                            ; +0x3e, 0x1008b3dde\npop     r14                                                            ; +0x3f, 0x1008b3ddf\npop     rbp                                                            ; +0x41, 0x1008b3de1\nretn                                                                   ; +0x42, 0x1008b3de2", "xrefs": ["<???> @ 0x100bad310"], "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"}