//
// Dropdown::refreshValueLabel from 0x777150 to 0x77719c (76 bytes)
//
// 2 xrefs:
// > Dropdown::setSelectedIndex @ 0x7771c6
// > Dropdown::onRowSelected @ 0x7771fc
//
// 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:59:20 +0000
//
int __fastcall Dropdown::refreshValueLabel(Dropdown *this)
{
int result; // r0
int v3; // r1
int v4; // r1
result = *((_DWORD *)this + 77);
if ( result )
{
v3 = *((_DWORD *)this + 71) + 12 * *((_DWORD *)this + 74);
if ( (*(_BYTE *)v3 & 1) != 0 )
v4 = *(_DWORD *)(v3 + 8);
else
v4 = v3 + 1;
(*(void (__fastcall **)(int, int))(*(_DWORD *)result + 464))(result, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(
*((cocos2d::CCLabelBMFont **)this + 77),
*((float *)this + 88) - 24.0,
0.45,
0.2);
}
return result;
}