//
// fmt::internal::StrError from 0xb67244 to 0xb672b8 (116 bytes)
//
// 2 xrefs:
// > fmt::internal::FormatSystemErrorMessage @ 0xb6c0a8
// > ??> @ 0x31b90
//
// 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 fmt::internal::StrError(fmt::internal *this, char **a2, char **a3)
{
char *v5; // x20
__int64 result; // x0
char **v7; // x0
v5 = (char *)strerror_r((int)this, *a2, (size_t)a3);
result = 0;
if ( *a2 == v5 )
{
v7 = (char **)strlen(v5);
*a2 = v5;
if ( v7 == (char **)((char *)a3 - 1) )
return 34;
else
return 0;
}
else
{
*a2 = v5;
}
return result;
}