//
// CreateParticlePopup::sliderBegan from 0xafbfc0 to 0xafc04c (140 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0xafc050
// > ??> @ 0xa93a8
// > ??> @ 0x14b0320
//
// This function is hookable on this platform (idp: arm, 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 13:01:18 +0000
//
__int64 __fastcall CreateParticlePopup::sliderBegan(CreateParticlePopup *this, Slider *a2)
{
__int64 result; // x0
result = (*(unsigned int (__fastcall **)(Slider *))(*(_QWORD *)a2 + 64LL))(a2) - 6;
switch ( (int)result )
{
case 0:
case 1:
case 2:
case 3:
result = *((_QWORD *)this + 99);
*(_DWORD *)(result + 548) = 3;
break;
case 4:
case 5:
case 44:
case 46:
result = *((_QWORD *)this + 99);
*(_DWORD *)(result + 548) = 1;
break;
case 6:
case 7:
result = *((_QWORD *)this + 99);
*(_DWORD *)(result + 548) = 2;
break;
default:
return result;
}
return result;
}