{"type": "func", "start": 4061672, "end": 4061752, "name": "CustomSongWidget::updateDownloadProgress", "pseudocode": "// \n// CustomSongWidget::updateDownloadProgress from 0x3df9e8 to 0x3dfa38 (80 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 CustomSongWidget::updateDownloadProgress(CustomSongWidget *a1, float a2)\n{\n  MusicDownloadManager *v3; // r0\n  int DownloadProgress; // r0\n\n  v3 = MusicDownloadManager::sharedState();\n  DownloadProgress = MusicDownloadManager::getDownloadProgress(v3, a1->m_songInfoObject->m_songID);\n  if ( a1->m_songInfoObject && DownloadProgress != -1 )\n  {\n    CustomSongWidget::updateProgressBar(a1, DownloadProgress);\n  }\n  else\n  {\n    cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned int)CustomSongWidget::updateDownloadProgress);\n    CustomSongWidget::updateSongInfo(a1);\n  }\n}", "assembly": "; \n; CustomSongWidget::updateDownloadProgress from 0x3df9e8 to 0x3dfa38 (80 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, 0x3df9e8\nMOV             R4, R0                                                 ; +0x2, 0x3df9ea\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4, 0x3df9ec\nLDR.W           R3, [R4,#0x110]                                        ; +0x8, 0x3df9f0\nLDR.W           R1, [R3,#0x108]; int                                   ; +0xc, 0x3df9f4\nBL              _ZN20MusicDownloadManager19getDownloadProgressEi; MusicDownloadManager::getDownloadProgress(int) ; +0x10, 0x3df9f8\nLDR.W           R3, [R4,#0x110]                                        ; +0x14, 0x3df9fc\nMOV             R1, R0; int                                            ; +0x18, 0x3dfa00\nCBZ             R3, loc_3DFA08                                         ; +0x1a, 0x3dfa02\nADDS            R3, R0, #1                                             ; +0x1c, 0x3dfa04\nBNE             loc_3DFA2C                                             ; +0x1e, 0x3dfa06\nLDR             R3, =(_ZN16CustomSongWidget22updateDownloadProgressEf_ptr - 0x3DFA10) ; +0x20, 0x3dfa08\nMOV             R0, R4                                                 ; +0x22, 0x3dfa0a\nADD             R3, PC; _ZN16CustomSongWidget22updateDownloadProgressEf_ptr ; +0x24, 0x3dfa0c\nLDR             R3, [R3]; CustomSongWidget::updateDownloadProgress(float) ; +0x26, 0x3dfa0e\nSTR             R3, [SP,#8+var_8]                                      ; +0x28, 0x3dfa10\nMOVS            R3, #0                                                 ; +0x2a, 0x3dfa12\nSTR             R3, [SP,#8+var_4]                                      ; +0x2c, 0x3dfa14\nADD             R3, SP, #8+var_s0                                      ; +0x2e, 0x3dfa16\nLDMDB.W         R3, {R1,R2}                                            ; +0x30, 0x3dfa18\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x34, 0x3dfa1c\nMOV             R0, R4; this                                           ; +0x38, 0x3dfa20\nADD             SP, SP, #8                                             ; +0x3a, 0x3dfa22\nPOP.W           {R4,LR}                                                ; +0x3c, 0x3dfa24\nB.W             _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x40, 0x3dfa28\nMOV             R0, R4; this                                           ; +0x44, 0x3dfa2c\nADD             SP, SP, #8                                             ; +0x46, 0x3dfa2e\nPOP.W           {R4,LR}                                                ; +0x48, 0x3dfa30\nB.W             _ZN16CustomSongWidget17updateProgressBarEi; CustomSongWidget::updateProgressBar(int) ; +0x4c, 0x3dfa34", "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"}