{"type": "func", "start": 5369540000, "end": 5369540179, "name": "CustomSongWidget::startDownload", "pseudocode": "// \n// CustomSongWidget::startDownload from 0x1400cada0 to 0x1400cae53 (179 bytes)\n// \n// 5 xrefs:\n// > CustomSongWidget::init @ 0x1400c95c1\n// > CustomSongWidget::onDownload @ 0x1400cad76\n// > CustomSongWidget::loadSongInfoFinished @ 0x1400ccdc1\n// > CustomSongWidget::downloadSongStarted @ 0x1400ccf15\n// > <???> @ 0x1406c8304\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 CustomSongWidget::startDownload(CustomSongWidget *a1)\n{\n  cocos2d::CCSprite *m_sliderBar; // rbx\n  cocos2d::CCSprite_vtbl *v3; // rdi\n  const cocos2d::CCRect *v4; // rax\n  _BOOL8 v5; // rdx\n  cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF\n\n  m_sliderBar = a1->m_sliderBar;\n  v3 = m_sliderBar->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCRect::CCRect(\n    &v6,\n    0.0,\n    0.0,\n    fminf(a1->m_sliderGroove->m_obRect.size.width - 4.0, (float)(a1->m_sliderGroove->m_obRect.size.width - 4.0) * 0.0),\n    8.0);\n  v3->setTextureRect_0(m_sliderBar, v4);\n  LOBYTE(v5) = 1;\n  a1->m_sliderGroove->setVisible(a1->m_sliderGroove, v5);\n  cocos2d::CCNode::unschedule(a1, CustomSongWidget::updateDownloadProgress);\n  cocos2d::CCNode::schedule(a1, CustomSongWidget::updateDownloadProgress);\n}", "assembly": "; \n; CustomSongWidget::startDownload from 0x1400cada0 to 0x1400cae53 (179 bytes)\n; \n; 5 xrefs:\n; > CustomSongWidget::init @ 0x1400c95c1\n; > CustomSongWidget::onDownload @ 0x1400cad76\n; > CustomSongWidget::loadSongInfoFinished @ 0x1400ccdc1\n; > CustomSongWidget::downloadSongStarted @ 0x1400ccf15\n; > <???> @ 0x1406c8304\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, 0x1400cada0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1400cada5\npush    rdi                                                            ; +0xa, 0x1400cadaa\nsub     rsp, 40h                                                       ; +0xb, 0x1400cadab\nmov     rax, [rcx+1C0h]                                                ; +0xf, 0x1400cadaf\nxorps   xmm1, xmm1                                                     ; +0x16, 0x1400cadb6\nmov     rbx, [rcx+1C8h]                                                ; +0x19, 0x1400cadb9\nmov     rsi, rcx                                                       ; +0x20, 0x1400cadc0\nxorps   xmm2, xmm2                                                     ; +0x23, 0x1400cadc3\nlea     rcx, [rsp+48h+var_18]                                          ; +0x26, 0x1400cadc6\nmovss   xmm3, dword ptr [rax+1B0h]                                     ; +0x2b, 0x1400cadcb\nsubss   xmm3, cs:dword_140622FF0                                       ; +0x33, 0x1400cadd3\nmov     rdi, [rbx]                                                     ; +0x3b, 0x1400caddb\nmovaps  xmm0, xmm3                                                     ; +0x3e, 0x1400cadde\nmulss   xmm0, xmm1                                                     ; +0x41, 0x1400cade1\nminss   xmm3, xmm0                                                     ; +0x45, 0x1400cade5\nmovss   xmm0, cs:dword_140623068                                       ; +0x49, 0x1400cade9\nmovss   [rsp+48h+var_28], xmm0                                         ; +0x51, 0x1400cadf1\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x57, 0x1400cadf7\nmov     rdx, rax                                                       ; +0x5d, 0x1400cadfd\nmov     rcx, rbx                                                       ; +0x60, 0x1400cae00\ncall    qword ptr [rdi+3D0h]                                           ; +0x63, 0x1400cae03\nmov     rcx, [rsi+1C0h]                                                ; +0x69, 0x1400cae09\nmov     dl, 1                                                          ; +0x70, 0x1400cae10\nmov     rax, [rcx]                                                     ; +0x72, 0x1400cae12\ncall    qword ptr [rax+140h]                                           ; +0x75, 0x1400cae15\nlea     rdx, CustomSongWidget__updateDownloadProgress                  ; +0x7b, 0x1400cae1b\nmov     rcx, rsi                                                       ; +0x82, 0x1400cae22\ncall    cs:?unschedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@Z@Z; cocos2d::CCNode::unschedule(void (cocos2d::CCObject::*)(float)) ; +0x85, 0x1400cae25\nmovss   xmm2, cs:dword_1406229D4                                       ; +0x8b, 0x1400cae2b\nlea     rdx, CustomSongWidget__updateDownloadProgress                  ; +0x93, 0x1400cae33\nmov     rcx, rsi                                                       ; +0x9a, 0x1400cae3a\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x9d, 0x1400cae3d\nmov     rsi, [rsp+48h+arg_8]                                           ; +0xa2, 0x1400cae42\nadd     rsp, 40h                                                       ; +0xa7, 0x1400cae47\npop     rdi                                                            ; +0xab, 0x1400cae4b\njmp     cs:?schedule@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::schedule(void (cocos2d::CCObject::*)(float),float) ; +0xac, 0x1400cae4c", "xrefs": ["CustomSongWidget::init @ 0x1400c95c1", "CustomSongWidget::onDownload @ 0x1400cad76", "CustomSongWidget::loadSongInfoFinished @ 0x1400ccdc1", "CustomSongWidget::downloadSongStarted @ 0x1400ccf15", "<???> @ 0x1406c8304"], "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"}