Decompile `nuContPakCodeSet`

This commit is contained in:
gijs 2023-10-22 12:56:04 +02:00
parent c02b0f0685
commit ba6bc84aba
2 changed files with 10 additions and 1 deletions

View File

@ -138,7 +138,7 @@ segments:
- [0x1B070, c, "nu/nucontpakrepairid"] - [0x1B070, c, "nu/nucontpakrepairid"]
- [0x1B0A0, c, "nu/nucontpakfileopen"] - [0x1B0A0, c, "nu/nucontpakfileopen"]
- [0x1B160, c, "nu/nucontpakfilefread"] - [0x1B160, c, "nu/nucontpakfilefread"]
- [0x1B240, asm] - [0x1B240, c, "nu/nucontpakcodeset"]
- [0x1B290, c, "nu/nucontpakfilereadwrite"] - [0x1B290, c, "nu/nucontpakfilereadwrite"]
- [0x1B2E0, c, "nu/nucontpakfiledelete"] - [0x1B2E0, c, "nu/nucontpakfiledelete"]
- [0x1B320, c, "nu/nucontpakfilestate"] - [0x1B320, c, "nu/nucontpakfilestate"]

View File

@ -0,0 +1,9 @@
#include "common.h"
#include "nu/nusys.h"
/* 1B240 8008AE40 */
void nuContPakCodeSet(u8* companyCode, u8* gameCode) {
bcopy(companyCode, &nuContPakCompanyCode, 2);
bcopy(gameCode, &nuContPakGameCode, 4);
}