// // GJScaleControl::valueFromScale from 0xbcf6b8 to 0xbcf6f4 (60 bytes) // // 10 xrefs: // > GJScaleControl::ccTouchMoved @ 0xbcfc44 // > GJScaleControl::ccTouchMoved @ 0xbcfca8 // > GJScaleControl::ccTouchMoved @ 0xbcfe0c // > GJScaleControl::onApplyScale @ 0xbcff84 // > GJScaleControl::onApplyScale @ 0xbcff9c // > GJScaleControl::onApplyScale @ 0xbcffb4 // > GJScaleControl::loadValues @ 0xbd3378 // > GJScaleControl::loadValues @ 0xbd3390 // > GJScaleControl::loadValues @ 0xbd33b8 // > @ 0xa8898 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:03:36 +0000 // float __fastcall GJScaleControl::valueFromScale(GJScaleControl *this, float a2) { float result; // s0 result = (float)(a2 - *((float *)this + 147)) / (float)(*((float *)this + 146) - *((float *)this + 147)); if ( result >= 1.0 ) return 1.0; if ( result <= 0.0 ) return 0.0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source