//
// cocos2d::CCShatteredTiles3D::create from 0xd3a608 to 0xd3a6e0 (216 bytes)
//
// 1 xrefs:
// > ??> @ 0x4e208
//
// This function is hookable on this platform (idp: arm, 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 13:07:25 +0000
//
_DWORD *__fastcall cocos2d::CCShatteredTiles3D::create(
cocos2d::CCShatteredTiles3D *this,
float a2,
const cocos2d::CCSize *a3,
char a4)
{
int v5; // w21
_QWORD *v7; // x0
_DWORD *v8; // x19
v5 = (int)a3;
v7 = (_QWORD *)operator new(0x70u);
*v7 = 0;
v7[1] = 0;
v7[2] = 0;
v7[3] = 0;
v7[4] = 0;
v7[5] = 0;
v7[6] = 0;
v7[7] = 0;
v7[8] = 0;
v7[9] = 0;
v7[10] = 0;
v7[11] = 0;
v7[12] = 0;
v7[13] = 0;
v8 = v7;
cocos2d::CCAction::CCAction((cocos2d::CCAction *)v7);
v8[20] = 0;
*(_QWORD *)v8 = &off_1512180;
cocos2d::CCSize::CCSize((cocos2d::CCSize *)(v8 + 23));
*(_QWORD *)v8 = &off_1514C80;
if ( (unsigned __int8)cocos2d::CCShatteredTiles3D::initWithDuration(
(cocos2d::CCShatteredTiles3D *)v8,
a2,
this,
v5,
a4) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
return v8;
}
else
{
cocos2d::CCObject::release((cocos2d::CCObject *)v8);
return nullptr;
}
}