summaryrefslogtreecommitdiff
path: root/csrc/fcn_417d65.c
blob: 638c75bf68b7ab87a82fca358fe085c5664315e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
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);
}