//
// cocos2d::CCEaseElasticIn::update from 0x7b7eb0 to 0x7b7f38 (136 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:12 +0000
//
int __fastcall cocos2d::CCEaseElasticIn::update(cocos2d::CCEaseElasticIn *this, float a2)
{
float v2; // s15
float v4; // s16
float v5; // s17
float v6; // s18
v2 = a2;
if ( a2 != 0.0 && a2 != 1.0 )
{
v4 = a2 - 1.0;
v5 = *((float *)this + 21) * 0.25;
v6 = powf(2.0, (float)(a2 - 1.0) * 10.0);
v2 = -(float)(v6
* sinf(
(float)((float)((float)(v4 - v5) * 3.1416) + (float)((float)(v4 - v5) * 3.1416))
/ *((float *)this + 21)));
}
return (*(int (__fastcall **)(_DWORD, float))(**((_DWORD **)this + 20) + 20))(
*((_DWORD *)this + 20),
COERCE_FLOAT(LODWORD(v2)));
}