{"type": "func", "start": 6442842512, "end": 6442842571, "name": "cocos2d::CCRenderTexture::clearStencil", "pseudocode": "// \n// cocos2d::CCRenderTexture::clearStencil from 0x18005f990 to 0x18005f9cb (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b33d8\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::CCRenderTexture::clearStencil(cocos2d::CCRenderTexture *this, GLint a2)\n{\n  GLint params; // [rsp+40h] [rbp+18h] BYREF\n\n  glGetIntegerv(0xB91u, &params);\n  glClearStencil(a2);\n  glClear(0x400u);\n  glClearStencil(params);\n}", "assembly": "; \n; cocos2d::CCRenderTexture::clearStencil from 0x18005f990 to 0x18005f9cb (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b33d8\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\npush    rbx                                                            ; +0x0, 0x18005f990\nsub     rsp, 20h                                                       ; +0x2, 0x18005f992\nmov     ebx, edx                                                       ; +0x6, 0x18005f996\nmov     ecx, 0B91h; pname                                              ; +0x8, 0x18005f998\nlea     rdx, [rsp+28h+params]; params                                  ; +0xd, 0x18005f99d\ncall    cs:glGetIntegerv                                               ; +0x12, 0x18005f9a2\nmov     ecx, ebx; s                                                    ; +0x18, 0x18005f9a8\ncall    cs:glClearStencil                                              ; +0x1a, 0x18005f9aa\nmov     ecx, 400h; mask                                                ; +0x20, 0x18005f9b0\ncall    cs:glClear                                                     ; +0x25, 0x18005f9b5\nmov     ecx, [rsp+28h+params]; s                                       ; +0x2b, 0x18005f9bb\ncall    cs:glClearStencil                                              ; +0x2f, 0x18005f9bf\nadd     rsp, 20h                                                       ; +0x35, 0x18005f9c5\npop     rbx                                                            ; +0x39, 0x18005f9c9\nretn                                                                   ; +0x3a, 0x18005f9ca", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b33d8"], "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"}