mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
20 lines
No EOL
504 B
C
20 lines
No EOL
504 B
C
#ifndef BC_FILE_STREAM_H
|
|
#define BC_FILE_STREAM_H
|
|
|
|
#include "bc/file/info.h"
|
|
|
|
DECLARE_STRUCT(Blizzard__File__StreamRecord);
|
|
|
|
struct Blizzard__File__StreamRecord {
|
|
void* filehandle;
|
|
int32_t mode;
|
|
bool haveinfo;
|
|
uint32_t unk0C;
|
|
Blizzard__File__FileInfo info;
|
|
// GetFileInfo only gets a size if this is null or points to a zero value
|
|
int32_t* unk48;
|
|
char* name; // name is a pointer to &filehandle (0x00) + sizeof(StreamRecord)
|
|
// extra buffer that holds the actual data of name
|
|
};
|
|
|
|
#endif |