//
// cocos2d::CCGridBase::setActive from 0x180023e80 to 0x180023ea7 (39 bytes)
//
// 5 xrefs:
// > cocos2d::CCGridAction::startWithTarget @ 0x18002bbbf
// > cocos2d::CCGridAction::startWithTarget @ 0x18002bbe4
// > cocos2d::CCStopGrid::startWithTarget @ 0x18002bca0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b916c
//
// This function is hookable on this platform (idp: pc, 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 11:21:29 +0000
//
void __fastcall cocos2d::CCGridBase::setActive(cocos2d::CCGridBase *this, char a2)
{
struct cocos2d::CCDirector *v2; // rax
*((_BYTE *)this + 56) = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setProjection(v2, *((unsigned int *)v2 + 79));
}
}