//
// SetupGradientPopup::updateGradientLabels from 0x686f6c to 0x68700c (160 bytes)
//
// 2 xrefs:
// > SetupGradientPopup::updateToggleItem @ 0x687044
// > SetupGradientPopup::init @ 0x687516
//
// 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:56:05 +0000
//
unsigned int __fastcall SetupGradientPopup::updateGradientLabels(cocos2d::CCArray **this, int a2)
{
unsigned int i; // r4
unsigned int result; // r0
int v5; // r0
for ( i = 0; ; ++i )
{
result = cocos2d::CCArray::count(*(this + 182));
if ( i >= result )
break;
v5 = cocos2d::CCArray::objectAtIndex(*(this + 182), i);
switch ( i )
{
case 0u:
case 1u:
case 2u:
case 3u:
(*(void (__fastcall **)(int))(*(_DWORD *)v5 + 464))(v5);
break;
default:
continue;
}
}
return result;
}