AI generatedCode
58.90%- 6.44% matching
- 52.45% partially matching
- 41.10% to do
Data
100%- 2,155,890,688 done
- 0 to do
Functions
23.82%- 2,533 matching
- 8,099 to do
code +1.70% · data ±0% ·
gen11_180000.c: 127 generated functions (pointer and PS2 address conversions repaired in the port's form)
Areas
- Matching
- Partially matching
- Not decompiled
All areas as a table
| Area | Matching | Partially matching | Data | Size (bytes) |
|---|---|---|---|---|
| (start-up and main loop) | 36.92% | 56.50% | — | 9,232 |
| Scenes (16) | 10.41% | 57.51% | — | 699,768 |
| StateInitialize.c | 3.04% | 94.86% | — | 76,760 |
| StateStartUp.c | 22.06% | 69.11% | — | 48,448 |
| StateDemo.c | 5.75% | 60.57% | — | 20,024 |
| StateBattleInitialize.c | 7.35% | 61.17% | — | 36,800 |
| StatePreBattle.c | 3.87% | 74.68% | — | 35,944 |
| StatePostBattle.c | 1.31% | 90.08% | — | 31,776 |
| StateConfig.c | 22.96% | 51.36% | — | 23,768 |
| StateTreasures.c | 100% | 0.00% | — | 9,440 |
| StateShop.c | 30.51% | 27.57% | — | 49,352 |
| StateConquest.c | 14.49% | 85.48% | — | 56,408 |
| StateEdit.c | 7.33% | 63.17% | — | 85,952 |
| StateSetupEmpMogi.c | 15.40% | 60.26% | — | 9,664 |
| SceneTitle.c | 0.75% | 25.22% | — | 80,632 |
| SceneLoading.c | 5.12% | 35.68% | — | 23,456 |
| ScenePreBattle.c | 1.04% | 25.02% | — | 75,264 |
| SceneTutorial.c | 15.74% | 67.37% | — | 36,080 |
| Empire mode (18) | 8.75% | 74.48% | — | 743,828 |
| emp_FldBase.c | 14.17% | 79.78% | — | 97,112 |
| emp_cq_main.c | 8.38% | 91.62% | — | 122,972 |
| emp_cq_text.c | 9.47% | 36.84% | — | 3,040 |
| emp_ending.c | 9.53% | 79.71% | — | 17,464 |
| emp_ending_nenpyou.c | 6.67% | 57.25% | — | 15,120 |
| emp_ev_predata.c | 8.63% | 81.98% | — | 73,256 |
| emp_ev_station.c | 2.22% | 84.59% | — | 60,472 |
| emp_ev_still.c | 10.54% | 61.08% | — | 69,536 |
| emp_free_setup.c | 3.73% | 41.49% | — | 53,256 |
| emp_sc.c | 3.70% | 42.53% | — | 5,192 |
| emp_war_fix.c | 17.64% | 82.29% | — | 45,000 |
| emp_war_tl.c | 15.05% | 64.61% | — | 23,600 |
| emp_war_wllt.c | 14.81% | 83.16% | — | 30,144 |
| emp_zuroku.c | 3.88% | 70.68% | — | 47,424 |
| emp_zuroku_bushou.c | 0.61% | 87.22% | — | 10,456 |
| emp_zuroku_graph.c | 5.42% | 58.21% | — | 33,928 |
| emp_zuroku_movie.c | 1.19% | 96.72% | — | 2,680 |
| StationEmp.c | 3.47% | 59.87% | — | 33,176 |
| Battlefield (12) | 3.44% | 41.54% | — | 516,868 |
| Field.c | 9.78% | 66.62% | — | 28,480 |
| Stage.c | 8.16% | 46.20% | — | 29,792 |
| StgAmbient.c | 0.37% | 11.73% | — | 26,048 |
| StgTexture.c | 2.00% | 35.37% | — | 76,040 |
| DistantView.c | 2.10% | 48.97% | — | 41,840 |
| BgManager.c | 5.12% | 13.76% | — | 59,024 |
| Bullet.c | 0.35% | 99.65% | — | 36,580 |
| Weapon.c | 3.32% | 52.62% | — | 55,936 |
| ObjAction.c | 2.85% | 70.08% | — | 47,224 |
| RelayCamera.c | 0.17% | 6.79% | — | 54,952 |
| MiniMap.c | 0.10% | 13.83% | — | 16,080 |
| effect.c | 8.06% | 41.18% | — | 44,872 |
| Models and motion (5) | 2.03% | 31.13% | — | 246,168 |
| ModelManager.c | 2.42% | 74.65% | — | 35,696 |
| MotionManager.c | 2.18% | 8.87% | — | 52,160 |
| HorseModel.c | 2.60% | 28.23% | — | 95,952 |
| FlagModel.c | 1.19% | 35.88% | — | 18,776 |
| ItemModel.c | 0.62% | 26.43% | — | 43,584 |
| Events and scripts (9) | 5.08% | 46.28% | — | 378,408 |
| ev_main.c | 7.40% | 51.16% | — | 14,480 |
| ev_config.c | 4.50% | 37.12% | — | 55,496 |
| ev_message.c | 4.01% | 29.43% | — | 26,760 |
| sc_ctrl.c | 6.75% | 62.21% | — | 31,784 |
| sc_sysmsg.c | 0.84% | 48.60% | — | 34,368 |
| sc_ubase.c | 8.43% | 91.36% | — | 42,880 |
| MovieTelop.c | 2.27% | 53.82% | — | 24,624 |
| SeasonAnime.c | 17.71% | 49.48% | — | 31,624 |
| BriefingCmnParts.c | 2.05% | 29.82% | — | 116,392 |
| Interface and system (6) | 3.57% | 40.23% | — | 578,424 |
| cmnparts.c | 2.61% | 91.69% | — | 47,192 |
| font.c | 1.74% | 35.11% | — | 193,992 |
| file.c | 3.92% | 22.90% | — | 141,496 |
| SeManager.c | 7.95% | 70.96% | — | 35,400 |
| JapanMap.c | 9.95% | 67.07% | — | 60,776 |
| SecretSorts.c | 1.66% | 23.11% | — | 99,568 |
| Game data (21) | 0.00% | 0.00% | 100% | 0 |
| ANS stream | 0.00% | 0.00% | 100% | 0 |
| MPEG2 | 0.00% | 0.00% | 100% | 0 |
| TIM2 | 0.00% | 0.00% | 100% | 0 |
| TMD2 | 0.00% | 0.00% | 100% | 0 |
| Battlefield | 0.00% | 0.00% | 100% | 0 |
| PS2 | 0.00% | 0.00% | 100% | 0 |
| Motion | 0.00% | 0.00% | 100% | 0 |
| Event motions | 0.00% | 0.00% | 100% | 0 |
| EFB | 0.00% | 0.00% | 100% | 0 |
| ADPCM sounds | 0.00% | 0.00% | 100% | 0 |
| tm3 | 0.00% | 0.00% | 100% | 0 |
| IPU | 0.00% | 0.00% | 100% | 0 |
| Containers | 0.00% | 0.00% | 100% | 0 |
| Text | 0.00% | 0.00% | 100% | 0 |
| Game state tables | 0.00% | 0.00% | 100% | 0 |
| Event commands | 0.00% | 0.00% | 100% | 0 |
| LZ archive | 0.00% | 0.00% | 100% | 0 |
| Sound bank headers | 0.00% | 0.00% | 100% | 0 |
| PAC0 | 0.00% | 0.00% | 100% | 0 |
| Sound tables | 0.00% | 0.00% | 100% | 0 |
| Save icon | 0.00% | 0.00% | 100% | 0 |
History
DecompiledMatchingDataClick the chart to see the project at that commit.
Reports up to this one (308)
| When | Decompiled | Matching | Data | Commit |
|---|---|---|---|---|
| 58.90% +1.70% | 6.44% +0.01% | 100% | b26555d gen11_180000.c: 127 generated functions (pointer and PS2 address conversions repaired in the port's form) | |
| 57.20% +1.18% | 6.44% | 100% | a32b02e gen10_180000.c: 90 generated functions (size within 25 %, calls and return values checked against the machine code) | |
| 56.01% +0.29% | 6.44% +0.05% | 100% | 811eb8f gen9_180000.c: 18 generated functions (scratchpad variables read through their address); remove 24 generated functions with lost return values or arguments | |
| 55.72% -0.28% | 6.39% | 100% | 8ab9abb Generated files: remove 13 functions whose calls dropped stack or pass-through arguments | |
| 56.01% +0.85% | 6.39% +0.01% | 100% | 5ee81c1 gen8_180000.c: 49 generated functions (integer offsets index globals, PS2 addresses converted at use) | |
| 55.16% +0.07% | 6.38% | 100% | e1e2b4f gen7_180000.c: 7 generated functions using pointer tables | |
| 55.08% +0.31% | 6.38% | 100% | 653c685 gen6_180000.c: 30 generated functions with 64-bit GS packet fields | |
| 54.78% +0.59% | 6.38% +0.01% | 100% | f6215d5 gen4/gen5_180000.c: 46 more generated functions (hex float arguments, goto, pointer loads through PS2_PTR) | |
| 54.18% +0.66% | 6.36% +0.02% | 100% | 4687504 gen3_180000.c: 48 generated functions with float prototypes, size-checked | |
| 53.52% +1.05% | 6.35% +0.03% | 100% | 019c62c gen2_180000.c: 106 generated functions following the port rules (pointer locals, arrays), size-checked | |
| 52.47% | 6.32% +0.03% | 100% | a596c02 Resolve every ARG_UNKNOWN from the disassembly; fix swapped and missing call arguments | |
| 52.47% | 6.29% +1.57% | 100% | 434cdd3 Restore matching tags lost while the matcher could not find sw2e_draw.h | |
| 52.47% | 4.71% -1.47% | 100% | b5fe55f sw2e_draw.h: shared drawing prototypes; complete stack arguments dropped by Ghidra (ARG_UNKNOWN where not yet traced) | |
| 52.47% -0.18% | 6.18% | 100% | 18f2425 gen_*.c: drop 28 generated functions that lose a return value or arguments | |
| 52.65% +4.46% | 6.19% +0.30% | 100% | 8fa867d gen_*.c: simple functions generated from Ghidra, kept when within 10% of the original size | |
| 48.20% +0.16% | 5.89% | 100% | 53eb147 window_boxes3.c: menu box set-ups by page (generated) | |
| 48.04% +0.37% | 5.89% | 100% | 14c614f window_boxes1/2.c: more screen box set-ups (generated) | |
| 47.67% +0.19% | 5.89% | 100% | 4f43d70 window_boxes1.c: screen window box set-ups (generated, widths from the disassembly) | |
| 47.48% +0.15% | 5.89% | 100% | 38fc4d3 troop_ai3.c mounted group steps; ui_layouts.c window boxes by page | |
| 47.33% +0.20% | 5.89% | 100% | 2ef31c1 troop_ai3.c: officer attack choices, guards, group moves |
Badges
For your README. They show the default version and update with every report.
[](https://decompilati.onl/projects/samurai-warriors-2-empire)
[](https://decompilati.onl/projects/samurai-warriors-2-empire)
[](https://decompilati.onl/projects/samurai-warriors-2-empire)
[](https://decompilati.onl/projects/samurai-warriors-2-empire)