//
// cocos2d::CCLiquid::initWithDuration from 0xd2e400 to 0xd2e448 (72 bytes)
//
// 4 xrefs:
// > cocos2d::CCLiquid::create @ 0xd2e4d8
// > cocos2d::CCLiquid::copyWithZone @ 0xd2e550
// > cocos2d::CCLiquid::copyWithZone @ 0xd2e5f8
// > ??> @ 0xd3e88
//
// 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:18 +0000
//
float __fastcall cocos2d::CCLiquid::initWithDuration(
cocos2d::CCLiquid *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;
}