//
// EasingSelectPopup::refreshRateVisual from 0xcbb2f4 to 0xcbb424 (304 bytes)
//
// 4 xrefs:
// > EasingSelectPopup::onCell @ 0xcbb49c
// > EasingSelectPopup::onCell @ 0xcbb4c8
// > EasingSelectPopup::init @ 0xcbbb38
// > ??> @ 0x103360
//
// 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:06:14 +0000
//
__int64 __fastcall EasingSelectPopup::refreshRateVisual(EasingSelectPopup *this)
{
unsigned int *v2; // x0
float v3; // s0
__int64 v4; // x0
__int64 v5; // x0
__int64 v6; // x0
Slider *v7; // x19
__int64 v8; // x0
__int64 Thumb; // x0
__int64 v11; // [xsp+20h] [xbp+20h] BYREF
v2 = *((unsigned int **)this + 127);
if ( !v2 )
return _stack_chk_guard;
if ( *((_DWORD *)this + 257) == 30 )
{
if ( GameToolbox::isRateEasing((GameToolbox *)v2[204]) )
goto LABEL_4;
LABEL_16:
LOWORD(v11) = -20561;
BYTE2(v11) = -81;
goto LABEL_5;
}
v3 = (*(float (__fastcall **)(unsigned int *))(*(_QWORD *)v2 + 1464LL))(v2);
if ( !GameToolbox::isRateEasing((GameToolbox *)(unsigned int)(int)v3) )
goto LABEL_16;
LABEL_4:
LOWORD(v11) = -1;
BYTE2(v11) = -1;
LABEL_5:
v4 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 103), *((int *)this + 258));
if ( v4 )
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v4 + 1072LL))(v4, &v11);
v5 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 95), *((int *)this + 258));
if ( v5 )
CCTextInputNode::setLabelNormalColor(v5, v11);
v6 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 96), *((int *)this + 258));
v7 = (Slider *)v6;
if ( v6 )
{
v8 = *(_QWORD *)(v6 + 424);
if ( v8 )
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v8 + 960LL))(v8, &v11);
if ( Slider::getThumb(v7) )
{
Thumb = Slider::getThumb(v7);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)Thumb + 960LL))(Thumb, &v11);
}
}
return _stack_chk_guard;
}