//
// _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 (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 10:55:01 +0000
//
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);
}