//
// cocos2d::CCGridBase::setActive from 0x5c72b4 to 0x5c72ce (26 bytes)
//
// 3 xrefs:
// > cocos2d::CCStopGrid::startWithTarget @ 0x5b2f8a
// > cocos2d::CCGridAction::startWithTarget @ 0x5b2fda
// > cocos2d::CCGridAction::startWithTarget @ 0x5b3014
//
// 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 cocos2d::CCGridBase::setActive(cocos2d::CCGridBase *a1, bool a2)
{
cocos2d::CCDirector *v2; // r0
a1->m_bActive = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setProjection(v2, v2->m_eProjection);
}
}