; ; _malloc_base from 0x180134854 to 0x1801348b2 (94 bytes) ; ; 20 xrefs: ; > __acrt_mbs_to_wcs_cp<__crt_win32_buffer_internal_dynamic_resizing> @ 0x180128fbb ; > __acrt_mbs_to_wcs_cp<__crt_win32_buffer_internal_dynamic_resizing> @ 0x18012904a ; > j__malloc_base @ 0x18012b810 ; > __crt_stdio_output::formatting_buffer::ensure_buffer_is_big_enough @ 0x18012bc55 ; > __crt_stdio_output::formatting_buffer::ensure_buffer_is_big_enough @ 0x18012bd00 ; > __acrt_stdio_begin_temporary_buffering_nolock @ 0x1801385a5 ; > _realloc_base @ 0x180138658 ; > __acrt_wcs_to_mbs_cp<__crt_win32_buffer_internal_dynamic_resizing> @ 0x180139920 ; > __acrt_wcs_to_mbs_cp<__crt_win32_buffer_internal_dynamic_resizing> @ 0x1801399b9 ; > setmbcp_internal @ 0x18013a5eb ; > __dcrt_get_narrow_environment_from_os @ 0x18013ac8e ; > __dcrt_get_wide_environment_from_os @ 0x18013ad61 ; > InternalCompareStringA @ 0x18013bca2 ; > InternalCompareStringA @ 0x18013bd66 ; > tzset_from_environment_nolock @ 0x18013cdcc ; > tzset_nolock @ 0x18013d1bc ; > __acrt_GetStringTypeA @ 0x18013d801 ; > __acrt_LCMapStringA_stat @ 0x180140d04 ; > __acrt_LCMapStringA_stat @ 0x180140e35 ; > @ 0x180203290 ; ; 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 ; push rbx ; +0x0, 0x180134854 sub rsp, 20h ; +0x2, 0x180134856 mov rbx, rcx ; +0x6, 0x18013485a cmp rcx, 0FFFFFFFFFFFFFFE0h ; +0x9, 0x18013485d ja short loc_18013489F ; +0xd, 0x180134861 test rcx, rcx ; +0xf, 0x180134863 mov eax, 1 ; +0x12, 0x180134866 cmovz rbx, rax ; +0x17, 0x18013486b jmp short loc_180134886 ; +0x1b, 0x18013486f call sub_18013BEC4 ; +0x1d, 0x180134871 test eax, eax ; +0x22, 0x180134876 jz short loc_18013489F ; +0x24, 0x180134878 mov rcx, rbx; Size ; +0x26, 0x18013487a call _callnewh ; +0x29, 0x18013487d test eax, eax ; +0x2e, 0x180134882 jz short loc_18013489F ; +0x30, 0x180134884 mov rcx, cs:hHeap; hHeap ; +0x32, 0x180134886 mov r8, rbx; dwBytes ; +0x39, 0x18013488d xor edx, edx; dwFlags ; +0x3c, 0x180134890 call cs:HeapAlloc ; +0x3e, 0x180134892 test rax, rax ; +0x44, 0x180134898 jz short loc_180134871 ; +0x47, 0x18013489b jmp short loc_1801348AC ; +0x49, 0x18013489d call _errno ; +0x4b, 0x18013489f mov dword ptr [rax], 0Ch ; +0x50, 0x1801348a4 xor eax, eax ; +0x56, 0x1801348aa add rsp, 20h ; +0x58, 0x1801348ac pop rbx ; +0x5c, 0x1801348b0 retn ; +0x5d, 0x1801348b1