{"type": "func", "start": 6443234784, "end": 6443234849, "name": "cocos2d::CCDirector::setDepthTest", "pseudocode": "// \n// cocos2d::CCDirector::setDepthTest from 0x1800bf5e0 to 0x1800bf621 (65 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9300\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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 0x1800bf5e0 to 0x1800bf621 (65 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9300\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 28h                                                       ; +0x0, 0x1800bf5e0\ntest    dl, dl                                                         ; +0x4, 0x1800bf5e4\njz      short loc_1800BF611                                            ; +0x6, 0x1800bf5e6\nmovsd   xmm0, cs:depth; depth                                          ; +0x8, 0x1800bf5e8\ncall    cs:glClearDepth                                                ; +0x10, 0x1800bf5f0\nmov     ecx, 0B71h; cap                                                ; +0x16, 0x1800bf5f6\ncall    cs:glEnable                                                    ; +0x1b, 0x1800bf5fb\nmov     ecx, 203h                                                      ; +0x21, 0x1800bf601\nadd     rsp, 28h                                                       ; +0x26, 0x1800bf606\njmp     cs:glDepthFunc                                                 ; +0x2a, 0x1800bf60a\nmov     ecx, 0B71h                                                     ; +0x31, 0x1800bf611\nadd     rsp, 28h                                                       ; +0x36, 0x1800bf616\njmp     cs:glDisable                                                   ; +0x3a, 0x1800bf61a", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b9300"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}