//
// ParticlePreviewLayer::visit from 0x1002d1468 to 0x1002d1548 (224 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d7e40
//
// 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 __fastcall ParticlePreviewLayer::visit(ParticlePreviewLayer *a1)
{
float v2; // s8
float v3; // s9
float v4; // s10
float v5; // s0
double v6; // d0
float v7; // s1
float v8; // s2
float v9; // s3
__int64 v10; // [xsp+0h] [xbp-50h] BYREF
float v11[4]; // [xsp+10h] [xbp-40h] BYREF
cocos2d::CCRect v12; // 0:kr00_16.16
v2 = *(float *)((__int64 (__fastcall *)(ParticlePreviewLayer *))a1->getAnchorPoint)(a1) * -120.0;
v3 = *(float *)(((__int64 (__fastcall *)(ParticlePreviewLayer *))a1->getAnchorPoint)(a1) + 4) * -180.0;
v4 = ((float (__fastcall *)(ParticlePreviewLayer *))a1->getScaleX)(a1) * 120.0;
v5 = ((float (__fastcall *)(ParticlePreviewLayer *))a1->getScaleY)(a1);
sub_100022990(v11, v2, v3, v4, v5 * 180.0);
v6 = sub_100022B98(&v10, (__int64)v11);
v12.origin.x = *(float *)&v6;
v12.origin.y = v7;
v12.size.width = v8;
v12.size.height = v9;
GameToolbox::preVisitWithClippingRect(a1, v12);
cocos2d::CCNode::visit(a1);
GameToolbox::postClipVisit();
}