diff options
| author | mike8699 <mikebuntu68@gmail.com> | 2025-01-04 18:59:19 -0500 |
|---|---|---|
| committer | mike8699 <mikebuntu68@gmail.com> | 2025-01-05 19:06:26 -0500 |
| commit | 254ee79fe04241913570c498c76c7ec258b79dcd (patch) | |
| tree | f581164f2a7f0b3deaa33653c0fef4e2781d19b1 /src/00_Core/Player/LinkStateItem.cpp | |
| parent | 70d24e07765610cdbae4876e71a46e736868fcfb (diff) | |
Match data section
Diffstat (limited to 'src/00_Core/Player/LinkStateItem.cpp')
| -rw-r--r-- | src/00_Core/Player/LinkStateItem.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/src/00_Core/Player/LinkStateItem.cpp b/src/00_Core/Player/LinkStateItem.cpp index 30643a87..f61c14b0 100644 --- a/src/00_Core/Player/LinkStateItem.cpp +++ b/src/00_Core/Player/LinkStateItem.cpp @@ -10,9 +10,12 @@ extern unk32 func_ov000_020cf01c(s32 *param1); extern void func_ov000_020cf9dc(s32 param1, s32 param2, s32 param3); extern void func_ov014_0213ec64(s32 param1); -extern void func_ov014_0211fd04(s32 param1); +extern void func_ov014_0211fd04(s32 *param1); extern void func_ov000_020b7e6c(s32 *param1); +extern s32 *data_027e103c; +extern s32 *data_027e1098; + THUMB void LinkStateItem::vfunc_00() {} ARM LinkStateId LinkStateItem::GetId() { @@ -40,11 +43,11 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) { switch (this->mEquipId) { case 7: /* bombchu */ - iVar3 = func_ov000_020cf01c((s32 *) (*(s32 *) 0x20abf44)); + iVar3 = func_ov000_020cf01c(data_027e103c); if (*(u8 *) (iVar3 + 0xe0) == '\0') { func_ov014_0213ec64((s32) GetEquipBombchu()); } - func_ov014_0211fd04(*(s32 *) (0x20abf48)); + func_ov014_0211fd04(data_027e1098); break; case 0: break; case 1: break; @@ -55,8 +58,8 @@ ARM void LinkStateItem::OnStateLeave(s32 param1) { case 8: EquipHammer::StopUsing(this); break; case 9: case 10: - iVar3 = *(int *) (0x20abf44); - *(unk8 *) (iVar3 + 0x2a) = 0; + iVar3 = (int ) (data_027e103c); + *(unk8 *) ((s16*)data_027e103c + 0x15) = 0; func_ov000_020cf9dc(iVar3, 0, 0); break; case 3: EquipScoop::StopUsing(this); break; |
