//
// CCScrollLayerExt::preVisitWithClippingRect from 0x140047c70 to 0x140047d04 (148 bytes)
//
// 6 xrefs:
// > ??> @ 0x140530448
// > ??> @ 0x140537b20
// > ??> @ 0x140662ef8
// > ??> @ 0x140662f08
// > ??> @ 0x1406c49c8
// > ??> @ 0x1406c49d4
//
// 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 CCScrollLayerExt::preVisitWithClippingRect(CCScrollLayerExt *a1, cocos2d::CCRect *a2)
{
cocos2d::CCNode *v3; // rax
__int64 v4; // rax
struct cocos2d::CCPoint v5; // [rsp+40h] [rbp+8h] BYREF
if ( a1->isVisible(a1) )
{
glEnable(0xC11u);
a1->getPosition_0(a1);
v3 = a1->getParent(a1);
cocos2d::CCNode::convertToWorldSpace(v3, &v5);
v4 = cocos2d::CCEGLView::sharedOpenGLView();
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 104LL))(v4);
}
}