//
// cocos2d::CCShatteredTiles3D::create from 0x1007b54c0 to 0x1007b557f (191 bytes)
//
// 0 xrefs:
//
// 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::CCShatteredTiles3D *__fastcall cocos2d::CCShatteredTiles3D::create(
float a1,
const cocos2d::CCSize *a2,
int a3,
bool a4)
{
_OWORD *v5; // rbx
v5 = operator new(0x70u);
*v5 = 0;
v5[1] = 0;
v5[2] = 0;
v5[3] = 0;
v5[4] = 0;
v5[5] = 0;
v5[6] = 0;
cocos2d::CCAction::CCAction((__int64)v5);
*((_DWORD *)v5 + 20) = 0;
*(_QWORD *)v5 = off_1008DC310;
sub_10028CF90((_OWORD *)((char *)v5 + 92));
*(_QWORD *)v5 = off_1009936C8;
if ( cocos2d::CCGridAction::initWithDuration((cocos2d::CCGridAction *)v5, a1, a2) )
{
*((_BYTE *)v5 + 104) = 0;
*((_DWORD *)v5 + 25) = a3;
*((_BYTE *)v5 + 105) = a4;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v5);
return nullptr;
}
return (cocos2d::CCShatteredTiles3D *)v5;
}