//
// cocos2d::CCGridBase::setActive from 0x1004e3930 to 0x1004e3951 (33 bytes)
//
// 3 xrefs:
// > cocos2d::CCGridAction::startWithTarget @ 0x10020a105
// > cocos2d::CCGridAction::startWithTarget @ 0x10020a137
// > cocos2d::CCStopGrid::startWithTarget @ 0x10020ae11
//
// 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
//
void __fastcall cocos2d::CCGridBase::setActive(cocos2d::CCGridBase *a1, bool a2)
{
cocos2d::CCDirector *v2; // rax
a1->m_bActive = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setProjection(v2, v2->m_eProjection);
}
}