//
// cocos2d::CCTurnOffTiles::initWithDuration from 0x7c0cc0 to 0x7c0cd4 (20 bytes)
//
// 2 xrefs:
// > cocos2d::CCTurnOffTiles::create @ 0x7c277a
// > cocos2d::CCTurnOffTiles::create @ 0x7c27c8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:20 +0000
//
int __fastcall cocos2d::CCTurnOffTiles::initWithDuration(
cocos2d::CCTurnOffTiles *this,
float a2,
const cocos2d::CCSize *a3,
unsigned int a4)
{
int result; // r0
result = cocos2d::CCGridAction::initWithDuration(this, a2, a3);
if ( result )
{
*((_DWORD *)this + 22) = a4;
*((_DWORD *)this + 24) = 0;
}
return result;
}