//
// SetupPortalPopup::sliderChanged from 0x634134 to 0x6341b4 (128 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:55:19 +0000
//
int __fastcall SetupPortalPopup::sliderChanged(SetupPortalPopup *this, cocos2d::CCObject *a2)
{
int Value; // s16
int result; // r0
const char *v6; // r1
Value = SliderThumb::getValue(a2);
if ( (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2) )
{
result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
if ( result == 1 )
{
*((_DWORD *)this + 139) = Value;
SetupPortalPopup::updateCameraPadding((unsigned int)this);
return SetupPortalPopup::updateCameraPaddingLabel(this, v6);
}
}
else
{
*((_DWORD *)this + 136) = (int)(float)(COERCE_FLOAT(roundf()) + 1.0);
SetupPortalPopup::updateCameraEasing((unsigned int)this);
return SetupPortalPopup::updateCameraEasingLabel(this);
}
return result;
}