//
// CreateParticlePopup::sliderBegan from 0x663ad0 to 0x663b16 (70 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'CreateParticlePopup::sliderBegan @ 0x663b1a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:39 +0000
//
int __fastcall CreateParticlePopup::sliderBegan(CreateParticlePopup *this, Slider *a2)
{
int result; // r0
int v4; // r3
int v5; // r2
result = (*(int (__fastcall **)(Slider *))(*(_DWORD *)a2 + 32))(a2);
if ( result <= 11 )
{
if ( result < 10 )
{
if ( result < 6 )
return result;
v4 = *((_DWORD *)this + 147);
v5 = 3;
LABEL_13:
*(_DWORD *)(v4 + 444) = v5;
return result;
}
LABEL_10:
v4 = *((_DWORD *)this + 147);
v5 = 1;
goto LABEL_13;
}
if ( result == 50 )
goto LABEL_10;
if ( result > 50 )
{
if ( result != 52 )
return result;
goto LABEL_10;
}
if ( result <= 13 )
{
v4 = *((_DWORD *)this + 147);
v5 = 2;
goto LABEL_13;
}
return result;
}