//
// cocos2d::CCRenderTexture::clearStencil from 0x180061b70 to 0x180061bab (59 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bd69c
//
// This function is hookable on this platform (idp: pc, 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 11:21:51 +0000
//
void __fastcall cocos2d::CCRenderTexture::clearStencil(cocos2d::CCRenderTexture *this, GLint a2)
{
GLint params; // [rsp+40h] [rbp+18h] BYREF
glGetIntegerv(0xB91u, ¶ms);
glClearStencil(a2);
glClear(0x400u);
glClearStencil(params);
}