//
// cocos2d::CCRenderTexture::updateInternalScale from 0x180060760 to 0x18006079d (61 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801438a8
//
// 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 __fastcall cocos2d::CCRenderTexture::updateInternalScale(cocos2d::CCRenderTexture *this, float a2, float a3)
{
float v3; // xmm4_4
float v4; // xmm0_4
v3 = fminf(1.0, a2);
if ( v3 < 0.0 )
v3 = 0.0;
v4 = fminf(1.0, a3);
this->m_fInternalScaleX = v3;
if ( v4 >= 0.0 )
this->m_fInternalScaleY = v4;
else
this->m_fInternalScaleY = 0.0;
}