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:
parent
579e9bfc7f
commit
a2373995bc
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue