//
// cocos2d::CCShatteredTiles3D::create from 0x10089a9e0 to 0x10089aa9f (191 bytes)
//
// 0 xrefs:
//
// 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 12:37:08 +0000
//
_OWORD *__fastcall cocos2d::CCShatteredTiles3D::create(__int64 a1, int a2, char a3)
{
_OWORD *v4; // rbx
v4 = operator new(0x70u);
*v4 = 0;
v4[1] = 0;
v4[2] = 0;
v4[3] = 0;
v4[4] = 0;
v4[5] = 0;
v4[6] = 0;
cocos2d::CCAction::CCAction((__int64)v4);
*((_DWORD *)v4 + 20) = 0;
*(_QWORD *)v4 = off_100AE05B0;
sub_100278600((_OWORD *)((char *)v4 + 92));
*(_QWORD *)v4 = off_100BA8F98;
if ( (unsigned __int8)cocos2d::CCGridAction::initWithDuration((__int64)v4, a1) )
{
*((_BYTE *)v4 + 104) = 0;
*((_DWORD *)v4 + 25) = a2;
*((_BYTE *)v4 + 105) = a3;
cocos2d::CCObject::autorelease((__int64)v4);
}
else
{
cocos2d::CCObject::release(v4);
return nullptr;
}
return v4;
}