//
// cocos2d::CCGrid3D::create from 0x7ce79a to 0x7ce7cc (50 bytes)
//
// 1 xrefs:
// > cocos2d::CCGrid3DAction::getGrid @ 0x7b986a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:33 +0000
//
cocos2d::CCGrid3D *__fastcall cocos2d::CCGrid3D::create(cocos2d::CCGrid3D *this, const cocos2d::CCSize *a2)
{
cocos2d::CCGrid3D *v3; // r4
int v4; // r3
cocos2d::CCGrid3D *v5; // r0
v3 = (cocos2d::CCGrid3D *)operator new(0x70u);
cocos2d::CCGrid3D::CCGrid3D(v3);
if ( cocos2d::CCGridBase::initWithSize(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(cocos2d::CCGrid3D *))(v4 + 8))(v5);
}
return v3;
}