summaryrefslogtreecommitdiff
path: root/csrc/mkf_asm.asm
diff options
context:
space:
mode:
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