You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Method Decompress() at ARM9.java does this:
publicstaticbyte[] Decompress(byte[] Data, int_start_ModuleParamsOffset)
{
if (IOUtil.ReadU32LE(Data, _start_ModuleParamsOffset + 0x14) == 0)
returnData;//Not Compressed!byte[] Result = CRT0.MIi_UncompressBackward(Data);
IOUtil.WriteU32LE(Result, _start_ModuleParamsOffset + 0x14, 0); //sets 4 bytes to 0x0returnResult;
}
Instead of using ReadU32LE, we can access the corresponding field of the object ModuleParams (CRT0.java). I believe the field is public int CompressedStaticEnd; though I haven't properly checked it or if it is at ModuleParamsOffset + 0x14 but it is the only field that makes sense.
The text was updated successfully, but these errors were encountered:
Describe the bug
Method Decompress() at ARM9.java does this:
Instead of using ReadU32LE, we can access the corresponding field of the object ModuleParams (CRT0.java). I believe the field is
public int CompressedStaticEnd;
though I haven't properly checked it or if it is at ModuleParamsOffset + 0x14 but it is the only field that makes sense.The text was updated successfully, but these errors were encountered: