//
// cocos2d::CCSpeed::create from 0x180024720 to 0x1800247c3 (163 bytes)
//
// 3 xrefs:
// > cocos2d::CCSpeed::reverse @ 0x1800249ea
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9214
//
// 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:29 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCSpeed *__fastcall cocos2d::CCSpeed::create(struct cocos2d::CCActionInterval *this, float a2)
{
cocos2d::CCObject *v3; // rax
cocos2d::CCObject *v4; // rbx
v3 = (cocos2d::CCObject *)sub_1800E4AC0(0x60u);
v4 = v3;
if ( v3 )
{
cocos2d::CCObject::CCObject(v3);
*((_QWORD *)v4 + 7) = 0;
*((_QWORD *)v4 + 8) = 0;
*((_DWORD *)v4 + 18) = -1;
*(_QWORD *)((char *)v4 + 76) = 1065353216;
*(_QWORD *)v4 = &cocos2d::CCSpeed::`vftable';
*((_QWORD *)v4 + 11) = 0;
}
else
{
v4 = nullptr;
}
if ( !v4 )
return nullptr;
cocos2d::CCObject::retain(this);
*((_QWORD *)v4 + 11) = this;
*((float *)v4 + 20) = a2;
cocos2d::CCObject::autorelease(v4);
return v4;
}