mirror of
https://github.com/Druthulu/BFM-decomp
synced 2026-10-04 00:20:10 -04:00
phase-36: T7 agent c20 — func_8013DD68 closed on a re-draw (the bit-field copy read as a whole word: a phantom flow-time mask reference), 128 bodies (16,273 → 16,015 sites, R22 218/218)
This commit is contained in:
@@ -11,9 +11,9 @@ void func_8013DD68() {
|
||||
u16 *puVar16;
|
||||
u16 *q;
|
||||
u16 *puVar10;
|
||||
register u16 uVar2 __asm__("$3"); // !FAKE: pin $3 — NEEDED DIFFERS (P36 rung A headers2)
|
||||
u16 uVar2;
|
||||
int uVar5;
|
||||
register int iVar14 __asm__("$7"); // !FAKE: pin $7 — NEEDED DIFFERS (P36 rung A headers2)
|
||||
int iVar14;
|
||||
Buf_8013DD68 buf;
|
||||
u8 *pbase;
|
||||
u8 *base;
|
||||
@@ -27,7 +27,7 @@ void func_8013DD68() {
|
||||
buf.env = *(DrawEnv_8013DD68 *)(base + 0x38);
|
||||
*((u8 *)&buf + 0x18) = 0;
|
||||
SetDrawEnv(p, &buf);
|
||||
((P_TAG_8013DD68 *)p)->addr = OTE->addr;
|
||||
((P_TAG_8013DD68 *)p)->addr = *(u32 *)OTE;
|
||||
OTE->addr = (u32)p;
|
||||
p = p + 0x10;
|
||||
iVar14 = 0;
|
||||
@@ -48,13 +48,12 @@ void func_8013DD68() {
|
||||
iVar14 = iVar14 + 1;
|
||||
*(u16 *)((int)puVar10 + -0xa) = q[-3];
|
||||
*(u8 *)((int)puVar10 + -8) = (u8)*puVar16;
|
||||
uVar2 = q[-7];
|
||||
*(u8 *)((int)puVar10 + -7) = (u8)q[-7];
|
||||
*(u16 *)((int)puVar10 + -6) = 0x7800;
|
||||
*(u8 *)((int)puVar10 + -7) = (u8)uVar2;
|
||||
puVar16 = puVar16 + 8;
|
||||
*(u16 *)((int)puVar10 + -4) = q[-2];
|
||||
*(u16 *)((int)puVar10 + -2) = q[-1];
|
||||
((P_TAG_8013DD68 *)p)->addr = OTE->addr;
|
||||
((P_TAG_8013DD68 *)p)->addr = *(u32 *)OTE;
|
||||
puVar10 = puVar10 + 0xc;
|
||||
OTE->addr = (u32)p;
|
||||
p = p + 6;
|
||||
@@ -62,7 +61,7 @@ void func_8013DD68() {
|
||||
} while (iVar14 < (int)(u32)uVar1);
|
||||
}
|
||||
SetDrawEnv(p, D_8017FC1C);
|
||||
((P_TAG_8013DD68 *)p)->addr = OTE->addr;
|
||||
((P_TAG_8013DD68 *)p)->addr = *(u32 *)OTE;
|
||||
OTE->addr = (u32)p;
|
||||
p = p + 0x10;
|
||||
(*(u32 * *)&D_800A5E60) = p;
|
||||
|
||||
Reference in New Issue
Block a user