//
// SliderThumb::setRotated from 0x100303750 to 0x10030381b (203 bytes)
//
// 0 xrefs:
//
// 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 SliderThumb::setRotated(SliderThumb *a1, bool a2)
{
_BOOL8 m_vertical; // r15
float v4; // [rsp+8h] [rbp-28h] BYREF
float m_length; // [rsp+10h] [rbp-20h]
float v6; // [rsp+14h] [rbp-1Ch]
m_vertical = a1->m_vertical;
v6 = *(float *)(((__int64 (__fastcall *)(SliderThumb *))a1->getPosition)(a1) + 4 * m_vertical);
m_length = a1->m_length;
v6 = (float)((float)(((float (__fastcall *)(SliderThumb *))a1->getScale)(a1) * m_length) * 0.5) + v6;
m_length = a1->m_length;
v6 = v6 / (float)(((float (__fastcall *)(SliderThumb *))a1->getScale)(a1) * m_length);
a1->m_vertical = a2;
sub_10028CBE0(&v4, 0.0, 0.0);
((void (__fastcall *)(SliderThumb *, float *))a1->setPosition)(a1, &v4);
SliderThumb::setValue(a1, v6);
}