//
// _itow_s from 0x180139038 to 0x180139058 (32 bytes)
//
// 2 xrefs:
// > common_assert_to_message_box_build_string @ 0x1801311f2
// > ??> @ 0x180203770
//
// 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
//
errno_t __cdecl itow_s(int Value, wchar_t *Buffer, size_t BufferCount, int Radix)
{
unsigned __int8 v4; // al
v4 = 0;
if ( Radix == 10 )
v4 = Value < 0;
return common_xtox_s(Value, (__int16 *)Buffer, BufferCount, Radix, v4);
}