//
// cocos2d::CCDirector::setDepthTest from 0xad6610 to 0xad6648 (56 bytes)
//
// 3 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x5be108
// > cocos2d::CCDirector::setGLDefaultValues @ 0xad6668
// > ??> @ 0x57018
//
// 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 cocos2d::CCDirector::setDepthTest(cocos2d::CCDirector *a1, bool a2)
{
if ( a2 )
{
glClearDepthf();
glEnable();
glDepthFunc();
}
else
{
glDisable();
}
}