Legaia 2: Duel Saga cover artAI generated
PS2PlayStation 2

Legaia 2: Duel Saga

AI contributions: Welcome

A Work-In-Progress reverse engineering and matching decompilation of Legaia 2: Duel Saga for the PlayStation 2 (PAL, SLES-50891).

0

Code

27.50%
decompiled of 2,022,160 bytes
  • 27.39% matching
  • 0.11% partially matching
  • 72.50% to do

Data

0.17%
decompiled of 1,770,993 bytes
  • 3,073 done
  • 1,767,920 to do

Functions

78.30%
matching of 6,258 functions
  • 4,900 matching
  • 1,358 to do

code +0.32% · data ±0% ·

Integrate 27 verified session 43 function matches

Areas

Other code (SDK, libraries, unattributed) Code: 27.38% matching, 0.03% partially matching (1,338,020 bytes) Functions: 3,331/4,215 matchingOther code (SDK, libraries, unattributed) · 27.41%_unknown_after_shikimi Code: 68.86% matching, 0.02% partially matching (224,244 bytes) Functions: 1,076/1,206 matching_unknown_after_shikimi68.89%_unknown_after_nayuwin2 Code: 4.84% matching, 0.00% partially matching (164,208 bytes) Functions: 47/126 matching_unknown_after_nayuwin24.84%_unknown_after_nori Code: 3.28% matching, 0.00% partially matching (117,528 bytes) Functions: 40/88 matching_unknown_after_nori3.28%_unknown_after_noriwin Code: 3.90% matching, 0.00% partially matching (98,060 bytes) Functions: 17/50 matching_unknown_after_nori…3.90%_unknown_after_pstack Code: 25.76% matching, 0.00% partially matching (72,132 bytes) Functions: 210/264 matching_unknown_afte…25.76%_unknown_after_abeshi Code: 27.50% matching, 0.54% partially matching (50,136 bytes) Functions: 44/54 matching_unknown_aft…28.04%_unknown_after_disp Code: 23.86% matching, 0.00% partially matching (36,180 bytes) Functions: 73/106 matching_unknown_aft…23.86%_unknown_after_ikumi Code: 2.09% matching, 0.00% partially matching (34,664 bytes) Functions: 4/18 matching_unknown_aft…2.09%_unknown_after_nayuini2 Code: 5.65% matching, 0.00% partially matching (30,104 bytes) Functions: 8/10 matching_unknown_aft…5.65%_unknown_after_shuffle Code: 14.22% matching, 0.00% partially matching (29,104 bytes) Functions: 26/52 matching_unknown_af…14.22%_unknown_after_battleslot Code: 27.81% matching, 0.00% partially matching (27,612 bytes) Functions: 71/87 matching_unknown_a…27.81%_unknown_after_memo2 Code: 12.71% matching, 0.00% partially matching (24,992 bytes) Functions: 26/44 matching_unknown_…12.71%_unknown_after_lg2save Code: 5.95% matching, 0.00% partially matching (23,540 bytes) Functions: 19/41 matching_unknown…5.95%_unknown_after_arena Code: 16.35% matching, 0.00% partially matching (22,024 bytes) Functions: 26/46 matching_unkno…16.35%_unknown_after_bwin Code: 16.30% matching, 0.12% partially matching (20,708 bytes) Functions: 40/73 matching_unkno…16.42%_unknown_after_akari Code: 13.46% matching, 0.00% partially matching (17,420 bytes) Functions: 23/30 matching_unkno…13.46%_unknown_after_rsound Code: 33.30% matching, 0.00% partially matching (17,284 bytes) Functions: 69/82 matching_unkno…33.30%_unknown_after_decode Code: 26.35% matching, 0.00% partially matching (16,228 bytes) Functions: 65/86 matching_unkn…26.35%_unknown_after_pchboss Code: 49.84% matching, 0.00% partially matching (16,124 bytes) Functions: 70/78 matching_unkn…49.84%_unknown_after_mapdata Code: 26.13% matching, 0.00% partially matching (15,336 bytes) Functions: 51/67 matching_unkn…26.13%_unknown_after_clas_min Code: 24.33% matching, 0.00% partially matching (15,008 bytes) Functions: 30/46 matching_unkn…24.33%_unknown_after_denlib Code: 67.13% matching, 0.00% partially matching (14,200 bytes) Functions: 154/170 matching_unk…67.13%_unknown_after_noribs Code: 58.18% matching, 0.00% partially matching (14,052 bytes) Functions: 141/154 matching_unkn…58.18%_unknown_after_yue Code: 1.98% matching, 0.00% partially matching (13,564 bytes) Functions: 5/15 matching_unkn…1.98%_unknown_after_work Code: 69.50% matching, 0.00% partially matching (13,428 bytes) Functions: 91/106 matching_unkn…69.50%_unknown_after_sky Code: 33.69% matching, 0.00% partially matching (12,028 bytes) Functions: 38/52 matching_unkn…33.69%_unknown_after_screfct Code: 17.52% matching, 0.00% partially matching (10,912 bytes) Functions: 26/35 matching_un…17.52%_unknown_after_movieplay Code: 47.43% matching, 0.00% partially matching (10,332 bytes) Functions: 18/27 matching_un…47.43%_unknown_after_titlemode Code: 54.22% matching, 0.00% partially matching (9,664 bytes) Functions: 116/126 matching_un…54.22%_unknown_after_sammon Code: 6.71% matching, 0.00% partially matching (9,656 bytes) Functions: 11/19 matching_un…6.71%_unknown_after_pchsysw Code: 17.27% matching, 0.00% partially matching (9,428 bytes) Functions: 21/31 matching_unk…17.27%_unknown_after_window Code: 11.19% matching, 0.00% partially matching (9,368 bytes) Functions: 14/25 matching_unk…11.19%_unknown_after_flare Code: 38.82% matching, 0.00% partially matching (8,160 bytes) Functions: 17/25 matching_un…38.82%_unknown_after_misuzu Code: 21.90% matching, 0.00% partially matching (8,056 bytes) Functions: 35/44 matching_un…21.90%_unknown_after_crvmove Code: 40.44% matching, 0.00% partially matching (7,824 bytes) Functions: 37/48 matching_un…40.44%_unknown_after_main Code: 33.94% matching, 0.00% partially matching (7,412 bytes) Functions: 29/36 matching_un…33.94%_unknown_after_gimmick Code: 9.64% matching, 0.00% partially matching (7,096 bytes) Functions: 6/10 matching_un…9.64%_unknown_after_roulette Code: 74.54% matching, 0.00% partially matching (6,756 bytes) Functions: 54/60 matching_un…74.54%_unknown_after_pchse Code: 93.28% matching, 0.00% partially matching (6,428 bytes) Functions: 50/53 matching_u…93.28%_unknown_after_yokota Code: 23.62% matching, 0.00% partially matching (6,080 bytes) Functions: 16/27 matching_u…23.62%_unknown_after_object Code: 31.58% matching, 0.00% partially matching (5,560 bytes) Functions: 15/21 matching_u…31.58%_unknown_after_eftedsb Code: 2.63% matching, 0.00% partially matching (5,484 bytes) Functions: 1/3 matching_unknown_after_cam_min Code: 5.89% matching, 0.00% partially matching (5,228 bytes) Functions: 5/13 matching_u…5.89%_unknown_after_line Code: 39.12% matching, 0.00% partially matching (5,112 bytes) Functions: 15/22 matching_u…39.12%_unknown_after_eftpack Code: 40.35% matching, 0.00% partially matching (4,788 bytes) Functions: 18/23 matching_unknown_after_th_tex Code: 12.39% matching, 0.00% partially matching (4,680 bytes) Functions: 14/17 matching_unknown_after_sumpochi Code: 53.10% matching, 0.00% partially matching (3,940 bytes) Functions: 23/24 matching_unknown_after_eftedit Code: 14.29% matching, 0.00% partially matching (3,920 bytes) Functions: 12/13 matching_unknown_after_pochilib Code: 54.45% matching, 0.00% partially matching (3,732 bytes) Functions: 19/23 matching_unknown_after_mp_disp Code: 13.88% matching, 0.00% partially matching (3,084 bytes) Functions: 7/12 matching_unknown_after_file Code: 96.24% matching, 0.00% partially matching (2,980 bytes) Functions: 19/20 matching_unknown_after_battuto Code: 7.20% matching, 0.00% partially matching (2,888 bytes) Functions: 5/7 matching_unknown_after_pchspplate Code: 24.41% matching, 0.00% partially matching (2,720 bytes) Functions: 10/15 matching_unknown_after_anime Code: 18.06% matching, 0.00% partially matching (2,104 bytes) Functions: 4/7 matching_unknown_after_battle Code: 72.51% matching, 0.00% partially matching (1,964 bytes) Functions: 22/24 matching_unknown_after_pachislot Code: 84.08% matching, 0.00% partially matching (1,960 bytes) Functions: 23/24 matching_unknown_after_init Code: 30.10% matching, 0.00% partially matching (1,940 bytes) Functions: 10/13 matching_unknown_after_multi Code: 39.88% matching, 0.00% partially matching (1,936 bytes) Functions: 11/15 matching_unknown_after_repetition Code: 65.43% matching, 0.00% partially matching (1,828 bytes) Functions: 15/16 matching_unknown_after_result Code: 14.00% matching, 0.00% partially matching (1,800 bytes) Functions: 4/8 matching_unknown_after_srivus Code: 70.63% matching, 0.00% partially matching (1,784 bytes) Functions: 17/18 matching_unknown_after_sprite Code: 14.85% matching, 0.00% partially matching (1,428 bytes) Functions: 4/6 matching_unknown_after_batread Code: 60.43% matching, 0.00% partially matching (1,304 bytes) Functions: 12/14 matching_unknown_after_pchjob0 Code: 62.68% matching, 0.00% partially matching (1,136 bytes) Functions: 12/13 matching_unknown_start Code: 12.74% matching, 0.00% partially matching (1,036 bytes) Functions: 4/8 matching_unknown_after_modelpkt Code: 100% matching, 0.00% partially matching (952 bytes) Functions: 25/25 matching_unknown_after_minigame Code: 100% matching, 0.00% partially matching (884 bytes) Functions: 27/27 matching_unknown_after_nayuki Code: 100% matching, 0.00% partially matching (820 bytes) Functions: 10/10 matching_unknown_after_pchevent Code: 100% matching, 0.00% partially matching (760 bytes) Functions: 13/13 matching_unknown_after_srenia Code: 68.71% matching, 0.00% partially matching (652 bytes) Functions: 9/10 matching_unknown_after_darts Code: 100% matching, 0.00% partially matching (640 bytes) Functions: 10/10 matching_unknown_after_sarva Code: 60.47% matching, 0.00% partially matching (516 bytes) Functions: 4/5 matching_unknown_after_slasteg Code: 61.90% matching, 0.00% partially matching (504 bytes) Functions: 4/5 matching_unknown_after_sdiva Code: 100% matching, 0.00% partially matching (348 bytes) Functions: 4/4 matching_unknown_after_rouge Code: 100% matching, 0.00% partially matching (240 bytes) Functions: 4/4 matching_unknown_after_mizuki Code: 100% matching, 0.00% partially matching (148 bytes) Functions: 2/2 matching_unknown_after_nowloding Code: 100% matching, 0.00% partially matching (140 bytes) Functions: 4/4 matchingGame code (attributed to a .cpp file) Code: 27.40% matching, 0.27% partially matching (684,140 bytes) Functions: 1,569/2,043 matchingGame code (attributed to a .cpp file) · 27.67%battle Code: 51.33% matching, 0.00% partially matching (88,704 bytes) Functions: 185/207 matchingbattle51.33%nori Code: 9.01% matching, 0.00% partially matching (48,292 bytes) Functions: 26/64 matchingnori9.01%clas_min Code: 30.24% matching, 0.00% partially matching (42,440 bytes) Functions: 139/191 matchingclas_min30.24%shikimi Code: 9.37% matching, 4.77% partially matching (38,820 bytes) Functions: 30/42 matchingshikimi14.14%yue Code: 16.51% matching, 0.00% partially matching (36,396 bytes) Functions: 46/56 matchingyue16.51%pachislot Code: 45.25% matching, 0.00% partially matching (32,012 bytes) Functions: 143/165 matchingpachislot45.25%nayuki Code: 16.55% matching, 0.00% partially matching (30,000 bytes) Functions: 83/98 matchingnayuki16.55%pchjob0 Code: 16.48% matching, 0.00% partially matching (27,404 bytes) Functions: 49/64 matchingpchjob016.48%pchevent Code: 52.32% matching, 0.00% partially matching (25,644 bytes) Functions: 83/107 matchingpchevent52.32%yokota Code: 13.81% matching, 0.00% partially matching (18,252 bytes) Functions: 22/40 matchingyokota13.81%nayuwin2 Code: 26.73% matching, 0.00% partially matching (18,136 bytes) Functions: 64/78 matchingnayuwi…26.73%memo2 Code: 4.20% matching, 0.00% partially matching (18,004 bytes) Functions: 5/14 matchingmemo24.20%eftedit Code: 4.28% matching, 0.00% partially matching (15,524 bytes) Functions: 5/14 matchingefted…4.28%eftedsb Code: 0.00% matching, 0.00% partially matching (14,532 bytes) Functions: 0/1 matchingefte…0.00%screfct Code: 14.57% matching, 0.00% partially matching (13,204 bytes) Functions: 9/14 matchingscre…14.57%ikumi Code: 3.98% matching, 0.00% partially matching (12,872 bytes) Functions: 5/15 matchingikumi3.98%repetition Code: 73.23% matching, 0.00% partially matching (12,312 bytes) Functions: 68/74 matchingrepe…73.23%roulette Code: 59.73% matching, 0.00% partially matching (11,740 bytes) Functions: 65/73 matchingroul…59.73%sammon Code: 10.14% matching, 0.00% partially matching (11,400 bytes) Functions: 17/31 matchingsamm…10.14%darts Code: 36.73% matching, 0.00% partially matching (10,368 bytes) Functions: 34/48 matchingdarts36.73%rsound Code: 24.50% matching, 0.00% partially matching (9,648 bytes) Functions: 15/23 matchingrso…24.50%pchsysw Code: 49.81% matching, 0.00% partially matching (9,396 bytes) Functions: 57/68 matchingpch…49.81%init Code: 18.71% matching, 0.00% partially matching (8,636 bytes) Functions: 19/25 matchinginit18.71%mizuki Code: 12.83% matching, 0.00% partially matching (8,540 bytes) Functions: 21/28 matchingmiz…12.83%batread Code: 30.82% matching, 0.00% partially matching (7,760 bytes) Functions: 17/20 matchingbat…30.82%akari Code: 40.15% matching, 0.00% partially matching (7,472 bytes) Functions: 39/48 matchingaka…40.15%object Code: 14.23% matching, 0.00% partially matching (7,336 bytes) Functions: 13/24 matchingobj…14.23%file Code: 54.31% matching, 0.00% partially matching (5,620 bytes) Functions: 20/26 matchingfi…54.31%rouge Code: 20.64% matching, 0.00% partially matching (5,408 bytes) Functions: 6/12 matchingro…20.64%flare Code: 20.25% matching, 0.00% partially matching (5,352 bytes) Functions: 34/40 matchingfl…20.25%abeshi Code: 24.73% matching, 0.00% partially matching (5,112 bytes) Functions: 13/19 matchingab…24.73%srivus Code: 51.40% matching, 0.00% partially matching (5,012 bytes) Functions: 42/47 matchingsr…51.40%ikumin Code: 26.25% matching, 0.00% partially matching (4,892 bytes) Functions: 31/38 matchingik…26.25%denlib Code: 25.89% matching, 0.00% partially matching (4,588 bytes) Functions: 15/22 matchingde…25.89%mapdata Code: 10.26% matching, 0.00% partially matching (4,524 bytes) Functions: 1/6 matchingwork Code: 64.67% matching, 0.00% partially matching (4,416 bytes) Functions: 30/36 matchingresult Code: 0.00% matching, 0.00% partially matching (4,288 bytes) Functions: 0/3 matchingshuffle Code: 54.49% matching, 0.00% partially matching (4,184 bytes) Functions: 22/28 matchingth_tex Code: 64.82% matching, 0.00% partially matching (3,980 bytes) Functions: 11/13 matchingmisuzu Code: 3.70% matching, 0.00% partially matching (3,132 bytes) Functions: 1/5 matchingpchse Code: 5.36% matching, 0.00% partially matching (2,984 bytes) Functions: 2/6 matchingmodelpkt Code: 27.36% matching, 0.00% partially matching (2,632 bytes) Functions: 9/13 matchingcam_min Code: 4.02% matching, 0.00% partially matching (2,584 bytes) Functions: 2/5 matchingdisp Code: 0.00% matching, 0.00% partially matching (2,536 bytes) Functions: 0/1 matchingwindow Code: 0.00% matching, 0.00% partially matching (2,484 bytes) Functions: 0/1 matchingeftpack Code: 22.85% matching, 0.00% partially matching (2,416 bytes) Functions: 5/9 matchinggimmick Code: 0.00% matching, 0.00% partially matching (2,336 bytes) Functions: 0/2 matchingarena Code: 0.00% matching, 0.00% partially matching (2,296 bytes) Functions: 0/1 matchingsky Code: 14.08% matching, 0.00% partially matching (2,244 bytes) Functions: 3/5 matchinganime Code: 0.00% matching, 0.00% partially matching (2,160 bytes) Functions: 0/1 matchingnoriwin Code: 0.00% matching, 0.00% partially matching (2,152 bytes) Functions: 0/1 matchingsprite Code: 55.63% matching, 0.00% partially matching (1,848 bytes) Functions: 15/16 matchingmovieplay Code: 60.72% matching, 0.00% partially matching (1,436 bytes) Functions: 3/4 matchingnoribs Code: 18.67% matching, 0.00% partially matching (1,328 bytes) Functions: 1/3 matchingbattleslot Code: 100% matching, 0.00% partially matching (1,244 bytes) Functions: 15/15 matchingdecode Code: 28.03% matching, 0.00% partially matching (956 bytes) Functions: 5/7 matchingmulti Code: 24.02% matching, 0.00% partially matching (816 bytes) Functions: 1/2 matchingmain Code: 100% matching, 0.00% partially matching (628 bytes) Functions: 2/2 matchingmp_disp Code: 100% matching, 0.00% partially matching (624 bytes) Functions: 1/1 matchingnowloding Code: 0.00% matching, 0.00% partially matching (596 bytes) Functions: 0/1 matchinglg2save Code: 100% matching, 0.00% partially matching (392 bytes) Functions: 3/3 matchingpchspplate Code: 100% matching, 0.00% partially matching (360 bytes) Functions: 2/2 matchingbattuto Code: 100% matching, 0.00% partially matching (280 bytes) Functions: 1/1 matchingsumpochi Code: 100% matching, 0.00% partially matching (256 bytes) Functions: 1/1 matchingpochilib Code: 100% matching, 0.00% partially matching (216 bytes) Functions: 1/1 matchingnayuini2 Code: 100% matching, 0.00% partially matching (200 bytes) Functions: 1/1 matchingcrvmove Code: 100% matching, 0.00% partially matching (168 bytes) Functions: 1/1 matchingtitlemode Code: 100% matching, 0.00% partially matching (120 bytes) Functions: 1/1 matchingminigame Code: 100% matching, 0.00% partially matching (96 bytes) Functions: 1/1 matchingpstack Code: 100% matching, 0.00% partially matching (64 bytes) Functions: 1/1 matching
All areas as a table
AreaMatchingPartially matchingDataFunctionsSize (bytes)
Game code (attributed to a .cpp file) (77)27.40%0.27%100%1,569 / 2,043684,140
Other code (SDK, libraries, unattributed) (78)27.38%0.03%0.12%3,331 / 4,2151,338,020

