//
// cocos2d::CCEaseElasticIn::update from 0x10026ca38 to 0x10026cac4 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d31a0
//
// 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::CCEaseElasticIn::update(cocos2d::CCEaseElasticIn *a1, float a2)
{
float v4; // s9
float v5; // s11
float v6; // s8
if ( a2 != 0.0 && a2 != 1.0 )
{
v4 = *(float *)&a1[1].m_uID;
v5 = a2 + -1.0;
v6 = exp2f((float)(a2 + -1.0) * 10.0);
a2 = sinf(
(float)((float)((float)(v5 + (float)(v4 * -0.25)) * -3.1416)
+ (float)((float)(v5 + (float)(v4 * -0.25)) * -3.1416))
/ v4)
* v6;
}
(*((void (__fastcall **)(cocos2d::CCEaseElasticIn_vtbl *, __n128))a1[1].copyWithZone + 5))(
a1[1].__vftable,
*(__n128 *)&a2);
}