//
// cocos2d::CCTiledGrid3D::create from 0x180023990 to 0x180023a22 (146 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b9124
//
// 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,
struct cocos2d::CCTexture2D *a2,
bool a3)
{
cocos2d::CCTiledGrid3D *v6; // rax
cocos2d::CCObject *v7; // rbx
v6 = (cocos2d::CCTiledGrid3D *)sub_1800E4AC0(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::CCObject *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1);
return nullptr;
}