//
// sub_828B80 from 0x828b80 to 0x828bb2 (50 bytes)
//
// 3 xrefs:
// > sub_82AC68 @ 0x82add6
// > sub_82AC68 @ 0x82b614
// > sub_82AC68 @ 0x82b712
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:58 +0000
//
int __fastcall sub_828B80(int *a1)
{
int v2; // r3
_DWORD *v3; // r0
const char *v4; // r2
int result; // r0
int v6; // r2
v2 = *a1;
v3 = a1 + 272;
v4 = *(const char **)(*(_DWORD *)(v2 + 332) + 4);
if ( !v4 )
v4 = &byte_BF4ECA;
result = sub_84A864(v3, "USER %s", v4);
if ( !result )
{
v6 = *a1;
a1[298] = 3;
*(_BYTE *)(v6 + 34652) = 0;
}
return result;
}