//
// cocos2d::CCRenderTexture::updateInternalScale from 0xaf9b70 to 0xaf9bc8 (88 bytes)
//
// 3 xrefs:
// > ShaderLayer::prePixelateShader @ 0x9f5b54
// > ShaderLayer::prePixelateShader @ 0x9f5b9c
// > ??> @ 0x6be50
//
// 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)
{
if ( a2 < 1.0 )
{
if ( a2 <= 0.0 )
a2 = 0.0;
}
else
{
a2 = 1.0;
}
a1->m_fInternalScaleX = a2;
if ( a3 >= 1.0 )
{
a3 = 1.0;
LABEL_5:
a1->m_fInternalScaleY = a3;
return;
}
if ( a3 > 0.0 )
goto LABEL_5;
a1->m_fInternalScaleY = 0.0;
}