; ; __acrt_stdio_allocate_buffer_nolock from 0x180142078 to 0x1801420e3 (107 bytes) ; ; 3 xrefs: ; > unknown_libname_72 @ 0x18013f784 ; > unknown_libname_73 @ 0x18013f83e ; > @ 0x180203d04 ; ; 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, 0x180142078 push rdi ; +0x5, 0x18014207d sub rsp, 20h ; +0x6, 0x18014207e mov rbx, rcx ; +0xa, 0x180142082 mov edx, 1; Size ; +0xd, 0x180142085 add cs:dword_1801F4BD8, edx ; +0x12, 0x18014208a mov edi, 1000h ; +0x18, 0x180142090 mov ecx, edi; Count ; +0x1d, 0x180142095 call _calloc_base ; +0x1f, 0x180142097 xor ecx, ecx; Block ; +0x24, 0x18014209c mov [rbx+8], rax ; +0x26, 0x18014209e call _free_base ; +0x2a, 0x1801420a2 cmp qword ptr [rbx+8], 0 ; +0x2f, 0x1801420a7 jz short loc_1801420B5 ; +0x34, 0x1801420ac lock or dword ptr [rbx+14h], 40h ; +0x36, 0x1801420ae jmp short loc_1801420CA ; +0x3b, 0x1801420b3 lock or dword ptr [rbx+14h], 400h ; +0x3d, 0x1801420b5 lea rax, [rbx+1Ch] ; +0x45, 0x1801420bd mov edi, 2 ; +0x49, 0x1801420c1 mov [rbx+8], rax ; +0x4e, 0x1801420c6 mov [rbx+20h], edi ; +0x52, 0x1801420ca mov rax, [rbx+8] ; +0x55, 0x1801420cd and dword ptr [rbx+10h], 0 ; +0x59, 0x1801420d1 mov [rbx], rax ; +0x5d, 0x1801420d5 mov rbx, [rsp+28h+arg_0] ; +0x60, 0x1801420d8 add rsp, 20h ; +0x65, 0x1801420dd pop rdi ; +0x69, 0x1801420e1 retn ; +0x6a, 0x1801420e2