{"type": "func", "start": 6442851184, "end": 6442851243, "name": "cocos2d::CCRenderTexture::clearStencil", "pseudocode": "// \n// cocos2d::CCRenderTexture::clearStencil from 0x180061b70 to 0x180061bab (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bd69c\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:21:51 +0000\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 0x180061b70 to 0x180061bab (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bd69c\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:21:51 +0000\n; \npush    rbx                                                            ; +0x0, 0x180061b70\nsub     rsp, 20h                                                       ; +0x2, 0x180061b72\nmov     ebx, edx                                                       ; +0x6, 0x180061b76\nmov     ecx, 0B91h; pname                                              ; +0x8, 0x180061b78\nlea     rdx, [rsp+28h+params]; params                                  ; +0xd, 0x180061b7d\ncall    cs:glGetIntegerv                                               ; +0x12, 0x180061b82\nmov     ecx, ebx; s                                                    ; +0x18, 0x180061b88\ncall    cs:glClearStencil                                              ; +0x1a, 0x180061b8a\nmov     ecx, 400h; mask                                                ; +0x20, 0x180061b90\ncall    cs:glClear                                                     ; +0x25, 0x180061b95\nmov     ecx, [rsp+28h+params]; s                                       ; +0x2b, 0x180061b9b\ncall    cs:glClearStencil                                              ; +0x2f, 0x180061b9f\nadd     rsp, 20h                                                       ; +0x35, 0x180061ba5\npop     rbx                                                            ; +0x39, 0x180061ba9\nretn                                                                   ; +0x3a, 0x180061baa", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bd69c"], "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"}