//
// cocos2d::CCRipple3D::create from 0x5b4af8 to 0x5b4b5e (102 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::CCRipple3D *cocos2d::CCRipple3D::create(
float a1,
const cocos2d::CCSize *a2,
const cocos2d::CCPoint *a3,
float a4,
unsigned int a5,
float a6)
{
int v10; // r4
v10 = operator new(0x70u);
memset((void *)v10, 0, 0x70u);
cocos2d::CCGrid3DAction::CCGrid3DAction((cocos2d::CCGrid3DAction *)v10);
*(_DWORD *)v10 = &off_A9FB90;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v10 + 88));
if ( cocos2d::CCRipple3D::initWithDuration((cocos2d::CCRipple3D *)v10, a1, a2, a3, a4, a5, a6) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v10);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v10);
return nullptr;
}
return (cocos2d::CCRipple3D *)v10;
}