{"type": "func", "start": 7737010, "end": 7737054, "name": "AudioAssetsPopup::musicActionFinished", "pseudocode": "// \n// AudioAssetsPopup::musicActionFinished from 0x760eb2 to 0x760ede (44 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0x760ee2\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:03 +0000\n// \n\nMusicDownloadManager *__fastcall AudioAssetsPopup::musicActionFinished(MusicDownloadManager *result, int a2)\n{\n  CustomSongWidget *v2; // r4\n  MusicDownloadManager *v3; // r0\n  int v4; // r5\n  int v5; // r0\n\n  if ( a2 == 8 )\n  {\n    v2 = *((CustomSongWidget **)result + 179);\n    if ( v2 )\n    {\n      v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(result);\n      v4 = *((_DWORD *)v3 + 75);\n      v5 = MusicDownloadManager::sharedState(v3);\n      return (MusicDownloadManager *)CustomSongWidget::setMultiAssetFilesize(v2, v4, *(_DWORD *)(v5 + 304));\n    }\n  }\n  return result;\n}", "assembly": "; \n; AudioAssetsPopup::musicActionFinished from 0x760eb2 to 0x760ede (44 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0x760ee2\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:03 +0000\n; \nCMP             R1, #8                                                 ; +0x0, 0x760eb2\nPUSH            {R3-R5,LR}                                             ; +0x2, 0x760eb4\nBNE             locret_760EDC                                          ; +0x4, 0x760eb6\nLDR.W           R4, [R0,#0x2CC]                                        ; +0x6, 0x760eb8\nCBZ             R4, locret_760EDC                                      ; +0xa, 0x760ebc\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0xc, 0x760ebe\nLDR.W           R5, [R0,#0x12C]                                        ; +0x10, 0x760ec2\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x14, 0x760ec6\nMOV             R1, R5; int                                            ; +0x18, 0x760eca\nMOV             R3, R0                                                 ; +0x1a, 0x760ecc\nMOV             R0, R4; this                                           ; +0x1c, 0x760ece\nLDR.W           R2, [R3,#0x130]; int                                   ; +0x1e, 0x760ed0\nPOP.W           {R3-R5,LR}                                             ; +0x22, 0x760ed4\nB.W             _ZN16CustomSongWidget21setMultiAssetFilesizeEii; CustomSongWidget::setMultiAssetFilesize(int,int) ; +0x26, 0x760ed8\nPOP             {R3-R5,PC}                                             ; +0x2a, 0x760edc", "xrefs": ["`non-virtual thunk to'AudioAssetsPopup::musicActionFinished @ 0x760ee2"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}