//
// cocos2d::CCRenderTexture::updateInternalScale from 0x7e04d4 to 0x7e0532 (94 bytes)
//
// 1 xrefs:
// > ShaderLayer::prePixelateShader @ 0x683d56
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:48 +0000
//
int __fastcall cocos2d::CCRenderTexture::updateInternalScale(int this, 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;
}
*(float *)(this + 328) = v3;
if ( a3 >= 1.0 )
{
v4 = 1.0;
}
else if ( a3 <= 0.0 )
{
v4 = 0.0;
}
*(float *)(this + 332) = v4;
return this;
}