// // sprintf_s from 0x180131608 to 0x18013165a (82 bytes) // // 2 xrefs: // > common_assert_to_stderr @ 0x18013145b // > @ 0x180202ee8 // // 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:54:58 +0000 // int sprintf_s(char *const Buffer, const size_t BufferCount, const char *const Format, ...) { __int64 *v6; // rax int result; // eax va_list va; // [rsp+78h] [rbp+20h] BYREF va_start(va, Format); v6 = (__int64 *)sub_1800429F0(); result = common_vsprintf<__crt_stdio_output::standard_base,wchar_t>( *v6, Buffer, BufferCount, (__int64)Format, nullptr, (__int64)va); if ( result < 0 ) return -1; return result; }