//
// cocos2d::CCEaseRateAction::initWithAction from 0x18002a1a0 to 0x18002a1fb (91 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b98d4
//
// This function is hookable on this platform (idp: pc, 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 11:21:31 +0000
//
// 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, *((float *)a2 + 20)) )
return 0;
*((_QWORD *)this + 12) = a2;
cocos2d::CCObject::retain(a2);
*((float *)this + 26) = a3;
return 1;
}