//
// cocos2d::CCEaseElasticIn::create from 0x10030a6c0 to 0x10030a74c (140 bytes)
//
// 4 xrefs:
// > ChallengesPage::exitNodeAtSlot @ 0x1000363f0
// > sub_10024FF9C @ 0x100250008
// > cocos2d::CCEaseElasticOut::reverse @ 0x10030ab40
// > sub_1003AD684 @ 0x1003ad798
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:03:10 +0000
//
_OWORD *__fastcall cocos2d::CCEaseElasticIn::create(__int64 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_10092BEC0;
if ( (unsigned int)cocos2d::CCActionEase::initWithAction((__int64)v4, a1) )
{
*((float *)v4 + 26) = a2;
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}