//
// cocos2d::CCTurnOffTiles::initWithDuration from 0xd387d4 to 0xd3880c (56 bytes)
//
// 4 xrefs:
// > cocos2d::CCTurnOffTiles::create @ 0xd3b288
// > cocos2d::CCTurnOffTiles::create @ 0xd3b354
// > ??> @ 0x8e390
// > ??> @ 0x1515108
//
// 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
//
__int64 __fastcall cocos2d::CCTurnOffTiles::initWithDuration(
cocos2d::CCTurnOffTiles *this,
float a2,
const cocos2d::CCSize *a3,
int a4)
{
__int64 result; // x0
result = cocos2d::CCGridAction::initWithDuration(this, a2, a3);
if ( (_BYTE)result )
{
*((_DWORD *)this + 25) = a4;
*((_QWORD *)this + 14) = 0;
}
return result;
}