From 00f32e72fdeff84798fa40771db19009de98e36b Mon Sep 17 00:00:00 2001 From: Iru Cai Date: Fri, 31 Aug 2018 22:05:42 +0800 Subject: fcn_00{402460,419703} --- csrc/fcn_4021f8.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'csrc/fcn_4021f8.c') 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) { -- cgit v1.2.3