{"type": "func", "start": 6443733048, "end": 6443733080, "name": "_itow_s", "pseudocode": "// \n// _itow_s from 0x180139038 to 0x180139058 (32 bytes)\n// \n// 2 xrefs:\n// > common_assert_to_message_box_build_string<wchar_t> @ 0x1801311f2\n// > <???> @ 0x180203770\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nerrno_t __cdecl itow_s(int Value, wchar_t *Buffer, size_t BufferCount, int Radix)\n{\n  unsigned __int8 v4; // al\n\n  v4 = 0;\n  if ( Radix == 10 )\n    v4 = Value < 0;\n  return common_xtox_s<unsigned long,wchar_t>(Value, (__int16 *)Buffer, BufferCount, Radix, v4);\n}", "assembly": "; \n; _itow_s from 0x180139038 to 0x180139058 (32 bytes)\n; \n; 2 xrefs:\n; > common_assert_to_message_box_build_string<wchar_t> @ 0x1801311f2\n; > <???> @ 0x180203770\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nsub     rsp, 38h                                                       ; +0x0, 0x180139038\nxor     eax, eax                                                       ; +0x4, 0x18013903c\ncmp     r9d, 0Ah                                                       ; +0x6, 0x18013903e\njnz     short loc_18013904A                                            ; +0xa, 0x180139042\ntest    ecx, ecx                                                       ; +0xc, 0x180139044\njns     short loc_18013904A                                            ; +0xe, 0x180139046\nmov     al, 1                                                          ; +0x10, 0x180139048\nmov     [rsp+38h+var_18], al                                           ; +0x12, 0x18013904a\ncall    ??$common_xtox_s@K_W@@YAHKQEA_W_KI_N@Z                         ; +0x16, 0x18013904e\nadd     rsp, 38h                                                       ; +0x1b, 0x180139053\nretn                                                                   ; +0x1f, 0x180139057", "xrefs": ["common_assert_to_message_box_build_string<wchar_t> @ 0x1801311f2", "<???> @ 0x180203770"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}