//
// ParticlePreviewLayer::visit from 0x52f6a8 to 0x52f756 (174 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 ParticlePreviewLayer::visit(ParticlePreviewLayer *a1)
{
float v2; // s17
float y; // s16
float v4; // s18
float v5; // r0
cocos2d::CCRect v6; // [sp+Ch] [bp-10h] BYREF
cocos2d::CCRect v7; // [sp+1Ch] [bp+0h] BYREF
cocos2d::CCRect v8; // 0:r1.12,12:^0.4
v2 = a1->getAnchorPoint(a1)->x * -120.0;
y = a1->getAnchorPoint(a1)->y;
v4 = COERCE_FLOAT(((int (__fastcall *)(ParticlePreviewLayer *))a1->getScaleX)(a1));
v5 = a1->getScaleY(a1);
cocos2d::CCRect::CCRect(&v6, v2, y * -180.0, v4 * 120.0, v5 * 180.0);
cocos2d::CCRect::CCRect(&v7, &v6);
LODWORD(v8.origin.x) = &v7;
GameToolbox::preVisitWithClippingRect(a1, v8);
cocos2d::CCNode::visit(a1);
GameToolbox::postClipVisit();
}