//
// cocos2d::CCTurnOffTiles::initWithDuration from 0x18003b270 to 0x18003b2ae (62 bytes)
//
// 5 xrefs:
// > cocos2d::CCTurnOffTiles::create @ 0x18003adcb
// > cocos2d::CCTurnOffTiles::create @ 0x18003aef8
// > ??> @ 0x1800ea6c0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b0ee8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
char __fastcall cocos2d::CCTurnOffTiles::initWithDuration(
cocos2d::CCTurnOffTiles *this,
float a2,
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;
}