{"type": "func", "start": 5132192, "end": 5132272, "name": "CustomSongWidget::updateDownloadProgress", "pseudocode": "// \n// CustomSongWidget::updateDownloadProgress from 0x4e4fa0 to 0x4e4ff0 (80 bytes)\n// \n// 0 xrefs:\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:51:04 +0000\n// \n\nint __fastcall CustomSongWidget::updateDownloadProgress(CustomSongWidget *this, float a2)\n{\n  MusicDownloadManager *v3; // r0\n  int DownloadProgress; // r0\n\n  v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);\n  DownloadProgress = MusicDownloadManager::getDownloadProgress(v3, *(_DWORD *)(*((_DWORD *)this + 68) + 264));\n  if ( *((_DWORD *)this + 68) && DownloadProgress != -1 )\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 0x4e4fa0 to 0x4e4ff0 (80 bytes)\n; \n; 0 xrefs:\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:51:04 +0000\n; \nPUSH            {R0,R1,R4,LR}                                          ; +0x0, 0x4e4fa0\nMOV             R4, R0                                                 ; +0x2, 0x4e4fa2\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4, 0x4e4fa4\nLDR.W           R3, [R4,#0x110]                                        ; +0x8, 0x4e4fa8\nLDR.W           R1, [R3,#0x108]; int                                   ; +0xc, 0x4e4fac\nBL              _ZN20MusicDownloadManager19getDownloadProgressEi; MusicDownloadManager::getDownloadProgress(int) ; +0x10, 0x4e4fb0\nLDR.W           R3, [R4,#0x110]                                        ; +0x14, 0x4e4fb4\nMOV             R1, R0; int                                            ; +0x18, 0x4e4fb8\nCBZ             R3, loc_4E4FC0                                         ; +0x1a, 0x4e4fba\nADDS            R3, R0, #1                                             ; +0x1c, 0x4e4fbc\nBNE             loc_4E4FE4                                             ; +0x1e, 0x4e4fbe\nLDR             R3, =(_ZN16CustomSongWidget22updateDownloadProgressEf_ptr - 0x4E4FC8) ; +0x20, 0x4e4fc0\nMOV             R0, R4                                                 ; +0x22, 0x4e4fc2\nADD             R3, PC; _ZN16CustomSongWidget22updateDownloadProgressEf_ptr ; +0x24, 0x4e4fc4\nLDR             R3, [R3]; CustomSongWidget::updateDownloadProgress(float) ; +0x26, 0x4e4fc6\nSTR             R3, [SP,#8+var_8]                                      ; +0x28, 0x4e4fc8\nMOVS            R3, #0                                                 ; +0x2a, 0x4e4fca\nSTR             R3, [SP,#8+var_4]                                      ; +0x2c, 0x4e4fcc\nADD             R3, SP, #8+var_s0                                      ; +0x2e, 0x4e4fce\nLDMDB.W         R3, {R1,R2}                                            ; +0x30, 0x4e4fd0\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x34, 0x4e4fd4\nMOV             R0, R4; this                                           ; +0x38, 0x4e4fd8\nADD             SP, SP, #8                                             ; +0x3a, 0x4e4fda\nPOP.W           {R4,LR}                                                ; +0x3c, 0x4e4fdc\nB.W             _ZN16CustomSongWidget14updateSongInfoEv; CustomSongWidget::updateSongInfo(void) ; +0x40, 0x4e4fe0\nMOV             R0, R4; this                                           ; +0x44, 0x4e4fe4\nADD             SP, SP, #8                                             ; +0x46, 0x4e4fe6\nPOP.W           {R4,LR}                                                ; +0x48, 0x4e4fe8\nB.W             _ZN16CustomSongWidget17updateProgressBarEi; CustomSongWidget::updateProgressBar(int) ; +0x4c, 0x4e4fec", "xrefs": [], "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"}