//
// cocos2d::CCGridBase::setActive from 0x1004de920 to 0x1004de941 (33 bytes)
//
// 3 xrefs:
// > cocos2d::CCGridAction::startWithTarget @ 0x1001ed555
// > cocos2d::CCGridAction::startWithTarget @ 0x1001ed587
// > cocos2d::CCStopGrid::startWithTarget @ 0x1001ee261
//
// 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 12:31:17 +0000
//
void __fastcall cocos2d::CCGridBase::setActive(__int64 a1, int a2)
{
__int64 v2; // rax
*(_BYTE *)(a1 + 56) = a2;
if ( !a2 )
{
v2 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::setProjection(v2, *(_DWORD *)(v2 + 316));
}
}