//
// cocos2d::CCDirector::setDepthTest from 0x100175454 to 0x100175484 (48 bytes)
//
// 1 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x10026936c
//
// 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 __fastcall cocos2d::CCDirector::setDepthTest(cocos2d::CCDirector *a1, bool a2)
{
if ( a2 )
{
glClearDepthf(1.0);
glEnable(0xB71u);
glDepthFunc(0x203u);
}
else
{
glDisable(0xB71u);
}
}