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

22.78%
decompiled of 2,022,208 bytes
  • 22.65% matching
  • 0.14% partially matching
  • 77.22% to do

Data

0.14%
decompiled of 1,770,388 bytes
  • 2,468 done
  • 1,767,920 to do

Functions

72.27%
matching of 6,256 functions
  • 4,521 matching
  • 1,735 to do

code +0.04% · data ±0% ·

Match startup, Flare lookup and clas_min initializer

Areas

Other code (SDK, libraries, unattributed) Code: 22.87% matching, 0.06% partially matching (1,338,068 bytes) Functions: 3,072/4,213 matchingOther code (SDK, libraries, unattributed) · 22.94%_unknown_after_shikimi Code: 64.86% matching, 0.10% partially matching (224,244 bytes) Functions: 1,054/1,206 matching_unknown_after_shikimi64.95%_unknown_after_nayuwin2 Code: 2.74% matching, 0.00% partially matching (164,208 bytes) Functions: 37/126 matching_unknown_after_nayuwin22.74%_unknown_after_nori Code: 1.93% matching, 0.06% partially matching (117,528 bytes) Functions: 30/88 matching_unknown_after_nori1.99%_unknown_after_noriwin Code: 1.39% matching, 0.00% partially matching (98,060 bytes) Functions: 8/50 matching_unknown_after_nori…1.39%_unknown_after_pstack Code: 13.91% matching, 0.09% partially matching (72,132 bytes) Functions: 176/264 matching_unknown_afte…13.99%_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: 15.07% matching, 0.00% partially matching (36,180 bytes) Functions: 64/106 matching_unknown_aft…15.07%_unknown_after_ikumi Code: 1.57% matching, 0.00% partially matching (34,664 bytes) Functions: 3/18 matching_unknown_aft…1.57%_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: 9.41% matching, 0.00% partially matching (29,104 bytes) Functions: 22/52 matching_unknown_af…9.41%_unknown_after_battleslot Code: 26.32% matching, 0.00% partially matching (27,612 bytes) Functions: 68/87 matching_unknown_a…26.32%_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: 3.69% matching, 0.00% partially matching (23,540 bytes) Functions: 16/41 matching_unknown…3.69%_unknown_after_arena Code: 10.99% matching, 0.00% partially matching (22,024 bytes) Functions: 20/46 matching_unkno…10.99%_unknown_after_bwin Code: 11.53% matching, 0.12% partially matching (20,708 bytes) Functions: 34/73 matching_unkno…11.65%_unknown_after_akari Code: 12.68% matching, 0.00% partially matching (17,420 bytes) Functions: 22/30 matching_unkno…12.68%_unknown_after_rsound Code: 27.93% matching, 0.00% partially matching (17,284 bytes) Functions: 65/82 matching_unkno…27.93%_unknown_after_decode Code: 23.24% matching, 0.00% partially matching (16,228 bytes) Functions: 60/86 matching_unkn…23.24%_unknown_after_pchboss Code: 38.85% matching, 0.78% partially matching (16,124 bytes) Functions: 60/78 matching_unkn…39.62%_unknown_after_mapdata Code: 18.36% matching, 0.00% partially matching (15,336 bytes) Functions: 46/67 matching_unkn…18.36%_unknown_after_clas_min Code: 21.43% matching, 0.00% partially matching (15,008 bytes) Functions: 26/46 matching_unkn…21.43%_unknown_after_denlib Code: 58.17% matching, 0.00% partially matching (14,200 bytes) Functions: 147/170 matching_unk…58.17%_unknown_after_noribs Code: 46.70% matching, 0.00% partially matching (14,100 bytes) Functions: 127/152 matching_unkn…46.70%_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: 55.20% matching, 0.18% partially matching (13,428 bytes) Functions: 79/106 matching_unkn…55.38%_unknown_after_sky Code: 32.79% matching, 0.00% partially matching (12,028 bytes) Functions: 37/52 matching_unkn…32.79%_unknown_after_screfct Code: 11.07% matching, 0.00% partially matching (10,912 bytes) Functions: 25/35 matching_un…11.07%_unknown_after_movieplay Code: 8.40% matching, 0.00% partially matching (10,332 bytes) Functions: 10/27 matching_un…8.40%_unknown_after_titlemode Code: 37.96% matching, 0.20% partially matching (9,664 bytes) Functions: 106/126 matching_un…38.15%_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: 9.50% matching, 0.00% partially matching (9,428 bytes) Functions: 16/31 matching_unk…9.50%_unknown_after_window Code: 9.91% matching, 0.00% partially matching (9,368 bytes) Functions: 13/25 matching_unk…9.91%_unknown_after_flare Code: 35.05% matching, 0.00% partially matching (8,160 bytes) Functions: 15/25 matching_un…35.05%_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: 21.68% matching, 0.00% partially matching (7,824 bytes) Functions: 31/48 matching_un…21.68%_unknown_after_main Code: 26.39% matching, 0.00% partially matching (7,412 bytes) Functions: 24/36 matching_un…26.39%_unknown_after_gimmick Code: 3.95% matching, 0.00% partially matching (7,096 bytes) Functions: 3/10 matching_un…3.95%_unknown_after_roulette Code: 67.79% matching, 0.00% partially matching (6,756 bytes) Functions: 51/60 matching_un…67.79%_unknown_after_pchse Code: 65.40% matching, 0.00% partially matching (6,428 bytes) Functions: 44/53 matching_u…65.40%_unknown_after_yokota Code: 13.29% matching, 0.00% partially matching (6,080 bytes) Functions: 13/27 matching_u…13.29%_unknown_after_object Code: 22.66% matching, 0.00% partially matching (5,560 bytes) Functions: 12/21 matching_u…22.66%_unknown_after_eftedsb Code: 2.63% matching, 0.00% partially matching (5,484 bytes) Functions: 1/3 matching_unknown_after_cam_min Code: 2.45% matching, 0.00% partially matching (5,228 bytes) Functions: 4/13 matching_u…2.45%_unknown_after_line Code: 7.67% matching, 0.00% partially matching (5,112 bytes) Functions: 11/22 matching_u…7.67%_unknown_after_eftpack Code: 26.65% matching, 0.00% partially matching (4,788 bytes) Functions: 13/23 matching_unknown_after_th_tex Code: 10.17% matching, 0.00% partially matching (4,680 bytes) Functions: 13/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: 42.44% matching, 0.00% partially matching (3,732 bytes) Functions: 16/23 matching_unknown_after_mp_disp Code: 11.80% matching, 0.00% partially matching (3,084 bytes) Functions: 6/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: 73.27% matching, 0.00% partially matching (1,960 bytes) Functions: 22/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: 60.61% matching, 0.00% partially matching (1,828 bytes) Functions: 14/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: 34.66% matching, 3.68% partially matching (1,304 bytes) Functions: 9/14 matching_unknown_after_pchjob0 Code: 36.27% matching, 0.00% partially matching (1,136 bytes) Functions: 11/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: 86.32% matching, 0.00% partially matching (760 bytes) Functions: 12/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: 38.33% matching, 0.00% partially matching (240 bytes) Functions: 3/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: 22.20% matching, 0.28% partially matching (684,140 bytes) Functions: 1,449/2,043 matchingGame code (attributed to a .cpp file) · 22.49%battle Code: 43.52% matching, 0.00% partially matching (88,704 bytes) Functions: 180/207 matchingbattle43.52%nori Code: 9.01% matching, 0.00% partially matching (48,292 bytes) Functions: 26/64 matchingnori9.01%clas_min Code: 22.21% matching, 0.17% partially matching (42,440 bytes) Functions: 119/191 matchingclas_min22.39%shikimi Code: 9.37% matching, 4.77% partially matching (38,820 bytes) Functions: 30/42 matchingshikimi14.14%yue Code: 15.23% matching, 0.00% partially matching (36,396 bytes) Functions: 45/56 matchingyue15.23%pachislot Code: 41.23% matching, 0.00% partially matching (32,012 bytes) Functions: 137/165 matchingpachislot41.23%nayuki Code: 15.56% matching, 0.00% partially matching (30,000 bytes) Functions: 81/98 matchingnayuki15.56%pchjob0 Code: 12.61% matching, 0.00% partially matching (27,404 bytes) Functions: 46/64 matchingpchjob012.61%pchevent Code: 31.80% matching, 0.00% partially matching (25,644 bytes) Functions: 65/107 matchingpchevent31.80%yokota Code: 12.78% matching, 0.00% partially matching (18,252 bytes) Functions: 21/40 matchingyokota12.78%nayuwin2 Code: 22.81% matching, 0.00% partially matching (18,136 bytes) Functions: 62/78 matchingnayuwi…22.81%memo2 Code: 4.20% matching, 0.00% partially matching (18,004 bytes) Functions: 5/14 matchingmemo24.20%eftedit Code: 2.40% matching, 0.00% partially matching (15,524 bytes) Functions: 3/14 matchingefted…2.40%eftedsb Code: 0.00% matching, 0.00% partially matching (14,532 bytes) Functions: 0/1 matchingefte…0.00%screfct Code: 5.24% matching, 0.00% partially matching (13,204 bytes) Functions: 8/14 matchingscre…5.24%ikumi Code: 3.33% matching, 0.00% partially matching (12,872 bytes) Functions: 4/15 matchingikumi3.33%repetition Code: 70.79% matching, 0.00% partially matching (12,312 bytes) Functions: 66/74 matchingrepe…70.79%roulette Code: 38.74% matching, 0.00% partially matching (11,740 bytes) Functions: 54/73 matchingroul…38.74%sammon Code: 6.04% matching, 0.00% partially matching (11,400 bytes) Functions: 14/31 matchingsamm…6.04%darts Code: 34.26% matching, 0.00% partially matching (10,368 bytes) Functions: 33/48 matchingdarts34.26%rsound Code: 19.36% matching, 0.00% partially matching (9,648 bytes) Functions: 14/23 matchingrso…19.36%pchsysw Code: 48.15% matching, 0.00% partially matching (9,396 bytes) Functions: 56/68 matchingpch…48.15%init Code: 13.76% matching, 0.00% partially matching (8,636 bytes) Functions: 16/25 matchinginit13.76%mizuki Code: 11.99% matching, 0.00% partially matching (8,540 bytes) Functions: 20/28 matchingmiz…11.99%batread Code: 22.68% matching, 0.00% partially matching (7,760 bytes) Functions: 13/20 matchingbat…22.68%akari Code: 31.37% matching, 0.00% partially matching (7,472 bytes) Functions: 37/48 matchingaka…31.37%object Code: 7.69% matching, 0.00% partially matching (7,336 bytes) Functions: 12/24 matchingobj…7.69%file Code: 47.54% matching, 0.00% partially matching (5,620 bytes) Functions: 16/26 matchingfi…47.54%rouge Code: 2.88% matching, 0.00% partially matching (5,408 bytes) Functions: 4/12 matchingro…2.88%flare Code: 14.57% matching, 0.00% partially matching (5,352 bytes) Functions: 32/40 matchingfl…14.57%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: 22.49% matching, 0.00% partially matching (4,892 bytes) Functions: 30/38 matchingik…22.49%denlib Code: 25.89% matching, 0.00% partially matching (4,588 bytes) Functions: 15/22 matchingde…25.89%mapdata Code: 0.00% matching, 0.00% partially matching (4,524 bytes) Functions: 0/6 matchingwork Code: 53.35% matching, 0.00% partially matching (4,416 bytes) Functions: 27/36 matchingresult Code: 0.00% matching, 0.00% partially matching (4,288 bytes) Functions: 0/3 matchingshuffle Code: 42.64% matching, 0.00% partially matching (4,184 bytes) Functions: 19/28 matchingth_tex Code: 10.25% matching, 0.00% partially matching (3,980 bytes) Functions: 7/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: 10.03% matching, 0.00% partially matching (2,632 bytes) Functions: 7/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: 31.60% matching, 0.00% partially matching (1,848 bytes) Functions: 13/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: 6.37% matching, 0.00% partially matching (628 bytes) Functions: 1/2 matchingmp_disp Code: 0.00% matching, 0.00% partially matching (624 bytes) Functions: 0/1 matchingnowloding Code: 0.00% matching, 0.00% partially matching (596 bytes) Functions: 0/1 matchinglg2save Code: 62.24% matching, 0.00% partially matching (392 bytes) Functions: 2/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: 0.00% matching, 0.00% partially matching (216 bytes) Functions: 0/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)22.20%0.28%100%1,449 / 2,043684,140
Other code (SDK, libraries, unattributed) (78)22.87%0.06%0.09%3,072 / 4,2131,338,068

