cleanup(BS2Mach): promote lbl_* aliases to real names #675
@@ -27,7 +27,7 @@ BS2Allocator = .bss:0x8108B6E0; // type:object size:0x10 scope:global
|
||||
BS2StateFlags = .bss:0x8108B6F0; // type:object size:0x20
|
||||
Block = .bss:0x8108B720; // type:object size:0x30 align:32
|
||||
PartitionInfoBuf = .bss:0x8108B760; // type:object size:0x800 align:32 data:4byte
|
||||
lbl_8108BF60 = .bss:0x8108BF60; // type:object size:0x30 data:4byte
|
||||
CoverBlock = .bss:0x8108BF60; // type:object size:0x30 data:4byte
|
||||
BS2CacheFileInfo = .bss:0x8108BF90; // type:object size:0x8C
|
||||
BS2NandBlock = .bss:0x8108C01C; // type:object size:0xBC
|
||||
PartitionParams = .bss:0x8108C0E0; // type:object size:0x1DE00 scope:local align:32
|
||||
@@ -37,7 +37,7 @@ GameTOCBuf = .bss:0x810A9F20; // type:object size:0x20 align:32
|
||||
bi3 = .bss:0x810A9F40; // type:object size:0x2000 align:32 data:4byte
|
||||
AppLoaderHdr = .bss:0x810ABF40; // type:object size:0x20 align:32 data:4byte
|
||||
bi2 = .bss:0x810ABF60; // type:object size:0x2000 align:32 data:4byte
|
||||
lbl_810ADF60 = .bss:0x810ADF60; // type:object size:0x20 align:32 data:4byte
|
||||
UpdateDiskID = .bss:0x810ADF60; // type:object size:0x20 align:32 data:4byte
|
||||
TicketViewsBuf = .bss:0x810ADF80; // type:object size:0x3600 scope:local align:32
|
||||
Flags0 = .bss:0x810B1580; // type:object size:0x800 scope:local
|
||||
Flags1 = .bss:0x810B1D80; // type:object size:0x800 scope:local
|
||||
@@ -21694,7 +21694,7 @@ Tick = .sdata:0x81696520; // type:object size:0x4 scope:local data:4byte
|
||||
@2844 = .sdata:0x81696562; // type:object size:0x5 scope:local data:string
|
||||
@2845 = .sdata:0x81696567; // type:object size:0x8 scope:local data:string
|
||||
@3032 = .sdata:0x8169656F; // type:object size:0x8 scope:local data:string
|
||||
lbl_81696578 = .sdata:0x81696578; // type:object size:0x4 data:4byte
|
||||
TicketViews = .sdata:0x81696578; // type:object size:0x4 data:4byte
|
||||
lbl_8169657C = .sdata:0x8169657C; // type:object size:0x8 data:string
|
||||
lbl_81696584 = .sdata:0x81696584; // type:object size:0x7
|
||||
lbl_8169658B = .sdata:0x8169658B; // type:object size:0x5 data:string
|
||||
@@ -23349,60 +23349,60 @@ BS2BootType = .sbss:0x816989FC; // type:object size:0x4 scope:global data:4byte
|
||||
BS2VideoMode = .sbss:0x81698A00; // type:object size:0x4 data:4byte
|
||||
InvalidSram = .sbss:0x81698A04; // type:object size:0x4 data:4byte
|
||||
State = .sbss:0x81698A08; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A0C = .sbss:0x81698A0C; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A10 = .sbss:0x81698A10; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A14 = .sbss:0x81698A14; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A18 = .sbss:0x81698A18; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A1C = .sbss:0x81698A1C; // type:object size:0x4 scope:local data:4byte
|
||||
DvdReadPending = .sbss:0x81698A0C; // type:object size:0x4 scope:local data:4byte
|
||||
BannerAllocation = .sbss:0x81698A10; // type:object size:0x4 scope:local data:4byte
|
||||
BannerBuffer = .sbss:0x81698A14; // type:object size:0x4 scope:local data:4byte
|
||||
BannerAvailable = .sbss:0x81698A18; // type:object size:0x4 scope:local data:4byte
|
||||
Allocator = .sbss:0x81698A1C; // type:object size:0x4 scope:local data:4byte
|
||||
StartingGame = .sbss:0x81698A20; // type:object size:0x4 data:4byte
|
||||
lbl_81698A24 = .sbss:0x81698A24; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A28 = .sbss:0x81698A28; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A2C = .sbss:0x81698A2C; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A30 = .sbss:0x81698A30; // type:object size:0x4 scope:local data:4byte
|
||||
RestartRequested = .sbss:0x81698A24; // type:object size:0x4 scope:local data:4byte
|
||||
PartitionOpen = .sbss:0x81698A28; // type:object size:0x4 scope:local data:4byte
|
||||
CacheSeekComplete = .sbss:0x81698A2C; // type:object size:0x4 scope:local data:4byte
|
||||
LoadingTitle = .sbss:0x81698A30; // type:object size:0x4 scope:local data:4byte
|
||||
FatalErrorFlag = .sbss:0x81698A34; // type:object size:0x4 data:4byte
|
||||
RetryErrorFlag = .sbss:0x81698A38; // type:object size:0x4 data:4byte
|
||||
UpdateErrorFlag = .sbss:0x81698A3C; // type:object size:0x4 data:4byte
|
||||
AbortFlag = .sbss:0x81698A40; // type:object size:0x4 data:4byte
|
||||
lbl_81698A44 = .sbss:0x81698A44; // type:object size:0x4 data:4byte
|
||||
lbl_81698A48 = .sbss:0x81698A48; // type:object size:0x4 data:4byte
|
||||
lbl_81698A4C = .sbss:0x81698A4C; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A50 = .sbss:0x81698A50; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A54 = .sbss:0x81698A54; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A58 = .sbss:0x81698A58; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A5C = .sbss:0x81698A5C; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A60 = .sbss:0x81698A60; // type:object size:0x8 scope:local data:4byte
|
||||
lbl_81698A68 = .sbss:0x81698A68; // type:object size:0x8 scope:local data:4byte
|
||||
lbl_81698A70 = .sbss:0x81698A70; // type:object size:0x8 data:4byte
|
||||
lbl_81698A78 = .sbss:0x81698A78; // type:object size:0x4 data:4byte
|
||||
lbl_81698A7C = .sbss:0x81698A7C; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A80 = .sbss:0x81698A80; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698A84 = .sbss:0x81698A84; // type:object size:0x4 data:4byte
|
||||
lbl_81698A88 = .sbss:0x81698A88; // type:object size:0x4 data:4byte
|
||||
lbl_81698A8C = .sbss:0x81698A8C; // type:object size:0x4 data:4byte
|
||||
lbl_81698A90 = .sbss:0x81698A90; // type:object size:0x4 data:4byte
|
||||
lbl_81698A94 = .sbss:0x81698A94; // type:object size:0x4 data:4byte
|
||||
lbl_81698A98 = .sbss:0x81698A98; // type:object size:0x4 data:4byte
|
||||
lbl_81698A9C = .sbss:0x81698A9C; // type:object size:0x4 data:4byte
|
||||
lbl_81698AA0 = .sbss:0x81698AA0; // type:object size:0x8 data:4byte
|
||||
lbl_81698AA8 = .sbss:0x81698AA8; // type:object size:0x4 data:4byte
|
||||
lbl_81698AAC = .sbss:0x81698AAC; // type:object size:0x4 data:4byte
|
||||
lbl_81698AB0 = .sbss:0x81698AB0; // type:object size:0x4 data:4byte
|
||||
lbl_81698AB4 = .sbss:0x81698AB4; // type:object size:0x4 data:4byte
|
||||
lbl_81698AB8 = .sbss:0x81698AB8; // type:object size:0x4 data:4byte
|
||||
lbl_81698ABC = .sbss:0x81698ABC; // type:object size:0x4 data:4byte
|
||||
lbl_81698AC0 = .sbss:0x81698AC0; // type:object size:0x4 data:4byte
|
||||
lbl_81698AC4 = .sbss:0x81698AC4; // type:object size:0x4 data:4byte
|
||||
lbl_81698AC8 = .sbss:0x81698AC8; // type:object size:0x4 data:4byte
|
||||
lbl_81698ACC = .sbss:0x81698ACC; // type:object size:0x4 data:4byte
|
||||
lbl_81698AD0 = .sbss:0x81698AD0; // type:object size:0x4 data:4byte
|
||||
lbl_81698AD4 = .sbss:0x81698AD4; // type:object size:0x4 data:4byte
|
||||
lbl_81698AD8 = .sbss:0x81698AD8; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698ADC = .sbss:0x81698ADC; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698AE0 = .sbss:0x81698AE0; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698AE4 = .sbss:0x81698AE4; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698AE8 = .sbss:0x81698AE8; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698AEC = .sbss:0x81698AEC; // type:object size:0x4 scope:local data:4byte
|
||||
lbl_81698AF0 = .sbss:0x81698AF0; // type:object size:0x4 scope:local data:4byte
|
||||
CacheFailed = .sbss:0x81698A44; // type:object size:0x4 data:4byte
|
||||
RegionValid = .sbss:0x81698A48; // type:object size:0x4 data:4byte
|
||||
NandPending = .sbss:0x81698A4C; // type:object size:0x4 scope:local data:4byte
|
||||
CancelNand = .sbss:0x81698A50; // type:object size:0x4 scope:local data:4byte
|
||||
LowReadResult = .sbss:0x81698A54; // type:object size:0x4 scope:local data:4byte
|
||||
CacheCommandComplete = .sbss:0x81698A58; // type:object size:0x4 scope:local data:4byte
|
||||
AudioBufferUnconfigured = .sbss:0x81698A5C; // type:object size:0x4 scope:local data:4byte
|
||||
ResetTime = .sbss:0x81698A60; // type:object size:0x8 scope:local data:4byte
|
||||
SpinupDeadline = .sbss:0x81698A68; // type:object size:0x8 scope:local data:4byte
|
||||
CoverPollTime = .sbss:0x81698A70; // type:object size:0x8 data:4byte
|
||||
DriveWasReset = .sbss:0x81698A78; // type:object size:0x4 data:4byte
|
||||
TitleTicketView = .sbss:0x81698A7C; // type:object size:0x4 scope:local data:4byte
|
||||
CurrentTmd = .sbss:0x81698A80; // type:object size:0x4 scope:local data:4byte
|
||||
TitleCode = .sbss:0x81698A84; // type:object size:0x4 data:4byte
|
||||
RequiredIosHigh = .sbss:0x81698A88; // type:object size:0x4 data:4byte
|
||||
RequiredIosLow = .sbss:0x81698A8C; // type:object size:0x4 data:4byte
|
||||
GamePartition = .sbss:0x81698A90; // type:object size:0x4 data:4byte
|
||||
UpdatePartition = .sbss:0x81698A94; // type:object size:0x4 data:4byte
|
||||
PartitionCursor = .sbss:0x81698A98; // type:object size:0x4 data:4byte
|
||||
DataToc = .sbss:0x81698A9C; // type:object size:0x4 data:4byte
|
||||
GameToc = .sbss:0x81698AA0; // type:object size:0x8 data:4byte
|
||||
CoverOpenTimeHigh = .sbss:0x81698AA8; // type:object size:0x4 data:4byte
|
||||
CoverOpenTimeLow = .sbss:0x81698AAC; // type:object size:0x4 data:4byte
|
||||
NandTransferred = .sbss:0x81698AB0; // type:object size:0x4 data:4byte
|
||||
NandLength = .sbss:0x81698AB4; // type:object size:0x4 data:4byte
|
||||
NandBuffer = .sbss:0x81698AB8; // type:object size:0x4 data:4byte
|
||||
NandFile = .sbss:0x81698ABC; // type:object size:0x4 data:4byte
|
||||
NandOperation = .sbss:0x81698AC0; // type:object size:0x4 data:4byte
|
||||
NandCompletion = .sbss:0x81698AC4; // type:object size:0x4 data:4byte
|
||||
LoaderOffset = .sbss:0x81698AC8; // type:object size:0x4 data:4byte
|
||||
LoaderLength = .sbss:0x81698ACC; // type:object size:0x4 data:4byte
|
||||
LoaderAddress = .sbss:0x81698AD0; // type:object size:0x4 data:4byte
|
||||
CacheLength = .sbss:0x81698AD4; // type:object size:0x4 data:4byte
|
||||
BannerLength = .sbss:0x81698AD8; // type:object size:0x4 scope:local data:4byte
|
||||
DvdTransferLength = .sbss:0x81698ADC; // type:object size:0x4 scope:local data:4byte
|
||||
DvdTransferred = .sbss:0x81698AE0; // type:object size:0x4 scope:local data:4byte
|
||||
DvdProgress = .sbss:0x81698AE4; // type:object size:0x4 scope:local data:4byte
|
||||
LoaderClose = .sbss:0x81698AE8; // type:object size:0x4 scope:local data:4byte
|
||||
LoaderMain = .sbss:0x81698AEC; // type:object size:0x4 scope:local data:4byte
|
||||
LoaderInit = .sbss:0x81698AF0; // type:object size:0x4 scope:local data:4byte
|
||||
pEntries = .sbss:0x81698AF8; // type:object size:0x4 scope:local data:4byte
|
||||
EntriesCount = .sbss:0x81698AFC; // type:object size:0x4 scope:local data:4byte
|
||||
pFlags = .sbss:0x81698B00; // type:object size:0x4 scope:local data:4byte
|
||||
|
||||
@@ -30,8 +30,8 @@ typedef struct AppLoaderHeader {
|
||||
} AppLoaderHeader;
|
||||
|
||||
u8 TicketViewsBuf[OSRoundUp32B(sizeof(ESTicketView) * 64)] ALIGN32;
|
||||
ESTicketView *lbl_81696578 = (ESTicketView *)TicketViewsBuf;
|
||||
DVDDiskID lbl_810ADF60 ALIGN32;
|
||||
ESTicketView *TicketViews = (ESTicketView *)TicketViewsBuf;
|
||||
DVDDiskID UpdateDiskID ALIGN32;
|
||||
OSBootInfo2 bi2 ALIGN32;
|
||||
AppLoaderHeader AppLoaderHdr ALIGN32;
|
||||
OSBootInfo3 bi3 ALIGN32;
|
||||
@@ -41,118 +41,66 @@ DVDDiskID DiskID ALIGN32;
|
||||
DVDPartitionParams PartitionParams ALIGN32;
|
||||
NANDCommandBlock BS2NandBlock;
|
||||
NANDFileInfo BS2CacheFileInfo;
|
||||
DVDCommandBlock lbl_8108BF60;
|
||||
DVDCommandBlock CoverBlock;
|
||||
u8 PartitionInfoBuf[OSRoundUp32B(sizeof(DVDPartitionInfo) * 256)] ALIGN32;
|
||||
DVDCommandBlock Block;
|
||||
|
||||
BS2State State = BS2_STT_BEGIN;
|
||||
vu32 lbl_81698A0C = 0;
|
||||
u32 lbl_81698A10 = 0;
|
||||
u32 lbl_81698A14 = 0;
|
||||
u32 lbl_81698A18 = 0;
|
||||
u32 lbl_81698A1C = 0;
|
||||
vu32 DvdReadPending = 0;
|
||||
u32 BannerAllocation = 0;
|
||||
u32 BannerBuffer = 0;
|
||||
u32 BannerAvailable = 0;
|
||||
u32 Allocator = 0;
|
||||
BOOL StartingGame = FALSE;
|
||||
u32 lbl_81698A24 = 0;
|
||||
u32 lbl_81698A28 = 0;
|
||||
u32 lbl_81698A2C = 0;
|
||||
u32 lbl_81698A30 = 0;
|
||||
u32 RestartRequested = 0;
|
||||
u32 PartitionOpen = 0;
|
||||
u32 CacheSeekComplete = 0;
|
||||
u32 LoadingTitle = 0;
|
||||
BOOL FatalErrorFlag = FALSE;
|
||||
BOOL RetryErrorFlag = FALSE;
|
||||
BOOL UpdateErrorFlag = FALSE;
|
||||
BOOL AbortFlag = FALSE;
|
||||
volatile int lbl_81698A44 = 0;
|
||||
volatile int lbl_81698A48 = 0;
|
||||
volatile int lbl_81698A4C = 0;
|
||||
vu32 lbl_81698A50 = 0;
|
||||
u32 lbl_81698A54 = 0;
|
||||
u32 lbl_81698A58 = 0;
|
||||
u32 lbl_81698A5C = 0;
|
||||
u64 lbl_81698A60 = 0;
|
||||
u64 lbl_81698A68 = 0;
|
||||
u64 lbl_81698A70 = 0;
|
||||
u32 lbl_81698A78 = 0;
|
||||
u32 lbl_81698A7C = 0;
|
||||
u32 lbl_81698A80 = 0;
|
||||
u32 lbl_81698A84 = 0;
|
||||
u32 lbl_81698A88 = 0;
|
||||
u32 lbl_81698A8C = 0;
|
||||
u32 lbl_81698A90 = 0;
|
||||
u32 lbl_81698A94 = 0;
|
||||
u32 lbl_81698A98 = 0;
|
||||
u32 lbl_81698A9C = 0;
|
||||
u64 lbl_81698AA0 = 0;
|
||||
u32 lbl_81698AA8 = 0;
|
||||
u32 lbl_81698AAC = 0;
|
||||
vu32 lbl_81698AB0 = 0;
|
||||
vu32 lbl_81698AB4 = 0;
|
||||
u8 *lbl_81698AB8 = NULL;
|
||||
NANDFileInfo *lbl_81698ABC = NULL;
|
||||
vu32 lbl_81698AC0 = 0;
|
||||
volatile NANDCallback lbl_81698AC4 = NULL;
|
||||
u32 lbl_81698AC8 = 0;
|
||||
vu32 lbl_81698ACC = 0;
|
||||
u32 lbl_81698AD0 = 0;
|
||||
vu32 lbl_81698AD4 = 0;
|
||||
vu32 lbl_81698AD8 = 0;
|
||||
vu32 lbl_81698ADC = 0;
|
||||
vu32 lbl_81698AE0 = 0;
|
||||
u32 *lbl_81698AE4 = 0;
|
||||
u32 lbl_81698AE8 = 0;
|
||||
u32 lbl_81698AEC = 0;
|
||||
u32 lbl_81698AF0 = 0;
|
||||
volatile int CacheFailed = 0;
|
||||
volatile int RegionValid = 0;
|
||||
volatile int NandPending = 0;
|
||||
vu32 CancelNand = 0;
|
||||
u32 LowReadResult = 0;
|
||||
u32 CacheCommandComplete = 0;
|
||||
u32 AudioBufferUnconfigured = 0;
|
||||
u64 ResetTime = 0;
|
||||
u64 SpinupDeadline = 0;
|
||||
u64 CoverPollTime = 0;
|
||||
u32 DriveWasReset = 0;
|
||||
u32 TitleTicketView = 0;
|
||||
u32 CurrentTmd = 0;
|
||||
u32 TitleCode = 0;
|
||||
u32 RequiredIosHigh = 0;
|
||||
u32 RequiredIosLow = 0;
|
||||
u32 GamePartition = 0;
|
||||
u32 UpdatePartition = 0;
|
||||
u32 PartitionCursor = 0;
|
||||
u32 DataToc = 0;
|
||||
u64 GameToc = 0;
|
||||
u32 CoverOpenTimeHigh = 0;
|
||||
u32 CoverOpenTimeLow = 0;
|
||||
vu32 NandTransferred = 0;
|
||||
vu32 NandLength = 0;
|
||||
u8 *NandBuffer = NULL;
|
||||
NANDFileInfo *NandFile = NULL;
|
||||
vu32 NandOperation = 0;
|
||||
volatile NANDCallback NandCompletion = NULL;
|
||||
u32 LoaderOffset = 0;
|
||||
vu32 LoaderLength = 0;
|
||||
u32 LoaderAddress = 0;
|
||||
vu32 CacheLength = 0;
|
||||
vu32 BannerLength = 0;
|
||||
vu32 DvdTransferLength = 0;
|
||||
vu32 DvdTransferred = 0;
|
||||
u32 *DvdProgress = 0;
|
||||
u32 LoaderClose = 0;
|
||||
u32 LoaderMain = 0;
|
||||
u32 LoaderInit = 0;
|
||||
|
||||
#define DvdReadPending lbl_81698A0C
|
||||
#define BannerAllocation lbl_81698A10
|
||||
#define BannerBuffer lbl_81698A14
|
||||
#define BannerAvailable lbl_81698A18
|
||||
#define Allocator lbl_81698A1C
|
||||
#define RestartRequested lbl_81698A24
|
||||
#define PartitionOpen lbl_81698A28
|
||||
#define CacheSeekComplete lbl_81698A2C
|
||||
#define LoadingTitle lbl_81698A30
|
||||
#define CacheFailed lbl_81698A44
|
||||
#define RegionValid lbl_81698A48
|
||||
#define NandPending lbl_81698A4C
|
||||
#define CancelNand lbl_81698A50
|
||||
#define LowReadResult lbl_81698A54
|
||||
#define CacheCommandComplete lbl_81698A58
|
||||
#define AudioBufferUnconfigured lbl_81698A5C
|
||||
#define ResetTime lbl_81698A60
|
||||
#define SpinupDeadline lbl_81698A68
|
||||
#define CoverPollTime lbl_81698A70
|
||||
#define DriveWasReset lbl_81698A78
|
||||
#define TitleTicketView lbl_81698A7C
|
||||
#define CurrentTmd lbl_81698A80
|
||||
#define TitleCode lbl_81698A84
|
||||
#define RequiredIosHigh lbl_81698A88
|
||||
#define RequiredIosLow lbl_81698A8C
|
||||
#define GamePartition lbl_81698A90
|
||||
#define UpdatePartition lbl_81698A94
|
||||
#define PartitionCursor lbl_81698A98
|
||||
#define DataToc lbl_81698A9C
|
||||
#define GameToc lbl_81698AA0
|
||||
#define CoverOpenTimeHigh lbl_81698AA8
|
||||
#define CoverOpenTimeLow lbl_81698AAC
|
||||
#define NandTransferred lbl_81698AB0
|
||||
#define NandLength lbl_81698AB4
|
||||
#define NandBuffer lbl_81698AB8
|
||||
#define NandFile lbl_81698ABC
|
||||
#define NandOperation lbl_81698AC0
|
||||
#define NandCompletion lbl_81698AC4
|
||||
#define LoaderOffset lbl_81698AC8
|
||||
#define LoaderLength lbl_81698ACC
|
||||
#define LoaderAddress lbl_81698AD0
|
||||
#define CacheLength lbl_81698AD4
|
||||
#define BannerLength lbl_81698AD8
|
||||
#define DvdTransferLength lbl_81698ADC
|
||||
#define DvdTransferred lbl_81698AE0
|
||||
#define DvdProgress lbl_81698AE4
|
||||
#define LoaderClose lbl_81698AE8
|
||||
#define LoaderMain lbl_81698AEC
|
||||
#define LoaderInit lbl_81698AF0
|
||||
#define CoverBlock lbl_8108BF60
|
||||
#define UpdateDiskID lbl_810ADF60
|
||||
#define TicketViews lbl_81696578
|
||||
|
||||
void BS2Report(const char *msg, ...) {
|
||||
#ifdef ENABLE_BS2_REPORT
|
||||
|
||||
Reference in New Issue
Block a user