{"type": "func", "start": 6975064, "end": 6975142, "name": "CustomSFXWidget::updateDownloadProgress", "pseudocode": "// \n// CustomSFXWidget::updateDownloadProgress from 0x6a6e58 to 0x6a6ea6 (78 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:56:31 +0000\n// \n\nint __fastcall CustomSFXWidget::updateDownloadProgress(CustomSFXWidget *this, float a2)\n{\n  MusicDownloadManager *v3; // r0\n  int SFXDownloadProgress; // r0\n\n  v3 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);\n  SFXDownloadProgress = MusicDownloadManager::getSFXDownloadProgress(v3, *(const char **)(*((_DWORD *)this + 68) + 52));\n  if ( *((_DWORD *)this + 68) && SFXDownloadProgress != -1 )\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 0x6a6e58 to 0x6a6ea6 (78 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:56:31 +0000\n; \nPUSH            {R0,R1,R4,LR}                                          ; +0x0, 0x6a6e58\nMOV             R4, R0                                                 ; +0x2, 0x6a6e5a\nBL              _ZN20MusicDownloadManager11sharedStateEv; MusicDownloadManager::sharedState(void) ; +0x4, 0x6a6e5c\nLDR.W           R3, [R4,#0x110]                                        ; +0x8, 0x6a6e60\nLDR             R1, [R3,#0x34]; int                                    ; +0xc, 0x6a6e64\nBL              _ZN20MusicDownloadManager22getSFXDownloadProgressEi; MusicDownloadManager::getSFXDownloadProgress(int) ; +0xe, 0x6a6e66\nLDR.W           R3, [R4,#0x110]                                        ; +0x12, 0x6a6e6a\nMOV             R1, R0; int                                            ; +0x16, 0x6a6e6e\nCBZ             R3, loc_6A6E76                                         ; +0x18, 0x6a6e70\nADDS            R3, R0, #1                                             ; +0x1a, 0x6a6e72\nBNE             loc_6A6E9A                                             ; +0x1c, 0x6a6e74\nLDR             R3, =(_ZN15CustomSFXWidget22updateDownloadProgressEf_ptr - 0x6A6E7E) ; +0x1e, 0x6a6e76\nMOV             R0, R4                                                 ; +0x20, 0x6a6e78\nADD             R3, PC; _ZN15CustomSFXWidget22updateDownloadProgressEf_ptr ; +0x22, 0x6a6e7a\nLDR             R3, [R3]; CustomSFXWidget::updateDownloadProgress(float) ; +0x24, 0x6a6e7c\nSTR             R3, [SP,#8+var_8]                                      ; +0x26, 0x6a6e7e\nMOVS            R3, #0                                                 ; +0x28, 0x6a6e80\nSTR             R3, [SP,#8+var_4]                                      ; +0x2a, 0x6a6e82\nADD             R3, SP, #8+var_s0                                      ; +0x2c, 0x6a6e84\nLDMDB.W         R3, {R1,R2}                                            ; +0x2e, 0x6a6e86\nBL              _ZN7cocos2d6CCNode10unscheduleEMNS_8CCObjectEFvfE; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x32, 0x6a6e8a\nMOV             R0, R4; this                                           ; +0x36, 0x6a6e8e\nADD             SP, SP, #8                                             ; +0x38, 0x6a6e90\nPOP.W           {R4,LR}                                                ; +0x3a, 0x6a6e92\nB.W             _ZN15CustomSFXWidget13updateSFXInfoEv; CustomSFXWidget::updateSFXInfo(void) ; +0x3e, 0x6a6e96\nMOV             R0, R4; this                                           ; +0x42, 0x6a6e9a\nADD             SP, SP, #8                                             ; +0x44, 0x6a6e9c\nPOP.W           {R4,LR}                                                ; +0x46, 0x6a6e9e\nB.W             _ZN15CustomSFXWidget17updateProgressBarEi; CustomSFXWidget::updateProgressBar(int) ; +0x4a, 0x6a6ea2", "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"}