//
// cocos2d::CCEaseInOut::update from 0xab6a20 to 0xab6aa8 (136 bytes)
//
// 2 xrefs:
// > ??> @ 0xc24c0
// > ??> @ 0x11fbdb8
//
// 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::CCEaseInOut::update(cocos2d::CCEaseInOut *a1, float a2)
{
float v2; // s0
cocos2d::CCEaseInOut_vtbl *v3; // x19
float v4; // s1
void (__fastcall *v5)(cocos2d::CCEaseInOut_vtbl *, float); // x20
float v6; // s0
float v7; // s0
v2 = a2 + a2;
v3 = a1[1].__vftable;
v4 = *(float *)&a1[1].m_uID;
v5 = *((void (__fastcall **)(cocos2d::CCEaseInOut_vtbl *, float))v3->copyWithZone + 5);
if ( v2 < 1.0 )
{
v7 = powf(v2, v4);
v5(v3, v7 * 0.5);
}
else
{
v6 = powf(2.0 - v2, v4);
v5(v3, 1.0 - (float)(v6 * 0.5));
}
}