//
// cocos2d::CCEaseInOut::update from 0x7b7c80 to 0x7b7cee (110 bytes)
//
// 0 xrefs:
//
// 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:12 +0000
//
int __fastcall cocos2d::CCEaseInOut::update(cocos2d::CCEaseInOut *this, float a2)
{
int v2; // r4
int (__fastcall *v3)(int, _DWORD); // r5
float v4; // s15
int v5; // r0
float v6; // r1
float v7; // s15
v2 = *((_DWORD *)this + 20);
v3 = *(int (__fastcall **)(int, _DWORD))(*(_DWORD *)v2 + 20);
if ( (float)(a2 + a2) >= 1.0 )
{
v7 = powf(2.0 - (float)(a2 + a2), *((float *)this + 21));
v5 = v2;
v6 = 1.0 - (float)(v7 * 0.5);
}
else
{
v4 = powf(a2 + a2, *((float *)this + 21));
v5 = v2;
v6 = v4 * 0.5;
}
return v3(v5, LODWORD(v6));
}