//
// CCScrollLayerExt::visit from 0x57a2ec to 0x57a41c (304 bytes)
//
// 3 xrefs:
// > ??> @ 0xa6a10
// > ??> @ 0x113a730
// > ??> @ 0x113adb0
//
// 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::visit(CCScrollLayerExt *a1)
{
float x; // s10
float width; // s9
float height; // s8
float v5; // s0
float y; // [xsp+50h] [xbp+50h]
float v7; // [xsp+60h] [xbp+60h]
cocos2d::CCRect v8; // [xsp+88h] [xbp+88h] BYREF
cocos2d::CCRect v9; // [xsp+98h] [xbp+98h] BYREF
cocos2d::CCRect v10; // 0:s0.4,4:s1.4,8:s2.4,12:s3.4
if ( a1->m_cutContent )
{
x = a1->getPosition(a1)->x;
y = a1->getPosition(a1)->y;
width = a1->getContentSize(a1)->width;
v7 = width * a1->getScaleX(a1);
height = a1->getContentSize(a1)->height;
v5 = a1->getScaleY(a1);
cocos2d::CCRect::CCRect(&v8, x, y, v7, height * v5);
cocos2d::CCRect::CCRect(&v9, &v8);
GameToolbox::preVisitWithClippingRect(a1, v10);
}
cocos2d::CCNode::visit(a1);
if ( a1->m_cutContent )
GameToolbox::postClipVisit();
}