; ; stream_is_at_end_of_file_nolock from 0x18013f674 to 0x18013f6ed (121 bytes) ; ; 4 xrefs: ; > unknown_libname_72 @ 0x18013f744 ; > unknown_libname_73 @ 0x18013f7fe ; > @ 0x180203b84 ; > @ 0x180203b90 ; ; 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, 0x18013f674 sub rsp, 20h ; +0x2, 0x18013f676 mov edx, [rcx+14h] ; +0x6, 0x18013f67a shr edx, 3 ; +0x9, 0x18013f67d test dl, 1 ; +0xc, 0x18013f680 jz short loc_18013F689 ; +0xf, 0x18013f683 mov al, 1 ; +0x11, 0x18013f685 jmp short loc_18013F6E7 ; +0x13, 0x18013f687 mov eax, [rcx+14h] ; +0x15, 0x18013f689 test al, 0C0h ; +0x18, 0x18013f68c jz short loc_18013F699 ; +0x1a, 0x18013f68e mov rax, [rcx+8] ; +0x1c, 0x18013f690 cmp [rcx], rax ; +0x20, 0x18013f694 jz short loc_18013F6E5 ; +0x23, 0x18013f697 mov ecx, [rcx+18h]; FileHandle ; +0x25, 0x18013f699 call _get_osfhandle ; +0x28, 0x18013f69c mov rbx, rax ; +0x2d, 0x18013f6a1 cmp rax, 0FFFFFFFFFFFFFFFFh ; +0x30, 0x18013f6a4 jz short loc_18013F6E5 ; +0x34, 0x18013f6a8 mov r9d, 1; dwMoveMethod ; +0x36, 0x18013f6aa lea r8, [rsp+28h+NewFilePointer]; lpNewFilePointer ; +0x3c, 0x18013f6b0 xor edx, edx; liDistanceToMove ; +0x41, 0x18013f6b5 mov rcx, rax; hFile ; +0x43, 0x18013f6b7 call cs:SetFilePointerEx ; +0x46, 0x18013f6ba test eax, eax ; +0x4c, 0x18013f6c0 jz short loc_18013F6E5 ; +0x4e, 0x18013f6c2 lea rdx, [rsp+28h+FileSize]; lpFileSize ; +0x50, 0x18013f6c4 mov rcx, rbx; hFile ; +0x55, 0x18013f6c9 call cs:GetFileSizeEx ; +0x58, 0x18013f6cc test eax, eax ; +0x5e, 0x18013f6d2 jz short loc_18013F6E5 ; +0x60, 0x18013f6d4 mov rax, qword ptr [rsp+28h+FileSize] ; +0x62, 0x18013f6d6 cmp qword ptr [rsp+28h+NewFilePointer], rax ; +0x67, 0x18013f6db setz al ; +0x6c, 0x18013f6e0 jmp short loc_18013F6E7 ; +0x6f, 0x18013f6e3 xor al, al ; +0x71, 0x18013f6e5 add rsp, 20h ; +0x73, 0x18013f6e7 pop rbx ; +0x77, 0x18013f6eb retn ; +0x78, 0x18013f6ec