//
// CreateParticlePopup::sliderBegan from 0x10046b6a0 to 0x10046b704 (100 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b44630
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:31 +0000
//
__int64 __fastcall CreateParticlePopup::sliderBegan(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rcx
int v4; // ecx
__int64 v5; // rdx
__int64 v6; // rcx
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
if ( (unsigned int)result <= 0x34 )
{
result = (unsigned int)result;
v3 = 960;
if ( _bittest64(&v3, (unsigned int)result) )
{
v4 = 3;
}
else
{
v4 = 1;
v5 = 0x14000000000C00LL;
if ( !_bittest64(&v5, (unsigned int)result) )
{
v6 = 12288;
if ( !_bittest64(&v6, (unsigned int)result) )
return result;
v4 = 2;
}
}
result = *(_QWORD *)(a1 + 792);
*(_DWORD *)(result + 548) = v4;
}
return result;
}