// // SliderThumb::setValue from 0x1003038b0 to 0x1003039eb (315 bytes) // // 8 xrefs: // > SliderThumb::setRotated @ 0x10030380b // > SliderThumb::setMaxOffset @ 0x100303ab1 // > SliderTouchLogic::setMaxOffset @ 0x100303e78 // > SliderTouchLogic::setRotated @ 0x100303f59 // > Slider::disableSlider @ 0x100304a2a // > Slider::setValue @ 0x100304b8e // > Slider::setRotated @ 0x100304fe5 // > Slider::setMaxOffset @ 0x10030510c // // 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::setValue(SliderThumb *a1, float a2) { float v2; // xmm1_4 float v3; // xmm0_4 float v4; // [rsp+8h] [rbp-28h] BYREF float v5; // [rsp+10h] [rbp-20h] float v6; // [rsp+14h] [rbp-1Ch] float v7; // [rsp+18h] [rbp-18h] float m_length; // [rsp+1Ch] [rbp-14h] v7 = a2; if ( a1->m_vertical ) { v6 = *(float *)((__int64 (__fastcall *)(SliderThumb *))a1->getPosition)(a1); m_length = a1->m_length; m_length = m_length * ((float (__fastcall *)(SliderThumb *))a1->getScale)(a1); v5 = a1->m_length; v2 = (float)(v7 * m_length) + (float)((float)(v5 * ((float (__fastcall *)(SliderThumb *))a1->getScale)(a1)) * -0.5); v3 = v6; } else { m_length = a1->m_length; m_length = ((float (__fastcall *)(SliderThumb *))a1->getScale)(a1) * m_length; v6 = a1->m_length; v7 = (float)((float)(((float (__fastcall *)(SliderThumb *))a1->getScale)(a1) * v6) * -0.5) + (float)(v7 * m_length); v2 = *(float *)(((__int64 (__fastcall *)(SliderThumb *))a1->getPosition)(a1) + 4); v3 = v7; } sub_10028CBE0(&v4, v3, v2); ((void (__fastcall *)(SliderThumb *, float *))a1->setPosition)(a1, &v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source