84PCE:Syscalls:0002EC: Difference between revisions

From WikiTI
Jump to navigationJump to search
Created page with "CleanupCertificate 0002EC - CleanupCertificate == Synopsis == '''Hypothesized Official Name:''' Clea..."
 
No edit summary
 
Line 11: Line 11:


=== Inputs ===
=== Inputs ===
None, except for maybe a certificate that needs cleanup
* None, except for maybe a certificate that needs cleanup


=== Outputs ===
=== Outputs ===
A nice clean certificate with only the required fields
* A nice clean certificate with only the required fields


=== Destroys ===
=== Destroys ===
* All
* All

Latest revision as of 18:47, 26 May 2016

Synopsis

Hypothesized Official Name: CleanupCertificate

Syscall Address: 0002ECh

This routine just does a basic cleanup of the certificate by using the sector 3F as a swap sector.

The routine copies the certificate at sector 3B to sector 3F, skipping all of the all of the deleted fields in the certificate prefixed with a null byte. This is then copied back to sector 3B, and sector 3F is then erased.

Inputs

  • None, except for maybe a certificate that needs cleanup

Outputs

  • A nice clean certificate with only the required fields

Destroys

  • All