Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
2ac7934
main: Match examCharSet
raphaelthegreat Nov 2, 2025
72178d2
main/mbar: match more functions
raphaelthegreat Nov 3, 2025
976c65d
main/mbar: match ExamDispReq
raphaelthegreat Nov 3, 2025
0a4aebd
main/mbar: Partial match for ExamDispOn/hex2decPlMi/hex2decPlMi
raphaelthegreat Nov 5, 2025
2eef60e
main/mbar: match MbarCharSet and MbarCharSet2
raphaelthegreat Nov 6, 2025
7dd2c39
main/mbar: match more functions
raphaelthegreat Nov 11, 2025
bce8af6
main/mbar: match MbarCurSet
raphaelthegreat Nov 11, 2025
cc1d2c4
main/mbar: match MbarTapSubt
raphaelthegreat Nov 11, 2025
488a6f3
main/mbar: match MbarPosOffsetSet and mbar_othon_frame_set
raphaelthegreat Nov 11, 2025
7d7166e
main/mbar: match some disp functions
raphaelthegreat Nov 11, 2025
f566657
main/mbar: match MbarDemoCharDisp
raphaelthegreat Nov 11, 2025
876f6dc
main/mbar: match examScoreSet/examLevelDisp/ExamDispSet
raphaelthegreat Nov 12, 2025
2527c48
main/mbar: address review comments
raphaelthegreat Nov 15, 2025
97dc92c
main/mbar: fix guidisp_init_pr
raphaelthegreat Nov 15, 2025
5252253
update report
raphaelthegreat Nov 15, 2025
6d0e300
main/mbar: complete hex2decPlMi match
raphaelthegreat Nov 16, 2025
43d184d
main/mbar: match MbarGetDispPosY
karas84 Nov 16, 2025
97daf04
main/mbar: guidisp_init_pr hotfix
raphaelthegreat Nov 16, 2025
540d64b
main/mbar: match MbarDispScene/MbarDispSceneDraw
raphaelthegreat Nov 16, 2025
5882fc0
main/mbar: remove tabs
raphaelthegreat Nov 16, 2025
ea181dd
main/mbar: fixup functions with no args
raphaelthegreat Nov 16, 2025
a0d3324
main/mbar: moar review
raphaelthegreat Nov 16, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions config/p3.jul12.symbol_addrs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,7 @@ guime_camera_hdl = 0x00399a94;

exam_global_ply = 0x01c70030; // size:0x10
exam_global_ply_current_ply = 0x01c70040; // size:0x10
tp_tmp_72 = 0x01c6ffc0; // size:0x60
metFrameCnt = 0x01c70050; // size:0xc
metFrameCntLight = 0x01c70060; // size:0xc
scr_tenmetu_col_dat = 0x01c70070; // size:0xc
Expand Down Expand Up @@ -2400,6 +2401,8 @@ __divdi3 = 0x001680d0; // type:func
exit = 0x00169730; // type:func
__fixsfdi = 0x00169760; // type:func
__floatdisf = 0x00169a20; // type:func
__muldi3 = 0x0016a168; // type:func
__moddi3 = 0x00169b00; // type:func
__udivdi3 = 0x0016a1c8; // type:func
__umoddi3 = 0x0016a798; // type:func

Expand Down
11 changes: 11 additions & 0 deletions include/main/mbar.h
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,17 @@ typedef enum {
EXAMTYPE_MAX = 3
} EXAM_TYPE;

typedef struct { // 0x20
/* 0x00 */ int spmmap;
/* 0x04 */ int spamap;
/* 0x08 */ int spamapP;
/* 0x0c */ PR_MODELHANDLE spmHdl;
/* 0x10 */ PR_ANIMATIONHANDLE spaHdl;
/* 0x14 */ PR_ANIMATIONHANDLE spaHdlP;
/* 0x18 */ int *frame_pp;
/* 0x1c */ int *frame_ppP;
} GUIMAP;

void examCharSet(EX_CHAR_DISP *ecd_pp, sceGifPacket *gifpk_pp);

