//
// GameToolbox::preVisitWithClipRect from 0x10004423c to 0x100044274 (56 bytes)
//
// 1 xrefs:
// > GJSmartBlockPreviewSprite::visit @ 0x100009728
//
// 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 GameToolbox::preVisitWithClipRect(cocos2d::CCRect a1)
{
float *v1; // x0
float *v2; // x19
cocos2d::CCEGLView *v3; // x0
v2 = v1;
glEnable(0xC11u);
v3 = cocos2d::CCEGLView::sharedOpenGLView();
((void (__fastcall *)(cocos2d::CCEGLView *, float, float, float, float))v3->setScissorInPoints)(
v3,
*v2,
v2[1],
v2[2],
v2[3]);
}