{"type": "func", "start": 4296002376, "end": 4296002476, "name": "CustomSongWidget::startMonitorDownload", "pseudocode": "// \n// CustomSongWidget::startMonitorDownload from 0x1000fcb48 to 0x1000fcbac (100 bytes)\n// \n// 4 xrefs:\n// > CustomSongWidget::init @ 0x1000fa850\n// > CustomSongWidget::startDownload @ 0x1000fd43c\n// > CustomSongWidget::downloadSongStarted @ 0x1000fe118\n// > sub_1000FE11C @ 0x1000fe134\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 __fastcall CustomSongWidget::startMonitorDownload(CustomSongWidget *a1)\n{\n  cocos2d::SEL_SCHEDULE v2; // 0:x1.16\n  cocos2d::SEL_SCHEDULE v3; // 0:x1.16\n\n  CustomSongWidget::updateProgressBar(a1, 0);\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_sliderGroove->setVisible)(a1->m_sliderGroove, 1);\n  v2.ptr = (void (__cdecl *)(float))CustomSongWidget::updateDownloadProgress;\n  v2.adj = 0;\n  cocos2d::CCNode::unschedule(a1, v2);\n  v3.ptr = (void (__cdecl *)(float))CustomSongWidget::updateDownloadProgress;\n  v3.adj = 0;\n  cocos2d::CCNode::schedule(a1, v3, 0.033333);\n}", "assembly": "; \n; CustomSongWidget::startMonitorDownload from 0x1000fcb48 to 0x1000fcbac (100 bytes)\n; \n; 4 xrefs:\n; > CustomSongWidget::init @ 0x1000fa850\n; > CustomSongWidget::startDownload @ 0x1000fd43c\n; > CustomSongWidget::downloadSongStarted @ 0x1000fe118\n; > sub_1000FE11C @ 0x1000fe134\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1000fcb48\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1000fcb4c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1000fcb50\nMOV             X19, X0                                                ; +0xc, 0x1000fcb54\nMOV             W1, #0                                                 ; +0x10, 0x1000fcb58\nBL              CustomSongWidget__updateProgressBar                    ; +0x14, 0x1000fcb5c\nLDR             X0, [X19,#0x1C0]                                       ; +0x18, 0x1000fcb60\nLDR             X8, [X0]                                               ; +0x1c, 0x1000fcb64\nLDR             X8, [X8,#0x148]                                        ; +0x20, 0x1000fcb68\nMOV             W1, #1                                                 ; +0x24, 0x1000fcb6c\nBLR             X8                                                     ; +0x28, 0x1000fcb70\nADRL            X20, CustomSongWidget__updateDownloadProgress          ; +0x2c, 0x1000fcb74\nMOV             X0, X19                                                ; +0x34, 0x1000fcb7c\nMOV             X1, X20                                                ; +0x38, 0x1000fcb80\nMOV             X2, #0                                                 ; +0x3c, 0x1000fcb84\nBL              cocos2d__CCNode__unschedule                            ; +0x40, 0x1000fcb88\nADRP            X8, #dword_100635910@PAGE                              ; +0x44, 0x1000fcb8c\nLDR             S0, [X8,#dword_100635910@PAGEOFF]                      ; +0x48, 0x1000fcb90\nMOV             X0, X19                                                ; +0x4c, 0x1000fcb94\nMOV             X1, X20                                                ; +0x50, 0x1000fcb98\nMOV             X2, #0                                                 ; +0x54, 0x1000fcb9c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x58, 0x1000fcba0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x5c, 0x1000fcba4\nB               cocos2d__CCNode__schedule                              ; +0x60, 0x1000fcba8", "xrefs": ["CustomSongWidget::init @ 0x1000fa850", "CustomSongWidget::startDownload @ 0x1000fd43c", "CustomSongWidget::downloadSongStarted @ 0x1000fe118", "sub_1000FE11C @ 0x1000fe134"], "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"}