//
// cocos2d::CCActionEase::create from 0x1800289d0 to 0x180028a7e (174 bytes)
//
// 3 xrefs:
// > cocos2d::CCActionEase::reverse @ 0x180029b05
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af6ac
//
// 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
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCActionEase *__fastcall cocos2d::CCActionEase::create(struct cocos2d::CCActionInterval *this)
{
cocos2d::CCActionInterval *v2; // rbx
v2 = (cocos2d::CCActionInterval *)operator new(0x68u);
if ( v2 )
{
*(_OWORD *)&v2->__vftable = 0;
*(_OWORD *)&v2->cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v2->m_uIndexInArray = 0;
*(_OWORD *)&v2->m_uOrderOfArrival = 0;
*(_OWORD *)&v2->m_pTarget = 0;
*(_OWORD *)&v2->m_fDuration = 0;
v2[1].__vftable = nullptr;
cocos2d::CCAction::CCAction(v2);
v2->m_fDuration = 0.0;
v2->__vftable = (cocos2d::CCActionInterval_vtbl *)&cocos2d::CCActionEase::`vftable';
}
else
{
v2 = nullptr;
}
if ( !v2 )
return (struct cocos2d::CCActionEase *)v2;
if ( cocos2d::CCActionInterval::initWithDuration(v2, this->m_fDuration) )
{
v2[1].__vftable = (cocos2d::CCActionInterval_vtbl *)this;
cocos2d::CCObject::retain(this);
cocos2d::CCObject::autorelease(v2);
return (struct cocos2d::CCActionEase *)v2;
}
cocos2d::CCObject::release(v2);
return nullptr;
}