//
// cocos2d::CCTiledGrid3D::create from 0x180023450 to 0x1800234dc (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af040
//
// 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
//
struct cocos2d::CCTiledGrid3D *__fastcall cocos2d::CCTiledGrid3D::create(
const struct cocos2d::CCSize *a1,
struct cocos2d::CCTexture2D *a2,
bool a3)
{
cocos2d::CCTiledGrid3D *v6; // rax
cocos2d::CCTiledGrid3D *v7; // rbx
v6 = (cocos2d::CCTiledGrid3D *)operator new(0x98u);
if ( v6 )
v7 = cocos2d::CCTiledGrid3D::CCTiledGrid3D(v6);
else
v7 = nullptr;
if ( !v7 )
return v7;
if ( cocos2d::CCGridBase::initWithSize(v7, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v7);
return v7;
}
((void (__fastcall *)(cocos2d::CCTiledGrid3D *, __int64))v7->~CCTiledGrid3D)(v7, 1);
return nullptr;
}