// // SliderThumb::setMaxOffset from 0x1003039f0 to 0x100303abf (207 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::setMaxOffset(SliderThumb *a1, float a2) { _BOOL8 m_vertical; // r14 float v4[2]; // [rsp+Ch] [rbp-24h] BYREF float v5; // [rsp+14h] [rbp-1Ch] float m_length; // [rsp+18h] [rbp-18h] float v7; // [rsp+1Ch] [rbp-14h] v5 = a2; m_vertical = a1->m_vertical; v7 = *(float *)(((__int64 (__fastcall *)(SliderThumb *))a1->getPosition)(a1) + 4 * m_vertical); m_length = a1->m_length; v7 = (float)((float)(((float (__fastcall *)(SliderThumb *))a1->getScale)(a1) * m_length) * 0.5) + v7; m_length = a1->m_length; v7 = v7 / (float)(((float (__fastcall *)(SliderThumb *))a1->getScale)(a1) * m_length); a1->m_length = v5; sub_10028CBE0(v4, 0.0, 0.0); ((void (__fastcall *)(SliderThumb *, float *))a1->setPosition)(a1, v4); SliderThumb::setValue(a1, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source