//
// GameToolbox::preVisitWithClipRect from 0x3ccd10 to 0x3ccd3a (42 bytes)
//
// 2 xrefs:
// > ScrollableContentLayer::visit @ 0x3f4ef0
// > GJSmartBlockPreviewSprite::visit @ 0x66e774
//
// 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 11:46:38 +0000
//
int __fastcall GameToolbox::preVisitWithClipRect(_DWORD *a1, int a2, int a3)
{
cocos2d::CCEGLView *v4; // r0
int v5; // r0
glEnable(0xC11u);
GameToolbox::contentScaleClipRect();
v5 = cocos2d::CCEGLView::sharedOpenGLView(v4);
return (*(int (__fastcall **)(int, _DWORD, _DWORD, _DWORD, _DWORD, int, int))(*(_DWORD *)v5 + 56))(
v5,
*a1,
a1[1],
a1[2],
a1[3],
a2,
a3);
}