//
// cocos2d::CCEaseElasticInOut::update from 0x18002a130 to 0x18002a235 (261 bytes)
//
// 5 xrefs:
// > ??> @ 0x1800e8018
// > ??> @ 0x180134894
// > ??> @ 0x1801348a4
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af928
//
// 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
//
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));
}