//
// CreateParticlePopup::sliderBegan from 0x1002d0d08 to 0x1002d0d94 (140 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007d78b0
//
// 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 CreateParticlePopup::sliderBegan(CreateParticlePopup *a1, Slider *a2)
{
unsigned int v3; // w0
int v4; // w8
v3 = ((__int64 (__fastcall *)(Slider *))a2->getTag)(a2);
if ( v3 <= 0x34 )
{
if ( ((1LL << v3) & 0x3C0) != 0 )
{
v4 = 3;
}
else if ( ((1LL << v3) & 0x14000000000C00LL) != 0 )
{
v4 = 1;
}
else
{
if ( ((1LL << v3) & 0x3000) == 0 )
return;
v4 = 2;
}
a1->m_previewLayer->m_drawMode = v4;
}
}