//
// cocos2d::CCGridBase::setActive from 0x7ce5c4 to 0x7ce5de (26 bytes)
//
// 3 xrefs:
// > cocos2d::CCStopGrid::startWithTarget @ 0x7b97d2
// > cocos2d::CCGridAction::startWithTarget @ 0x7b9822
// > cocos2d::CCGridAction::startWithTarget @ 0x7b985c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:33 +0000
//
cocos2d::CCDirector *__fastcall cocos2d::CCGridBase::setActive(cocos2d::CCDirector *this, int a2)
{
_DWORD *v2; // r0
*((_BYTE *)this + 52) = a2;
if ( !a2 )
{
v2 = (_DWORD *)cocos2d::CCDirector::sharedDirector(this);
return (cocos2d::CCDirector *)cocos2d::CCDirector::setProjection(v2, v2[61]);
}
return this;
}