//
// cocos2d::CCDirector::setDepthTest from 0x5c31ec to 0x5c3218 (44 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x3079ea
// > cocos2d::CCDirector::setGLDefaultValues @ 0x5c3226
//
// 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(0xB71u);
j_glDepthFunc(0x203u);
}
else
{
j_glDisable(0xB71u);
}
}