//
// SliderThumb::setMaxOffset from 0x6b5644 to 0x6b56dc (152 bytes)
//
// 2 xrefs:
// > SliderTouchLogic::setMaxOffset @ 0x6b59c0
// > ??> @ 0xdcf60
//
// 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 12:50:52 +0000
//
__int64 __fastcall SliderThumb::setMaxOffset(SliderThumb *this, float a2)
{
float Value; // s8
__int64 v5; // x2
void (__fastcall *v6)(SliderThumb *, _BYTE *); // x21
_BYTE v8[8]; // [xsp+50h] [xbp+50h] BYREF
Value = SliderThumb::getValue(this);
v5 = *(_QWORD *)this;
*((float *)this + 100) = a2;
v6 = *(void (__fastcall **)(SliderThumb *, _BYTE *))(v5 + 184);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v8, 0.0, 0.0);
v6(this, v8);
SliderThumb::setValue(this, Value);
return _stack_chk_guard;
}