//
// cocos2d::CCEaseRateAction::initWithAction from 0x180029a90 to 0x180029aeb (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af7c0
//
// 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
//
// Alternative name is '?initWithAction@CCEaseElastic@cocos2d@@QEAA_NPEAVCCActionInterval@2@M@Z'
char __fastcall cocos2d::CCEaseRateAction::initWithAction(
cocos2d::CCEaseRateAction *this,
struct cocos2d::CCActionInterval *a2,
float a3)
{
if ( !cocos2d::CCActionInterval::initWithDuration(this, a2->m_fDuration) )
return 0;
*((_QWORD *)this + 12) = a2;
cocos2d::CCObject::retain(a2);
*((float *)this + 26) = a3;
return 1;
}