//
// cocos2d::CCRipple3D::create from 0x10027e590 to 0x10027e68c (252 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 *__fastcall cocos2d::CCRipple3D::create(
float a1,
const cocos2d::CCSize *a2,
const cocos2d::CCPoint *a3,
float a4,
unsigned int a5,
float a6)
{
_OWORD *v7; // rbx
v7 = operator new(0x80u);
*v7 = 0;
v7[1] = 0;
v7[2] = 0;
v7[3] = 0;
v7[4] = 0;
v7[5] = 0;
v7[6] = 0;
v7[7] = 0;
cocos2d::CCAction::CCAction(v7);
*((_DWORD *)v7 + 20) = 0;
*(_QWORD *)v7 = off_1008DC310;
sub_10028CF90((char *)v7 + 92);
*(_QWORD *)v7 = off_1008F0CE8;
sub_10028CC30((char *)v7 + 100);
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v7, a1, a2) )
{
sub_10028CC90();
*((float *)v7 + 27) = a4;
*((_DWORD *)v7 + 28) = a5;
*((float *)v7 + 29) = a6;
*((_DWORD *)v7 + 30) = 1065353216;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v7);
return nullptr;
}
return (cocos2d::CCRipple3D *)v7;
}