//
// cocos2d::CCGrid3D::create from 0xd4f100 to 0xd4f18c (140 bytes)
//
// 1 xrefs:
// > ??> @ 0xa36f0
//
// 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:39 +0000
//
cocos2d::CCGrid3D *__fastcall cocos2d::CCGrid3D::create(
cocos2d::CCGrid3D *this,
const cocos2d::CCSize *a2,
cocos2d::CCTexture2D *a3)
{
char v5; // w20
cocos2d::CCGrid3D *v6; // x19
v5 = (char)a3;
v6 = (cocos2d::CCGrid3D *)operator new(0x98u);
cocos2d::CCGrid3D::CCGrid3D(v6);
if ( (unsigned __int8)cocos2d::CCGridBase::initWithSize(v6, this, a2, v5) )
{
cocos2d::CCObject::autorelease(v6);
return v6;
}
else
{
(*(void (__fastcall **)(cocos2d::CCGrid3D *))(*(_QWORD *)v6 + 16LL))(v6);
return nullptr;
}
}