//
// Dropdown::refreshValueLabel from 0xcb6504 to 0xcb6580 (124 bytes)
//
// 3 xrefs:
// > Dropdown::setSelectedIndex @ 0xcb65b4
// > Dropdown::onRowSelected @ 0xcb660c
// > ??> @ 0x5ef18
//
// 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:12 +0000
//
__int64 __fastcall Dropdown::refreshValueLabel(__int64 this)
{
__int64 v1; // x3
__int64 v2; // x5
__int64 v3; // x1
__int64 v4; // x19
v1 = *(_QWORD *)(this + 400);
if ( v1 )
{
v2 = *(_QWORD *)(this + 360) + 24LL * *(int *)(this + 384);
v3 = v2 + 1;
if ( (*(_BYTE *)v2 & 1) != 0 )
v3 = *(_QWORD *)(v2 + 16);
v4 = this;
(*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v1 + 928LL))(*(_QWORD *)(this + 400), v3);
return cocos2d::CCLabelBMFont::limitLabelWidth(
*(cocos2d::CCLabelBMFont **)(v4 + 400),
*(float *)(v4 + 476) - 24.0,
0.45,
0.2);
}
return this;
}