//
// cocos2d::CCRenderTexture::updateInternalScale from 0x5d848c to 0x5d84ea (94 bytes)
//
// 1 xrefs:
// > ShaderLayer::prePixelateShader @ 0x54da3a
//
// 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 cocos2d::CCRenderTexture::updateInternalScale(cocos2d::CCRenderTexture *a1, float a2, float a3)
{
float v3; // s14
float v4; // s15
v3 = a2;
v4 = a3;
if ( a2 >= 1.0 )
{
v3 = 1.0;
}
else if ( a2 <= 0.0 )
{
v3 = 0.0;
}
a1->m_fInternalScaleX = v3;
if ( a3 >= 1.0 )
{
v4 = 1.0;
}
else if ( a3 <= 0.0 )
{
v4 = 0.0;
}
a1->m_fInternalScaleY = v4;
}