//
// cocos2d::CCEaseBounceInOut::update from 0xd2ade4 to 0xd2ae58 (116 bytes)
//
// 2 xrefs:
// > ??> @ 0x50218
// > ??> @ 0x1511ea8
//
// 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:16 +0000
//
__int64 __fastcall cocos2d::CCEaseBounceInOut::update(cocos2d::CCEaseBounceInOut *this, float a2)
{
long double v3; // q0
if ( a2 < 0.5 )
*(float *)&v3 = (float)(1.0 - cocos2d::CCEaseBounce::bounceTime(this, 1.0 - (float)(a2 * 2.0))) * 0.5;
else
*(float *)&v3 = (float)(cocos2d::CCEaseBounce::bounceTime(this, (float)(a2 * 2.0) + -1.0) * 0.5) + 0.5;
return (*(__int64 (__fastcall **)(_QWORD, long double))(**((_QWORD **)this + 12) + 40LL))(*((_QWORD *)this + 12), v3);
}