//
// Dropdown::onRowSelected from 0x140121380 to 0x1401213e7 (103 bytes)
//
// 4 xrefs:
// > Dropdown::openList @ 0x14012120f
// > ??> @ 0x140897ae8
// > ??> @ 0x140897af8
// > ??> @ 0x1409165ec
//
// 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 11:26:56 +0000
//
void __fastcall Dropdown::onRowSelected(__int64 a1, __int64 a2)
{
int v3; // eax
unsigned int v4; // edi
void (__fastcall ***v5)(_QWORD, __int64, _QWORD); // rcx
if ( a2 )
{
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = v3;
if ( v3 >= 0 && v3 < (int)((__int64)(*(_QWORD *)(a1 + 368) - *(_QWORD *)(a1 + 360)) >> 5) )
{
*(_DWORD *)(a1 + 384) = v3;
Dropdown::refreshValueLabel(a1);
v5 = *(void (__fastcall ****)(_QWORD, __int64, _QWORD))(a1 + 352);
if ( v5 )
(**v5)(v5, a1, v4);
}
}
}