//
// cocos2d::CCRipple3D::create from 0x18002d0d0 to 0x18002d1e1 (273 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9e20
//
// 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:32 +0000
//
// Hidden C++ exception states: #wind=3
struct cocos2d::CCRipple3D *__fastcall cocos2d::CCRipple3D::create(
float a1,
const struct cocos2d::CCSize *a2,
const struct cocos2d::CCPoint *a3,
float a4,
unsigned int a5,
float a6)
{
cocos2d::CCAction *v8; // rax
cocos2d::CCAction *v9; // rbx
v8 = (cocos2d::CCAction *)sub_1800E4AC0(0x80u);
v9 = v8;
if ( v8 )
{
*(_OWORD *)v8 = 0;
*((_OWORD *)v8 + 1) = 0;
*((_OWORD *)v8 + 2) = 0;
*((_OWORD *)v8 + 3) = 0;
*((_OWORD *)v8 + 4) = 0;
*((_OWORD *)v8 + 5) = 0;
*((_OWORD *)v8 + 6) = 0;
*((_OWORD *)v8 + 7) = 0;
cocos2d::CCAction::CCAction(v8);
*((_DWORD *)v9 + 20) = 0;
*(_QWORD *)v9 = &cocos2d::CCGridAction::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCAction *)((char *)v9 + 96));
*(_QWORD *)v9 = &cocos2d::CCRipple3D::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCAction *)((char *)v9 + 104));
}
else
{
v9 = nullptr;
}
if ( !v9 )
return v9;
if ( cocos2d::CCGridAction::initWithDuration(v9, a1, a2) )
{
cocos2d::CCSize::operator=((_DWORD *)v9 + 26, a3);
*((float *)v9 + 28) = a4;
*((_DWORD *)v9 + 29) = a5;
*((float *)v9 + 30) = a6;
*((_DWORD *)v9 + 31) = 1065353216;
cocos2d::CCObject::autorelease(v9);
return v9;
}
cocos2d::CCObject::release(v9);
return nullptr;
}