{"type": "func", "start": 8832268, "end": 8832372, "name": "CustomSongWidget::updateDownloadProgress", "pseudocode": "// \n// CustomSongWidget::updateDownloadProgress from 0x86c50c to 0x86c574 (104 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x7af80\n// > CustomSongWidget::startMonitorDownload @ 0x8685a0\n// > CustomSongWidget::startMonitorDownload @ 0x8685b4\n// > CustomSongWidget::downloadFailed @ 0x86c47c\n// > CustomSongWidget::updateDownloadProgress @ 0x86c55c\n// > <???> @ 0x1543250\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 12:55:43 +0000\n// \n\n__int64 __fastcall CustomSongWidget::updateDownloadProgress(CustomSongWidget *this, float a2)\n{\n  MusicDownloadManager *v3; // x0\n  int DownloadProgress; // w1\n\n  v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);\n  DownloadProgress = MusicDownloadManager::getDownloadProgress(v3, *(_DWORD *)(*((_QWORD *)this + 42) + 316LL));\n  if ( DownloadProgress != -1 && *((_QWORD *)this + 42) )\n    return CustomSongWidget::updateProgressBar(this, DownloadProgress);\n  cocos2d::CCNode::unschedule(this, CustomSongWidget::updateDownloadProgress, 0);\n  return CustomSongWidget::updateSongInfo(this);\n}", "assembly": "; \n; CustomSongWidget::updateDownloadProgress from 0x86c50c to 0x86c574 (104 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x7af80\n; > CustomSongWidget::startMonitorDownload @ 0x8685a0\n; > CustomSongWidget::startMonitorDownload @ 0x8685b4\n; > CustomSongWidget::downloadFailed @ 0x86c47c\n; > CustomSongWidget::updateDownloadProgress @ 0x86c55c\n; > <???> @ 0x1543250\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 12:55:43 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x86c50c\nMOV             X29, SP                                                ; +0x4, 0x86c510\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x86c514\nMOV             X19, X0                                                ; +0xc, 0x86c518\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x10, 0x86c51c\nLDR             X1, [X19,#0x150]                                       ; +0x14, 0x86c520\nLDR             W1, [X1,#0x13C]; int                                   ; +0x18, 0x86c524\nBL              _ZN20MusicDownloadManager19getDownloadProgressEi; MusicDownloadManager::getDownloadProgress(int) ; +0x1c, 0x86c528\nCMN             W0, #1                                                 ; +0x20, 0x86c52c\nMOV             W1, W0; int                                            ; +0x24, 0x86c530\nB.EQ            loc_86C550                                             ; +0x28, 0x86c534\nLDR             X0, [X19,#0x150]                                       ; +0x2c, 0x86c538\nCBZ             X0, loc_86C550                                         ; +0x30, 0x86c53c\nMOV             X0, X19; this                                          ; +0x34, 0x86c540\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x38, 0x86c544\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x3c, 0x86c548\nB               _ZN16CustomSongWidget17updateProgressBarEi; CustomSongWidget::updateProgressBar(int) ; +0x40, 0x86c54c\nADRP            X1, #_ZN16CustomSongWidget22updateDownloadProgressEf_ptr@PAGE ; +0x44, 0x86c550\nMOV             X0, X19                                                ; +0x48, 0x86c554\nMOV             X2, #0                                                 ; +0x4c, 0x86c558\nLDR             X1, [X1,#_ZN16CustomSongWidget22updateDownloadProgressEf_ptr@PAGEOFF]; CustomSongWidget::updateDownloadProgress(float) ... ; +0x50, 0x86c55c\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x54, 0x86c560\nMOV             X0, X19; this                                          ; +0x58, 0x86c564\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0x86c568\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0x86c56c\nB               _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x64, 0x86c570", "xrefs": ["<???> @ 0x7af80", "CustomSongWidget::startMonitorDownload @ 0x8685a0", "CustomSongWidget::startMonitorDownload @ 0x8685b4", "CustomSongWidget::downloadFailed @ 0x86c47c", "CustomSongWidget::updateDownloadProgress @ 0x86c55c", "<???> @ 0x1543250"], "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"}