//
// cocos2d::CCEaseElasticIn::create from 0x10026c8bc to 0x10026c948 (140 bytes)
//
// 4 xrefs:
// > ChallengesPage::exitNodeAtSlot @ 0x1000328f0
// > DailyLevelPage::exitDailyNode @ 0x1001ba3b0
// > cocos2d::CCEaseElasticOut::reverse @ 0x10026cd3c
// > DungeonBarsSprite::animateOutBars @ 0x100310a80
//
// 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::CCEaseElasticIn *__fastcall cocos2d::CCEaseElasticIn::create(cocos2d::CCActionInterval *a1, float a2)
{
_OWORD *v4; // x19
v4 = operator new(0x70u);
*v4 = 0u;
v4[1] = 0u;
v4[2] = 0u;
v4[3] = 0u;
v4[4] = 0u;
v4[5] = 0u;
v4[6] = 0u;
cocos2d::CCAction::CCAction((__int64)v4);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = &off_1007D3178;
if ( cocos2d::CCActionEase::initWithAction((cocos2d::CCActionEase *)v4, a1) )
{
*((float *)v4 + 26) = a2;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v4);
return nullptr;
}
return (cocos2d::CCEaseElasticIn *)v4;
}