//
// cocos2d::CCGridBase::setActive from 0xadc1fc to 0xadc228 (44 bytes)
//
// 4 xrefs:
// > cocos2d::CCGridAction::startWithTarget @ 0xab9770
// > cocos2d::CCGridAction::startWithTarget @ 0xab97a8
// > cocos2d::CCStopGrid::startWithTarget @ 0xab9cac
// > ??> @ 0x415e0
//
// 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; // x0
a1->m_bActive = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setProjection(v2, v2->m_eProjection);
}
}