//
// cocos2d::CCGridBase::setActive from 0xd4ee60 to 0xd4ee8c (44 bytes)
//
// 4 xrefs:
// > cocos2d::CCGridAction::startWithTarget @ 0xd2b478
// > cocos2d::CCGridAction::startWithTarget @ 0xd2b4b0
// > cocos2d::CCStopGrid::startWithTarget @ 0xd2b9b4
// > ??> @ 0x5db68
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:39 +0000
//
cocos2d::CCDirector *__fastcall cocos2d::CCGridBase::setActive(cocos2d::CCDirector *this, char a2)
{
__int64 v2; // x0
*((_BYTE *)this + 56) = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector(this);
return (cocos2d::CCDirector *)cocos2d::CCDirector::setProjection(v2, *(_DWORD *)(v2 + 316));
}
return this;
}