//
// cocos2d::CCRenderTexture::clearStencil from 0x5d8968 to 0x5d89a4 (60 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 cocos2d::CCRenderTexture::clearStencil(cocos2d::CCRenderTexture *a1, int a2)
{
GLint s[3]; // [sp+0h] [bp-Ch] BYREF
s[0] = (GLint)a1;
s[1] = a2;
glGetIntegerv(0xB91u, s);
glClearStencil(a2);
glClear(0x400u);
glClearStencil(s[0]);
}