//
// cocos2d::CCWaves3D::create from 0x18002d3f0 to 0x18002d4d5 (229 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9e44
//
// 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
//
struct cocos2d::CCWaves3D *__fastcall cocos2d::CCWaves3D::create(
float a1,
const struct cocos2d::CCSize *a2,
int a3,
float a4)
{
__int64 v6; // rbx
v6 = sub_1800E4AC0(0x78u);
if ( v6 )
{
*(_OWORD *)v6 = 0;
*(_OWORD *)(v6 + 16) = 0;
*(_OWORD *)(v6 + 32) = 0;
*(_OWORD *)(v6 + 48) = 0;
*(_OWORD *)(v6 + 64) = 0;
*(_OWORD *)(v6 + 80) = 0;
*(_OWORD *)(v6 + 96) = 0;
*(_QWORD *)(v6 + 112) = 0;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v6);
*(_DWORD *)(v6 + 80) = 0;
*(_QWORD *)v6 = &cocos2d::CCGridAction::`vftable';
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v6 + 96));
*(_QWORD *)v6 = &cocos2d::CCWaves3D::`vftable';
}
else
{
v6 = 0;
}
if ( !v6 )
return (struct cocos2d::CCWaves3D *)v6;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v6, a1, a2) )
{
*(_DWORD *)(v6 + 104) = a3;
*(float *)(v6 + 108) = a4;
*(_DWORD *)(v6 + 112) = 1065353216;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
return (struct cocos2d::CCWaves3D *)v6;
}
cocos2d::CCObject::release((cocos2d::CCObject *)v6);
return nullptr;
}