//
// cocos2d::CCDeccelAmplitude::update from 0xd2b914 to 0xd2b974 (96 bytes)
//
// 2 xrefs:
// > ??> @ 0xbf758
// > ??> @ 0x15124a8
//
// 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:17 +0000
//
__int64 __fastcall cocos2d::CCDeccelAmplitude::update(cocos2d::CCDeccelAmplitude *this, float a2)
{
float v4; // s0
cocos2d::CCActionInterval *v6; // [xsp+28h] [xbp+28h]
v6 = *((cocos2d::CCActionInterval **)this + 12);
v4 = powf(1.0 - a2, *((float *)this + 23));
cocos2d::CCActionInterval::setAmplitudeRate(v6, v4);
return (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 12) + 40LL))(*((_QWORD *)this + 12), a2);
}