//
// cocos2d::CCDirector::setDepthTest from 0xd49250 to 0xd49288 (56 bytes)
//
// 3 xrefs:
// > AppDelegate::applicationDidFinishLaunching @ 0x6e6a5c
// > cocos2d::CCDirector::setGLDefaultValues @ 0xd492a8
// > ??> @ 0x78160
//
// This function is hookable on this platform (idp: arm, 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 13:07:36 +0000
//
__int64 __fastcall cocos2d::CCDirector::setDepthTest(cocos2d::CCDirector *this, char a2)
{
if ( !a2 )
return glDisable();
glClearDepthf();
glEnable();
return glDepthFunc();
}