Skip to content

Drawutil funcs#4

Open
owlyoop wants to merge 1 commit into
TheMobyCollective:mainfrom
owlyoop:drawutil_funcs
Open

Drawutil funcs#4
owlyoop wants to merge 1 commit into
TheMobyCollective:mainfrom
owlyoop:drawutil_funcs

Conversation

@owlyoop
Copy link
Copy Markdown

@owlyoop owlyoop commented Apr 17, 2026

Hi, this is my first time trying this sort of thing & am interested in learning how to help, so sorry if I am wasting your time!

I have some 100% matches on decomp.me for the drawutil funcs:
func_8001FE48 https://decomp.me/scratch/bNzDh
func_8001FC90 https://decomp.me/scratch/spFFL

I think these two functions are for drawing the grey rects in the loading screen for loading/quitting a save.

I was only able to get a 100% match if I changed the function signatures of both functions from 4 shorts to 4 ints.
Also for func_8001FC90, I wasn't sure what D_8006C664 was since nothing was similar in the context file, so I created a struct in drawutil.h "HudRectDraw". Wasn't sure if this is correct to do or what the naming conventions are.

- changed func signatures from 4 shorts to 4 ints
- added a HudRectDraw struct to drawutil.h since I couldn't find something matching in context.py, might be wrong
- 100% match https://decomp.me/scratch/bNzDh https://decomp.me/scratch/spFFL
@Hwd405
Copy link
Copy Markdown
Contributor

Hwd405 commented May 4, 2026

Apologies for the delay! Thanks for sending this through! I think changing those shorts to ints was probably the right move, I think they almost universally used ints in the function signatures as opposed to shorts. The drawutil struct is probably fine, I'll double check when I've got a moment to review this PR fully

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants