{"type": "func", "start": 4301145520, "end": 4301145678, "name": "CustomSFXWidget::startMonitorDownload", "pseudocode": "// \n// CustomSFXWidget::startMonitorDownload from 0x1005e45b0 to 0x1005e464e (158 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 CustomSFXWidget::startMonitorDownload(CustomSFXWidget *a1)\n{\n  cocos2d::CCSprite *m_progressBarSprite; // r14\n  __m128 width_low; // xmm0\n  __m128 v3; // xmm2\n  _BYTE v4[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  m_progressBarSprite = a1->m_progressBarSprite;\n  width_low = (__m128)LODWORD(a1->m_progressOutlineSprite->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_progressBarSprite->setTextureRect)(m_progressBarSprite, v4);\n  CustomSFXWidget::showLoadingArt(a1);\n  cocos2d::CCNode::unschedule(a1, (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSFXWidget::updateDownloadProgress);\n  cocos2d::CCNode::schedule_1(\n    a1,\n    (cocos2d::SEL_SCHEDULE)(unsigned __int64)CustomSFXWidget::updateDownloadProgress,\n    0.033333335);\n}", "assembly": "; \n; CustomSFXWidget::startMonitorDownload from 0x1005e45b0 to 0x1005e464e (158 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, 0x1005e45b0\nmov     rbp, rsp                                                       ; +0x1, 0x1005e45b1\npush    r15                                                            ; +0x4, 0x1005e45b4\npush    r14                                                            ; +0x6, 0x1005e45b6\npush    rbx                                                            ; +0x8, 0x1005e45b8\nsub     rsp, 18h                                                       ; +0x9, 0x1005e45b9\nmov     rbx, rdi                                                       ; +0xd, 0x1005e45bd\nmov     rax, [rdi+1A0h]                                                ; +0x10, 0x1005e45c0\nmov     r14, [rdi+1A8h]                                                ; +0x17, 0x1005e45c7\nmovss   xmm0, dword ptr [rax+1B0h]                                     ; +0x1e, 0x1005e45ce\naddss   xmm0, cs:dword_100815290                                       ; +0x26, 0x1005e45d6\nxorps   xmm1, xmm1                                                     ; +0x2e, 0x1005e45de\nmovaps  xmm2, xmm0                                                     ; +0x31, 0x1005e45e1\nmulss   xmm2, xmm1                                                     ; +0x34, 0x1005e45e4\nminss   xmm2, xmm0                                                     ; +0x38, 0x1005e45e8\nlea     r15, [rbp+var_28]                                              ; +0x3c, 0x1005e45ec\nmovss   xmm3, cs:dword_100815034                                       ; +0x40, 0x1005e45f0\nxorps   xmm0, xmm0                                                     ; +0x48, 0x1005e45f8\nmov     rdi, r15                                                       ; +0x4b, 0x1005e45fb\ncall    sub_10028CC00                                                  ; +0x4e, 0x1005e45fe\nmov     rax, [r14]                                                     ; +0x53, 0x1005e4603\nmov     rdi, r14                                                       ; +0x56, 0x1005e4606\nmov     rsi, r15                                                       ; +0x59, 0x1005e4609\ncall    qword ptr [rax+460h]                                           ; +0x5c, 0x1005e460c\nmov     rdi, rbx                                                       ; +0x62, 0x1005e4612\ncall    CustomSFXWidget__showLoadingArt                                ; +0x65, 0x1005e4615\nlea     r14, CustomSFXWidget__updateDownloadProgress                   ; +0x6a, 0x1005e461a\nmov     rdi, rbx                                                       ; +0x71, 0x1005e4621\nmov     rsi, r14                                                       ; +0x74, 0x1005e4624\nxor     edx, edx                                                       ; +0x77, 0x1005e4627\ncall    cocos2d__CCNode__unschedule                                    ; +0x79, 0x1005e4629\nmovss   xmm0, cs:dword_10081646C                                       ; +0x7e, 0x1005e462e\nmov     rdi, rbx                                                       ; +0x86, 0x1005e4636\nmov     rsi, r14                                                       ; +0x89, 0x1005e4639\nxor     edx, edx                                                       ; +0x8c, 0x1005e463c\ncall    cocos2d__CCNode__schedule_1                                    ; +0x8e, 0x1005e463e\nadd     rsp, 18h                                                       ; +0x93, 0x1005e4643\npop     rbx                                                            ; +0x97, 0x1005e4647\npop     r14                                                            ; +0x98, 0x1005e4648\npop     r15                                                            ; +0x9a, 0x1005e464a\npop     rbp                                                            ; +0x9c, 0x1005e464c\nretn                                                                   ; +0x9d, 0x1005e464d", "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"}