//
// cocos2d::CCEaseElasticOut::update from 0x5b16f4 to 0x5b177c (136 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCEaseElasticOut::update(cocos2d::CCEaseElasticOut *a1, float a2)
{
float v3; // s16
float v4; // s17
float v5; // s19
v3 = a2;
if ( a2 != 0.0 && a2 != 1.0 )
{
v4 = *(float *)&a1[1].m_uID * 0.25;
v5 = powf(2.0, a2 * -10.0);
v3 = (float)(v5
* sinf(
(float)((float)((float)(v3 - v4) * 3.1416) + (float)((float)(v3 - v4) * 3.1416))
/ *(float *)&a1[1].m_uID))
+ 1.0;
}
(*((void (__fastcall **)(cocos2d::CCEaseElasticOut_vtbl *, float))a1[1].copyWithZone + 5))(
a1[1].__vftable,
COERCE_FLOAT(LODWORD(v3)));
}