{"type": "func", "start": 5369502512, "end": 5369502681, "name": "CustomSFXWidget::startMonitorDownload", "pseudocode": "// \n// CustomSFXWidget::startMonitorDownload from 0x1400c1b30 to 0x1400c1bd9 (169 bytes)\n// \n// 3 xrefs:\n// > CustomSFXWidget::init @ 0x1400c1622\n// > CustomSFXWidget::onDownload @ 0x1400c1b1a\n// > <???> @ 0x1406c7f8c\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 CustomSFXWidget::startMonitorDownload(CustomSFXWidget *a1)\n{\n  cocos2d::CCSprite *m_progressBarSprite; // rbx\n  cocos2d::CCSprite_vtbl *v3; // rdi\n  const cocos2d::CCRect *v4; // rax\n  cocos2d::CCRect v5; // [rsp+30h] [rbp-18h] BYREF\n\n  m_progressBarSprite = a1->m_progressBarSprite;\n  v3 = m_progressBarSprite->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCRect::CCRect(\n    &v5,\n    0.0,\n    0.0,\n    fminf(\n      a1->m_progressOutlineSprite->m_obRect.size.width - 4.0,\n      (float)(a1->m_progressOutlineSprite->m_obRect.size.width - 4.0) * 0.0),\n    8.0);\n  v3->setTextureRect_0(m_progressBarSprite, v4);\n  CustomSFXWidget::showLoadingArt(a1);\n  cocos2d::CCNode::unschedule(a1, CustomSFXWidget::updateDownloadProgress);\n  cocos2d::CCNode::schedule(a1, CustomSFXWidget::updateDownloadProgress);\n}", "assembly": "; \n; CustomSFXWidget::startMonitorDownload from 0x1400c1b30 to 0x1400c1bd9 (169 bytes)\n; \n; 3 xrefs:\n; > CustomSFXWidget::init @ 0x1400c1622\n; > CustomSFXWidget::onDownload @ 0x1400c1b1a\n; > <???> @ 0x1406c7f8c\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400c1b30\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1400c1b35\npush    rdi                                                            ; +0xa, 0x1400c1b3a\nsub     rsp, 40h                                                       ; +0xb, 0x1400c1b3b\nmov     rax, [rcx+1A0h]                                                ; +0xf, 0x1400c1b3f\nxorps   xmm1, xmm1                                                     ; +0x16, 0x1400c1b46\nmov     rbx, [rcx+1A8h]                                                ; +0x19, 0x1400c1b49\nmov     rsi, rcx                                                       ; +0x20, 0x1400c1b50\nxorps   xmm2, xmm2                                                     ; +0x23, 0x1400c1b53\nlea     rcx, [rsp+48h+var_18]                                          ; +0x26, 0x1400c1b56\nmovss   xmm3, dword ptr [rax+1B0h]                                     ; +0x2b, 0x1400c1b5b\nsubss   xmm3, cs:dword_140622FF0                                       ; +0x33, 0x1400c1b63\nmov     rdi, [rbx]                                                     ; +0x3b, 0x1400c1b6b\nmovaps  xmm0, xmm3                                                     ; +0x3e, 0x1400c1b6e\nmulss   xmm0, xmm1                                                     ; +0x41, 0x1400c1b71\nminss   xmm3, xmm0                                                     ; +0x45, 0x1400c1b75\nmovss   xmm0, cs:dword_140623068                                       ; +0x49, 0x1400c1b79\nmovss   [rsp+48h+var_28], xmm0                                         ; +0x51, 0x1400c1b81\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x57, 0x1400c1b87\nmov     rdx, rax                                                       ; +0x5d, 0x1400c1b8d\nmov     rcx, rbx                                                       ; +0x60, 0x1400c1b90\ncall    qword ptr [rdi+3D0h]                                           ; +0x63, 0x1400c1b93\nmov     rcx, rsi                                                       ; +0x69, 0x1400c1b99\ncall    CustomSFXWidget__showLoadingArt                                ; +0x6c, 0x1400c1b9c\nlea     rdx, CustomSFXWidget__updateDownloadProgress                   ; +0x71, 0x1400c1ba1\nmov     rcx, rsi                                                       ; +0x78, 0x1400c1ba8\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x7b, 0x1400c1bab\nmovss   xmm2, cs:dword_1406229D4                                       ; +0x81, 0x1400c1bb1\nlea     rdx, CustomSFXWidget__updateDownloadProgress                   ; +0x89, 0x1400c1bb9\nmov     rcx, rsi                                                       ; +0x90, 0x1400c1bc0\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x93, 0x1400c1bc3\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x98, 0x1400c1bc8\nadd     rsp, 40h                                                       ; +0x9d, 0x1400c1bcd\npop     rdi                                                            ; +0xa1, 0x1400c1bd1\njmp     cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float) ; +0xa2, 0x1400c1bd2", "xrefs": ["CustomSFXWidget::init @ 0x1400c1622", "CustomSFXWidget::onDownload @ 0x1400c1b1a", "<???> @ 0x1406c7f8c"], "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"}