// // _putwch_nolock from 0x1801420e4 to 0x18014211f (59 bytes) // // 3 xrefs: // > _write_nolock @ 0x180140492 // > _write_nolock @ 0x1801404b1 // > @ 0x180203d10 // // 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 // wint_t __cdecl putwch_nolock(wchar_t Character) { wint_t Buffer; // [rsp+30h] [rbp+8h] BYREF DWORD NumberOfCharsWritten; // [rsp+38h] [rbp+10h] BYREF Buffer = Character; if ( (unsigned int)_dcrt_lowio_ensure_console_output_initialized() && (unsigned int)unknown_libname_75(&Buffer, 1u, &NumberOfCharsWritten) ) { return Buffer; } else { return -1; } }