//
// cocos2d::CCWaves::initWithDuration from 0xabc910 to 0xabc970 (96 bytes)
//
// 4 xrefs:
// > cocos2d::CCWaves::create @ 0xabca18
// > cocos2d::CCWaves::copyWithZone @ 0xabcaa8
// > cocos2d::CCWaves::copyWithZone @ 0xabcb5c
// > ??> @ 0x61710
//
// 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)
{
bool result; // w0
result = cocos2d::CCGridAction::initWithDuration(a1, a2, a3);
if ( result )
{
HIDWORD(a1[1].__vftable) = a4;
BYTE1(a1[1].cocos2d::CCGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag) = a6;
LOBYTE(a1[1].cocos2d::CCGrid3DAction::cocos2d::CCGridAction::cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag) = a7;
*(float *)&a1[1].m_nLuaID = 1.0;
*(float *)&a1[1].m_uID = a5;
}
return result;
}