//
// cocos2d::CCDirector::setDepthTest from 0x1800bf5e0 to 0x1800bf621 (65 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9300
//
// 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 *this, char a2)
{
if ( a2 )
{
glClearDepth(1.0);
glEnable(0xB71u);
glDepthFunc(0x203u);
}
else
{
glDisable(0xB71u);
}
}