//
// cocos2d::CCEaseElasticInOut::update from 0x18002a840 to 0x18002a945 (261 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800ee078
// > ??> @ 0x18013d840
// > ??> @ 0x18013d850
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9a3c
//
// 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 11:21:31 +0000
//
void __fastcall cocos2d::CCEaseElasticInOut::update(cocos2d::CCEaseElasticInOut *this, float a2)
{
float v3; // xmm2_4
float v4; // xmm6_4
if ( a2 != 0.0 && a2 != 1.0 )
{
v3 = *((float *)this + 26);
if ( v3 == 0.0 )
{
v3 = 0.45000002;
*((_DWORD *)this + 26) = 1055286887;
}
v4 = (float)(a2 + a2) - 1.0;
sinf(
(float)((float)((float)(v4 - (float)(v3 * 0.25)) * 3.1415927)
+ (float)((float)(v4 - (float)(v3 * 0.25)) * 3.1415927))
/ v3);
if ( v4 >= 0.0 )
powf(2.0, v4 * -10.0);
else
powf(2.0, v4 * 10.0);
}
(*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 12) + 32LL))(*((_QWORD *)this + 12));
}