Samurai Warriors 2 - Empire cover artAI generated
PS2PlayStation 2

Samurai Warriors 2 - Empire

AI contributions: Welcome

0

Code

22.45%
decompiled of 3,166,376 bytes
  • 2.62% matching
  • 19.84% partially matching
  • 77.55% to do

Data

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

Functions

7.61%
matching of 10,624 functions
  • 809 matching
  • 9,815 to do

code +0.23% · data ±0% ·

Empire officer records: generated getters and setters (stats, skills, flags)

Areas

Empire mode Code: 0.02% matching, 0.10% partially matching (740,744 bytes)Empire mode · 0.12%emp_cq_main.c Code: 0.05% matching, 0.00% partially matching (119,888 bytes) Estimated range 0x2FF3F0-0x31C840; 1 function(s) decompiledemp_cq_main.c0.05%emp_FldBase.c Code: 0.00% matching, 0.00% partially matching (97,112 bytes) Estimated range 0x33F608-0x357160; 0 function(s) decompiledemp_FldBase.c0.00%emp_ev_predata.c Code: 0.00% matching, 0.00% partially matching (73,256 bytes) Estimated range 0x32D7E0-0x33F608; 0 function(s) decompiledemp_ev_preda…0.00%emp_ev_still.c Code: 0.00% matching, 0.00% partially matching (69,536 bytes) Estimated range 0x31C840-0x32D7E0; 0 function(s) decompiledemp_ev_still…0.00%emp_ev_station.c Code: 0.00% matching, 0.00% partially matching (60,472 bytes) Estimated range 0x3C84B8-0x3D70F0; 0 function(s) decompiledemp_ev_stati…0.00%emp_free_setup.c Code: 0.00% matching, 0.00% partially matching (53,256 bytes) Estimated range 0x382E28-0x38FE30; 0 function(s) decompiledemp_free_s…0.00%emp_zuroku.c Code: 0.00% matching, 0.00% partially matching (47,424 bytes) Estimated range 0x3BCB78-0x3C84B8; 0 function(s) decompiledemp_zuro…0.00%emp_war_fix.c Code: 0.00% matching, 0.00% partially matching (45,000 bytes) Estimated range 0x357160-0x362128; 0 function(s) decompiledemp_war_fix…0.00%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: 0.00% matching, 0.00% partially matching (33,176 bytes) Estimated range 0x3ACA98-0x3B4C30; 0 function(s) decompiledStationE…0.00%emp_war_wllt.c Code: 0.00% matching, 0.00% partially matching (30,144 bytes) Estimated range 0x3E6768-0x3EDD28; 0 function(s) decompiledemp_war_…0.00%emp_war_tl.c Code: 0.00% matching, 0.00% partially matching (23,600 bytes) Estimated range 0x3DEC78-0x3E48A8; 0 function(s) decompiledemp_w…0.00%emp_ending.c Code: 0.00% matching, 0.00% partially matching (17,464 bytes) Estimated range 0x3B4C30-0x3B9068; 0 function(s) decompiledemp…0.00%emp_ending_nenpyou.c Code: 0.00% matching, 0.00% partially matching (15,120 bytes) Estimated range 0x3B9068-0x3BCB78; 0 function(s) decompiledemp…0.00%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: 3.16% matching, 23.68% partially matching (3,040 bytes) Estimated range 0x38FE30-0x390A10; 3 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: 7.09% matching, 35.38% partially matching (699,768 bytes)Scenes · 42.46%StateEdit.c Code: 1.99% matching, 32.39% partially matching (85,952 bytes) Estimated range 0x36DE68-0x382E28; 117 function(s) decompiledStateEdit.c34.38%SceneTitle.c Code: 0.00% matching, 0.00% partially matching (80,632 bytes) Estimated range 0x268448-0x27BF40; 0 function(s) decompiledSceneTitle…0.00%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: 2.81% matching, 29.16% partially matching (56,408 bytes) Estimated range 0x2F1798-0x2FF3F0; 137 function(s) decompiledStateCon…31.97%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: 4.85% matching, 29.48% partially matching (48,448 bytes) Estimated range 0x362128-0x36DE68; 55 function(s) decompiledStateSt…34.34%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: 11.04% matching, 34.48% partially matching (36,080 bytes) Estimated range 0x3EDD28-0x3F6A18; 103 function(s) decompiledSceneTu…45.52%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, 4.64% partially matching (9,664 bytes) Estimated range 0x390A10-0x392FD0; 5 function(s) decompiledSta…15.56%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: 1.89% matching, 26.52% partially matching (578,424 bytes)Interface and system · 28.41%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: 0.00% matching, 0.00% partially matching (99,568 bytes) Estimated range 0x24FF58-0x268448; 0 function(s) decompiledSecretSorts.c0.00%JapanMap.c Code: 0.00% matching, 0.00% partially matching (60,776 bytes) Estimated range 0x39DD30-0x3ACA98; 0 function(s) decompiledJapanMap.c0.00%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, 27.16% partially matching (35,400 bytes) Estimated range 0x234490-0x23CED8; 38 function(s) decompiledSeMan…29.38%Battlefield Code: 2.17% matching, 27.99% partially matching (516,868 bytes)Battlefield · 30.16%StgTexture.c Code: 0.00% matching, 0.00% partially matching (76,040 bytes) Estimated range 0x1EF238-0x201B40; 0 function(s) decompiledStgTexture.c0.00%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: 0.75% matching, 47.85% partially matching (47,224 bytes) Estimated range 0x27BF40-0x2877B8; 35 function(s) decompiledObjAction…48.59%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: 1.49% matching, 12.40% partially matching (378,408 bytes)Events and scripts · 13.89%BriefingCmnParts.c Code: 0.00% matching, 0.00% partially matching (116,392 bytes) Estimated range 0x2C1EA8-0x2DE550; 0 function(s) decompiledBriefingCmnPar…0.00%ev_config.c Code: 0.00% matching, 0.00% partially matching (55,496 bytes) Estimated range 0x201B40-0x20F408; 0 function(s) decompiledev_config.c0.00%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.00% matching, 0.00% partially matching (34,368 bytes) Estimated range 0x23CED8-0x245518; 0 function(s) decompiledsc_sys…0.00%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: 0.81% matching, 0.00% partially matching (31,624 bytes) Estimated range 0x3D70F0-0x3DEC78; 5 function(s) decompiledSeasonA…0.81%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: 0.79% matching, 12.03% partially matching (246,168 bytes)Models and motion · 12.82%HorseModel.c Code: 0.00% matching, 0.00% partially matching (95,952 bytes) Estimated range 0x2AA7D8-0x2C1EA8; 0 function(s) decompiledHorseModel.c0.00%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.00% matching, 0.00% partially matching (43,584 bytes) Estimated range 0x245518-0x24FF58; 0 function(s) decompiledItemModel.c0.00%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)7.09%35.38%—699,768
Empire mode (18)0.02%0.10%—740,744
Battlefield (12)2.17%27.99%—516,868
Models and motion (5)0.79%12.03%—246,168
Events and scripts (9)1.49%12.40%—378,408
Interface and system (6)1.89%26.52%—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 (65)

