//
// cocos2d::CCDeccelAmplitude::initWithAction from 0xd2bf7c to 0xd2bfc8 (76 bytes)
//
// 2 xrefs:
// > cocos2d::CCDeccelAmplitude::create @ 0xd2c02c
// > ??> @ 0x50c80
//
// 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::initWithAction(
cocos2d::CCDeccelAmplitude *this,
cocos2d::CCAction *a2,
float a3)
{
unsigned __int8 v4; // w0
unsigned int v5; // w19
v4 = cocos2d::CCActionInterval::initWithDuration(this, a3);
v5 = v4;
if ( v4 )
{
*((_QWORD *)this + 12) = a2;
*((float *)this + 23) = 1.0;
cocos2d::CCObject::retain(a2);
}
return v5;
}