// // 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 // __int64 __fastcall FMOD_OS_File_Read(void *a1, void *a2, DWORD a3, DWORD *a4) { unsigned int v4; // ebx bool v8; // zf DWORD NumberOfBytesRead; // [rsp+58h] [rbp+20h] BYREF v4 = 0; *a4 = 0; NumberOfBytesRead = 0; if ( !ReadFile(a1, a2, a3, &NumberOfBytesRead, nullptr) ) return 13; v8 = NumberOfBytesRead == a3; *a4 = NumberOfBytesRead; if ( !v8 ) return 16; return v4; }