-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from gwdevhub/master
reassemble c++ code from assembly
- Loading branch information
Showing
8 changed files
with
563 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,9 @@ | ||
#pragma once | ||
#pragma once | ||
|
||
struct SImageDescriptor | ||
{ | ||
int xres, yres; | ||
unsigned char* Data; | ||
int a; | ||
int b; | ||
unsigned char* image; | ||
int imageformat; | ||
int c; | ||
}; | ||
|
||
int DecompressAtex(int a, int b, int imageformat, int d, int e, int f, int g); | ||
void AtexDecompress(unsigned int* input, unsigned int unknown, unsigned int imageformat, | ||
SImageDescriptor ImageDescriptor, unsigned int* output); | ||
struct SImageData; | ||
void AtexSubCode1_Asm(uint32_t* array1, uint32_t* array2, unsigned int count); | ||
void AtexSubCode2_Asm(uint32_t* outBuffer, uint32_t* dcmpBuffer1, uint32_t* dcmpBuffer2, SImageData* imageData, unsigned int blockCount, unsigned int blockSize); | ||
void AtexSubCode3_Asm(uint32_t* outBuffer, uint32_t* dcmpBuffer1, uint32_t* dcmpBuffer2, SImageData* imageData, unsigned int blockCount, unsigned int blockSize); | ||
void AtexSubCode4_Asm(uint32_t* outBuffer, uint32_t* dcmpBuffer1, uint32_t* dcmpBuffer2, SImageData* imageData, unsigned int blockCount, unsigned int blockSize); | ||
void AtexSubCode5_Asm(unsigned int a, unsigned int b, unsigned int c, unsigned int d, unsigned int e, unsigned int f, unsigned int g); | ||
void AtexSubCode7_Asm(unsigned int a, unsigned int b); |
Oops, something went wrong.