//
// CreateParticlePopup::sliderBegan from 0x100476e40 to 0x100476ea4 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x10093a498
//
// 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 v2; // eax
__int64 v3; // rcx
int v4; // ecx
__int64 v5; // rdx
__int64 v6; // rcx
v2 = ((__int64 (__fastcall *)(Slider *))a2->getTag)(a2);
if ( v2 <= 0x34 )
{
v3 = 960;
if ( _bittest64(&v3, v2) )
{
v4 = 3;
}
else
{
v4 = 1;
v5 = 0x14000000000C00LL;
if ( !_bittest64(&v5, v2) )
{
v6 = 12288;
if ( !_bittest64(&v6, v2) )
return;
v4 = 2;
}
}
a1->m_previewLayer->m_drawMode = v4;
}
}