History

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

Reports up to this one (420)

WhenDecompiledMatchingDataCommit
22.78% +0.04%22.65% +0.04%0.14%eddcd95 Match startup, Flare lookup and clas_min initializer
22.75% +0.02%22.61% +0.02%0.14%e49147f Match event helpers and pstack callback
22.73% +0.16%22.59% +0.16%0.14%f501259 Match 16 nayuwin2, pchjob0 and disp functions
22.57%22.42% +0.02%0.14%62dcd35 Match event position and two game helpers
22.56% +0.10%22.41% +0.10%0.14%39d4aa5 Match Battle camera and event functions
22.46% +0.12%22.31% +0.12%0.14%03e62a6 Match battle_0011ec78
22.34% +0.09%22.19% +0.09%0.14%0ada124 Match battle_00120b78
22.25% +0.09%22.10% +0.09%0.14%d02a924 Match Battle actor render update
22.16% +0.07%22.01% +0.07%0.14%1dcb613 Match battle_00122800
22.09% +0.07%21.93% +0.07%0.14%65a21ef Match battle_00122138
22.02% +0.03%21.86% +0.03%0.14%de8a0e7 Match Battle map size scan
21.99% +0.02%21.83% +0.02%0.14%78fd67f Match Battle message state update
21.97%21.81%0.14%14cf889 AI.md: session 35 notes
21.97% +0.08%21.81% +0.08%0.14%7259b2c Match battle_0012a1b8 and battleslot_00294e50
21.89% +0.08%21.73% +0.08%0.14% +0.02%0240e53 Match Battle motion and map loading routines
21.81% +0.07%21.65% +0.07%0.12%8668fe2 Match three more Battle functions
21.73% +0.20%21.58% +0.04%0.12%b02bcac Match Battle transition and packet routines
21.53% -0.08%21.53% +0.08%0.12%c932923 Match three more Battle functions
21.61% +0.20%21.45% +0.04%0.12%78caae3 Match three Battle functions
21.41% +0.01%21.41% +0.01%0.12%9192494 Match BatPlayerRevive

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)