//
// cocos2d::CCRenderTexture::updateInternalScale from 0x100467478 to 0x10046749c (36 bytes)
//
// 1 xrefs:
// > sub_10030F5EC @ 0x10030f708
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:05:32 +0000
//
float __fastcall cocos2d::CCRenderTexture::updateInternalScale(__int64 a1, float a2, float a3)
{
float result; // s0
*(float *)(a1 + 404) = fmaxf(fminf(a2, 1.0), 0.0);
result = fmaxf(fminf(a3, 1.0), 0.0);
*(float *)(a1 + 408) = result;
return result;
}