//
// sub_B8B4A4 from 0xb8b4a4 to 0xb8b4e4 (64 bytes)
//
// 7 xrefs:
// > sub_B87DB4 @ 0xb88cdc
// > sub_B87DB4 @ 0xb88d54
// > sub_B87DB4 @ 0xb89b1c
// > sub_B87DB4 @ 0xb89b38
// > sub_B87DB4 @ 0xb89b50
// > sub_B87DB4 @ 0xb8a734
// > sub_B91A30 @ 0xb91d70
//
// 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
//
char *__fastcall sub_B8B4A4(const char *a1)
{
char *result; // x0
result = getenv(a1);
if ( result )
{
if ( *result )
return off_1231018(result);
else
return nullptr;
}
return result;
}