{"type": "func", "start": 11923732, "end": 11923836, "name": "CustomSFXWidget::updateDownloadProgress", "pseudocode": "// \n// CustomSFXWidget::updateDownloadProgress from 0xb5f114 to 0xb5f17c (104 bytes)\n// \n// 6 xrefs:\n// > <???> @ 0x999d0\n// > CustomSFXWidget::startMonitorDownload @ 0xb5df64\n// > CustomSFXWidget::startMonitorDownload @ 0xb5df78\n// > CustomSFXWidget::downloadFailed @ 0xb5efec\n// > CustomSFXWidget::updateDownloadProgress @ 0xb5f164\n// > <???> @ 0x1544338\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:02:11 +0000\n// \n\n__int64 __fastcall CustomSFXWidget::updateDownloadProgress(CustomSFXWidget *this, float a2)\n{\n  MusicDownloadManager *v3; // x0\n  int SFXDownloadProgress; // w1\n\n  v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);\n  SFXDownloadProgress = MusicDownloadManager::getSFXDownloadProgress(\n                          v3,\n                          (const char *)*(unsigned int *)(*((_QWORD *)this + 42) + 56LL));\n  if ( SFXDownloadProgress != -1 && *((_QWORD *)this + 42) )\n    return CustomSFXWidget::updateProgressBar(this, SFXDownloadProgress);\n  cocos2d::CCNode::unschedule(this, CustomSFXWidget::updateDownloadProgress, 0);\n  return CustomSFXWidget::updateSFXInfo(this);\n}", "assembly": "; \n; CustomSFXWidget::updateDownloadProgress from 0xb5f114 to 0xb5f17c (104 bytes)\n; \n; 6 xrefs:\n; > <???> @ 0x999d0\n; > CustomSFXWidget::startMonitorDownload @ 0xb5df64\n; > CustomSFXWidget::startMonitorDownload @ 0xb5df78\n; > CustomSFXWidget::downloadFailed @ 0xb5efec\n; > CustomSFXWidget::updateDownloadProgress @ 0xb5f164\n; > <???> @ 0x1544338\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:02:11 +0000\n; \nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0xb5f114\nMOV             X29, SP                                                ; +0x4, 0xb5f118\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0xb5f11c\nMOV             X19, X0                                                ; +0xc, 0xb5f120\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x10, 0xb5f124\nLDR             X1, [X19,#0x150]                                       ; +0x14, 0xb5f128\nLDR             W1, [X1,#0x38]; int                                    ; +0x18, 0xb5f12c\nBL              _ZN20MusicDownloadManager22getSFXDownloadProgressEi; MusicDownloadManager::getSFXDownloadProgress(int) ; +0x1c, 0xb5f130\nCMN             W0, #1                                                 ; +0x20, 0xb5f134\nMOV             W1, W0; int                                            ; +0x24, 0xb5f138\nB.EQ            loc_B5F158                                             ; +0x28, 0xb5f13c\nLDR             X0, [X19,#0x150]                                       ; +0x2c, 0xb5f140\nCBZ             X0, loc_B5F158                                         ; +0x30, 0xb5f144\nMOV             X0, X19; this                                          ; +0x34, 0xb5f148\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x38, 0xb5f14c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x3c, 0xb5f150\nB               _ZN15CustomSFXWidget17updateProgressBarEi; CustomSFXWidget::updateProgressBar(int) ; +0x40, 0xb5f154\nADRP            X1, #_ZN15CustomSFXWidget22updateDownloadProgressEf_ptr@PAGE ; +0x44, 0xb5f158\nMOV             X0, X19                                                ; +0x48, 0xb5f15c\nMOV             X2, #0                                                 ; +0x4c, 0xb5f160\nLDR             X1, [X1,#_ZN15CustomSFXWidget22updateDownloadProgressEf_ptr@PAGEOFF]; CustomSFXWidget::updateDownloadProgress(float) ... ; +0x50, 0xb5f164\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x54, 0xb5f168\nMOV             X0, X19; this                                          ; +0x58, 0xb5f16c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x5c, 0xb5f170\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x60, 0xb5f174\nB               _ZN15CustomSFXWidget13updateSFXInfoEv; CustomSFXWidget::updateSFXInfo(void) ; +0x64, 0xb5f178", "xrefs": ["<???> @ 0x999d0", "CustomSFXWidget::startMonitorDownload @ 0xb5df64", "CustomSFXWidget::startMonitorDownload @ 0xb5df78", "CustomSFXWidget::downloadFailed @ 0xb5efec", "CustomSFXWidget::updateDownloadProgress @ 0xb5f164", "<???> @ 0x1544338"], "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"}