//
// cocos2d::CCTiledGrid3D::create from 0x180023910 to 0x180023989 (121 bytes)
//
// 3 xrefs:
// > cocos2d::CCTiledGrid3DAction::getGrid @ 0x18002b8a4
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9118
//
// 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 11:21:29 +0000
//
struct cocos2d::CCTiledGrid3D *__fastcall cocos2d::CCTiledGrid3D::create(const struct cocos2d::CCSize *a1)
{
cocos2d::CCTiledGrid3D *v2; // rax
cocos2d::CCObject *v3; // rbx
v2 = (cocos2d::CCTiledGrid3D *)sub_1800E4AC0(0x98u);
if ( v2 )
v3 = cocos2d::CCTiledGrid3D::CCTiledGrid3D(v2);
else
v3 = nullptr;
if ( !v3 )
return v3;
if ( cocos2d::CCGridBase::initWithSize(v3, a1) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);
return nullptr;
}