WhenDecompiledMatchingDataCommit
22.45% +0.23%2.62% +0.01%100%7d4cd7e Empire officer records: generated getters and setters (stats, skills, flags)
22.23% +0.22%2.60% +0.01%100%2cefb97 Empire officer records: names, titles, ages, faces, experience, soldiers, life, rank, role, force, level
22.01% +0.18%2.59%100%ba06b4f effect.c: effect pack, runners, layers, stepping, ending, part set-up
21.82% +0.27%2.59% +0.02%100%35b378f ModelManager.c complete: model slots, object meshes and textures, actor pools
21.55% +0.12%2.57% +0.02%100%665c0be Battle officers: groups, player officers, base places, drawing distance, resets, slots
21.43% +0.09%2.55%100%d64f916 Battle officers: set-up from a record (kind, level, model, place, reinforcements)
21.34% +0.14%2.55%100%e06c865 Battle officers: spares, reinforcements, helpers, leaving, stats
21.20% +0.09%2.55% +0.01%100%93d1836 Text windows complete: narrow text, window drawing, set-up, menu, screen fade
21.12% +0.17%2.54%100%1bf1fc2 Text windows: the four-portrait window (names, tabs, header, portraits, typed text)
20.94% +0.25%2.54%100%21f77a0 Text windows: the news box (kinds, minimap pointers, icons, counts, portrait)
20.69% +0.29%2.54%100%3641cba Text windows: list and portrait glyph drawers, list and portrait windows
20.41% +0.40%2.54%100%2a9e0d7 Text windows: states, answers, glyph drawers, window drawing
20.01% +0.23%2.54%100%e34d44e Bullet.c (simple functions) and the battle's text windows (part 1)
19.78% +18.25%2.54% +2.01%100% +4.85%4390fc5 Progress report: per-area function counts under a key the site ignores
1.52%0.53% +0.04%95.15%9016c61 Matching: 76 functions (Treasures main menu)
1.52%0.49% +0.03%95.15%7ad5634 Matching: 75 functions (Treasures transition: case order from the jump table)
1.52%0.46% +0.02%95.15%2f83b4a Matching: 74 functions (options lookup: one 2D table per case, early return)
1.52%0.44% +0.01%95.15%5ef0b7d Matching: 73 functions (hire count with MIN/MAX macros)
1.52%0.43% +0.03%95.15%94f0c61 Matching: 72 functions (mount list skips locked mounts with a while loop)
1.52%0.41% +0.03%95.15%d3d920d Matching: 71 functions (random generator inlined, shop enter)

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)