//
// cocos2d::CCEaseElasticOut::update from 0x10026cc7c to 0x10026cd10 (148 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d3248
//
// 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::CCEaseElasticOut::update(cocos2d::CCEaseElasticOut *a1, float a2)
{
float v2; // s8
float v5; // s11
float v6; // s9
v2 = a2;
if ( a2 != 0.0 && a2 != 1.0 )
{
v5 = *(float *)&a1[1].m_uID;
v6 = exp2f(a2 * -10.0);
v2 = (float)(v6
* sinf(
(float)((float)((float)(v2 + (float)(v5 * -0.25)) * 3.1416)
+ (float)((float)(v2 + (float)(v5 * -0.25)) * 3.1416))
/ v5))
+ 1.0;
}
(*((void (__fastcall **)(cocos2d::CCEaseElasticOut_vtbl *, float))a1[1].copyWithZone + 5))(a1[1].__vftable, v2);
}