//
// sub_10090AA30 from 0x10090aa30 to 0x10090aaa3 (115 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:38:07 +0000
//
__int64 __fastcall sub_10090AA30(__int64 a1)
{
__int64 result; // rax
int v2; // ecx
const char *v3; // r8
const std::string::value_type *v4; // rsi
result = *(_QWORD *)(a1 + 744);
if ( result )
{
v2 = *(_DWORD *)(a1 + 736);
v3 = "Sort: Use";
if ( v2 == 2 )
v3 = "Sort: Name";
v4 = "Sort: ID";
if ( v2 != 1 )
v4 = v3;
ButtonSprite::setString(result, v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(
*(_QWORD *)(*(_QWORD *)(a1 + 744) + 624LL),
44.0,
(__m128)0x3F000000u,
(__m128)0LL);
}
return result;
}