//
// fmt::internal::StrError from 0x81b974 to 0x81b99e (42 bytes)
//
// 1 xrefs:
// > fmt::internal::FormatSystemErrorMessage @ 0x81ca6e
//
// 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:46 +0000
//
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;
}