//
// cocos2d::CCWaves::initWithDuration from 0x18002d820 to 0x18002d878 (88 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9ebc
//
// 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
//
char __fastcall cocos2d::CCWaves::initWithDuration(
cocos2d::CCWaves *this,
float a2,
const 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;
}