mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
We can now create a fresh Ghidra project, import the JSRF executable into it, import symbols into it, delink object files from it, and then decompile with objdiff. Just needs some documentation.
40 lines
840 B
C++
40 lines
840 B
C++
/* JSRF Decompilation: Win32.hpp
|
|
Definitions normally provided by Windows headers.
|
|
*/
|
|
|
|
#ifndef WIN32_HPP
|
|
#define WIN32_HPP
|
|
|
|
// The famous Win32 typedefs
|
|
typedef unsigned char UCHAR;
|
|
typedef char CHAR;
|
|
typedef unsigned short USHORT;
|
|
typedef short SHORT;
|
|
typedef unsigned int UINT;
|
|
typedef int INT;
|
|
typedef unsigned long ULONG;
|
|
typedef long LONG;
|
|
typedef unsigned __int64 ULONGLONG;
|
|
typedef __int64 LONGLONG;
|
|
|
|
typedef unsigned char BYTE;
|
|
typedef unsigned short WORD;
|
|
typedef unsigned long DWORD;
|
|
|
|
typedef int BOOL;
|
|
typedef float FLOAT;
|
|
|
|
// 64-bit integer compatibility type
|
|
union LARGE_INTEGER {
|
|
struct {
|
|
DWORD LowPart;
|
|
LONG HighPart;
|
|
};
|
|
struct {
|
|
DWORD LowPart;
|
|
LONG HighPart;
|
|
} u;
|
|
LONGLONG QuadPart;
|
|
};
|
|
|
|
#endif
|