//
// cocos2d::CCEaseIn::create from 0x1800294e0 to 0x1800295a3 (195 bytes)
//
// 3 xrefs:
// > cocos2d::CCEaseIn::reverse @ 0x180029d12
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af760
//
// 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
//
struct cocos2d::CCEaseIn *__fastcall cocos2d::CCEaseIn::create(struct cocos2d::CCActionInterval *this, float a2)
{
_OWORD *v3; // rax
_OWORD *v4; // rbx
v3 = operator new(0x70u);
v4 = v3;
if ( v3 )
{
*v3 = 0;
v3[1] = 0;
v3[2] = 0;
v3[3] = 0;
v3[4] = 0;
v3[5] = 0;
v3[6] = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v3);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = &cocos2d::CCEaseIn::`vftable';
}
else
{
v4 = nullptr;
}
if ( !v4 )
return (struct cocos2d::CCEaseIn *)v4;
if ( cocos2d::CCActionInterval::initWithDuration((cocos2d::CCActionInterval *)v4, this->m_fDuration) )
{
*((_QWORD *)v4 + 12) = this;
cocos2d::CCObject::retain(this);
*((float *)v4 + 26) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return (struct cocos2d::CCEaseIn *)v4;
}
cocos2d::CCObject::release((cocos2d::CCObject *)v4);
return nullptr;
}