//
// fmt::internal::StrError from 0xddcf6c to 0xddcfe0 (116 bytes)
//
// 2 xrefs:
// > fmt::internal::FormatSystemErrorMessage @ 0xddf62c
// > ??> @ 0x49c90
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:09:07 +0000
//
__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;
}