//
// cocos2d::CCGridBase::setActive from 0x180023930 to 0x180023957 (39 bytes)
//
// 5 xrefs:
// > cocos2d::CCGridAction::startWithTarget @ 0x18002b4ff
// > cocos2d::CCGridAction::startWithTarget @ 0x18002b524
// > cocos2d::CCStopGrid::startWithTarget @ 0x18002b5e0
// > ??> @ 0x1801438a8
// > ??> @ 0x1801af088
//
// 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 *this, bool a2)
{
struct cocos2d::CCDirector *v2; // rax
this->m_bActive = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setProjection(v2, v2->m_eProjection);
}
}