History

DecompiledMatchingDataClick the chart to see the project at that commit.
0%25%50%75%100%2026-10-162026-11-27

Reports up to this one (448)

WhenDecompiledMatchingDataCommit
27.50% +0.32%27.39% +0.32%0.17%f46c8c1 Integrate 27 verified session 43 function matches
27.17% +0.03%27.06% +0.03%0.17%0138d72 Match five PAL functions covering 672 bytes
27.15% +0.43%27.03% +0.43%0.17%671cc1d Match 34 session 42 functions (27.03%)
26.72%26.60%0.17%7773909 Update README.md
26.72%26.60%0.17%267e7cb Link the beta ROM patcher from the homepage and README
26.72% +0.02%26.60% +0.02%0.17%3543846 Match four file, texture and table routines
26.70% +0.96%26.58% +0.96%0.17% +0.01%623ae40 Match 27 session 41 functions
25.74% +0.77%25.61% +0.77%0.16%c357bd0 Match 38 session 39 functions
24.97%24.84%0.16%fd7557f Refresh README progress badge URLs
24.97% +0.30%24.84% +0.30%0.16%11122b2 Match 24 session 38 functions
24.67% +0.43%24.54% +0.43%0.15% +0.01%02f72dc Match 25 functions from round-3 and round-4 Opus agents (24.54%)
24.24%24.11%0.14%cb76da5 Rename the mod patcher to ROM patcher
24.24%24.11%0.14%1758887 Change from mod patcher to rom patcher
24.24%24.11%0.14%211ba2e Remove the duplicate Mod patcher nav link
24.24%24.11%0.14%dbed5cd Use the homepage nav bar on the mod patcher page
24.24%24.11%0.14%31596c2 Add the mod patcher to the homepage and README
24.24%24.11%0.14%713e70e Publish the Legaia 2 beta mod patcher
24.24% +0.32%24.11% +0.32%0.14%2916434 Match 31 more functions from round-2 Opus agents (24.11%)
23.92% +0.40%23.79% +0.41%0.14%557e344 Match 42 functions from four parallel Opus agents (23.79%)
23.51% +0.44%23.38% +0.45%0.14%794e138 Collect 47 verified Claude function drafts

Badges

For your README. They show the default version and update with every report.

Decompiled
[![Decompiled](https://decompilati.onl/badge/legaia-2-duel-saga.svg)](https://decompilati.onl/projects/legaia-2-duel-saga)
Matching
[![Matching](https://decompilati.onl/badge/legaia-2-duel-saga/matching.svg)](https://decompilati.onl/projects/legaia-2-duel-saga)
Data
[![Data](https://decompilati.onl/badge/legaia-2-duel-saga/data.svg)](https://decompilati.onl/projects/legaia-2-duel-saga)
Functions
[![Functions](https://decompilati.onl/badge/legaia-2-duel-saga/functions.svg)](https://decompilati.onl/projects/legaia-2-duel-saga)