//
// cocos2d::CCEaseInOut::update from 0x100514f60 to 0x100514fca (106 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095f118
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall cocos2d::CCEaseInOut::update(cocos2d::CCEaseInOut *a1, float a2)
{
float v2; // xmm0_4
cocos2d::CCEaseInOut_vtbl *v3; // rbx
int v4; // xmm0_4^4
v2 = a2 + a2;
v3 = a1[1].__vftable;
if ( v2 >= 1.0 )
{
v4 = 0;
a2 = (float)(powf(2.0 - v2, *(float *)&a1[1].m_uID) * -0.5) + 1.0;
}
else
{
a2 = powf(v2, *(float *)&a1[1].m_uID) * 0.5;
}
(*((void (__fastcall **)(cocos2d::CCEaseInOut_vtbl *, double))v3->copyWithZone + 5))(v3, *(double *)&a2);
}