//
// cocos2d::CCEaseExponentialInOut::update from 0x100516690 to 0x1005166f8 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b6be68
//
// This function is hookable on this platform (idp: pc, 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 12:31:38 +0000
//
__int64 __fastcall cocos2d::CCEaseExponentialInOut::update(__int64 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);
return (*(__int64 (__fastcall **)(_QWORD, float))(**(_QWORD **)(a1 + 96) + 40LL))(*(_QWORD *)(a1 + 96), v5 * 0.5);
}