//
// cocos2d::CCEaseSineIn::create from 0x100515650 to 0x1005156dc (140 bytes)
//
// 2 xrefs:
// > GameToolbox::getEasedAction @ 0x1004f1735
// > cocos2d::CCEaseSineOut::reverse @ 0x100515a32
//
// 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
//
cocos2d::CCEaseSineIn *__fastcall cocos2d::CCEaseSineIn::create(cocos2d::CCActionInterval *a1)
{
cocos2d::CCEaseSineIn *v1; // rbx
v1 = (cocos2d::CCEaseSineIn *)operator new(0x68u);
*(_OWORD *)&v1->__vftable = 0;
*(_OWORD *)&v1->cocos2d::CCActionEase::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;
*(_OWORD *)&v1->m_uIndexInArray = 0;
*(_OWORD *)&v1->m_uOrderOfArrival = 0;
*(_OWORD *)&v1->m_pTarget = 0;
*(_OWORD *)&v1->m_fDuration = 0;
v1[1].__vftable = nullptr;
cocos2d::CCAction::CCAction(v1);
v1->m_fDuration = 0.0;
v1->__vftable = (cocos2d::CCEaseSineIn_vtbl *)off_10095F390;
if ( cocos2d::CCActionInterval::initWithDuration(v1, a1->m_fDuration) )
{
v1[1].__vftable = (cocos2d::CCEaseSineIn_vtbl *)a1;
cocos2d::CCObject::retain(a1);
cocos2d::CCObject::autorelease(v1);
}
else
{
cocos2d::CCObject::release(v1);
return nullptr;
}
return v1;
}