//
// CCScrollLayerExt::visit from 0x2e8bd4 to 0x2e8c90 (188 bytes)
//
// 0 xrefs:
//
// 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; // r8
float y; // r7
float width; // s16
float v5; // s15
float height; // s17
float v7; // r0
cocos2d::CCRect v8; // [sp+Ch] [bp-24h] BYREF
cocos2d::CCRect v9; // [sp+1Ch] [bp-14h] BYREF
cocos2d::CCRect v10; // 0:r1.12,12:^0.4
if ( a1->m_cutContent )
{
x = a1->getPosition(a1)->x;
y = a1->getPosition(a1)->y;
width = a1->getContentSize(a1)->width;
v5 = COERCE_FLOAT(((int (__fastcall *)(CCScrollLayerExt *))a1->getScaleX)(a1));
height = a1->getContentSize(a1)->height;
v7 = a1->getScaleY(a1);
cocos2d::CCRect::CCRect(&v8, x, y, width * v5, height * v7);
cocos2d::CCRect::CCRect(&v9, &v8);
LODWORD(v10.origin.x) = &v9;
GameToolbox::preVisitWithClippingRect(a1, v10);
}
cocos2d::CCNode::visit(a1);
if ( a1->m_cutContent )
GameToolbox::postClipVisit();
}