{"type": "func", "start": 4301383264, "end": 4301383435, "name": "CustomSongWidget::startMonitorDownload", "pseudocode": "// \n// CustomSongWidget::startMonitorDownload from 0x10061e660 to 0x10061e70b (171 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 __fastcall CustomSongWidget::startMonitorDownload(CustomSongWidget *a1)\n{\n  cocos2d::CCSprite *m_sliderBar; // r14\n  __m128 width_low; // xmm0\n  __m128 v3; // xmm2\n  _BYTE v4[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_sliderBar = a1->m_sliderBar;\n  width_low = (__m128)LODWORD(a1->m_sliderGroove->m_obRect.size.width);\n  width_low.f32[0] = width_low.f32[0] + -4.0;\n  v3 = width_low;\n  v3.f32[0] = fminf(width_low.f32[0] * 0.0, width_low.f32[0]);\n  sub_10028CC00((__int64)v4, 0.0, 0.0, v3, (__m128)0x41000000u);\n  ((void (__fastcall *)(cocos2d::CCSprite *, _BYTE *))m_sliderBar->setTextureRect)(m_sliderBar, v4);\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_sliderGroove->setVisible)(a1->m_sliderGroove, 1);\n  cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSongWidget::updateDownloadProgress);\n  cocos2d::CCNode::schedule_1(\n    a1,\n    (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSongWidget::updateDownloadProgress,\n    0.033333335);\n}", "assembly": "; \n; CustomSongWidget::startMonitorDownload from 0x10061e660 to 0x10061e70b (171 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    rbp                                                            ; +0x0, 0x10061e660\nmov     rbp, rsp                                                       ; +0x1, 0x10061e661\npush    r15                                                            ; +0x4, 0x10061e664\npush    r14                                                            ; +0x6, 0x10061e666\npush    rbx                                                            ; +0x8, 0x10061e668\nsub     rsp, 18h                                                       ; +0x9, 0x10061e669\nmov     rbx, rdi                                                       ; +0xd, 0x10061e66d\nmov     rax, [rdi+1C0h]                                                ; +0x10, 0x10061e670\nmov     r14, [rdi+1C8h]                                                ; +0x17, 0x10061e677\nmovss   xmm0, dword ptr [rax+1B0h]                                     ; +0x1e, 0x10061e67e\naddss   xmm0, cs:dword_100815290                                       ; +0x26, 0x10061e686\nxorps   xmm1, xmm1                                                     ; +0x2e, 0x10061e68e\nmovaps  xmm2, xmm0                                                     ; +0x31, 0x10061e691\nmulss   xmm2, xmm1                                                     ; +0x34, 0x10061e694\nminss   xmm2, xmm0                                                     ; +0x38, 0x10061e698\nlea     r15, [rbp+var_28]                                              ; +0x3c, 0x10061e69c\nmovss   xmm3, cs:dword_100815034                                       ; +0x40, 0x10061e6a0\nxorps   xmm0, xmm0                                                     ; +0x48, 0x10061e6a8\nmov     rdi, r15                                                       ; +0x4b, 0x10061e6ab\ncall    sub_10028CC00                                                  ; +0x4e, 0x10061e6ae\nmov     rax, [r14]                                                     ; +0x53, 0x10061e6b3\nmov     rdi, r14                                                       ; +0x56, 0x10061e6b6\nmov     rsi, r15                                                       ; +0x59, 0x10061e6b9\ncall    qword ptr [rax+460h]                                           ; +0x5c, 0x10061e6bc\nmov     rdi, [rbx+1C0h]                                                ; +0x62, 0x10061e6c2\nmov     rax, [rdi]                                                     ; +0x69, 0x10061e6c9\nmov     esi, 1                                                         ; +0x6c, 0x10061e6cc\ncall    qword ptr [rax+148h]                                           ; +0x71, 0x10061e6d1\nlea     r14, CustomSongWidget__updateDownloadProgress                  ; +0x77, 0x10061e6d7\nmov     rdi, rbx                                                       ; +0x7e, 0x10061e6de\nmov     rsi, r14                                                       ; +0x81, 0x10061e6e1\nxor     edx, edx                                                       ; +0x84, 0x10061e6e4\ncall    cocos2d__CCNode__unschedule                                    ; +0x86, 0x10061e6e6\nmovss   xmm0, cs:dword_10081646C                                       ; +0x8b, 0x10061e6eb\nmov     rdi, rbx                                                       ; +0x93, 0x10061e6f3\nmov     rsi, r14                                                       ; +0x96, 0x10061e6f6\nxor     edx, edx                                                       ; +0x99, 0x10061e6f9\ncall    cocos2d__CCNode__schedule_1                                    ; +0x9b, 0x10061e6fb\nadd     rsp, 18h                                                       ; +0xa0, 0x10061e700\npop     rbx                                                            ; +0xa4, 0x10061e704\npop     r14                                                            ; +0xa5, 0x10061e705\npop     r15                                                            ; +0xa7, 0x10061e707\npop     rbp                                                            ; +0xa9, 0x10061e709\nretn                                                                   ; +0xaa, 0x10061e70a", "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"}