; ; FMOD_OS_File_Read from 0x1800c0eb0 to 0x1800c0f17 (103 bytes) ; ; 5 xrefs: ; > sub_1800B41E0 @ 0x1800b4233 ; > sub_1800B41E0 @ 0x1800b4255 ; > sub_1801146F0 @ 0x18011487b ; > @ 0x180194348 ; > @ 0x1801fdb54 ; ; 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, 0x1800c0eb0 mov [rsp+arg_8], rsi ; +0x5, 0x1800c0eb5 push rdi ; +0xa, 0x1800c0eba sub rsp, 30h ; +0xb, 0x1800c0ebb xor ebx, ebx ; +0xf, 0x1800c0ebf mov rdi, r9 ; +0x11, 0x1800c0ec1 mov [r9], ebx ; +0x14, 0x1800c0ec4 mov esi, r8d ; +0x17, 0x1800c0ec7 lea r9, [rsp+38h+NumberOfBytesRead]; lpNumberOfBytesRead ; +0x1a, 0x1800c0eca mov [rsp+38h+NumberOfBytesRead], ebx ; +0x1f, 0x1800c0ecf mov [rsp+38h+lpOverlapped], rbx; lpOverlapped ; +0x23, 0x1800c0ed3 call cs:ReadFile ; +0x28, 0x1800c0ed8 test eax, eax ; +0x2e, 0x1800c0ede jnz short loc_1800C0EF5 ; +0x30, 0x1800c0ee0 lea eax, [rbx+0Dh] ; +0x32, 0x1800c0ee2 mov rbx, [rsp+38h+arg_0] ; +0x35, 0x1800c0ee5 mov rsi, [rsp+38h+arg_8] ; +0x3a, 0x1800c0eea add rsp, 30h ; +0x3f, 0x1800c0eef pop rdi ; +0x43, 0x1800c0ef3 retn ; +0x44, 0x1800c0ef4 mov ecx, [rsp+38h+NumberOfBytesRead] ; +0x45, 0x1800c0ef5 mov eax, 10h ; +0x49, 0x1800c0ef9 cmp ecx, esi ; +0x4e, 0x1800c0efe mov [rdi], ecx ; +0x50, 0x1800c0f00 mov rsi, [rsp+38h+arg_8] ; +0x52, 0x1800c0f02 cmovnz ebx, eax ; +0x57, 0x1800c0f07 mov eax, ebx ; +0x5a, 0x1800c0f0a mov rbx, [rsp+38h+arg_0] ; +0x5c, 0x1800c0f0c add rsp, 30h ; +0x61, 0x1800c0f11 pop rdi ; +0x65, 0x1800c0f15 retn ; +0x66, 0x1800c0f16