//
// cocos2d::CCEaseElasticOut::update from 0x100516340 to 0x1005163e0 (160 bytes)
//
// 1 xrefs:
// > ??> @ 0x10095f700
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall cocos2d::CCEaseElasticOut::update(cocos2d::CCEaseElasticOut *a1, float a2)
{
double v2; // xmm1_8
float v3; // [rsp+8h] [rbp-18h]
float v4; // [rsp+Ch] [rbp-14h]
v2 = *(double *)&a2;
if ( a2 != 0.0 && a2 != 1.0 )
{
v3 = *(float *)&a1[1].m_uID;
v4 = exp2f(-10.0 * a2);
HIDWORD(v2) = 0;
*(float *)&v2 = (float)(sinf(
(float)((float)((float)((float)(-0.25 * v3) + *(float *)&v2) * 3.1415927)
+ (float)((float)((float)(-0.25 * v3) + *(float *)&v2) * 3.1415927))
/ v3)
* v4)
+ 1.0;
}
(*((void (__fastcall **)(cocos2d::CCEaseElasticOut_vtbl *, double))a1[1].copyWithZone + 5))(a1[1].__vftable, v2);
}