summaryrefslogtreecommitdiff
path: root/csrc
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-08-31 22:05:42 +0800
committerIru Cai <mytbk920423@gmail.com>2018-08-31 22:05:42 +0800
commit00f32e72fdeff84798fa40771db19009de98e36b (patch)
tree2b3f094863264b5c89914de3c97bfbb5398b8440 /csrc
parentcabca19c455c1c32e4ee560ba371545b1da26da4 (diff)
downloadrich4-00f32e72fdeff84798fa40771db19009de98e36b.tar.xz
fcn_00{402460,419703}
Diffstat (limited to 'csrc')
-rw-r--r--csrc/fcn_4021f8.c15
-rw-r--r--csrc/fcn_417d65.c6
2 files changed, 21 insertions, 0 deletions
diff --git a/csrc/fcn_4021f8.c b/csrc/fcn_4021f8.c
index f854ba5..80dffb7 100644
--- a/csrc/fcn_4021f8.c
+++ b/csrc/fcn_4021f8.c
@@ -8,6 +8,21 @@ void fcn_004021f8(int a1, int a2, int a3)
GetCursorPos_250(0);
}
+void fcn_00402460(int a1)
+{
+ if (a1 == 1) {
+ b_48a178 = (uint8_t)a1;
+ if ((b_48a179 & 1) != 0)
+ return;
+ GetCursorPos_250(0);
+ return;
+ }
+ if ((b_48a179 & 1) != 0) {
+ GetCursorPos_35d(0);
+ }
+ b_48a178 = (uint8_t)a1;
+}
+
/* 0x0040235d */
void GetCursorPos_35d(int * a1)
{
diff --git a/csrc/fcn_417d65.c b/csrc/fcn_417d65.c
index 638c75b..d959e35 100644
--- a/csrc/fcn_417d65.c
+++ b/csrc/fcn_417d65.c
@@ -1,3 +1,9 @@
+void fcn_00419703()
+{
+ b_46cafd = 0;
+ fcn_00417191(0);
+}
+
void fcn_00417d65(int v)
{
int res;