{"type": "func", "start": 13164952, "end": 13165032, "name": "AudioAssetsPopup::musicActionFinished", "pseudocode": "// \n// AudioAssetsPopup::musicActionFinished from 0xc8e198 to 0xc8e1e8 (80 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0xc8e1ec\n// > <???> @ 0x83878\n// > <???> @ 0x14f3f80\n// \n// This function is hookable on this platform (idp: arm, 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 13:05:46 +0000\n// \n\nMusicDownloadManager *__fastcall AudioAssetsPopup::musicActionFinished(MusicDownloadManager *result, int a2)\n{\n  CustomSongWidget *v2; // x19\n  MusicDownloadManager *v3; // x0\n  __int64 v4; // x0\n  int v5; // [xsp+28h] [xbp+28h]\n\n  if ( a2 == 8 )\n  {\n    v2 = *((CustomSongWidget **)result + 128);\n    if ( v2 )\n    {\n      v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(result);\n      v5 = *((_DWORD *)v3 + 98);\n      v4 = MusicDownloadManager::sharedState(v3);\n      return (MusicDownloadManager *)CustomSongWidget::setMultiAssetFilesize(v2, v5, *(_DWORD *)(v4 + 396));\n    }\n  }\n  return result;\n}", "assembly": "; \n; AudioAssetsPopup::musicActionFinished from 0xc8e198 to 0xc8e1e8 (80 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0xc8e1ec\n; > <???> @ 0x83878\n; > <???> @ 0x14f3f80\n; \n; This function is hookable on this platform (idp: arm, 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 13:05:46 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xc8e198\nCMP             W1, #8                                                 ; +0x4, 0xc8e19c\nMOV             X29, SP                                                ; +0x8, 0xc8e1a0\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0xc8e1a4\nB.EQ            loc_C8E1B8                                             ; +0x10, 0xc8e1a8\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x14, 0xc8e1ac\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x18, 0xc8e1b0\nRET                                                                    ; +0x1c, 0xc8e1b4\nLDR             X19, [X0,#0x400]                                       ; +0x20, 0xc8e1b8\nCBZ             X19, loc_C8E1AC                                        ; +0x24, 0xc8e1bc\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x28, 0xc8e1c0\nLDR             W1, [X0,#0x188]                                        ; +0x2c, 0xc8e1c4\nSTR             X1, [X29,#0x30+var_8]                                  ; +0x30, 0xc8e1c8\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x34, 0xc8e1cc\nLDR             W2, [X0,#0x18C]; int                                   ; +0x38, 0xc8e1d0\nLDR             X1, [X29,#0x30+var_8]; int                             ; +0x3c, 0xc8e1d4\nMOV             X0, X19; this                                          ; +0x40, 0xc8e1d8\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x44, 0xc8e1dc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x48, 0xc8e1e0\nB               _ZN16CustomSongWidget21setMultiAssetFilesizeEii; CustomSongWidget::setMultiAssetFilesize(int,int) ; +0x4c, 0xc8e1e4", "xrefs": ["`non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0xc8e1ec", "<???> @ 0x83878", "<???> @ 0x14f3f80"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}