//
// cocos2d::CCEaseElastic::create from 0x100516d30 to 0x100516dcf (159 bytes)
//
// 1 xrefs:
// > cocos2d::CCEaseElastic::create_1 @ 0x100516d1d
//
// This function is hookable on this platform (idp: pc, 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 12:31:39 +0000
//
_OWORD *__fastcall cocos2d::CCEaseElastic::create(__int64 a1, float a2)
{
_OWORD *v2; // rbx
v2 = operator new(0x70u);
*v2 = 0;
v2[1] = 0;
v2[2] = 0;
v2[3] = 0;
v2[4] = 0;
v2[5] = 0;
v2[6] = 0;
cocos2d::CCAction::CCAction(v2);
*((_DWORD *)v2 + 20) = 0;
*(_QWORD *)v2 = off_100B6C0E0;
if ( cocos2d::CCActionInterval::initWithDuration((__int64)v2, (__m128)*(unsigned int *)(a1 + 80)) )
{
*((_QWORD *)v2 + 12) = a1;
cocos2d::CCObject::retain(a1);
*((float *)v2 + 26) = a2;
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
cocos2d::CCObject::release(v2);
return nullptr;
}
return v2;
}