//
// GameToolbox::preVisitWithClipRect from 0x1004eec60 to 0x1004eec9d (61 bytes)
//
// 1 xrefs:
// > GJSmartBlockPreviewSprite::visit @ 0x1004298eb
//
// 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; // rdi
cocos2d::CCEGLView *v2; // rax
glEnable(0xC11u);
v2 = cocos2d::CCEGLView::sharedOpenGLView();
((void (__fastcall *)(cocos2d::CCEGLView *, float, float, float, float))v2->setScissorInPoints)(
v2,
*v1,
v1[1],
v1[2],
v1[3]);
}