//
// cocos2d::CCEaseElasticIn::update from 0x10030a83c to 0x10030a8c8 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x10092bee8
//
// 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 11:03:10 +0000
//
__int64 __fastcall cocos2d::CCEaseElasticIn::update(__int64 a1, __n128 a2)
{
float v4; // s9
float v5; // s11
float v6; // s8
if ( a2.n128_f32[0] != 0.0 && a2.n128_f32[0] != 1.0 )
{
v4 = *(float *)(a1 + 104);
v5 = a2.n128_f32[0] + -1.0;
v6 = exp2f((float)(a2.n128_f32[0] + -1.0) * 10.0);
a2.n128_f32[0] = sinf(
(float)((float)((float)(v5 + (float)(v4 * -0.25)) * -3.1416)
+ (float)((float)(v5 + (float)(v4 * -0.25)) * -3.1416))
/ v4)
* v6;
}
return (*(__int64 (__fastcall **)(_QWORD, __n128))(**(_QWORD **)(a1 + 96) + 40LL))(*(_QWORD *)(a1 + 96), a2);
}