//
// cocos2d::CCWaves::initWithDuration from 0x7bb5f4 to 0x7bb61e (42 bytes)
//
// 2 xrefs:
// > cocos2d::CCWaves::create @ 0x7bb664
// > cocos2d::CCWaves::copyWithZone @ 0x7bb6ec
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:15 +0000
//
int __fastcall cocos2d::CCWaves::initWithDuration(
cocos2d::CCWaves *this,
float a2,
const cocos2d::CCSize *a3,
unsigned int a4,
float a5,
bool a6,
bool a7)
{
int result; // r0
result = cocos2d::CCGridAction::initWithDuration(this, a2, a3);
if ( result )
{
*((_DWORD *)this + 22) = a4;
*((float *)this + 23) = a5;
*((_DWORD *)this + 24) = 1065353216;
*((_BYTE *)this + 101) = a6;
*((_BYTE *)this + 100) = a7;
}
return result;
}