//
// cocos2d::CCWaves::initWithDuration from 0x5b4dac to 0x5b4dd6 (42 bytes)
//
// 2 xrefs:
// > cocos2d::CCWaves::create @ 0x5b4e1c
// > cocos2d::CCWaves::copyWithZone @ 0x5b4ea4
//
// 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
//
bool cocos2d::CCWaves::initWithDuration(
cocos2d::CCWaves *a1,
float a2,
const cocos2d::CCSize *a3,
unsigned int a4,
float a5,
bool a6,
bool a7)
{
_BOOL4 v9; // r0
v9 = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( v9 )
{
a1[1].m_nLuaID = a4;
*(float *)&a1[1].cocos2d::CCGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = a5;
a1[1].m_uReference = 1065353216;
BYTE1(a1[1].m_uAutoReleaseCount) = a6;
LOBYTE(a1[1].m_uAutoReleaseCount) = a7;
}
return v9;
}