//
// cocos2d::CCEaseExponentialInOut::update from 0xd28874 to 0xd28918 (164 bytes)
//
// 2 xrefs:
// > ??> @ 0xf64f0
// > ??> @ 0x1511878
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:07:15 +0000
//
__int64 __fastcall cocos2d::CCEaseExponentialInOut::update(cocos2d::CCEaseExponentialInOut *this, float a2)
{
float v2; // s0
float v3; // s1
float v4; // s0
float v6; // s0
v2 = a2 + a2;
v3 = v2 - 1.0;
if ( v2 < 1.0 )
{
v6 = powf(2.0, v3 * 10.0);
return (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 40LL))(
*((_QWORD *)this + 12),
v6 * 0.5);
}
else
{
v4 = powf(2.0, v3 * -10.0);
return (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 40LL))(
*((_QWORD *)this + 12),
(float)(2.0 - v4) * 0.5);
}
}