RNA / tropusr_parser.h

blipi a5c2418 
































































#ifndef _TROPUSR_PARSER_H
#define _TROPUSR_PARSER_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{	
	u32 unk1;		//06 00 00 00
	u32 unk2;
	u8 unk3[0x8];
	u8 unk4[3];

	u8 trophie_id;

	u8 unk5[3];

	u8 unlocked;
	u8 unk00;
	u8 platinum_unlocked;
	u8 unk10;	//0x10 / 0x20
	u8 unk6[5];
	u8 timestamp[16];

	u8 unk7[0x40];
}				
#ifdef cplusplus
;
#else
tropusr_trophies;
#endif

typedef struct tropusr_trophies_list{	
	struct tropusr_trophies *trophie;
	struct tropusr_trophies_list *next;
}				
#ifdef cplusplus
;
#else
tropusr_trophies_list;
#endif

typedef struct tropusr_ret{	
	char game_name[16];
	u8 max_trophies;
	u8 user_trophies;

	struct tropusr_trophies_list *trophies_list;
}				
#ifdef cplusplus
;
#else
tropusr_ret;
#endif

struct tropusr_ret *parse_tropusr( char *path );

#endif
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.