//
// cocos2d::CCEaseElasticOut::update from 0xab6d6c to 0xab6e04 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0x72bd0
// > ??> @ 0x11fc2c8
//
// 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 v2; // s8
float v3; // s9
float v4; // s11
cocos2d::CCEaseElasticOut *v5; // [xsp+38h] [xbp+38h]
v2 = a2;
if ( a2 != 1.0 && a2 != 0.0 )
{
v5 = a1;
v3 = *(float *)&a1[1].m_uID;
v4 = powf(2.0, a2 * -10.0);
v2 = (float)(v4
* sinf(
(float)((float)((float)(v2 - (float)(v3 * 0.25)) * 3.1416)
+ (float)((float)(v2 - (float)(v3 * 0.25)) * 3.1416))
/ *(float *)&v5[1].m_uID))
+ 1.0;
a1 = v5;
}
(*((void (__fastcall **)(cocos2d::CCEaseElasticOut_vtbl *, float))a1[1].copyWithZone + 5))(a1[1].__vftable, v2);
}