// // Slider::getValue from 0x100304d50 to 0x100304deb (155 bytes) // // 6 xrefs: // > GJScaleControl::ccTouchBegan @ 0x1000526aa // > GJScaleControl::ccTouchBegan @ 0x100052737 // > GJScaleControl::ccTouchMoved @ 0x100052862 // > GJScaleControl::ccTouchMoved @ 0x100052881 // > GJScaleControl::ccTouchEnded @ 0x100052d05 // > GJScaleControl::ccTouchEnded @ 0x100052d67 // // 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 // float __fastcall Slider::getValue(Slider *a1) { SliderThumb *m_thumb; // rbx _BOOL8 m_vertical; // r14 float v4; // [rsp+8h] [rbp-18h] float v5; // [rsp+8h] [rbp-18h] float m_length; // [rsp+Ch] [rbp-14h] float v7; // [rsp+Ch] [rbp-14h] m_thumb = a1->m_touchLogic->m_thumb; m_vertical = m_thumb->m_vertical; v4 = *(float *)(((__int64 (__fastcall *)(SliderThumb *))m_thumb->getPosition)(m_thumb) + 4 * m_vertical); m_length = m_thumb->m_length; v5 = (float)((float)(((float (__fastcall *)(SliderThumb *))m_thumb->getScale)(m_thumb) * m_length) * 0.5) + v4; v7 = m_thumb->m_length; return v5 / (float)(((float (__fastcall *)(SliderThumb *))m_thumb->getScale)(m_thumb) * v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source