//
// sub_1004E0B74 from 0x1004e0b74 to 0x1004e0bec (120 bytes)
//
// 2 xrefs:
// > sub_1004DF904 @ 0x1004dff98
// > sub_1004E0B14 @ 0x1004e0b50
//
// 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 11:06:37 +0000
//
__int64 __fastcall sub_1004E0B74(__int64 a1)
{
__int64 result; // x0
int v3; // w8
const char *v4; // x9
const std::string::value_type *v5; // x1
result = *(_QWORD *)(a1 + 744);
if ( result )
{
v3 = *(_DWORD *)(a1 + 736);
v4 = "Sort: Use";
if ( v3 == 2 )
v4 = "Sort: Name";
if ( v3 == 1 )
v5 = "Sort: ID";
else
v5 = v4;
ButtonSprite::setString(result, v5);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(*(_QWORD *)(a1 + 744) + 624LL), 44.0, 0.5, 0.0);
}
return result;
}