//
// fmt::internal::StrError from 0x60b9f6 to 0x60ba20 (42 bytes)
//
// 1 xrefs:
// > fmt::internal::FormatSystemErrorMessage @ 0x60c9ce
//
// 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
//
int __fastcall fmt::internal::StrError(fmt::internal *this, char **a2, char **a3, unsigned int a4)
{
const char *v6; // r0
char *v7; // r6
int result; // r0
v6 = (const char *)strerror_r((int)this, *a2, (size_t)a3);
v7 = (char *)v6;
if ( v6 == *a2 )
{
if ( (char **)strlen(v6) == (char **)((char *)a3 - 1) )
result = 34;
else
result = 0;
}
else
{
result = 0;
}
*a2 = v7;
return result;
}