Skip to content

Conversation

@itsgrimetime
Copy link
Contributor

Summary

  • Match un_80321CE8 (vi1202.c)
  • Partial match un_80322258 (80.6%)
  • Match un_80322298 and un_80322598 (vi1202.c)
  • Match 4 functions across vi1201v1 and v2
  • Match un_8031D698_OnFrame (vi0401.c)
  • Match fn_8031F56C (vi1101.c)
  • Match fn_8031EFE4 (vi0801.c)

Part 2 of 4 for visual/cutscene module functions.

Test plan

  • Builds successfully
  • clang-format passes

🤖 Generated with Claude Code

@decomp-dev
Copy link

decomp-dev bot commented Dec 30, 2025

Report for GALE01 (77946cc - 5f240ac)

📈 Matched code: 47.71% (+0.04%, +1488 bytes)

✅ 14 new matches
Unit Function Bytes Before After
main/melee/vi/vi0801 fn_8031EFE4 +152 0.00% 100.00%
main/melee/vi/vi1101 fn_8031F56C +148 0.00% 100.00%
main/melee/vi/vi1201v2 un_803208F0 +148 0.00% 100.00%
main/melee/vi/vi1201v1 fn_8031FC30 +140 0.00% 100.00%
main/melee/vi/vi1202 un_80322598 +136 0.00% 100.00%
main/melee/vi/vi1201v2 un_8032074C +120 0.00% 100.00%
main/melee/vi/vi1201v1 fn_8031FCBC +92 0.00% 100.00%
main/melee/vi/vi1202 un_80321950 +92 0.00% 100.00%
main/melee/vi/vi1202 fn_803219AC +84 0.00% 100.00%
main/melee/vi/vi1202 un_80322298 +84 0.00% 100.00%
main/melee/vi/vi1202 un_80321900 +80 0.00% 100.00%
main/melee/vi/vi1202 un_80321C28 +72 0.00% 100.00%
main/melee/vi/vi1202 un_80321CE8 +72 0.00% 100.00%
main/melee/vi/vi1202 un_80321CA4 +68 0.00% 100.00%
📈 3 improvements in unmatched functions
Unit Function Bytes Before After
main/melee/vi/vi0401 un_8031D698_OnFrame +71 0.00% 94.74%
main/melee/vi/vi1202 un_80322258 +51 0.00% 80.62%
main/melee/vi/vi1202 un_80321C70 +46 0.00% 88.46%

itsgrimetime and others added 10 commits December 30, 2025 16:10
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add implementations for two more vi1202.c functions:
- un_80322298: Returns category based on float comparison with Fighter_804D6500 offsets
- un_80322598: Complex branching with mpLib_80458868 and Fighter_804D6500 comparisons

Updates header signatures for un_8032201C, un_80322298, un_80322598.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
vi1201v1.c:
- fn_8031FC30: CObj animation with frame checks
- fn_8031FCBC: Frame counter with GObjPLink cleanup

vi1201v2.c:
- un_8032074C: JObj animation with gobj cleanup logic
- un_803208F0: Shadow, CObj rendering, erase screen

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Button input check that triggers lb_800145F4 and gm_801A4B60 when
specific button mask (0x1000) is pressed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CObj render setup with shadow, erase screen, and gxlink priority.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
CObj animation function with frame-triggered visual events.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
itsgrimetime and others added 4 commits December 30, 2025 16:16
These functions are called with HSD_GObj* parameters in vi1202.c
but were declared with UNK_PARAMS (no parameters) in the header.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Convert all instances of *(type*)((char*)ptr + offset) to use the
M2C_FIELD(ptr, type*, offset) macro for consistency and readability.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@itsgrimetime itsgrimetime marked this pull request as draft January 4, 2026 21:50
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.

1 participant