//
// cocos2d::CCSpeed::create from 0x5b001c to 0x5b0064 (72 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpeed::reverse @ 0x5b007a
//
// 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::CCSpeed *cocos2d::CCSpeed::create(cocos2d::CCActionInterval *a1, float a2)
{
cocos2d::CCSpeed *v4; // r4
v4 = (cocos2d::CCSpeed *)operator new(0x4Cu);
cocos2d::CCAction::CCAction(v4);
v4->__vftable = (cocos2d::CCSpeed_vtbl *)&off_A9ED20;
v4[1].__vftable = nullptr;
v4[1].m_uID = 0;
if ( cocos2d::CCSpeed::initWithAction(v4, a1, a2) )
{
cocos2d::CCObject::autorelease(v4);
return v4;
}
else
{
v4->~CCSpeed_0(v4);
return nullptr;
}
}