//
// cocos2d::CCDirector::setDepthTest from 0x7ca490 to 0x7ca4bc (44 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x3f6ff0
// > cocos2d::CCDirector::setGLDefaultValues @ 0x7ca4ca
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:30 +0000
//
void __fastcall cocos2d::CCDirector::setDepthTest(cocos2d::CCDirector *this, int a2)
{
if ( a2 )
{
glClearDepthf();
glEnable(0xB71u);
j_glDepthFunc(0x203u);
}
else
{
sub_AF7C44(0xB71u);
}
}