//
// Dropdown::refreshValueLabel from 0x1008da0c0 to 0x1008da13c (124 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:37:43 +0000
//
__int64 __fastcall Dropdown::refreshValueLabel(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rsi
__int64 v4; // rsi
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 400);
if ( v2 )
{
v3 = *(_QWORD *)(a1 + 360) + 24LL * *(int *)(a1 + 384);
if ( (*(_BYTE *)v3 & 1) != 0 )
v4 = *(_QWORD *)(v3 + 16);
else
v4 = v3 + 1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 928LL))(v2, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(
*(_QWORD *)(a1 + 400),
*(float *)(a1 + 476) + -24.0,
(__m128)0x3EE66666u,
(__m128)0x3E4CCCCDu);
}
return result;
}