//
// cocos2d::CCEaseInOut::update from 0x10030a290 to 0x10030a2fc (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092bcd8
//
// 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 11:03:10 +0000
//
__int64 __fastcall cocos2d::CCEaseInOut::update(__int64 a1, float a2)
{
float v2; // s0
__int64 v3; // x19
__n128 v4; // q0
v2 = a2 + a2;
v3 = *(_QWORD *)(a1 + 96);
if ( v2 >= 1.0 )
v4.n128_f32[0] = (float)(powf(2.0 - v2, *(float *)(a1 + 104)) * -0.5) + 1.0;
else
v4.n128_f32[0] = powf(v2, *(float *)(a1 + 104)) * 0.5;
return (*(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v3 + 40LL))(v3, v4);
}