//
// cocos2d::CCAccelAmplitude::initWithAction from 0x10020a870 to 0x10020a8a3 (51 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
bool __fastcall cocos2d::CCAccelAmplitude::initWithAction(
cocos2d::CCAccelAmplitude *a1,
cocos2d::CCAction *a2,
float a3)
{
bool result; // al
bool v4; // bl
result = cocos2d::CCActionInterval::initWithDuration(a1, a3);
if ( result )
{
*((_DWORD *)&a1->m_bFirstTick + 1) = 1065353216;
a1[1].__vftable = (cocos2d::CCAccelAmplitude_vtbl *)a2;
v4 = result;
cocos2d::CCObject::retain(a2);
return v4;
}
return result;
}