//
// sub_100205C30 from 0x100205c30 to 0x100205c75 (69 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:26:53 +0000
//
int __fastcall sub_100205C30(int a1, char **a2, size_t a3)
{
char *v3; // rsi
int result; // eax
if ( !a3 || (v3 = *a2) == nullptr )
__assert_rtn("StrError", "format.cpp", 312, "buffer != 0 && buffer_size != 0");
result = strerror_r(a1, v3, a3);
if ( result == -1 )
return *__error();
return result;
}