//
// LevelSettingsObject::getIDName from 0x797b28 to 0x797bec (196 bytes)
//
// 4 xrefs:
// > IDNameBrowserPopup::updateConflictLabel @ 0xcde2bc
// > IDNameBrowserPopup::onEditRow @ 0xcdec04
// > IDNameInput::refreshLabel @ 0xce4dc8
// > ??> @ 0x103e88
//
// 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 12:53:34 +0000
//
__int64 *__usercall LevelSettingsObject::getIDName@(
LevelSettingsObject *this@,
int a2@,
int a3@,
__int64 *a4@)
{
__int64 *v5; // x0
__int64 *v6; // x0
__int64 v7; // x1
int v9; // [xsp+28h] [xbp+28h] BYREF
int v10; // [xsp+2Ch] [xbp+2Ch] BYREF
v10 = a2;
v9 = a3;
v5 = std::__hash_table>,std::__unordered_map_hasher>,std::hash,true>,std::__unordered_map_equal>,std::equal_to,true>,std::allocator>>>::find(
(_QWORD *)this + 63,
&v9);
if ( v5
&& (v6 = std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find(
v5 + 3,
&v10)) != nullptr )
{
*a4 = 0;
a4[1] = 0;
a4[2] = 0;
if ( (v6[3] & 1) != 0 )
{
std::string::__init(a4, (void *)v6[5], v6[4]);
}
else
{
v7 = v6[4];
*a4 = v6[3];
a4[1] = v7;
a4[2] = v6[5];
}
return a4;
}
else
{
*a4 = 0;
a4[1] = 0;
a4[2] = 0;
std::string::__init(a4, &byte_11B8890, 0);
return a4;
}
}