void MbarMemberClear(int stg);
Expand Down
84 changes: 59 additions & 25 deletions progress/report.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"measures": {
"fuzzy_match_percent": 47.096855,
"fuzzy_match_percent": 48.732925,
"total_code": "342284",
"matched_code": "158016",
"matched_code_percent": 46.165173,
"total_data": "26064868",
"matched_data": "26015216",
"matched_data_percent": 99.8095,
"matched_code": "163616",
"matched_code_percent": 47.801243,
"total_data": "26082796",
"matched_data": "26033144",
"matched_data_percent": 99.80963,
"total_functions": 1429,
"matched_functions": 973,
"matched_functions_percent": 68.08958,
"matched_functions": 1005,
"matched_functions_percent": 70.3289,
"total_units": 70
},
"units": [
Expand Down Expand Up @@ -3966,14 +3966,14 @@
{
"name": "main/mbar",
"measures": {
"fuzzy_match_percent": 19.346266,
"fuzzy_match_percent": 56.550625,
"total_code": "15052",
"matched_code": "2912",
"matched_code_percent": 19.346268,
"matched_code": "8512",
"matched_code_percent": 56.55062,
"total_data": "224",
"total_functions": 82,
"matched_functions": 34,
"matched_functions_percent": 41.463413,
"matched_functions": 66,
"matched_functions_percent": 80.48781,
"total_units": 1
},
"sections": [
Expand All @@ -3995,20 +3995,22 @@
{
"name": ".text",
"size": "15208",
"fuzzy_match_percent": 19.346266,
"fuzzy_match_percent": 56.550625,
"metadata": {}
}
],
"functions": [
{
"name": "examCharSet",
"size": "684",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "0"
},
{
"name": "clrColorBuffer",
"size": "160",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "688"
},
Expand Down Expand Up @@ -4127,18 +4129,21 @@
{
"name": "MbarHookUseOK",
"size": "16",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2512"
},
{
"name": "MbarHookUseNG",
"size": "16",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2528"
},
{
"name": "MbarHookPoll",
"size": "188",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2544"
},
Expand All @@ -4152,24 +4157,28 @@
{
"name": "vsAnimationReq",
"size": "44",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2808"
},
{
"name": "vsAnimationReset",
"size": "40",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2856"
},
{
"name": "vsScr2Move",
"size": "28",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2896"
},
{
"name": "vsAnimationPoll",
"size": "296",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "2928"
},
Expand All @@ -4183,6 +4192,7 @@
{
"name": "metColorSet",
"size": "468",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "3304"
},
Expand Down Expand Up @@ -4210,12 +4220,14 @@
{
"name": "ExamDispPlySet",
"size": "24",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "4080"
},
{
"name": "ExamDispReq",
"size": "76",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "4104"
},
Expand Down Expand Up @@ -4248,12 +4260,14 @@
{
"name": "hex2decPlMi",
"size": "204",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "5368"
},
{
"name": "examNumDisp",
"size": "356",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "5576"
},
Expand All @@ -4266,12 +4280,14 @@
{
"name": "examLevelDisp",
"size": "252",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "6216"
},
{
"name": "ExamDispSet",
"size": "72",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "6472"
},
Expand Down Expand Up @@ -4326,54 +4342,63 @@
{
"name": "MbarGifInit",
"size": "136",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "7096"
},
{
"name": "MbarGifTrans",
"size": "16",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "7232"
},
{
"name": "MbarCharSet",
"size": "580",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "7248"
},
{
"name": "MbarCharSet2",
"size": "428",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "7832"
},
{
"name": "MbarWindowSet",
"size": "128",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "8264"
},
{
"name": "MbarGetDispPosX",
"size": "104",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "8392"
},
{
"name": "MbarGetDispPosY",
"size": "52",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "8496"
},
{
"name": "MbarGetTimeArea",
"size": "104",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "8552"
},
{
"name": "MbarGetTimeArea2",
"size": "96",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "8656"
},
Expand All @@ -4394,6 +4419,7 @@
{
"name": "MbarGetStartTap",
"size": "60",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "8824"
},
Expand All @@ -4413,6 +4439,7 @@
{
"name": "MbarFlashMake",
"size": "252",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "9152"
},
Expand All @@ -4437,24 +4464,28 @@
{
"name": "MbarTapSubt",
"size": "124",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "11520"
},
{
"name": "MbarPosOffsetSet",
"size": "96",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "11648"
},
{
"name": "mbar_othon_frame_set",
"size": "140",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "11744"
},
{
"name": "MbarDisp",
"size": "320",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "11888"
},
Expand All @@ -4473,6 +4504,7 @@
{
"name": "MbarDispSceneVsDraw",
"size": "40",
"fuzzy_match_percent": 100.0,
"metadata": {},
"address": "13248"
},
Expand Down Expand Up @@ -5238,9 +5270,9 @@
"total_code": "2580",
"matched_code": "2580",
"matched_code_percent": 100.0,
"total_data": "212",
"matched_data": "12",
"matched_data_percent": 5.6603775,
"total_data": "18140",
"matched_data": "17940",
"matched_data_percent": 98.89746,
"total_functions": 18,
"matched_functions": 18,
"matched_functions_percent": 100.0,
Expand All @@ -5249,11 +5281,13 @@
"sections": [
{
"name": ".bss",
"size": "17736",
"fuzzy_match_percent": 100.0,
"metadata": {}
},
{
"name": ".data",
"size": "192",
"fuzzy_match_percent": 100.0,
"metadata": {}
},
Expand Down Expand Up @@ -13179,16 +13213,16 @@
{
"id": "main",
"measures": {
"fuzzy_match_percent": 62.223064,
"fuzzy_match_percent": 66.737885,
"total_code": "124036",
"matched_code": "76336",
"matched_code_percent": 61.543423,
"total_data": "48216",
"matched_data": "38372",
"matched_data_percent": 79.58354,
"matched_code": "81936",
"matched_code_percent": 66.05824,
"total_data": "66144",
"matched_data": "56300",
"matched_data_percent": 85.117325,
"total_functions": 570,
"matched_functions": 465,
"matched_functions_percent": 81.57895,
"matched_functions": 497,
"matched_functions_percent": 87.192986,
"total_units": 17
}
},
Expand Down
Loading