//
// cocos2d::CCGridBase::CCGridBase from 0x1800c5f60 to 0x1800c602b (203 bytes)
//
// 4 xrefs:
// > cocos2d::CCGrid3D::CCGrid3D @ 0x1800c5e10
// > cocos2d::CCTiledGrid3D::CCTiledGrid3D @ 0x1800ca390
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9900
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
cocos2d::CCGridBase *__fastcall cocos2d::CCGridBase::CCGridBase(
cocos2d::CCGridBase *this,
const struct cocos2d::CCGridBase *a2)
{
this->__vftable = (cocos2d::CCGridBase_vtbl *)&cocos2d::CCObject::`vftable';
this->m_uID = a2->m_uID;
this->m_nLuaID = a2->m_nLuaID;
this->m_nTag = a2->m_nTag;
this->m_uReference = a2->m_uReference;
this->m_uAutoReleaseCount = a2->m_uAutoReleaseCount;
this->m_eObjType = a2->m_eObjType;
this->m_uIndexInArray = a2->m_uIndexInArray;
this->m_uUnknown = a2->m_uUnknown;
this->m_unknown2 = a2->m_unknown2;
this->m_nZOrder = a2->m_nZOrder;
this->m_uOrderOfArrival = a2->m_uOrderOfArrival;
this->m_unknown5 = a2->m_unknown5;
this->__vftable = (cocos2d::CCGridBase_vtbl *)&cocos2d::CCGridBase::`vftable';
this->m_bActive = a2->m_bActive;
this->m_nReuseGrid = a2->m_nReuseGrid;
cocos2d::cc_timeval::operator=(&this->m_sGridSize, &a2->m_sGridSize);
this->m_pTexture = a2->m_pTexture;
cocos2d::cc_timeval::operator=(&this->m_obStep, &a2->m_obStep);
this->m_pGrabber = a2->m_pGrabber;
this->m_bIsTextureFlipped = a2->m_bIsTextureFlipped;
this->m_pShaderProgram = a2->m_pShaderProgram;
this->m_directorProjection = a2->m_directorProjection;
return this;
}