Samurai Warriors 2 - Empire cover artAI generated
PS2PlayStation 2

Samurai Warriors 2 - Empire

AI contributions: Welcome

0

Code

39.45%
decompiled of 3,166,376 bytes
  • 5.03% matching
  • 34.42% partially matching
  • 60.55% to do

Data

100%
decompiled of 2,155,890,688 bytes
  • 2,155,890,688 done
  • 0 to do

Functions

18.73%
matching of 10,632 functions
  • 1,991 matching
  • 8,641 to do

code +0.08% · data ±0% ·

stage_script.c: battlefield scripted object tables and free list

Areas

Empire mode Code: 6.39% matching, 46.12% partially matching (743,828 bytes)Empire mode · 52.51%emp_cq_main.c Code: 8.17% matching, 91.83% partially matching (122,972 bytes) Estimated range 0x2FF3F0-0x31C840; 419 function(s) decompiledemp_cq_main.c100%emp_FldBase.c Code: 14.17% matching, 79.78% partially matching (97,112 bytes) Estimated range 0x33F608-0x357160; 555 function(s) decompiledemp_FldBase.c93.95%emp_ev_predata.c Code: 4.37% matching, 34.39% partially matching (73,256 bytes) Estimated range 0x32D7E0-0x33F608; 171 function(s) decompiledemp_ev_preda…38.76%emp_ev_still.c Code: 9.13% matching, 29.46% partially matching (69,536 bytes) Estimated range 0x31C840-0x32D7E0; 276 function(s) decompiledemp_ev_still…38.60%emp_ev_station.c Code: 0.00% matching, 39.32% partially matching (60,472 bytes) Estimated range 0x3C84B8-0x3D70F0; 138 function(s) decompiledemp_ev_stati…39.32%emp_free_setup.c Code: 0.60% matching, 13.50% partially matching (53,256 bytes) Estimated range 0x382E28-0x38FE30; 35 function(s) decompiledemp_free_s…14.10%emp_zuroku.c Code: 1.86% matching, 62.21% partially matching (47,424 bytes) Estimated range 0x3BCB78-0x3C84B8; 163 function(s) decompiledemp_zuro…64.07%emp_war_fix.c Code: 17.64% matching, 82.29% partially matching (45,000 bytes) Estimated range 0x357160-0x362128; 341 function(s) decompiledemp_war_fix…99.93%emp_zuroku_graph.c Code: 0.00% matching, 0.00% partially matching (33,928 bytes) Estimated range 0x3958A8-0x39DD30; 0 function(s) decompiledemp_zur…0.00%StationEmp.c Code: 1.98% matching, 4.32% partially matching (33,176 bytes) Estimated range 0x3ACA98-0x3B4C30; 34 function(s) decompiledStationE…6.29%emp_war_wllt.c Code: 4.94% matching, 14.38% partially matching (30,144 bytes) Estimated range 0x3E6768-0x3EDD28; 70 function(s) decompiledemp_war_…19.32%emp_war_tl.c Code: 9.83% matching, 6.58% partially matching (23,600 bytes) Estimated range 0x3DEC78-0x3E48A8; 71 function(s) decompiledemp_w…16.41%emp_ending.c Code: 0.46% matching, 7.42% partially matching (17,464 bytes) Estimated range 0x3B4C30-0x3B9068; 18 function(s) decompiledemp…7.88%emp_ending_nenpyou.c Code: 1.69% matching, 1.06% partially matching (15,120 bytes) Estimated range 0x3B9068-0x3BCB78; 8 function(s) decompiledemp…2.75%emp_zuroku_bushou.c Code: 0.00% matching, 0.00% partially matching (10,456 bytes) Estimated range 0x392FD0-0x3958A8; 0 function(s) decompiledemp_sc.c Code: 0.00% matching, 0.00% partially matching (5,192 bytes) Estimated range 0x3E5320-0x3E6768; 0 function(s) decompiledemp_cq_text.c Code: 6.84% matching, 23.68% partially matching (3,040 bytes) Estimated range 0x38FE30-0x390A10; 4 function(s) decompiledemp_zuroku_movie.c Code: 0.00% matching, 0.00% partially matching (2,680 bytes) Estimated range 0x3E48A8-0x3E5320; 0 function(s) decompiledScenes Code: 9.40% matching, 42.37% partially matching (699,768 bytes)Scenes · 51.77%StateEdit.c Code: 2.64% matching, 34.96% partially matching (85,952 bytes) Estimated range 0x36DE68-0x382E28; 138 function(s) decompiledStateEdit.c37.61%SceneTitle.c Code: 0.18% matching, 7.02% partially matching (80,632 bytes) Estimated range 0x268448-0x27BF40; 28 function(s) decompiledSceneTitle…7.20%StateInitialize.c Code: 3.04% matching, 94.86% partially matching (76,760 bytes) Estimated range 0x154290-0x166E68; 108 function(s) decompiledStateInit…97.91%ScenePreBattle.c Code: 0.00% matching, 0.00% partially matching (75,264 bytes) Estimated range 0x2877B8-0x299DB8; 0 function(s) decompiledScenePreB…0.00%StateConquest.c Code: 14.38% matching, 85.60% partially matching (56,408 bytes) Estimated range 0x2F1798-0x2FF3F0; 401 function(s) decompiledStateCon…99.98%StateShop.c Code: 30.28% matching, 13.83% partially matching (49,352 bytes) Estimated range 0x299DB8-0x2A5E80; 42 function(s) decompiledStateSh…44.11%StateStartUp.c Code: 20.74% matching, 44.20% partially matching (48,448 bytes) Estimated range 0x362128-0x36DE68; 224 function(s) decompiledStateSt…64.94%StateBattleInitialize.c Code: 7.17% matching, 46.16% partially matching (36,800 bytes) Estimated range 0x1CDFC8-0x1D6F88; 67 function(s) decompiledStateBa…53.34%SceneTutorial.c Code: 14.55% matching, 37.45% partially matching (36,080 bytes) Estimated range 0x3EDD28-0x3F6A18; 139 function(s) decompiledSceneTu…52.00%StatePreBattle.c Code: 3.87% matching, 71.92% partially matching (35,944 bytes) Estimated range 0x2214B8-0x22A120; 76 function(s) decompiledStateP…75.80%StatePostBattle.c Code: 1.31% matching, 88.62% partially matching (31,776 bytes) Estimated range 0x219898-0x2214B8; 43 function(s) decompiledStateP…89.93%StateConfig.c Code: 22.96% matching, 43.89% partially matching (23,768 bytes) Estimated range 0x1E10A0-0x1E6D78; 33 function(s) decompiledSta…66.85%SceneLoading.c Code: 5.12% matching, 12.07% partially matching (23,456 bytes) Estimated range 0x2EBBF8-0x2F1798; 14 function(s) decompiledSce…17.19%StateDemo.c Code: 5.35% matching, 60.97% partially matching (20,024 bytes) Estimated range 0x1BE248-0x1C3080; 75 function(s) decompiledSta…66.32%StateSetupEmpMogi.c Code: 10.93% matching, 14.90% partially matching (9,664 bytes) Estimated range 0x390A10-0x392FD0; 10 function(s) decompiledSta…25.83%StateTreasures.c Code: 100% matching, 0.00% partially matching (9,440 bytes) Estimated range 0x1E6D78-0x1E9208; 24 function(s) decompiledSta…100%Interface and system Code: 2.88% matching, 32.25% partially matching (578,424 bytes)Interface and system · 35.12%font.c Code: 1.74% matching, 35.11% partially matching (193,992 bytes) Estimated range 0x124CC8-0x154290; 145 function(s) decompiledfont.c36.85%file.c Code: 3.92% matching, 22.90% partially matching (141,496 bytes) Estimated range 0x102410-0x124CC8; 233 function(s) decompiledfile.c26.82%SecretSorts.c Code: 1.61% matching, 14.45% partially matching (99,568 bytes) Estimated range 0x24FF58-0x268448; 87 function(s) decompiledSecretSorts.c16.05%JapanMap.c Code: 6.74% matching, 25.01% partially matching (60,776 bytes) Estimated range 0x39DD30-0x3ACA98; 242 function(s) decompiledJapanMap.c31.75%cmnparts.c Code: 2.61% matching, 91.69% partially matching (47,192 bytes) Estimated range 0x1A1BF0-0x1AD448; 110 function(s) decompiledcmnpart…94.30%SeManager.c Code: 2.21% matching, 37.15% partially matching (35,400 bytes) Estimated range 0x234490-0x23CED8; 50 function(s) decompiledSeMan…39.37%Battlefield Code: 2.45% matching, 29.63% partially matching (516,868 bytes)Battlefield · 32.08%StgTexture.c Code: 0.82% matching, 1.77% partially matching (76,040 bytes) Estimated range 0x1EF238-0x201B40; 29 function(s) decompiledStgTexture.c2.59%BgManager.c Code: 4.99% matching, 13.90% partially matching (59,024 bytes) Estimated range 0x3F6A18-0x4050A8; 72 function(s) decompiledBgManager.c18.89%Weapon.c Code: 3.32% matching, 52.62% partially matching (55,936 bytes) Estimated range 0x166E68-0x1748E8; 87 function(s) decompiledWeapon.c55.94%RelayCamera.c Code: 0.00% matching, 0.00% partially matching (54,952 bytes) Estimated range 0x2DE550-0x2EBBF8; 0 function(s) decompiledRelayCamera…0.00%ObjAction.c Code: 2.57% matching, 62.90% partially matching (47,224 bytes) Estimated range 0x27BF40-0x2877B8; 84 function(s) decompiledObjAction…65.48%effect.c Code: 0.00% matching, 0.00% partially matching (44,872 bytes) Estimated range 0x1C3080-0x1CDFC8; 0 function(s) decompiledeffect.c0.00%DistantView.c Code: 1.68% matching, 40.99% partially matching (41,840 bytes) Estimated range 0x22A120-0x234490; 45 function(s) decompiledDistant…42.68%Bullet.c Code: 0.35% matching, 99.65% partially matching (36,580 bytes) Estimated range 0x1AD448-0x1B56D8; 34 function(s) decompiledBullet…100%Stage.c Code: 8.16% matching, 44.91% partially matching (29,792 bytes) Estimated range 0x190010-0x197470; 125 function(s) decompiledStag…53.07%Field.c Code: 9.78% matching, 61.33% partially matching (28,480 bytes) Estimated range 0x1890D0-0x190010; 102 function(s) decompiledFiel…71.11%StgAmbient.c Code: 0.00% matching, 0.00% partially matching (26,048 bytes) Estimated range 0x2132D8-0x219898; 0 function(s) decompiledStgAmbi…0.00%MiniMap.c Code: 0.00% matching, 0.00% partially matching (16,080 bytes) Estimated range 0x20F408-0x2132D8; 0 function(s) decompiledEvents and scripts Code: 2.82% matching, 18.37% partially matching (378,408 bytes)Events and scripts · 21.18%BriefingCmnParts.c Code: 0.38% matching, 0.88% partially matching (116,392 bytes) Estimated range 0x2C1EA8-0x2DE550; 22 function(s) decompiledBriefingCmnPar…1.26%ev_config.c Code: 2.97% matching, 16.87% partially matching (55,496 bytes) Estimated range 0x201B40-0x20F408; 64 function(s) decompiledev_config.c19.84%sc_ubase.c Code: 8.43% matching, 91.36% partially matching (42,880 bytes) Estimated range 0x197470-0x1A1BF0; 150 function(s) decompiledsc_ubase…99.79%sc_sysmsg.c Code: 0.84% matching, 32.75% partially matching (34,368 bytes) Estimated range 0x23CED8-0x245518; 37 function(s) decompiledsc_sys…33.59%sc_ctrl.c Code: 5.54% matching, 24.36% partially matching (31,784 bytes) Estimated range 0x1814A8-0x1890D0; 42 function(s) decompiledsc_ctrl…29.90%SeasonAnime.c Code: 9.16% matching, 2.99% partially matching (31,624 bytes) Estimated range 0x3D70F0-0x3DEC78; 82 function(s) decompiledSeasonA…12.14%ev_message.c Code: 0.00% matching, 0.00% partially matching (26,760 bytes) Estimated range 0x1DA818-0x1E10A0; 0 function(s) decompiledev_mess…0.00%MovieTelop.c Code: 0.00% matching, 0.00% partially matching (24,624 bytes) Estimated range 0x1E9208-0x1EF238; 0 function(s) decompiledMovieTe…0.00%ev_main.c Code: 0.00% matching, 0.00% partially matching (14,480 bytes) Estimated range 0x1D6F88-0x1DA818; 0 function(s) decompiledGame data Code: 0.00% matching, 0.00% partially matching (0 bytes) Files on the disc, by format (data only)Game data · 0.00%Models and motion Code: 1.09% matching, 14.54% partially matching (246,168 bytes)Models and motion · 15.62%HorseModel.c Code: 0.58% matching, 0.45% partially matching (95,952 bytes) Estimated range 0x2AA7D8-0x2C1EA8; 17 function(s) decompiledHorseModel.c1.03%MotionManager.c Code: 2.09% matching, 7.58% partially matching (52,160 bytes) Estimated range 0x1748E8-0x1814A8; 27 function(s) decompiledMotionManag…9.67%ItemModel.c Code: 0.37% matching, 13.18% partially matching (43,584 bytes) Estimated range 0x245518-0x24FF58; 34 function(s) decompiledItemModel.c13.55%ModelManager.c Code: 2.42% matching, 71.87% partially matching (35,696 bytes) Estimated range 0x1B56D8-0x1BE248; 59 function(s) decompiledModel…74.29%FlagModel.c Code: 0.00% matching, 0.00% partially matching (18,776 bytes) Estimated range 0x2A5E80-0x2AA7D8; 0 function(s) decompiledFlagM…0.00%(start-up and main loop) Code: 36.92% matching, 56.50% partially matching (9,232 bytes) Runtime start-up, scene manager and main loop. Estimated range 0x100000-0x102410; 50 function(s) decompiled
All areas as a table
AreaMatchingPartially matchingDataSize (bytes)
(start-up and main loop)36.92%56.50%—9,232
Scenes (16)9.40%42.37%—699,768
Empire mode (18)6.39%46.12%—743,828
Battlefield (12)2.45%29.63%—516,868
Models and motion (5)1.09%14.54%—246,168
Events and scripts (9)2.82%18.37%—378,408
Interface and system (6)2.88%32.25%—578,424
Game data (21)0.00%0.00%100%0

