Decompile 33 functions across 4 source files#35
Open
McMarius11 wants to merge 1 commit intomkst:masterfrom
Open
Decompile 33 functions across 4 source files#35McMarius11 wants to merge 1 commit intomkst:masterfrom
McMarius11 wants to merge 1 commit intomkst:masterfrom
Conversation
blood.c (game_161520.c): 58 → 38 GLOBAL_ASM (-20 functions) - func_1513416C, func_151346D0, func_151346EC, func_1513470C, func_1513472C, func_1513477C, func_151348F0, func_15134CD4, func_151352EC, func_1513530C, func_15135658, func_15135670, func_15136A1C, func_15135424, func_15137E10, func_151368A8, func_151380B4, func_1513532C, func_151353A8, func_1513B0B8, func_15136A50, func_15134CEC, func_15134DAC, func_1513555C, func_151355B8, func_15135480, func_15134908 game_16EE20.c: 71 → 62 GLOBAL_ASM (-9 functions) - func_15142A5C, func_15143044, func_15143E64, func_15144A74 and 5 others from previous sessions game_1944C0.c: 37 → 35 GLOBAL_ASM (-2 functions) game_981E0.c: 59 → 57 GLOBAL_ASM (-2 functions) Also adds: - auto_funcs.h / auto_vars.h for undefined symbol declarations - struct102 field extensions (unk40-unk1D4) - Build fixes for mips64-linux-gnu cross toolchain - Helper tools: score_functions.py, gen_expected.sh, gen_progress.py Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Owner
|
I don't think I want this... |
Author
i thought this could help by decompiling the functions. |
I think a larger concern is that this is an AI Slop generated PR & that your py scripts still have AI generated comments in them that say things like "Almost Done." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Notable matching techniques used
switchstatements to producebeqz/beqlsequential forward branches instead ofbnelfrom if-else chainsmemcpy(); *(s16*)... = -*(s16*)...;)*(s32*)((u8*)arg0 + 0x1C)) when struct field type doesn't match ASM load width0.0fplaced last in source to let IDO schedulemtc1 zeroearlier (pipeline optimization)Infrastructure additions
include/auto_funcs.h/include/auto_vars.h— auto-generated declarations for undefined symbolsstruct102field extensions (unk40–unk1D4)tools/score_functions.py— scores remaining GLOBAL_ASM functions by difficultytools/gen_expected.sh— generates expected .o files for asm-differtools/gen_progress.py— tracks decompilation progressmips64-linux-gnu-cross toolchain (Fedora)Test plan
make(may needCROSS=mips64-linux-gnu-on Fedora)🤖 Generated with Claude Code