14 s32(*readFunc)(OSPiHandle*, u32, u32*) = osEPiReadIo;
15 s32 seed = 0x33F50000;
22 readFunc(nuPiCartHandle, 0xB0000800, &thisInsn);
27 for (it = (u32*) general_heap_create_obfuscated_ROM_START; it < (u32*) general_heap_create_obfuscated_ROM_END; it++) {
28 readFunc(nuPiCartHandle, (u32) it, &thisInsn);
33 hash -=
LOWER(thisInsn);
34 hash -=
LOWER(prevInsn);
39 hash -=
LOWER(thisInsn) + (
UPPER(thisInsn) & 0xFC00);