// // CustomSFXWidget::showLoadingArt from 0x1400c17b0 to 0x1400c190f (351 bytes) // // 5 xrefs: // > CustomSFXWidget::onDownload @ 0x1400c1abd // > CustomSFXWidget::startMonitorDownload @ 0x1400c1b9c // > @ 0x14066c1cc // > @ 0x14066c1dc // > @ 0x1406c7f2c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CustomSFXWidget::showLoadingArt(CustomSFXWidget *a1) { float v1; // xmm3_4 const cocos2d::CCSize *v3; // rbx double v4; // xmm0_8 cocos2d::CCLabelBMFont *m_idLabel; // rcx const cocos2d::CCSize *v6; // rbx double v7; // xmm0_8 __int64 v8; // rax __int64 v9; // rdx struct cocos2d::CCFadeTo *v10; // rax cocos2d::ccColor3B *v11; // r8 _BOOL8 v12; // rdx bool v13; // dl float v14; // [rsp+20h] [rbp-8h] char v15; // [rsp+30h] [rbp+8h] BYREF cocos2d::CCPoint v16; // [rsp+38h] [rbp+10h] BYREF if ( a1->m_clockSprite ) { if ( a1->m_compactMode ) { v3 = a1->m_idLabel->getContentSize(a1->m_idLabel); v4 = ((double (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_idLabel->getScale)(a1->m_idLabel); cocos2d::CCPoint::CCPoint(&v16, (float)(*(float *)&v4 * v3->width) + 12.0, 0.0); m_idLabel = a1->m_idLabel; } else { v6 = a1->m_titleLabel->getContentSize(a1->m_titleLabel); v7 = ((double (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_titleLabel->getScale)(a1->m_titleLabel); cocos2d::CCPoint::CCPoint(&v16, (float)(*(float *)&v7 * v6->width) + 14.0, 0.0); m_idLabel = a1->m_titleLabel; } v8 = (__int64)m_idLabel->getPosition_0(m_idLabel); cocos2d::CCPoint::operator+(v8, &v15); a1->m_clockSprite->setPosition_0(a1->m_clockSprite, (const cocos2d::CCPoint *)&v15); cocos2d::CCNode::stopAllActions(a1->m_clockSprite); LOBYTE(v9) = 25; a1->m_clockSprite->setOpacity(&a1->m_clockSprite->cocos2d::CCRGBAProtocol, v9); v10 = cocos2d::CCFadeTo::create(0.2, 0xAFu); cocos2d::CCNode::runAction((CCLightFlash *)a1->m_clockSprite, (cocos2d::CCPoint)v10, v11, v1, v14); LOBYTE(v12) = 1; a1->m_clockSprite->setVisible(a1->m_clockSprite, v12); } else { v13 = 1; a1->m_progressOutlineSprite->setVisible(a1->m_progressOutlineSprite, v13); } }