{"type": "func", "start": 5369501616, "end": 5369501967, "name": "CustomSFXWidget::showLoadingArt", "pseudocode": "// \n// CustomSFXWidget::showLoadingArt from 0x1400c17b0 to 0x1400c190f (351 bytes)\n// \n// 5 xrefs:\n// > CustomSFXWidget::onDownload @ 0x1400c1abd\n// > CustomSFXWidget::startMonitorDownload @ 0x1400c1b9c\n// > <???> @ 0x14066c1cc\n// > <???> @ 0x14066c1dc\n// > <???> @ 0x1406c7f2c\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::showLoadingArt(CustomSFXWidget *a1)\n{\n  float v1; // xmm3_4\n  const cocos2d::CCSize *v3; // rbx\n  double v4; // xmm0_8\n  cocos2d::CCLabelBMFont *m_idLabel; // rcx\n  const cocos2d::CCSize *v6; // rbx\n  double v7; // xmm0_8\n  __int64 v8; // rax\n  __int64 v9; // rdx\n  struct cocos2d::CCFadeTo *v10; // rax\n  cocos2d::ccColor3B *v11; // r8\n  _BOOL8 v12; // rdx\n  bool v13; // dl\n  float v14; // [rsp+20h] [rbp-8h]\n  char v15; // [rsp+30h] [rbp+8h] BYREF\n  cocos2d::CCPoint v16; // [rsp+38h] [rbp+10h] BYREF\n\n  if ( a1->m_clockSprite )\n  {\n    if ( a1->m_compactMode )\n    {\n      v3 = a1->m_idLabel->getContentSize(a1->m_idLabel);\n      v4 = ((double (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_idLabel->getScale)(a1->m_idLabel);\n      cocos2d::CCPoint::CCPoint(&v16, (float)(*(float *)&v4 * v3->width) + 12.0, 0.0);\n      m_idLabel = a1->m_idLabel;\n    }\n    else\n    {\n      v6 = a1->m_titleLabel->getContentSize(a1->m_titleLabel);\n      v7 = ((double (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_titleLabel->getScale)(a1->m_titleLabel);\n      cocos2d::CCPoint::CCPoint(&v16, (float)(*(float *)&v7 * v6->width) + 14.0, 0.0);\n      m_idLabel = a1->m_titleLabel;\n    }\n    v8 = (__int64)m_idLabel->getPosition_0(m_idLabel);\n    cocos2d::CCPoint::operator+(v8, &v15);\n    a1->m_clockSprite->setPosition_0(a1->m_clockSprite, (const cocos2d::CCPoint *)&v15);\n    cocos2d::CCNode::stopAllActions(a1->m_clockSprite);\n    LOBYTE(v9) = 25;\n    a1->m_clockSprite->setOpacity(&a1->m_clockSprite->cocos2d::CCRGBAProtocol, v9);\n    v10 = cocos2d::CCFadeTo::create(0.2, 0xAFu);\n    cocos2d::CCNode::runAction((CCLightFlash *)a1->m_clockSprite, (cocos2d::CCPoint)v10, v11, v1, v14);\n    LOBYTE(v12) = 1;\n    a1->m_clockSprite->setVisible(a1->m_clockSprite, v12);\n  }\n  else\n  {\n    v13 = 1;\n    a1->m_progressOutlineSprite->setVisible(a1->m_progressOutlineSprite, v13);\n  }\n}", "assembly": "; \n; CustomSFXWidget::showLoadingArt from 0x1400c17b0 to 0x1400c190f (351 bytes)\n; \n; 5 xrefs:\n; > CustomSFXWidget::onDownload @ 0x1400c1abd\n; > CustomSFXWidget::startMonitorDownload @ 0x1400c1b9c\n; > <???> @ 0x14066c1cc\n; > <???> @ 0x14066c1dc\n; > <???> @ 0x1406c7f2c\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    rdi                                                            ; +0x0, 0x1400c17b0\nsub     rsp, 20h                                                       ; +0x2, 0x1400c17b2\ncmp     qword ptr [rcx+1B0h], 0                                        ; +0x6, 0x1400c17b6\nmov     rdi, rcx                                                       ; +0xe, 0x1400c17be\njz      loc_1400C18F7                                                  ; +0x11, 0x1400c17c1\ncmp     byte ptr [rcx+1C4h], 0                                         ; +0x17, 0x1400c17c7\nmov     [rsp+28h+arg_10], rbx                                          ; +0x1e, 0x1400c17ce\njz      short loc_1400C181E                                            ; +0x23, 0x1400c17d3\nmov     rcx, [rcx+168h]                                                ; +0x25, 0x1400c17d5\nmov     rax, [rcx]                                                     ; +0x2c, 0x1400c17dc\ncall    qword ptr [rax+130h]                                           ; +0x2f, 0x1400c17df\nmov     rcx, [rdi+168h]                                                ; +0x35, 0x1400c17e5\nmov     rbx, rax                                                       ; +0x3c, 0x1400c17ec\nmov     rdx, [rcx]                                                     ; +0x3f, 0x1400c17ef\ncall    qword ptr [rdx+0A8h]                                           ; +0x42, 0x1400c17f2\nmulss   xmm0, dword ptr [rbx]                                          ; +0x48, 0x1400c17f8\nxorps   xmm2, xmm2                                                     ; +0x4c, 0x1400c17fc\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x4f, 0x1400c17ff\naddss   xmm0, cs:dword_140623098                                       ; +0x54, 0x1400c1804\nmovaps  xmm1, xmm0                                                     ; +0x5c, 0x1400c180c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5f, 0x1400c180f\nmov     rcx, [rdi+168h]                                                ; +0x65, 0x1400c1815\njmp     short loc_1400C1865                                            ; +0x6c, 0x1400c181c\nmov     rcx, [rcx+160h]                                                ; +0x6e, 0x1400c181e\nmov     rax, [rcx]                                                     ; +0x75, 0x1400c1825\ncall    qword ptr [rax+130h]                                           ; +0x78, 0x1400c1828\nmov     rcx, [rdi+160h]                                                ; +0x7e, 0x1400c182e\nmov     rbx, rax                                                       ; +0x85, 0x1400c1835\nmov     rdx, [rcx]                                                     ; +0x88, 0x1400c1838\ncall    qword ptr [rdx+0A8h]                                           ; +0x8b, 0x1400c183b\nmulss   xmm0, dword ptr [rbx]                                          ; +0x91, 0x1400c1841\nxorps   xmm2, xmm2                                                     ; +0x95, 0x1400c1845\nlea     rcx, [rsp+28h+arg_8]                                           ; +0x98, 0x1400c1848\naddss   xmm0, cs:dword_1406230BC                                       ; +0x9d, 0x1400c184d\nmovaps  xmm1, xmm0                                                     ; +0xa5, 0x1400c1855\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xa8, 0x1400c1858\nmov     rcx, [rdi+160h]                                                ; +0xae, 0x1400c185e\nmov     rdx, [rcx]                                                     ; +0xb5, 0x1400c1865\nmov     rbx, rax                                                       ; +0xb8, 0x1400c1868\ncall    qword ptr [rdx+0C8h]                                           ; +0xbb, 0x1400c186b\nmov     r8, rbx                                                        ; +0xc1, 0x1400c1871\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xc4, 0x1400c1874\nmov     rcx, rax                                                       ; +0xc9, 0x1400c1879\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xcc, 0x1400c187c\nmov     rcx, [rdi+1B0h]                                                ; +0xd2, 0x1400c1882\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xd9, 0x1400c1889\nmov     rax, [rcx]                                                     ; +0xde, 0x1400c188e\ncall    qword ptr [rax+0B8h]                                           ; +0xe1, 0x1400c1891\nmov     rcx, [rdi+1B0h]                                                ; +0xe7, 0x1400c1897\ncall    cs:?stopAllActions@CCNode@cocos2d@@QEAAXXZ; cocos2d::CCNode::stopAllActions(void) ; +0xee, 0x1400c189e\nmov     rcx, [rdi+1B0h]                                                ; +0xf4, 0x1400c18a4\nmov     dl, 19h                                                        ; +0xfb, 0x1400c18ab\nadd     rcx, 140h                                                      ; +0xfd, 0x1400c18ad\nmov     rax, [rcx]                                                     ; +0x104, 0x1400c18b4\ncall    qword ptr [rax+28h]                                            ; +0x107, 0x1400c18b7\nmovss   xmm0, cs:dword_140622A74                                       ; +0x10a, 0x1400c18ba\nmov     dl, 0AFh                                                       ; +0x112, 0x1400c18c2\ncall    cs:?create@CCFadeTo@cocos2d@@SAPEAV12@ME@Z; cocos2d::CCFadeTo::create(float,uchar) ; +0x114, 0x1400c18c4\nmov     rcx, [rdi+1B0h]                                                ; +0x11a, 0x1400c18ca\nmov     rdx, rax                                                       ; +0x121, 0x1400c18d1\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x124, 0x1400c18d4\nmov     rcx, [rdi+1B0h]                                                ; +0x12a, 0x1400c18da\nmov     dl, 1                                                          ; +0x131, 0x1400c18e1\nmov     rax, [rcx]                                                     ; +0x133, 0x1400c18e3\nmov     rbx, [rsp+28h+arg_10]                                          ; +0x136, 0x1400c18e6\nadd     rsp, 20h                                                       ; +0x13b, 0x1400c18eb\npop     rdi                                                            ; +0x13f, 0x1400c18ef\njmp     qword ptr [rax+140h]                                           ; +0x140, 0x1400c18f0\nmov     rcx, [rcx+1A0h]                                                ; +0x147, 0x1400c18f7\nmov     dl, 1                                                          ; +0x14e, 0x1400c18fe\nmov     rax, [rcx]                                                     ; +0x150, 0x1400c1900\nadd     rsp, 20h                                                       ; +0x153, 0x1400c1903\npop     rdi                                                            ; +0x157, 0x1400c1907\njmp     qword ptr [rax+140h]                                           ; +0x158, 0x1400c1908", "xrefs": ["CustomSFXWidget::onDownload @ 0x1400c1abd", "CustomSFXWidget::startMonitorDownload @ 0x1400c1b9c", "<???> @ 0x14066c1cc", "<???> @ 0x14066c1dc", "<???> @ 0x1406c7f2c"], "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"}