//
// cocos2d::CCWaves::create from 0x5b4dd8 to 0x5b4e3a (98 bytes)
//
// 0 xrefs:
//
// 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::CCWaves *cocos2d::CCWaves::create(
float a1,
const cocos2d::CCSize *a2,
unsigned int a3,
float a4,
bool a5,
bool a6)
{
cocos2d::CCWaves *v10; // r4
v10 = (cocos2d::CCWaves *)operator new(0x68u);
memset(v10, 0, 0x68u);
cocos2d::CCGrid3DAction::CCGrid3DAction(v10);
v10->__vftable = (cocos2d::CCWaves_vtbl *)&off_A9FC80;
if ( cocos2d::CCWaves::initWithDuration(v10, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease(v10);
}
else
{
cocos2d::CCObject::release(v10);
return nullptr;
}
return v10;
}