History

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

Reports up to this one (214)

WhenDecompiledMatchingDataCommit
39.45% +0.08%5.03% +0.03%100%f444c2a stage_script.c: battlefield scripted object tables and free list
39.37% +0.04%5.00%100%4d21cda emp_cmd_steps.c: rising values, force values, gallery lists
39.33% +0.08%5.00%100%2814ddb emp_cmd_steps.c: item rows, rank stars, value boxes, gold steps
39.25% +0.08%5.00% +0.01%100%726bed3 emp_cmd_steps.c: command drawers, officer list and save screen texts
39.17% +0.14%4.99% +0.01%100%804cc7e emp_cmd_steps.c: Empire command step handlers and drawers
39.03% +0.11%4.98% +0.03%100%80c9d4c emp_screens.c: Empire screen pieces and texture drawers
38.92% +0.06%4.95% +0.01%100%dc22784 japan_map.c: province colours, alliance lines, blinks
38.86% +0.09%4.95% +0.05%100%38f698c japan_map.c: Empire map state and drawing helpers
38.77% +0.05%4.89% +0.02%100%29766bc troop_misc.c: small troop and duel helpers
38.72% +0.06%4.88%100%29b2e60 emp_fld_group.c: duel revival, roaming targets, troop parameter set-up
38.66% +0.15%4.88%100%5a73725 emp_fld_group.c: battle comments 0-3, chases, fall backs, heal effects
38.51% +0.12%4.88% +0.08%100%1f473c9 battle_hud.c: battle overlay pieces; emp_misc_ui.c: two-player halves fix
38.38% +0.11%4.80% +0.08%100%b6c91c0 emp_misc_ui.c: Empire screen pieces, windows, battle results, distances
38.27% +0.11%4.72% +0.05%100%5d4abfc emp_battle_setup.c: Empire battle set-up data and voice queue accessors
38.16% +0.05%4.67% +0.04%100%28b4990 officer_sort.c: Empire list sorts
38.11% +0.21%4.63% +0.05%100%328cc52 emp_hist_event.c: historical event steps and battle-view helpers
37.90% +0.08%4.58% +0.01%100%84cd9bb custom_officer.c and unlock_data.c records and bit arrays
37.83% +0.39%4.57% +0.06%100%7e9ee3e unlock_data.c: gallery and encyclopedia unlock data accessors
37.43% +0.04%4.51% +0.02%100%2e3be55 emp_ev_still.c: portrait and text windows
37.39% +0.14%4.49% +0.04%100%5acb8bb emp_ev_still.c: still-picture event scripts; emp_turn.c: yearly officer step

Badges

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

Decompiled
[![Decompiled](https://decompilati.onl/badge/samurai-warriors-2-empire.svg)](https://decompilati.onl/projects/samurai-warriors-2-empire)
Matching
[![Matching](https://decompilati.onl/badge/samurai-warriors-2-empire/matching.svg)](https://decompilati.onl/projects/samurai-warriors-2-empire)
Data
[![Data](https://decompilati.onl/badge/samurai-warriors-2-empire/data.svg)](https://decompilati.onl/projects/samurai-warriors-2-empire)
Functions
[![Functions](https://decompilati.onl/badge/samurai-warriors-2-empire/functions.svg)](https://decompilati.onl/projects/samurai-warriors-2-empire)