//
// cocos2d::CCWaves::initWithDuration from 0x18002d160 to 0x18002d1b8 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801afda8
//
// 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
//
char __fastcall cocos2d::CCWaves::initWithDuration(
cocos2d::CCWaves *this,
float a2,
struct cocos2d::CCSize *a3,
int a4,
float a5,
bool a6,
bool a7)
{
if ( !cocos2d::CCGridAction::initWithDuration(this, a2, a3) )
return 0;
*((_BYTE *)this + 117) = a6;
*((_BYTE *)this + 116) = a7;
*((float *)this + 27) = a5;
*((_DWORD *)this + 26) = a4;
*((_DWORD *)this + 28) = 1065353216;
return 1;
}