Skip to content

Commit

Permalink
QueueDraw comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Niko committed Sep 1, 2024
1 parent f768c03 commit 1ef8ec6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
5 changes: 4 additions & 1 deletion ghidra/zzz_Rest_Of_94426.c
Original file line number Diff line number Diff line change
Expand Up @@ -7677,8 +7677,11 @@ void FUN_80070950(undefined4 param_1,undefined4 param_2,int param_3)
puVar12 = &LAB_8006cdec; // reference to FUN_8006cdec(void), called later in this function indirectly. underwater or in mud something and near clip??
}
}
*(BADSPACEBASE **)param_3 = register0x00000074;

// overwrite RBI pointer from QueueDraw?
*(BADSPACEBASE **)param_3 = register0x00000074;
*(undefined **)(param_3 + 4) = unaff_s8;

puVar29 = (undefined *)((uint)puVar29 | 0x40);

// function to render the instance
Expand Down
8 changes: 4 additions & 4 deletions include/namespace_Instance.h
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,10 @@ struct InstDrawPerPlayer
struct ModelHeader* mh;

// 0xe4
int unkE4;
int unkE8;
int unkEC;
int unkF0;
int unkE4; // ptrOT + offset
int unkE8; // ptrOT + offset
int unkEC; // drawFunc1
int unkF0; // drawFunc2

// 0xec - render function
// 0xf0 - func (for what?)
Expand Down

0 comments on commit 1ef8ec6

Please sign in to comment.