{"type": "func", "start": 6443249168, "end": 6443249233, "name": "cocos2d::CCDirector::setDepthTest", "pseudocode": "// \n// cocos2d::CCDirector::setDepthTest from 0x1800c2e10 to 0x1800c2e51 (65 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c35c4\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:26 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::setDepthTest(cocos2d::CCDirector *this, char a2)\n{\n  if ( a2 )\n  {\n    glClearDepth(1.0);\n    glEnable(0xB71u);\n    glDepthFunc(0x203u);\n  }\n  else\n  {\n    glDisable(0xB71u);\n  }\n}", "assembly": "; \n; cocos2d::CCDirector::setDepthTest from 0x1800c2e10 to 0x1800c2e51 (65 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c35c4\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:26 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800c2e10\ntest    dl, dl                                                         ; +0x4, 0x1800c2e14\njz      short loc_1800C2E41                                            ; +0x6, 0x1800c2e16\nmovsd   xmm0, cs:depth; depth                                          ; +0x8, 0x1800c2e18\ncall    cs:glClearDepth                                                ; +0x10, 0x1800c2e20\nmov     ecx, 0B71h; cap                                                ; +0x16, 0x1800c2e26\ncall    cs:glEnable                                                    ; +0x1b, 0x1800c2e2b\nmov     ecx, 203h                                                      ; +0x21, 0x1800c2e31\nadd     rsp, 28h                                                       ; +0x26, 0x1800c2e36\njmp     cs:glDepthFunc                                                 ; +0x2a, 0x1800c2e3a\nmov     ecx, 0B71h                                                     ; +0x31, 0x1800c2e41\nadd     rsp, 28h                                                       ; +0x36, 0x1800c2e46\njmp     cs:glDisable                                                   ; +0x3a, 0x1800c2e4a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c35c4"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}