summaryrefslogtreecommitdiff
path: root/csrc/mkf_asm.asm
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2018-09-29 00:38:37 +0800
committerIru Cai <mytbk920423@gmail.com>2018-09-29 00:38:37 +0800
commita80265809d1a79ff41de87003e54539af16f5c75 (patch)
treef34c71e2525c7599eda2d560286be52fd699076c /csrc/mkf_asm.asm
parentcdfec28498aecbaaeac5d2ecba9cc21b1fd5b821 (diff)
downloadrich4-a80265809d1a79ff41de87003e54539af16f5c75.tar.xz
move the previous 0x4550cc
Diffstat (limited to 'csrc/mkf_asm.asm')
-rw-r--r--csrc/mkf_asm.asm30
1 files changed, 2 insertions, 28 deletions
diff --git a/csrc/mkf_asm.asm b/csrc/mkf_asm.asm
index 50019ac..494077b 100644
--- a/csrc/mkf_asm.asm
+++ b/csrc/mkf_asm.asm
@@ -5,6 +5,7 @@ extern table_483530
extern data_483630
extern gtables
extern cfcn_45511b
+extern cfcn_004550cc
fcn_00455040:
push ebp
@@ -104,7 +105,7 @@ cmp word [gtables + 1280], 0x8000
jne L20_1
push ebx
-call fcn_004550cc
+call cfcn_004550cc
pop ebx
L20_1:
@@ -114,30 +115,3 @@ call cfcn_45511b
add esp, 4
ret
-
-fcn_004550cc:
-
-mov edx, 0x141
-xor ebp, ebp
-xor ecx, ecx
-L30:
-mov cx, word [ebp + gtables + 3848]
-test word [ecx + gtables], 1
-je L31
-
-push ebp
-call cfcn_45511b
-add esp, 4
-
-L31:
-add ebp, 2
-dec edx
-jne L30
-xor ebx, ebx
-L32:
-shr word [ebx + gtables], 1
-add ebx, 2
-cmp ebx, 0x502 ; 1282
-jb L32
-
-ret