Compare commits

...

1 Commits

Author SHA1 Message Date
coah
365cfd645b cleanup(eZiText): rename work unk_0x124 to zhUwdPtrs
ZH user-word ptr stack indexed by uwdPtrCount in Zi8GetZHuwdPtr.
2026-10-02 14:19:57 -05:00
2 changed files with 3 additions and 3 deletions

View File

@@ -224,7 +224,7 @@ struct __zi8_work_data_s {
ziU8 unk_0x1F;
ziU16 unk_0x20[0x40];
ziU16 unk_0xA0[0x42];
ziU16* unk_0x124[1];
ziU16* zhUwdPtrs[1]; // 0x124
ziU8* unk_0x128;
ziU8 unk_0x12C;
ziU8 unk_0x12D;

View File

@@ -8,8 +8,8 @@ ziU32 Zi8GetZHuwdPtr(ziU32* arg0, ziU16* arg1 ZI_NEED_WORK) {
Zi8LogError(0x1A5, ZI_WORK);
return 0;
} else {
*arg1 = ZI_WORK->unk_0x124[ZI_WORK->unk_0x12C - 1][1] / 3;
*arg0 = (ziU32)ZI_WORK->unk_0x124[ZI_WORK->unk_0x12C - 1];
*arg1 = ZI_WORK->zhUwdPtrs[ZI_WORK->unk_0x12C - 1][1] / 3;
*arg0 = (ziU32)ZI_WORK->zhUwdPtrs[ZI_WORK->unk_0x12C - 1];
*arg0 += 8;
Zi8LogError(0x64, ZI_WORK);
return 1;