//
// SetupPortalPopup::sliderChanged from 0xab0b5c to 0xab0c14 (184 bytes)
//
// 4 xrefs:
// > ??> @ 0x9adc8
// > SetupPortalPopup::init @ 0xab117c
// > SetupPortalPopup::init @ 0xab12e4
// > ??> @ 0x15443e8
//
// 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:00:56 +0000
//
__int64 __fastcall SetupPortalPopup::sliderChanged(SetupPortalPopup *this, cocos2d::CCObject *a2)
{
float Value; // s8
__int64 result; // x0
Value = SliderThumb::getValue(a2);
if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) )
{
result = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);
if ( (_DWORD)result == 1 )
{
*((float *)this + 184) = Value;
SetupPortalPopup::updateCameraPadding(this);
return SetupPortalPopup::updateCameraPaddingLabel(this);
}
}
else
{
*((_DWORD *)this + 178) = (int)(float)(roundf(Value * 39.0) + 1.0);
SetupPortalPopup::updateCameraEasing(this);
return SetupPortalPopup::updateCameraEasingLabel(this);
}
return result;
}