//
// cocos2d::CCWavesTiles3D::create from 0x10089c820 to 0x10089c8e3 (195 bytes)
//
// 0 xrefs:
//
// 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 12:37:09 +0000
//
_OWORD *__fastcall cocos2d::CCWavesTiles3D::create(__int64 a1, int a2, double a3, float a4)
{
_OWORD *v4; // rbx
v4 = operator new(0x70u);
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
cocos2d::CCAction::CCAction((__int64)v4);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = off_100AE05B0;
sub_100278600((_OWORD *)((char *)v4 + 92));
*(_QWORD *)v4 = off_100BA9380;
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration((__int64)v4, a1) )
{
*((_DWORD *)v4 + 25) = a2;
*((float *)v4 + 26) = a4;
*((_DWORD *)v4 + 27) = 1065353216;
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}