//
// cocos2d::CCGrid3D::create from 0xd4f18c to 0xd4f1fc (112 bytes)
//
// 2 xrefs:
// > cocos2d::CCGrid3DAction::getGrid @ 0xd2b5ac
// > ??> @ 0xabaf0
//
// 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::CCGrid3D *v2; // x19
v2 = (cocos2d::CCGrid3D *)operator new(0x98u);
cocos2d::CCGrid3D::CCGrid3D(v2);
if ( (unsigned __int8)cocos2d::CCGridBase::initWithSize(v2, this) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCGrid3D *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
}