//
// cocos2d::CCEaseElastic::initWithAction from 0x100515d20 to 0x100515d69 (73 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::CCEaseElastic::initWithAction(
cocos2d::CCEaseElastic *a1,
cocos2d::CCActionInterval *a2,
float a3)
{
bool result; // al
bool v4; // r14
result = cocos2d::CCActionInterval::initWithDuration(a1, a2->m_fDuration);
if ( result )
{
a1[1].__vftable = (cocos2d::CCEaseElastic_vtbl *)a2;
v4 = result;
cocos2d::CCObject::retain(a2);
*(float *)&a1[1].m_uID = a3;
return v4;
}
return result;
}