//
// cocos2d::CCRenderTexture::clearStencil from 0x1005f5fb0 to 0x1005f5fe6 (54 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCRenderTexture::clearStencil(cocos2d::CCRenderTexture *a1, int a2)
{
__int64 v2; // rax
GLint params[3]; // [rsp+0h] [rbp-Ch] BYREF
params[0] = HIDWORD(v2);
glGetIntegerv(0xB91u, params);
glClearStencil(a2);
glClear(0x400u);
glClearStencil(params[0]);
}