//
// CCScrollLayerExt::visit from 0x140047b40 to 0x140047c70 (304 bytes)
//
// 5 xrefs:
// > ??> @ 0x140530328
// > ??> @ 0x140537a00
// > ??> @ 0x140662e98
// > ??> @ 0x140662ee4
// > ??> @ 0x1406c4998
//
// 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)
{
const cocos2d::CCSize *v2; // rax
CCScrollLayerExt_vtbl *v3; // rsi
float height; // xmm9_4
const cocos2d::CCSize *v5; // rax
CCScrollLayerExt_vtbl *v6; // rdi
float width; // xmm8_4
float y; // xmm7_4
const cocos2d::CCPoint *v9; // rbx
double v10; // xmm0_8
float v11; // xmm6_4
cocos2d::CCRect *v12; // rax
cocos2d::CCRect v13; // [rsp+30h] [rbp-68h] BYREF
cocos2d::CCRect v14; // [rsp+40h] [rbp-58h] BYREF
if ( a1->m_cutContent )
{
v2 = a1->getContentSize(a1);
v3 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
height = v2->height;
v5 = a1->getContentSize(a1);
v6 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;
width = v5->width;
y = a1->getPosition_0(a1)->y;
v9 = a1->getPosition_0(a1);
v10 = ((double (__fastcall *)(CCScrollLayerExt *))v3->getScaleY)(a1);
v11 = *(float *)&v10 * height;
*(float *)&v10 = v6->getScaleX(a1);
cocos2d::CCRect::CCRect(&v13, v9->x, y, *(float *)&v10 * width, v11);
v12 = (cocos2d::CCRect *)cocos2d::CCRect::CCRect(&v14, &v13);
GameToolbox::preVisitWithClippingRect(a1, v12);
}
cocos2d::CCNode::visit(a1);
if ( a1->m_cutContent )
glDisable(0xC11u);
}