mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 10:17:03 +03:00
Add objdiff setup
This is intended more as a proof of concept as we figure things out than the start of an actual decompilation in this repository. Target object files are currently "bring your own."
This commit is contained in:
parent
10b3c8c273
commit
7e1785e466
12 changed files with 151 additions and 27 deletions
40
objdiff/src/Win32.hpp
Normal file
40
objdiff/src/Win32.hpp
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
/* 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue