//
// cocos2d::CCEaseExponentialOut::update from 0xab6b0c to 0xab6b6c (96 bytes)
//
// 2 xrefs:
// > ??> @ 0x2fa90
// > ??> @ 0x11fbed8
//
// 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 cocos2d::CCEaseExponentialOut::update(cocos2d::CCEaseExponentialOut *a1, float a2)
{
long double v2; // q1
cocos2d::CCEaseExponentialOut_vtbl *v3; // x0
bool v4; // zf
void (__fastcall *v5)(cocos2d::CCEaseExponentialOut_vtbl *, long double, long double); // x19
cocos2d::CCEaseExponentialOut_vtbl *v6; // [xsp+28h] [xbp+28h]
*(float *)&v2 = a2;
v3 = a1[1].__vftable;
v4 = a2 == 1.0;
a2 = 1.0;
v5 = *((void (__fastcall **)(cocos2d::CCEaseExponentialOut_vtbl *, long double, long double))v3->copyWithZone + 5);
if ( !v4 )
{
v6 = v3;
a2 = 1.0 - powf(2.0, *(float *)&v2 * -10.0);
v3 = v6;
}
v5(v3, *(long double *)&a2, v2);
}