Source

RNA / tropusr_parser.h

Diff from to

tropusr_parser.h

 #ifndef _TROPUSR_PARSER_H
 #define _TROPUSR_PARSER_H
 
-#include <Windows.h>
 #include <stdlib.h>
+#include <string.h>
 #include <stdio.h>
+#include <unistd.h>
+#include <malloc.h>
+#include <errno.h>
+#include <psl1ght/types.h>
 
 #define cplusplus
 
 #pragma pack(1)
 
 typedef struct tropusr_trophies{	
-	DWORD unk1;		//06 00 00 00
-	DWORD unk2;
-	BYTE unk3[0x8];
-	BYTE unk4[3];
+	u32 unk1;		//06 00 00 00
+	u32 unk2;
+	u8 unk3[0x8];
+	u8 unk4[3];
 
-	BYTE trophie_id;
+	u8 trophie_id;
 
-	BYTE unk5[3];
+	u8 unk5[3];
 
-	BYTE unlocked;
-	BYTE unk00;
-	BYTE platinum_unlocked;
-	BYTE unk10;	//0x10 / 0x20
-	BYTE unk6[5];
-	BYTE timestamp[16];
+	u8 unlocked;
+	u8 unk00;
+	u8 platinum_unlocked;
+	u8 unk10;	//0x10 / 0x20
+	u8 unk6[5];
+	u8 timestamp[16];
 
-	BYTE unk7[0x40];
+	u8 unk7[0x40];
 }				
 #ifdef cplusplus
 ;
 
 typedef struct tropusr_ret{	
 	char game_name[16];
-	BYTE max_trophies;
-	BYTE user_trophies;
+	u8 max_trophies;
+	u8 user_trophies;
 
 	struct tropusr_trophies_list *trophies_list;
 }				
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.