//
// IDNameInput::idNameBrowserClosed from 0x1403c9640 to 0x1403c96c5 (133 bytes)
//
// 3 xrefs:
// > ??> @ 0x140784728
// > ??> @ 0x1409243bc
// > ??> @ 0x1409243c8
//
// 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:31:32 +0000
//
__int64 __fastcall IDNameInput::idNameBrowserClosed(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // rbx
__int64 result; // rax
__int64 v5; // rcx
__int64 v6; // rcx
__int64 v7; // rcx
__int64 i; // rbx
__int64 v9; // rcx
v3 = a1 - 328;
if ( a3 > 0 )
result = IDNameInput::commitID(a1 - 328, (unsigned int)a3);
v5 = *(_QWORD *)(v3 + 344);
if ( !v5 )
return IDNameInput::refreshLabel(v3);
v6 = *(_QWORD *)(v5 + 984);
if ( !v6 )
return IDNameInput::refreshLabel(v3);
v7 = *(_QWORD *)(v6 + 56);
if ( v7 )
{
for ( i = *(_QWORD *)(v7 + 288); ; i = *(_QWORD *)(i + 288) )
{
v9 = *(_QWORD *)(v7 + 264);
if ( v9 )
result = IDNameInput::refreshLabel(v9);
v7 = i;
if ( !i )
break;
}
}
return result;
}