//
// EasingSelectPopup::refreshCellHighlight from 0xcbb1a4 to 0xcbb2f4 (336 bytes)
//
// 4 xrefs:
// > EasingSelectPopup::onCell @ 0xcbb48c
// > EasingSelectPopup::onCell @ 0xcbb4b8
// > EasingSelectPopup::init @ 0xcbb9dc
// > ??> @ 0xe3098
//
// 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::refreshCellHighlight(EasingSelectPopup *this)
{
_DWORD *v2; // x2
cocos2d::CCArray *v3; // x0
int v4; // w22
int v5; // w21
signed int i; // w19
__int64 v7; // x0
__int64 v8; // x1
cocos2d::CCArray *v9; // x0
__int64 v10; // x0
v2 = *((_DWORD **)this + 127);
if ( v2 )
{
v3 = *((cocos2d::CCArray **)this + 132);
if ( v3 )
{
if ( *((_DWORD *)this + 257) == 30 )
{
v4 = v2[204];
}
else
{
v4 = (int)(*(float (__fastcall **)(_QWORD))(*(_QWORD *)v2 + 1464LL))(*((_QWORD *)this + 127));
v3 = *((cocos2d::CCArray **)this + 132);
}
v5 = cocos2d::CCArray::count(v3);
if ( v5 > 0 )
{
for ( i = 0; i != v5; ++i )
{
v7 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 132), i);
if ( v7 )
{
if ( i == v4 )
v8 = 125;
else
v8 = 65;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 912LL))(v7, v8);
}
v9 = *((cocos2d::CCArray **)this + 133);
if ( v9 )
{
if ( (int)cocos2d::CCArray::count(v9) > i )
{
v10 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 133), i);
if ( v10 )
(*(void (**)(void))(*(_QWORD *)v10 + 1072LL))();
}
}
}
}
}
}
return _stack_chk_guard;
}