{"type": "func", "start": 5697640, "end": 5697718, "name": "CustomSFXWidget::updateDownloadProgress", "pseudocode": "// \n// CustomSFXWidget::updateDownloadProgress from 0x56f068 to 0x56f0b6 (78 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CustomSFXWidget::updateDownloadProgress(CustomSFXWidget *a1, float a2)\n{\n  MusicDownloadManager *v3; // r0\n  int SFXDownloadProgress; // r0\n\n  v3 = MusicDownloadManager::sharedState();\n  SFXDownloadProgress = MusicDownloadManager::getSFXDownloadProgress(v3, a1->m_sfxObject->m_sfxID);\n  if ( a1->m_sfxObject && SFXDownloadProgress != -1 )\n  {\n    CustomSFXWidget::updateProgressBar(a1, SFXDownloadProgress);\n  }\n  else\n  {\n    cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned int)CustomSFXWidget::updateDownloadProgress);\n    CustomSFXWidget::updateSFXInfo(a1);\n  }\n}", "assembly": "; \n; CustomSFXWidget::updateDownloadProgress from 0x56f068 to 0x56f0b6 (78 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R0,R1,R4,LR}                                          ; +0x0, 0x56f068\nMOV             R4, R0                                                 ; +0x2, 0x56f06a\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4, 0x56f06c\nLDR.W           R3, [R4,#0x110]                                        ; +0x8, 0x56f070\nLDR             R1, [R3,#0x34]; int                                    ; +0xc, 0x56f074\nBL              _ZN20MusicDownloadManager22getSFXDownloadProgressEi; MusicDownloadManager::getSFXDownloadProgress(int) ; +0xe, 0x56f076\nLDR.W           R3, [R4,#0x110]                                        ; +0x12, 0x56f07a\nMOV             R1, R0; int                                            ; +0x16, 0x56f07e\nCBZ             R3, loc_56F086                                         ; +0x18, 0x56f080\nADDS            R3, R0, #1                                             ; +0x1a, 0x56f082\nBNE             loc_56F0AA                                             ; +0x1c, 0x56f084\nLDR             R3, =(_ZN15CustomSFXWidget22updateDownloadProgressEf_ptr - 0x56F08E) ; +0x1e, 0x56f086\nMOV             R0, R4                                                 ; +0x20, 0x56f088\nADD             R3, PC; _ZN15CustomSFXWidget22updateDownloadProgressEf_ptr ; +0x22, 0x56f08a\nLDR             R3, [R3]; CustomSFXWidget::updateDownloadProgress(float) ; +0x24, 0x56f08c\nSTR             R3, [SP,#8+var_8]                                      ; +0x26, 0x56f08e\nMOVS            R3, #0                                                 ; +0x28, 0x56f090\nSTR             R3, [SP,#8+var_4]                                      ; +0x2a, 0x56f092\nADD             R3, SP, #8+var_s0                                      ; +0x2c, 0x56f094\nLDMDB.W         R3, {R1,R2}                                            ; +0x2e, 0x56f096\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x32, 0x56f09a\nMOV             R0, R4; this                                           ; +0x36, 0x56f09e\nADD             SP, SP, #8                                             ; +0x38, 0x56f0a0\nPOP.W           {R4,LR}                                                ; +0x3a, 0x56f0a2\nB.W             _ZN15CustomSFXWidget13updateSFXInfoEv; CustomSFXWidget::updateSFXInfo(void) ; +0x3e, 0x56f0a6\nMOV             R0, R4; this                                           ; +0x42, 0x56f0aa\nADD             SP, SP, #8                                             ; +0x44, 0x56f0ac\nPOP.W           {R4,LR}                                                ; +0x46, 0x56f0ae\nB.W             _ZN15CustomSFXWidget17updateProgressBarEi; CustomSFXWidget::updateProgressBar(int) ; +0x4a, 0x56f0b2", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}