//
// cocos2d::CCEaseElasticIn::update from 0xd289d8 to 0xd28a70 (152 bytes)
//
// 2 xrefs:
// > ??> @ 0xc37a8
// > ??> @ 0x1511b48
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:15 +0000
//
__int64 __fastcall cocos2d::CCEaseElasticIn::update(cocos2d::CCEaseElasticIn *this, long double a2)
{
float v2; // s8
float v3; // s9
float v4; // s10
float *v6; // [xsp+38h] [xbp+38h]
if ( *(float *)&a2 != 1.0 && *(float *)&a2 != 0.0 )
{
v2 = *(float *)&a2 - 1.0;
v6 = (float *)this;
v3 = *((float *)this + 26);
v4 = powf(2.0, (float)(*(float *)&a2 - 1.0) * 10.0);
*(float *)&a2 = sinf(
(float)((float)((float)(v2 - (float)(v3 * 0.25)) * 3.1416)
+ (float)((float)(v2 - (float)(v3 * 0.25)) * 3.1416))
/ v6[26]);
this = (cocos2d::CCEaseElasticIn *)v6;
*(float *)&a2 = (float)-v4 * *(float *)&a2;
}
return (*(__int64 (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 12) + 40LL))(*((_QWORD *)this + 12), a2);
}