#include "version.h"

void v622patch() {
    if ( wallaby_version == WALLABY_622 ) {
        *((int *) 0x8C09BECC ) = 0xe1a00000;    // Skip flag test
        
        *((int *) 0x8C09BFA8 ) = 0xe3a05000;    // Print expected key and skip test
        *((int *) 0x8C09BFAC ) = 0xe1a04001;
        *((int *) 0x8C09BFB0 ) = 0xe59f0024;
        *((int *) 0x8C09BFB4 ) = 0xe5d41000;
        *((int *) 0x8C09BFB8 ) = 0xebff9f21;
        *((int *) 0x8C09BFBC ) = 0xe2844001;
        *((int *) 0x8C09BFC0 ) = 0xe1a00000;
        *((int *) 0x8C09BFC4 ) = 0xe2855001;
        *((int *) 0x8C09BFC8 ) = 0xe3550010;
        *((int *) 0x8C09BFCC ) = 0x3afffff7;
        *((int *) 0x8C09BFD0 ) = 0xe3a00001;
        *((int *) 0x8C09BFDC ) = 0x8c079de4;
        
        *((int *) 0x8C09C0EC ) = 0xea000025;    // Skip counter test
    }
}

