//
// cocos2d::CCAccelAmplitude::update from 0x7b98ae to 0x7b98d4 (38 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:14 +0000
//
int __fastcall cocos2d::CCAccelAmplitude::update(cocos2d::CCAccelAmplitude *this, float x)
{
cocos2d::CCActionInterval *v3; // r6
float v5; // r0
v3 = *((cocos2d::CCActionInterval **)this + 21);
v5 = powf(x, *((float *)this + 20));
cocos2d::CCActionInterval::setAmplitudeRate(v3, v5);
return (*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 21) + 20))(*((_DWORD *)this + 21), LODWORD(x));
}