Decompile fn_07596 (FormatString)

Batch #14949 by SapitoSucio: 0 byte-identical, 1 confirmed by peer review.

- fn_07596 FormatString: logic confirmed by peer review

Peer-reviewed-by: Yommy, ntrl, codeplay
Accepted without human review: peers confirmed the logic ("same" ahead by at least 3, with 70% of the votes).
This commit is contained in:
ragnarok-clanker 2026-11-09 04:51:09 +00:00
commit a2373995bc

View file

@ -30,7 +30,7 @@ namespace {
public:
// OFFSET: 0x00733F00
// FUNCTION: fn_07592
ThreadSafeBuffer() {
__declspec(noinline) ThreadSafeBuffer() {
InitializeCriticalSection(&this->m_criticalSection);
}
@ -70,7 +70,7 @@ const char* FormatString(const char* format, ...) {
va_list args;
va_start(args, format);
std::vsnprintf(buffer, 2048, format, args);
_vsnprintf(buffer, 2048, format, args);
va_end(args);
return s_buffer.GetBuffer();