//
// cocos2d::CCTurnOffTiles::create from 0xac93b0 to 0xac947c (204 bytes)
//
// 1 xrefs:
// > ??> @ 0xc9000
//
// 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
//
cocos2d::CCTurnOffTiles *cocos2d::CCTurnOffTiles::create(float a1, const cocos2d::CCSize *a2)
{
unsigned int v2; // w1
__int64 v4; // x0
__int64 v5; // x19
unsigned int v7; // [xsp+28h] [xbp+28h]
v7 = v2;
v4 = operator new(0x78u);
*(_QWORD *)v4 = 0;
*(_QWORD *)(v4 + 8) = 0;
*(_QWORD *)(v4 + 16) = 0;
*(_QWORD *)(v4 + 24) = 0;
*(_QWORD *)(v4 + 32) = 0;
*(_QWORD *)(v4 + 40) = 0;
*(_QWORD *)(v4 + 48) = 0;
*(_QWORD *)(v4 + 56) = 0;
*(_QWORD *)(v4 + 64) = 0;
*(_QWORD *)(v4 + 72) = 0;
*(_QWORD *)(v4 + 80) = 0;
*(_QWORD *)(v4 + 88) = 0;
*(_QWORD *)(v4 + 96) = 0;
*(_QWORD *)(v4 + 104) = 0;
*(_QWORD *)(v4 + 112) = 0;
v5 = v4;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v4);
*(_DWORD *)(v5 + 80) = 0;
*(_QWORD *)v5 = &off_11FC870;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v5 + 92));
*(_QWORD *)v5 = &off_11FF770;
if ( cocos2d::CCTurnOffTiles::initWithDuration((cocos2d::CCTurnOffTiles *)v5, a1, a2, v7) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return (cocos2d::CCTurnOffTiles *)v5;
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v5);
return nullptr;
}
}