//
// sub_B7C790 from 0xb7c790 to 0xb7c7f4 (100 bytes)
//
// 3 xrefs:
// > sub_B7F490 @ 0xb7f590
// > sub_B7F490 @ 0xb7fc90
// > sub_B7F490 @ 0xb80280
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_B7C790(__int64 *a1)
{
__int64 *v2; // x20
const char *v3; // x2
__int64 result; // x0
__int64 v5; // x1
v2 = a1 + 195;
v3 = *(const char **)(*(_QWORD *)(*a1 + 536) + 8LL);
if ( !v3 )
v3 = &byte_F288A0;
result = sub_BAA4B0(a1 + 195, "USER %s", v3);
if ( !(_DWORD)result )
{
v5 = *a1;
*((_DWORD *)v2 + 44) = 3;
*(_BYTE *)(v5 + 36000) = 0;
}
return result;
}