//
// cocos2d::CCTurnOffTiles::initWithDuration from 0x18003b9b0 to 0x18003b9ee (62 bytes)
//
// 5 xrefs:
// > cocos2d::CCTurnOffTiles::create @ 0x18003b52b
// > cocos2d::CCTurnOffTiles::create @ 0x18003b638
// > ??> @ 0x1800f0720
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bb014
//
// This function is hookable on this platform (idp: pc, 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 11:21:37 +0000
//
char __fastcall cocos2d::CCTurnOffTiles::initWithDuration(
cocos2d::CCTurnOffTiles *this,
float a2,
const struct cocos2d::CCSize *a3,
int a4)
{
if ( !cocos2d::CCGridAction::initWithDuration(this, a2, a3) )
return 0;
*((_DWORD *)this + 26) = a4;
*((_QWORD *)this + 14) = 0;
return 1;
}