//
// LoadingLayer::updateProgress from 0x14032ece0 to 0x14032ed54 (116 bytes)
//
// 3 xrefs:
// > LoadingLayer::init @ 0x14032ec47
// > LoadingLayer::loadAssets @ 0x14032edeb
// > ??> @ 0x1406d4fac
//
// 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 LoadingLayer::updateProgress(LoadingLayer *a1, int a2)
{
float m_sliderGrooveXPos; // xmm3_4
cocos2d::CCSprite_vtbl *v4; // rbx
const cocos2d::CCRect *v5; // rax
cocos2d::CCRect v6; // [rsp+30h] [rbp-18h] BYREF
m_sliderGrooveXPos = a1->m_sliderGrooveXPos;
if ( (float)((float)((float)a2 / 100.0) * m_sliderGrooveXPos) <= m_sliderGrooveXPos )
m_sliderGrooveXPos = (float)((float)a2 / 100.0) * m_sliderGrooveXPos;
v4 = a1->m_sliderBar->__vftable;
cocos2d::CCRect::CCRect(&v6, 0.0, 0.0, m_sliderGrooveXPos, a1->m_sliderGrooveHeight);
v4->setTextureRect_0(a1->m_sliderBar, v5);
}