summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-08-31 19:55:49 +0800
committerIru Cai <mytbk920423@gmail.com>2018-08-31 19:55:49 +0800
commit7b099d1a35b68737d5d72ff0d053ae9130ba762b (patch)
treeea4cfd911d905105ac5e526827ce20829f939eb8
parent6476a291a35a4cf4c2fb8a010aaf242adc6d2d98 (diff)
downloadrich4-7b099d1a35b68737d5d72ff0d053ae9130ba762b.tar.xz
fcn_00417d65
-rw-r--r--csrc/fcn_417d65.c54
1 files changed, 54 insertions, 0 deletions
diff --git a/csrc/fcn_417d65.c b/csrc/fcn_417d65.c
new file mode 100644
index 0000000..638c75b
--- /dev/null
+++ b/csrc/fcn_417d65.c
@@ -0,0 +1,54 @@
+void fcn_00417d65(int v)
+{
+ int res;
+
+ fcn_00402460(0);
+ fcn_00419703();
+ dw_48bde4 = -1;
+ fcn_00415d31(1);
+
+ switch (v) {
+ case 0:
+ fcn_0044eb39(20, 60);
+ break;
+ case 1:
+ fcn_00411b53(1);
+ break;
+ case 2:
+ hosted_ai_ui();
+ break;
+ case 3:
+ res = process_checkpoint(1);
+ break;
+ case 4:
+ fcn_00404165();
+ break;
+ case 5:
+ fcn_0040a9bd();
+ break;
+ case 6:
+ fcn_00424492();
+ break;
+ case 7:
+ fcn_00447d97();
+ break;
+ case 8:
+ fcn_00441baa();
+ break;
+ case 9:
+ player_info_stock_ui();
+ break;
+ case 10:
+ stock_ui(0);
+ default:
+ break;
+ }
+ if (fcn_0040defe() != 1)
+ return;
+ if (v == 3) {
+ if (res != -1)
+ return;
+ }
+ fcn_004196f1();
+ fcn_00402460(1);
+}