//
// cocos2d::CCWavesTiles3D::initWithDuration from 0xd3880c to 0xd38854 (72 bytes)
//
// 3 xrefs:
// > cocos2d::CCWavesTiles3D::create @ 0xd3b6a8
// > ??> @ 0xa4d10
// > ??> @ 0x15151a8
//
// This function is hookable on this platform (idp: arm, 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 13:07:24 +0000
//
float __fastcall cocos2d::CCWavesTiles3D::initWithDuration(
cocos2d::CCWavesTiles3D *this,
float a2,
const cocos2d::CCSize *a3,
int a4,
float a5)
{
float result; // s0
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration(this, a2, a3) )
{
*((_DWORD *)this + 25) = a4;
*((float *)this + 27) = 1.0;
*((float *)this + 26) = a5;
return 1.0;
}
return result;
}