//
// cocos2d::CCRenderTexture::clearStencil from 0x7e0570 to 0x7e05ac (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:49 +0000
//
void __fastcall cocos2d::CCRenderTexture::clearStencil(cocos2d::CCRenderTexture *this, GLint a2, GLint a3)
{
GLint s[3]; // [sp+0h] [bp-Ch] BYREF
s[0] = (GLint)this;
s[1] = a2;
s[2] = a3;
glGetIntegerv(0xB91u, s);
glClearStencil(a2);
glClear(0x400u);
glClearStencil(s[0]);
}