//
// cocos2d::CCEaseExponentialInOut::update from 0x1005155c0 to 0x100515628 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095f310
//
// 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 __fastcall cocos2d::CCEaseExponentialInOut::update(cocos2d::CCEaseExponentialInOut *a1, float a2)
{
float v2; // xmm0_4
bool v3; // cc
float v4; // xmm0_4
float v5; // xmm0_4
v2 = a2 + a2;
v3 = v2 >= 1.0;
v4 = v2 + -1.0;
if ( v3 )
v5 = 2.0 - exp2f(v4 * -10.0);
else
v5 = exp2f(v4 * 10.0);
(*((void (__fastcall **)(cocos2d::CCEaseExponentialInOut_vtbl *, float))a1[1].copyWithZone + 5))(
a1[1].__vftable,
v5 * 0.5);
}