//
// cocos2d::CCGridBase::create_1 from 0x1004de4f0 to 0x1004de57f (143 bytes)
//
// 0 xrefs:
//
// 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 12:31:17 +0000
//
_OWORD *__fastcall cocos2d::CCGridBase::create_1(__int64 a1)
{
_OWORD *v1; // rbx
v1 = operator new(0x78u);
*v1 = 0;
v1[1] = 0;
v1[2] = 0;
v1[3] = 0;
v1[4] = 0;
v1[5] = 0;
v1[6] = 0;
*((_QWORD *)v1 + 14) = 0;
cocos2d::CCObject::CCObject((__int64)v1);
*(_QWORD *)v1 = off_100B61130;
sub_100278600((_QWORD *)v1 + 8);
sub_1002782A0((_QWORD *)v1 + 10);
if ( (unsigned __int8)cocos2d::CCGridBase::initWithSize_1(v1, a1) )
{
cocos2d::CCObject::autorelease((__int64)v1);
}
else
{
cocos2d::CCObject::release(v1);
return nullptr;
}
return v1;
}