//
// cocos2d::CCDirector::setDepthTest from 0x1800c2e10 to 0x1800c2e51 (65 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c35c4
//
// 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 11:22:26 +0000
//
void __fastcall cocos2d::CCDirector::setDepthTest(cocos2d::CCDirector *this, char a2)
{
if ( a2 )
{
glClearDepth(1.0);
glEnable(0xB71u);
glDepthFunc(0x203u);
}
else
{
glDisable(0xB71u);
}
}