; ; __acrt_stdio_begin_temporary_buffering_nolock from 0x180138538 to 0x180138600 (200 bytes) ; ; 2 xrefs: ; > _lambda_7e489fec146d5348dbc86d3cce37c1b5_::operator @ 0x18012c2f2 ; > @ 0x180203668 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x180138538 push rdi ; +0x5, 0x18013853d sub rsp, 20h ; +0x6, 0x18013853e mov rbx, rcx ; +0xa, 0x180138542 call __acrt_should_use_temporary_buffer ; +0xd, 0x180138545 test al, al ; +0x12, 0x18013854a jz loc_1801385F3 ; +0x14, 0x18013854c mov ecx, 1; Ix ; +0x1a, 0x180138552 call __acrt_iob_func ; +0x1f, 0x180138557 cmp rbx, rax ; +0x24, 0x18013855c jnz short loc_18013856A ; +0x27, 0x18013855f lea rdi, qword_1801F5578 ; +0x29, 0x180138561 jmp short loc_180138580 ; +0x30, 0x180138568 mov ecx, 2; Ix ; +0x32, 0x18013856a call __acrt_iob_func ; +0x37, 0x18013856f cmp rbx, rax ; +0x3c, 0x180138574 jnz short loc_1801385F3 ; +0x3f, 0x180138577 lea rdi, qword_1801F5580 ; +0x41, 0x180138579 inc cs:dword_1801F4BD8 ; +0x48, 0x180138580 mov eax, [rbx+14h] ; +0x4e, 0x180138586 test eax, 4C0h ; +0x51, 0x180138589 jnz short loc_1801385F3 ; +0x56, 0x18013858e lock or dword ptr [rbx+14h], 282h ; +0x58, 0x180138590 mov rax, [rdi] ; +0x60, 0x180138598 test rax, rax ; +0x63, 0x18013859b jnz short loc_1801385D9 ; +0x66, 0x18013859e mov ecx, 1000h; Size ; +0x68, 0x1801385a0 call _malloc_base ; +0x6d, 0x1801385a5 xor ecx, ecx; Block ; +0x72, 0x1801385aa mov [rdi], rax ; +0x74, 0x1801385ac call _free_base ; +0x77, 0x1801385af mov rax, [rdi] ; +0x7c, 0x1801385b4 test rax, rax ; +0x7f, 0x1801385b7 jnz short loc_1801385D9 ; +0x82, 0x1801385ba lea rcx, [rbx+1Ch] ; +0x84, 0x1801385bc mov dword ptr [rbx+10h], 2 ; +0x88, 0x1801385c0 mov [rbx+8], rcx ; +0x8f, 0x1801385c7 mov [rbx], rcx ; +0x93, 0x1801385cb mov dword ptr [rbx+20h], 2 ; +0x96, 0x1801385ce mov al, 1 ; +0x9d, 0x1801385d5 jmp short loc_1801385F5 ; +0x9f, 0x1801385d7 mov [rbx+8], rax ; +0xa1, 0x1801385d9 mov rax, [rdi] ; +0xa5, 0x1801385dd mov [rbx], rax ; +0xa8, 0x1801385e0 mov dword ptr [rbx+10h], 1000h ; +0xab, 0x1801385e3 mov dword ptr [rbx+20h], 1000h ; +0xb2, 0x1801385ea jmp short loc_1801385D5 ; +0xb9, 0x1801385f1 xor al, al ; +0xbb, 0x1801385f3 mov rbx, [rsp+28h+arg_0] ; +0xbd, 0x1801385f5 add rsp, 20h ; +0xc2, 0x1801385fa pop rdi ; +0xc6, 0x1801385fe retn ; +0xc7, 0x1801385ff