//
// cocos2d::CCEaseElastic::create from 0x180029670 to 0x180029733 (195 bytes)
//
// 3 xrefs:
// > cocos2d::CCEaseElastic::create @ 0x180029668
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9820
//
// 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 11:21:31 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCEaseElastic *__fastcall cocos2d::CCEaseElastic::create(
struct cocos2d::CCActionInterval *this,
float a2)
{
cocos2d::CCAction *v3; // rax
cocos2d::CCAction *v4; // rbx
v3 = (cocos2d::CCAction *)sub_1800E4AC0(0x70u);
v4 = v3;
if ( v3 )
{
*(_OWORD *)v3 = 0;
*((_OWORD *)v3 + 1) = 0;
*((_OWORD *)v3 + 2) = 0;
*((_OWORD *)v3 + 3) = 0;
*((_OWORD *)v3 + 4) = 0;
*((_OWORD *)v3 + 5) = 0;
*((_OWORD *)v3 + 6) = 0;
cocos2d::CCAction::CCAction(v3);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = &cocos2d::CCEaseElastic::`vftable';
}
else
{
v4 = nullptr;
}
if ( !v4 )
return v4;
if ( cocos2d::CCActionInterval::initWithDuration(v4, *((float *)this + 20)) )
{
*((_QWORD *)v4 + 12) = this;
cocos2d::CCObject::retain(this);
*((float *)v4 + 26) = a2;
cocos2d::CCObject::autorelease(v4);
return v4;
}
cocos2d::CCObject::release(v4);
return nullptr;
}