summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--asm/rich4.asm410
1 files changed, 205 insertions, 205 deletions
diff --git a/asm/rich4.asm b/asm/rich4.asm
index 0eaa6d8..5048cad 100644
--- a/asm/rich4.asm
+++ b/asm/rich4.asm
@@ -292,7 +292,7 @@ je short loc_00401134 ; je 0x401134
push eax
push 0
push 0x202
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
call dword [cs:__imp__PostMessageA@16] ; ucall: call dword cs:[0x462310]
xor ebx, ebx
@@ -303,7 +303,7 @@ loc_00401134:
push eax
push 0
push 0x201
-mov eax, dword [ref_0048a0d4] ; mov eax, dword [0x48a0d4]
+mov eax, dword [gWindowHandle] ; mov eax, dword [0x48a0d4]
push eax
call dword [cs:__imp__PostMessageA@16] ; ucall: call dword cs:[0x462310]
mov word [ref_0046cb09], 1 ; mov word [0x46cb09], 1
@@ -318,7 +318,7 @@ test ebx, 0x80000000
je near loc_004011df ; je 0x4011df
cmp byte [ref_0046cafe], 0 ; cmp byte [0x46cafe], 0
je short loc_004011c3 ; je 0x4011c3
-cmp dword [ref_0046cad8], 1 ; cmp dword [0x46cad8], 1
+cmp dword [callbackSize], 1 ; cmp dword [0x46cad8], 1
jne short loc_004011c3 ; jne 0x4011c3
xor edx, edx
xor ebx, ebx
@@ -347,7 +347,7 @@ loc_004011c3:
push 0
push 0
push 0x205
-mov edi, dword [ref_0048a0d4] ; mov edi, dword [0x48a0d4]
+mov edi, dword [gWindowHandle] ; mov edi, dword [0x48a0d4]
push edi
call dword [cs:__imp__PostMessageA@16] ; ucall: call dword cs:[0x462310]
jmp near loc_00401537 ; jmp 0x401537
@@ -737,7 +737,7 @@ loc_0040161b:
mov eax, dword [ref_0048a0d8] ; mov eax, dword [0x48a0d8]
mov edx, dword [eax]
push 0x11
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
push eax
call dword [edx + 0x50] ; ucall
@@ -854,8 +854,8 @@ mov dword [ref_00474938], eax ; mov dword [0x474938], eax
xor esi, esi
mov dword [ref_00474930], esi ; mov dword [0x474930], esi
mov dword [ref_00474934], esi ; mov dword [0x474934], esi
-mov dword [ref_0048a010], esi ; mov dword [0x48a010], esi
-mov dword [ref_0046cad8], esi ; mov dword [0x46cad8], esi
+mov dword [windowCallbacks], esi ; mov dword [0x48a010], esi
+mov dword [callbackSize], esi ; mov dword [0x46cad8], esi
xor bh, bh
mov byte [ref_0047e771], bh ; mov byte [0x47e771], bh
mov eax, 1
@@ -938,20 +938,20 @@ pop esi
pop ebx
ret
-fcn_004018e7:
+Wait_0402_Message:
push ebx
sub esp, 0x1c
-mov edx, dword [ref_0046cad8] ; mov edx, dword [0x46cad8]
+mov edx, dword [callbackSize] ; mov edx, dword [0x46cad8]
inc edx
-mov dword [ref_0046cad8], edx ; mov dword [0x46cad8], edx
+mov dword [callbackSize], edx ; mov dword [0x46cad8], edx
mov eax, edx
mov edx, dword [esp + 0x24]
-mov dword [eax*4 + ref_0048a010], edx ; mov dword [eax*4 + 0x48a010], edx
+mov dword [eax*4 + windowCallbacks], edx ; mov dword [eax*4 + 0x48a010], edx
mov ecx, dword [esp + 0x28]
push ecx
push 0
push 0x401
-mov ebx, dword [ref_0048a0d4] ; mov ebx, dword [0x48a0d4]
+mov ebx, dword [gWindowHandle] ; mov ebx, dword [0x48a0d4]
push ebx
call dword [cs:__imp__PostMessageA@16] ; ucall: call dword cs:[0x462310]
@@ -976,32 +976,32 @@ call dword [cs:__imp__DispatchMessageA@4] ; ucall: call dword cs:[0x4622e0]
jmp short loc_0040191f ; jmp 0x40191f
loc_00401957:
-dec dword [ref_0046cad8] ; dec dword [0x46cad8]
+dec dword [callbackSize] ; dec dword [0x46cad8]
mov eax, dword [esp + 0xc]
add esp, 0x1c
pop ebx
ret
-fcn_00401966:
+Post_0402_Message:
mov edx, dword [esp + 4]
push edx
push 0
push 0x402
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
call dword [cs:__imp__PostMessageA@16] ; ucall: call dword cs:[0x462310]
ret
fcn_00401981:
push ebx
-mov edx, dword [ref_0046cad8] ; mov edx, dword [0x46cad8]
+mov edx, dword [callbackSize] ; mov edx, dword [0x46cad8]
inc edx
-mov dword [ref_0046cad8], edx ; mov dword [0x46cad8], edx
-mov dword [edx*4 + ref_0048a010], fcn_00417e26 ; mov dword [edx*4 + 0x48a010], 0x417e26
+mov dword [callbackSize], edx ; mov dword [0x46cad8], edx
+mov dword [edx*4 + windowCallbacks], fcn_00417e26 ; mov dword [edx*4 + 0x48a010], 0x417e26
push 0
push 0
push 0x401
-mov ebx, dword [ref_0048a0d4] ; mov ebx, dword [0x48a0d4]
+mov ebx, dword [gWindowHandle] ; mov ebx, dword [0x48a0d4]
push ebx
call dword [cs:__imp__PostMessageA@16] ; ucall: call dword cs:[0x462310]
imul eax, dword [_current_player], 0x34 ; imul eax, dword [0x49910c], 0x34
@@ -1017,7 +1017,7 @@ pop ebx
ret
fcn_004019d2:
-dec dword [ref_0046cad8] ; dec dword [0x46cad8]
+dec dword [callbackSize] ; dec dword [0x46cad8]
jmp near fcn_00454edc ; jmp 0x454edc
fcn_004019dd:
@@ -1073,7 +1073,7 @@ call dword [cs:__imp__mciSendStringA@16] ; ucall: call dword cs:[0x46245c]
loc_00401a67:
cmp byte [ref_0046cb04], 0 ; cmp byte [0x46cb04], 0
je short loc_00401a87 ; je 0x401a87
-mov edi, dword [ref_0048a0d4] ; mov edi, dword [0x48a0d4]
+mov edi, dword [gWindowHandle] ; mov edi, dword [0x48a0d4]
push edi
push 0
push 0
@@ -1137,9 +1137,9 @@ call dword [cs:__imp__PostQuitMessage@4] ; ucall: call dword cs:[0x462314]
jmp short loc_00401b6e ; jmp 0x401b6e
loc_00401b33:
-mov ebx, dword [ref_0046cad8] ; mov ebx, dword [0x46cad8]
+mov ebx, dword [callbackSize] ; mov ebx, dword [0x46cad8]
shl ebx, 2
-cmp dword [ebx + ref_0048a010], 0 ; cmp dword [ebx + 0x48a010], 0
+cmp dword [ebx + windowCallbacks], 0 ; cmp dword [ebx + 0x48a010], 0
je short loc_00401b59 ; je 0x401b59
mov edi, dword [esp + 0x20]
push edi
@@ -1147,7 +1147,7 @@ push edx
push eax
mov ebp, dword [esp + 0x20]
push ebp
-call dword [ebx + ref_0048a010] ; ucall: call dword [ebx + 0x48a010]
+call dword [ebx + windowCallbacks] ; ucall: call dword [ebx + 0x48a010]
jmp short loc_00401b6c ; jmp 0x401b6c
loc_00401b59:
@@ -1241,15 +1241,15 @@ push ebp
push ebp
push ebx
call dword [cs:__imp__CreateWindowExA@48] ; ucall: call dword cs:[0x4622d4]
-mov dword [ref_0048a0d4], eax ; mov dword [0x48a0d4], eax
+mov dword [gWindowHandle], eax ; mov dword [0x48a0d4], eax
call fcn_004015d6 ; call 0x4015d6
test eax, eax
je near loc_00401e50 ; je 0x401e50
push 5
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
call dword [cs:__imp__ShowWindow@8] ; ucall: call dword cs:[0x462330]
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
call dword [cs:__imp__UpdateWindow@4] ; ucall: call dword cs:[0x46233c]
push 1
@@ -1308,7 +1308,7 @@ jmp short loc_00401cfe ; jmp 0x401cfe
loc_00401d18:
call fcn_00401815 ; call 0x401815
-mov esi, dword [ref_0048a0d4] ; mov esi, dword [0x48a0d4]
+mov esi, dword [gWindowHandle] ; mov esi, dword [0x48a0d4]
push esi
loc_00401d24:
@@ -1386,7 +1386,7 @@ cmp byte [ref_0046caf9], 0 ; cmp byte [0x46caf9], 0
je near loc_00401d2b ; je 0x401d2b
call fcn_00451b36 ; call 0x451b36
call fcn_00401815 ; call 0x401815
-mov eax, dword [ref_0048a0d4] ; mov eax, dword [0x48a0d4]
+mov eax, dword [gWindowHandle] ; mov eax, dword [0x48a0d4]
push eax
jmp near loc_00401d24 ; jmp 0x401d24
@@ -2097,7 +2097,7 @@ mov edx, dword [ref_0048a184] ; mov edx, dword [0x48a184]
push edx
loc_0040266d:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_00402672:
add esp, 4
@@ -2457,7 +2457,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_0040257a ; push 0x40257a
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov ebx, eax
add esp, 8
call fcn_00454acb ; call 0x454acb
@@ -3697,7 +3697,7 @@ mov ebx, dword [ref_0048a34a] ; mov ebx, dword [0x48a34a]
push ebx
loc_00403927:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00403865 ; jmp 0x403865
@@ -3999,7 +3999,7 @@ mov ebp, dword [ref_0048a34e] ; mov ebp, dword [0x48a34e]
push ebp
loc_00403ce7:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00403865 ; jmp 0x403865
@@ -4342,7 +4342,7 @@ cmp dword [esp + 0x48], 0
je short loc_004040dd ; je 0x4040dd
push 0
push fcn_0040363a ; push 0x40363a
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebp, eax
cmp eax, 0xffffffff
@@ -4443,7 +4443,7 @@ add esp, 4
mov dword [ref_0048a334], eax ; mov dword [0x48a334], eax
push 0
push fcn_004039c2 ; push 0x4039c2
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
cmp eax, 0xffffffff
je short loc_004041fe ; je 0x4041fe
@@ -5641,7 +5641,7 @@ add esp, 4
call fcn_00404504 ; call 0x404504
push 0
push 0x64
-mov edx, dword [ref_0046cad8] ; mov edx, dword [0x46cad8]
+mov edx, dword [callbackSize] ; mov edx, dword [0x46cad8]
push edx
push ebp
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -5680,7 +5680,7 @@ ret 0x10
loc_00404feb:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_00404fdf ; je 0x404fdf
-cmp edx, dword [ref_0046cad8] ; cmp edx, dword [0x46cad8]
+cmp edx, dword [callbackSize] ; cmp edx, dword [0x46cad8]
jne short loc_00404fdf ; jne 0x404fdf
mov edx, dword [ref_0048a3c8] ; mov edx, dword [0x48a3c8]
add edx, 4
@@ -6460,7 +6460,7 @@ push ebx
push ebp
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0040591c ; jmp 0x40591c
loc_00405a49:
@@ -6514,7 +6514,7 @@ call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
loc_00405af7:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_00405afc:
add esp, 4
@@ -6640,7 +6640,7 @@ cmp eax, 0x113
jne near loc_00405ee2 ; jne 0x405ee2
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00404fdf ; je 0x404fdf
-cmp edx, dword [ref_0046cad8] ; cmp edx, dword [0x46cad8]
+cmp edx, dword [callbackSize] ; cmp edx, dword [0x46cad8]
jne near loc_00404fdf ; jne 0x404fdf
mov eax, dword [ref_0048a3c8] ; mov eax, dword [0x48a3c8]
add eax, 4
@@ -6669,7 +6669,7 @@ push ebp
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push ebx
push 0x32
-mov edi, dword [ref_0046cad8] ; mov edi, dword [0x46cad8]
+mov edi, dword [callbackSize] ; mov edi, dword [0x46cad8]
push edi
push ebp
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -6856,7 +6856,7 @@ jmp short loc_00405edc ; jmp 0x405edc
loc_00405f04:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00404fdf ; je 0x404fdf
-cmp edx, dword [ref_0046cad8] ; cmp edx, dword [0x46cad8]
+cmp edx, dword [callbackSize] ; cmp edx, dword [0x46cad8]
jne near loc_00404fdf ; jne 0x404fdf
add dword [ref_0048a3fc], ecx ; add dword [0x48a3fc], ecx
mov ecx, dword [ref_0048a400] ; mov ecx, dword [0x48a400]
@@ -7079,7 +7079,7 @@ setne al
mov byte [ref_0048a435], al ; mov byte [0x48a435], al
push 0
push 0x32
-mov ebp, dword [ref_0046cad8] ; mov ebp, dword [0x46cad8]
+mov ebp, dword [callbackSize] ; mov ebp, dword [0x46cad8]
push ebp
push esi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -7094,7 +7094,7 @@ loc_0040622c:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0040672c ; je 0x40672c
mov eax, dword [esp + 0x7c]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_0040672c ; jne 0x40672c
cmp byte [ref_0048a43a], 2 ; cmp byte [0x48a43a], 2
jne short loc_0040627a ; jne 0x40627a
@@ -7664,7 +7664,7 @@ push eax
push esi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0040672c ; jmp 0x40672c
@@ -7866,7 +7866,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push 0x3e8
-mov ebp, dword [ref_0046cad8] ; mov ebp, dword [0x46cad8]
+mov ebp, dword [callbackSize] ; mov ebp, dword [0x46cad8]
push ebp
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -7888,7 +7888,7 @@ jmp near loc_00404fe4 ; jmp 0x404fe4
loc_00406c52:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_00406c48 ; je 0x406c48
-cmp edx, dword [ref_0046cad8] ; cmp edx, dword [0x46cad8]
+cmp edx, dword [callbackSize] ; cmp edx, dword [0x46cad8]
jne short loc_00406c48 ; jne 0x406c48
mov edi, dword [ref_0048a440] ; mov edi, dword [0x48a440]
dec edi
@@ -7979,7 +7979,7 @@ call fcn_00451edb ; call 0x451edb
add esp, 0xc
mov ecx, dword [ref_0048a444] ; mov ecx, dword [0x48a444]
push ecx
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00406c48 ; jmp 0x406c48
@@ -8281,7 +8281,7 @@ add esp, 4
mov ebx, dword [esp + 0x24]
push ebx
push fcn_00404e44 ; push 0x404e44
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov ebx, eax
add esp, 8
mov dword [esp + 4], eax
@@ -8797,7 +8797,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_004060e9 ; push 0x4060e9
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454acb ; call 0x454acb
jmp short loc_004077fe ; jmp 0x4077fe
@@ -8933,7 +8933,7 @@ add esp, 4
loc_00407912:
push 0
push fcn_00406b14 ; push 0x406b14
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
test eax, eax
je near loc_004079de ; je 0x4079de
@@ -12782,7 +12782,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0040a998 ; jmp 0x40a998
@@ -12910,7 +12910,7 @@ jmp short loc_0040a99a ; jmp 0x40a99a
map_ui:
push 0
push fcn_0040a801 ; push 0x40a801
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
push 1
call fcn_00415e70 ; call 0x415e70
@@ -20705,7 +20705,7 @@ mov dword [esp + 0x34], edx
push 0
lea eax, [esp + 0x2c]
push eax
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
add esp, 0x38
@@ -21199,7 +21199,7 @@ sub eax, 2
push eax
loc_0041091a:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_0041091f:
add esp, 4
@@ -21825,7 +21825,7 @@ add esp, 0xc
push 0xffffffffffffffff
loc_00411074:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00410ff8 ; jmp 0x410ff8
@@ -21980,7 +21980,7 @@ call fcn_00410158 ; call 0x410158
add esp, 8
push esi
push 0xfa
-mov eax, dword [ref_0046cad8] ; mov eax, dword [0x46cad8]
+mov eax, dword [callbackSize] ; mov eax, dword [0x46cad8]
push eax
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -21994,7 +21994,7 @@ cmp dword [ref_0048bba6], 0 ; cmp dword [0x48bba6], 0
je near loc_00410ff8 ; je 0x410ff8
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00410ff8 ; je 0x410ff8
-cmp esi, dword [ref_0046cad8] ; cmp esi, dword [0x46cad8]
+cmp esi, dword [callbackSize] ; cmp esi, dword [0x46cad8]
jne near loc_00410ff8 ; jne 0x410ff8
xor byte [ref_0048bbaa], 1 ; xor byte [0x48bbaa], 1
mov ebp, dword [ref_0048bbaa] ; mov ebp, dword [0x48bbaa]
@@ -22365,7 +22365,7 @@ loc_004117a8:
call fcn_00451edb ; call 0x451edb
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp short loc_0041182e ; jmp 0x41182e
@@ -22510,7 +22510,7 @@ push edi
call fcn_00451edb ; call 0x451edb
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0041160f ; jmp 0x41160f
loc_0041197c:
@@ -22599,7 +22599,7 @@ add edx, eax
mov dword [ref_0048bb5c], edx ; mov dword [0x48bb5c], edx
push 0
push fcn_00410ac3 ; push 0x410ac3
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
cmp eax, 0xffffffff
je short loc_00411a81 ; je 0x411a81
@@ -22616,7 +22616,7 @@ ret
fcn_00411a86:
push 0
push fcn_00411122 ; push 0x411122
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
ret
@@ -22923,7 +22923,7 @@ shl eax, 0x10
add eax, dword [esp]
push eax
push fcn_004103a3 ; push 0x4103a3
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
mov ebp, dword [esp + 4]
@@ -26508,7 +26508,7 @@ call fcn_0041461b ; call 0x41461b
add esp, 4
push 0
push 0x64
-mov ebp, dword [ref_0046cad8] ; mov ebp, dword [0x46cad8]
+mov ebp, dword [callbackSize] ; mov ebp, dword [0x46cad8]
push ebp
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -26523,7 +26523,7 @@ loc_00414900:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00414a4a ; je 0x414a4a
mov eax, dword [esp + 0x1c]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_00414a4a ; jne 0x414a4a
mov eax, dword [ref_0048bd2c] ; mov eax, dword [0x48bd2c]
dec eax
@@ -26537,7 +26537,7 @@ push esi
push ebx
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_0041494f:
add esp, 4
@@ -26775,7 +26775,7 @@ mov dword [ref_0048bd84], 0x63 ; mov dword [0x48bd84], 0x63
call fcn_004146ee ; call 0x4146ee
push 0
push 0x64
-mov ebp, dword [ref_0046cad8] ; mov ebp, dword [0x46cad8]
+mov ebp, dword [callbackSize] ; mov ebp, dword [0x46cad8]
push ebp
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -26795,7 +26795,7 @@ loc_00414c69:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00414a4a ; je 0x414a4a
mov eax, dword [esp + 0x1c]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_00414a4a ; jne 0x414a4a
mov ecx, dword [ref_0048bd84] ; mov ecx, dword [0x48bd84]
test ecx, ecx
@@ -26856,7 +26856,7 @@ push 0x7d0
call fcn_0045285e ; call 0x45285e
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_00414c61 ; jmp 0x414c61
loc_00414d51:
@@ -27088,7 +27088,7 @@ mov dword [ref_0048bd8c], 0x63 ; mov dword [0x48bd8c], 0x63
call fcn_0041473b ; call 0x41473b
push 0
push 0x32
-mov edi, dword [ref_0046cad8] ; mov edi, dword [0x46cad8]
+mov edi, dword [callbackSize] ; mov edi, dword [0x46cad8]
push edi
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -27103,7 +27103,7 @@ loc_00415051:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0041517f ; je 0x41517f
mov eax, dword [esp + 0x20]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_0041517f ; jne 0x41517f
mov eax, dword [ref_0048bd8c] ; mov eax, dword [0x48bd8c]
test eax, eax
@@ -27172,7 +27172,7 @@ push 0x7d0
call fcn_0045285e ; call 0x45285e
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
loc_00415156:
@@ -27360,7 +27360,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push edi
push fcn_00414858 ; push 0x414858
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
push ref_00475057 ; push 0x475057
@@ -27506,7 +27506,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push ebx
push fcn_00414bbc ; push 0x414bbc
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
push ref_0047509f ; push 0x47509f
@@ -27663,7 +27663,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_00414fcd ; push 0x414fcd
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
push ref_004750bf ; push 0x4750bf
@@ -31238,7 +31238,7 @@ mov dword [ref_0048bddc], eax ; mov dword [0x48bddc], eax
mov dword [ref_0048bdd4], edi ; mov dword [0x48bdd4], edi
push edi
push 0x1f4
-mov eax, dword [ref_0046cad8] ; mov eax, dword [0x46cad8]
+mov eax, dword [callbackSize] ; mov eax, dword [0x46cad8]
push eax
push esi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -32057,7 +32057,7 @@ call fcn_00417c67 ; call 0x417c67
jmp near loc_00418c30 ; jmp 0x418c30
loc_00418b7a:
-cmp ecx, dword [ref_0046cad8] ; cmp ecx, dword [0x46cad8]
+cmp ecx, dword [callbackSize] ; cmp ecx, dword [0x46cad8]
jne near loc_00418c30 ; jne 0x418c30
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00418c30 ; je 0x418c30
@@ -32502,7 +32502,7 @@ push ebp
push 0
push 0
push 0xf
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
call fcn_00417e26 ; call 0x417e26
cmp dword [esp + 0x14], 0
@@ -32700,7 +32700,7 @@ add esp, 4
call fcn_004080f5 ; call 0x4080f5
mov esi, dword [ref_0048bdc8] ; mov esi, dword [0x48bdc8]
push esi
-mov edi, dword [ref_0048a0d4] ; mov edi, dword [0x48a0d4]
+mov edi, dword [gWindowHandle] ; mov edi, dword [0x48a0d4]
push edi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
xor ah, ah
@@ -38085,7 +38085,7 @@ push ebx
mov edx, dword [esp + 8]
cmp edx, 7
jg short loc_0041d474 ; jg 0x41d474
-cmp dword [ref_0046cad8], 1 ; cmp dword [0x46cad8], 1
+cmp dword [callbackSize], 1 ; cmp dword [0x46cad8], 1
jg short loc_0041d474 ; jg 0x41d474
mov ebx, dword [_current_player] ; mov ebx, dword [0x49910c]
mov dword [_current_player], edx ; mov dword [0x49910c], edx
@@ -38173,7 +38173,7 @@ je short loc_0041d53f ; je 0x41d53f
push 0
push 0
push 0xf
-mov eax, dword [ref_0048a0d4] ; mov eax, dword [0x48a0d4]
+mov eax, dword [gWindowHandle] ; mov eax, dword [0x48a0d4]
push eax
call fcn_00417e26 ; call 0x417e26
@@ -38759,7 +38759,7 @@ mov dword [esp + 0xc], 0x180
push 0
lea eax, [esp + 4]
push eax
-mov ebp, dword [ref_0048a0d4] ; mov ebp, dword [0x48a0d4]
+mov ebp, dword [gWindowHandle] ; mov ebp, dword [0x48a0d4]
push ebp
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
add esp, 0x10
@@ -38916,7 +38916,7 @@ mov dword [esp + 0xc], 0x1a1
push 0
lea eax, [esp + 4]
push eax
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
add esp, 0x10
@@ -39394,7 +39394,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0041de89 ; jmp 0x41de89
@@ -39676,7 +39676,7 @@ jmp near loc_0041e594 ; jmp 0x41e594
loc_0041e66f:
push 0
push fcn_0041dda9 ; push 0x41dda9
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
push 1
call fcn_0041906a ; call 0x41906a
@@ -46251,7 +46251,7 @@ mov dword [esp + 0x8c], 0x1c0
push 0
lea eax, [esp + 0x84]
push eax
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
@@ -47763,7 +47763,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00424359 ; jmp 0x424359
@@ -47941,7 +47941,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00423dc5 ; jmp 0x423dc5
@@ -48008,7 +48008,7 @@ add esp, 0x10
mov dword [ref_0048c274], eax ; mov dword [0x48c274], eax
push 0
push fcn_00423cf3 ; push 0x423cf3
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
push 1
call fcn_0041906a ; call 0x41906a
@@ -48559,7 +48559,7 @@ mov dword [esp + 0xc], 0x19e
push 0
lea eax, [esp + 4]
push eax
-mov edi, dword [ref_0048a0d4] ; mov edi, dword [0x48a0d4]
+mov edi, dword [gWindowHandle] ; mov edi, dword [0x48a0d4]
push edi
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
add esp, 0x10
@@ -49537,7 +49537,7 @@ mov dword [esp + 0x8c], 0x1bf
push 0
lea eax, [esp + 0x84]
push eax
-mov eax, dword [ref_0048a0d4] ; mov eax, dword [0x48a0d4]
+mov eax, dword [gWindowHandle] ; mov eax, dword [0x48a0d4]
push eax
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
@@ -50331,7 +50331,7 @@ push ecx
call fcn_00451edb ; call 0x451edb
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00425b0c ; jmp 0x425b0c
@@ -50843,7 +50843,7 @@ push edx
call fcn_00451edb ; call 0x451edb
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0042650d ; jmp 0x42650d
loc_0042669c:
@@ -51246,7 +51246,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_00426a5b ; jmp 0x426a5b
loc_00426b9f:
@@ -51564,7 +51564,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_00426e7f ; jmp 0x426e7f
loc_00426fba:
@@ -52469,7 +52469,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_00427ad1 ; jmp 0x427ad1
loc_00427b93:
@@ -52987,7 +52987,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0042836b ; jmp 0x42836b
@@ -53071,7 +53071,7 @@ push 0
call fcn_00402460 ; call 0x402460
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp short loc_004283b0 ; jmp 0x4283b0
loc_0042838b:
@@ -53082,7 +53082,7 @@ push 0
push fcn_004258c1 ; push 0x4258c1
loc_0042839c:
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_004249c2 ; call 0x4249c2
push 1
@@ -53478,7 +53478,7 @@ jmp short loc_004287f3 ; jmp 0x4287f3
loc_00428825:
push 0
push fcn_00427c21 ; push 0x427c21
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
push 1
call fcn_0041906a ; call 0x41906a
@@ -56281,7 +56281,7 @@ push ebx
call fcn_00451edb ; call 0x451edb
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp short loc_0042a9fb ; jmp 0x42a9fb
@@ -56897,7 +56897,7 @@ mov al, byte [ref_0048c2eb] ; mov al, byte [0x48c2eb]
push eax
loc_0042b197:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_0042b19c:
add esp, 4
@@ -56949,7 +56949,7 @@ mov al, byte [ref_0048c2eb] ; mov al, byte [0x48c2eb]
dec eax
push eax
push fcn_00429d65 ; push 0x429d65
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
push 1
call fcn_00402460 ; call 0x402460
@@ -57081,7 +57081,7 @@ jmp short loc_0042b3ca ; jmp 0x42b3ca
loc_0042b385:
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp short loc_0042b3ca ; jmp 0x42b3ca
@@ -57190,7 +57190,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push 0x3e8
-mov esi, dword [ref_0046cad8] ; mov esi, dword [0x46cad8]
+mov esi, dword [callbackSize] ; mov esi, dword [0x46cad8]
push esi
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -57211,7 +57211,7 @@ loc_0042b4db:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0042b3ca ; je 0x42b3ca
mov eax, dword [esp + 0x5c]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_0042b3ca ; jne 0x42b3ca
mov ecx, dword [ref_0048c2f2] ; mov ecx, dword [0x48c2f2]
inc ecx
@@ -57231,7 +57231,7 @@ push ebp
push ebx
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0042b3ca ; jmp 0x42b3ca
@@ -57395,7 +57395,7 @@ call fcn_0044fabc ; call 0x44fabc
add esp, 0x14
push 0
push fcn_0042b2ec ; push 0x42b2ec
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
jmp near loc_0042ba6d ; jmp 0x42ba6d
@@ -57646,7 +57646,7 @@ add esp, 0x14
mov edx, dword [esp + 0x14]
push edx
push fcn_0042aaff ; push 0x42aaff
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
push ref_00475590 ; push 0x475590
@@ -57980,7 +57980,7 @@ jmp short loc_0042bdf6 ; jmp 0x42bdf6
loc_0042be43:
push 0
push fcn_0042b3eb ; push 0x42b3eb
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov eax, dword [ref_0048c2dc] ; mov eax, dword [0x48c2dc]
push eax
@@ -59687,7 +59687,7 @@ mov byte [ref_0048c34a], al ; mov byte [0x48c34a], al
call fcn_0042d299 ; call 0x42d299
push ebp
push 0x32
-mov ecx, dword [ref_0046cad8] ; mov ecx, dword [0x46cad8]
+mov ecx, dword [callbackSize] ; mov ecx, dword [0x46cad8]
push ecx
push edi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -59981,7 +59981,7 @@ loc_0042d847:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0042d48d ; je 0x42d48d
mov eax, dword [esp + 0x7c]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_0042d48d ; jne 0x42d48d
cmp dword [ref_0048c318], 1 ; cmp dword [0x48c318], 1
jne short loc_0042d87e ; jne 0x42d87e
@@ -60272,7 +60272,7 @@ push edi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
mov eax, dword [ref_0048c343] ; mov eax, dword [0x48c343]
push eax
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_0042dc33:
add esp, 4
@@ -61182,7 +61182,7 @@ push edi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
mov esi, dword [ref_0048c343] ; mov esi, dword [0x48c343]
push esi
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0042e45e ; jmp 0x42e45e
loc_0042e8bc:
@@ -61529,7 +61529,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_0042d37f ; push 0x42d37f
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebp, eax
call fcn_00454bcc ; call 0x454bcc
@@ -62525,7 +62525,7 @@ mov byte [ref_0048c372], ch ; mov byte [0x48c372], ch
call fcn_0042f32c ; call 0x42f32c
push 0
push 0x64
-mov ecx, dword [ref_0046cad8] ; mov ecx, dword [0x46cad8]
+mov ecx, dword [callbackSize] ; mov ecx, dword [0x46cad8]
push ecx
push ebp
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -62664,7 +62664,7 @@ cmp byte [ref_0048c370], 0 ; cmp byte [0x48c370], 0
je near loc_0042f924 ; je 0x42f924
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0042f924 ; je 0x42f924
-cmp ebx, dword [ref_0046cad8] ; cmp ebx, dword [0x46cad8]
+cmp ebx, dword [callbackSize] ; cmp ebx, dword [0x46cad8]
jne near loc_0042f924 ; jne 0x42f924
xor eax, eax
mov al, byte [ref_0048c372] ; mov al, byte [0x48c372]
@@ -62732,7 +62732,7 @@ push eax
push ebp
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0042fa9b ; jmp 0x42fa9b
loc_0042fb2a:
@@ -63250,7 +63250,7 @@ mov dword [ref_0048c377], ecx ; mov dword [0x48c377], ecx
call fcn_0042f6c3 ; call 0x42f6c3
push ebx
push 0x32
-mov ebp, dword [ref_0046cad8] ; mov ebp, dword [0x46cad8]
+mov ebp, dword [callbackSize] ; mov ebp, dword [0x46cad8]
push ebp
push esi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -63292,7 +63292,7 @@ je short loc_004301db ; je 0x4301db
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_004301db ; je 0x4301db
mov eax, dword [esp + 0xa0]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne short loc_004301db ; jne 0x4301db
push 0
call fcn_0044ee18 ; call 0x44ee18
@@ -63978,7 +63978,7 @@ add esp, 0xc
loc_00430afb:
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_00430249 ; jmp 0x430249
loc_00430b07:
@@ -64854,7 +64854,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_0042f7fc ; push 0x42f7fc
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
mov ebp, dword [ref_0048c35c] ; mov ebp, dword [0x48c35c]
@@ -64979,7 +64979,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_0043010c ; push 0x43010c
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
mov edi, dword [ref_0048c360] ; mov edi, dword [0x48c360]
@@ -66259,7 +66259,7 @@ mov byte [ref_0048c3a5], al ; mov byte [0x48c3a5], al
call fcn_00432511 ; call 0x432511
push 0
push 0x64
-mov ecx, dword [ref_0046cad8] ; mov ecx, dword [0x46cad8]
+mov ecx, dword [callbackSize] ; mov ecx, dword [0x46cad8]
push ecx
push ebx
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -66302,7 +66302,7 @@ loc_004326e5:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_004326ad ; je 0x4326ad
mov eax, dword [esp + 0x78]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne short loc_004326ad ; jne 0x4326ad
cmp byte [ref_0048c3a2], 4 ; cmp byte [0x48c3a2], 4
jne near loc_00432828 ; jne 0x432828
@@ -66570,7 +66570,7 @@ xor eax, eax
mov al, byte [ref_0048c3a1] ; mov al, byte [0x48c3a1]
dec eax
push eax
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0043286e ; jmp 0x43286e
loc_00432a85:
@@ -67084,7 +67084,7 @@ mov byte [ref_0048c3af], dh ; mov byte [0x48c3af], dh
call fcn_00432511 ; call 0x432511
push 0
push 0x64
-mov ecx, dword [ref_0046cad8] ; mov ecx, dword [0x46cad8]
+mov ecx, dword [callbackSize] ; mov ecx, dword [0x46cad8]
push ecx
push ebp
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -67119,7 +67119,7 @@ loc_00433196:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_0043316d ; je 0x43316d
mov eax, dword [esp + 0x74]
-mov ebx, dword [ref_0046cad8] ; mov ebx, dword [0x46cad8]
+mov ebx, dword [callbackSize] ; mov ebx, dword [0x46cad8]
cmp eax, ebx
jne short loc_0043316d ; jne 0x43316d
xor eax, ebx
@@ -67203,7 +67203,7 @@ mov al, byte [ref_0048c3ae] ; mov al, byte [0x48c3ae]
mov al, byte [eax + ref_004757e3] ; mov al, byte [eax + 0x4757e3]
and eax, 0xff
push eax
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_004332c9:
add esp, 4
@@ -67564,7 +67564,7 @@ push ebx
push ebp
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp short loc_0043375b ; jmp 0x43375b
loc_0043379e:
@@ -67656,7 +67656,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_004325c2 ; push 0x4325c2
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov esi, eax
call fcn_00454bcc ; call 0x454bcc
@@ -67899,7 +67899,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push ebp
push fcn_00433088 ; push 0x433088
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov ebx, eax
add esp, 8
call fcn_00454bcc ; call 0x454bcc
@@ -68712,7 +68712,7 @@ mov byte [ref_0048c3cf], ah ; mov byte [0x48c3cf], ah
mov byte [ref_0048c3d0], ah ; mov byte [0x48c3d0], ah
push 0
push 0x64
-mov eax, dword [ref_0046cad8] ; mov eax, dword [0x46cad8]
+mov eax, dword [callbackSize] ; mov eax, dword [0x46cad8]
push eax
push edi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -68885,7 +68885,7 @@ je near loc_00434641 ; je 0x434641
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_00434641 ; je 0x434641
mov eax, dword [esp + 0x70]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_00434641 ; jne 0x434641
push 0
call fcn_0044ee18 ; call 0x44ee18
@@ -69027,7 +69027,7 @@ call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
xor eax, eax
mov al, byte [ref_0048c3d0] ; mov al, byte [0x48c3d0]
push eax
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0043479f ; jmp 0x43479f
loc_0043493a:
@@ -69686,7 +69686,7 @@ call fcn_00434186 ; call 0x434186
add esp, 4
push ebp
push 0x32
-mov eax, dword [ref_0046cad8] ; mov eax, dword [0x46cad8]
+mov eax, dword [callbackSize] ; mov eax, dword [0x46cad8]
push eax
push esi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -69933,7 +69933,7 @@ je near loc_0043518a ; je 0x43518a
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0043518a ; je 0x43518a
mov eax, dword [esp + 0xf0]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_0043518a ; jne 0x43518a
mov ebp, dword [ref_0048c3d9] ; mov ebp, dword [0x48c3d9]
test ebp, ebp
@@ -70201,7 +70201,7 @@ push ebp
push esi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_0043588e:
add esp, 4
@@ -70591,7 +70591,7 @@ call fcn_00402460 ; call 0x402460
add esp, 4
push 0
push fcn_00434492 ; push 0x434492
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov byte [ref_0048c3e2], al ; mov byte [0x48c3e2], al
test al, al
@@ -70823,7 +70823,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push 0x32
-mov edx, dword [ref_0046cad8] ; mov edx, dword [0x46cad8]
+mov edx, dword [callbackSize] ; mov edx, dword [0x46cad8]
push edx
push esi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -70874,7 +70874,7 @@ je short loc_00436162 ; je 0x436162
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_00436162 ; je 0x436162
mov eax, dword [esp + 0x100]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_00436162 ; jne 0x436162
push 0
call fcn_0044ee18 ; call 0x44ee18
@@ -70912,7 +70912,7 @@ push ebx
push esi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_00436245:
add esp, 4
@@ -71294,7 +71294,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push ebx
push fcn_00435062 ; push 0x435062
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
mov ebx, dword [ref_0048c3c0] ; mov ebx, dword [0x48c3c0]
@@ -71480,7 +71480,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_00436034 ; push 0x436034
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
push 1
call fcn_0041906a ; call 0x41906a
@@ -71895,7 +71895,7 @@ mov dword [esp + 0xc], 0xec
push 0
lea eax, [esp + 4]
push eax
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
@@ -72597,7 +72597,7 @@ add esp, 0xc
loc_00437774:
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_004378f4 ; jmp 0x4378f4
loc_00437780:
@@ -72743,7 +72743,7 @@ push 0x29
call fcn_004021f8 ; call 0x4021f8
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_004373e3 ; jmp 0x4373e3
loc_00437942:
@@ -72842,7 +72842,7 @@ add esp, 4
loc_00437a6f:
push 0
push fcn_00436ef8 ; push 0x436ef8
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
test ebx, ebx
je short loc_00437aa3 ; je 0x437aa3
@@ -73240,7 +73240,7 @@ mov byte [ref_0048c42d], dh ; mov byte [0x48c42d], dh
mov byte [ref_0048c42e], dh ; mov byte [0x48c42e], dh
push 0
push 0x64
-mov edx, dword [ref_0046cad8] ; mov edx, dword [0x46cad8]
+mov edx, dword [callbackSize] ; mov edx, dword [0x46cad8]
push edx
push esi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -73281,7 +73281,7 @@ je short loc_00437f23 ; je 0x437f23
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_00437f23 ; je 0x437f23
mov eax, dword [esp + 0xec]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne short loc_00437f23 ; jne 0x437f23
push 0
call fcn_0044ee18 ; call 0x44ee18
@@ -74639,7 +74639,7 @@ push ebp
push esi
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_00439193:
add esp, 4
@@ -75601,7 +75601,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_00437e61 ; push 0x437e61
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
mov edi, dword [ref_0048c41c] ; mov edi, dword [0x48c41c]
@@ -76019,7 +76019,7 @@ mov dword [ref_0048c4a4], ecx ; mov dword [0x48c4a4], ecx
mov dword [ref_0048c4a8], 0xffffffff ; mov dword [0x48c4a8], 0xffffffff
push ecx
push 0x64
-mov esi, dword [ref_0046cad8] ; mov esi, dword [0x46cad8]
+mov esi, dword [callbackSize] ; mov esi, dword [0x46cad8]
push esi
push ebp
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -76272,7 +76272,7 @@ cmp byte [ref_0048c4ac], 0 ; cmp byte [0x48c4ac], 0
je near loc_0043a3d7 ; je 0x43a3d7
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0043a3d7 ; je 0x43a3d7
-cmp ebx, dword [ref_0046cad8] ; cmp ebx, dword [0x46cad8]
+cmp ebx, dword [callbackSize] ; cmp ebx, dword [0x46cad8]
jne near loc_0043a3d7 ; jne 0x43a3d7
test byte [ref_0048c4a5], 0xff ; test byte [0x48c4a5], 0xff
je near loc_0043ab5a ; je 0x43ab5a
@@ -77413,7 +77413,7 @@ push ebp
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
mov ecx, dword [ref_0048c4a8] ; mov ecx, dword [0x48c4a8]
push ecx
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_0043b5da:
add esp, 4
@@ -78698,7 +78698,7 @@ mov dword [esp + 0x84], eax
loc_0043c6db:
push edi
push fcn_0043a2dd ; push 0x43a2dd
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov dword [esp + 0x8c], eax
cmp dword [esp + 0xb4], 0
@@ -79067,7 +79067,7 @@ mov byte [ref_0048c4c8], ah ; mov byte [0x48c4c8], ah
mov byte [ref_0048c4c9], ah ; mov byte [0x48c4c9], ah
push 0
push 0x64
-mov ecx, dword [ref_0046cad8] ; mov ecx, dword [0x46cad8]
+mov ecx, dword [callbackSize] ; mov ecx, dword [0x46cad8]
push ecx
push edi
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -79092,7 +79092,7 @@ je near loc_0043cbe9 ; je 0x43cbe9
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je near loc_0043cbe9 ; je 0x43cbe9
mov eax, dword [esp + 0x98]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne near loc_0043cbe9 ; jne 0x43cbe9
xor dl, dl
mov byte [ref_0048c4c8], dl ; mov byte [0x48c4c8], dl
@@ -79629,7 +79629,7 @@ push 1
call fcn_0044ee18 ; call 0x44ee18
add esp, 4
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0043cf06 ; jmp 0x43cf06
loc_0043d295:
@@ -79726,7 +79726,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_0043caab ; push 0x43caab
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
mov edi, dword [ref_0048c4b4] ; mov edi, dword [0x48c4b4]
@@ -80343,7 +80343,7 @@ mov byte [ref_0048c4f4], dh ; mov byte [0x48c4f4], dh
mov byte [ref_0048c4f6], dh ; mov byte [0x48c4f6], dh
push 0
push 0x64
-mov ecx, dword [ref_0046cad8] ; mov ecx, dword [0x46cad8]
+mov ecx, dword [callbackSize] ; mov ecx, dword [0x46cad8]
push ecx
push ebp
call dword [cs:__imp__SetTimer@16] ; ucall: call dword cs:[0x462324]
@@ -80401,7 +80401,7 @@ je short loc_0043db35 ; je 0x43db35
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_0043db35 ; je 0x43db35
mov eax, dword [esp + 0x94]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne short loc_0043db35 ; jne 0x43db35
push 0
call fcn_0044ee18 ; call 0x44ee18
@@ -80712,7 +80712,7 @@ push ebx
push ebp
call dword [cs:__imp__KillTimer@8] ; ucall: call dword cs:[0x4622fc]
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
loc_0043df8b:
@@ -81592,7 +81592,7 @@ call fcn_004549cf ; call 0x4549cf
add esp, 4
push 0
push fcn_0043da27 ; push 0x43da27
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
call fcn_00454bcc ; call 0x454bcc
mov edi, dword [ref_0048c4d4] ; mov edi, dword [0x48c4d4]
@@ -83255,7 +83255,7 @@ dec eax
push eax
loc_0043feae:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0043fd7e ; jmp 0x43fd7e
@@ -83547,7 +83547,7 @@ mov ebx, dword [ref_0048c52c] ; mov ebx, dword [0x48c52c]
push ebx
loc_00440248:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_0043fd7e ; jmp 0x43fd7e
@@ -83851,7 +83851,7 @@ mov esi, dword [ref_0048c530] ; mov esi, dword [0x48c530]
push esi
loc_0044065c:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
loc_00440661:
add esp, 4
@@ -84258,7 +84258,7 @@ call dword [eax + 0x80] ; ucall
mov eax, dword [esp + 0x20]
push eax
push fcn_0043fae4 ; push 0x43fae4
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov ebx, eax
add esp, 8
push 0x28
@@ -84614,7 +84614,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push fcn_0043ff56 ; push 0x43ff56
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov esi, eax
cmp eax, 0xffffffff
@@ -84778,7 +84778,7 @@ xor eax, eax
mov al, byte [edi + 0x1a]
push eax
push fcn_004402d7 ; push 0x4402d7
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
push 0x28
@@ -85250,7 +85250,7 @@ mov esi, dword [ref_0048c538] ; mov esi, dword [0x48c538]
push esi
loc_00441664:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00441579 ; jmp 0x441579
@@ -85446,7 +85446,7 @@ mov ebx, dword [ref_0048c544] ; mov ebx, dword [0x48c544]
push ebx
loc_004418ac:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00441579 ; jmp 0x441579
@@ -85572,7 +85572,7 @@ shl eax, 0x10
or eax, edi
push eax
push fcn_004413ec ; push 0x4413ec
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
push 0x28
@@ -85783,7 +85783,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push fcn_004416f0 ; push 0x4416f0
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov ebx, eax
add esp, 8
push 0x8028
@@ -91561,7 +91561,7 @@ mov ebx, dword [ref_0048c560] ; mov ebx, dword [0x48c560]
push ebx
loc_00445da3:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp short loc_00445d7d ; jmp 0x445d7d
@@ -91733,7 +91733,7 @@ loc_00445f88:
cmp byte [ref_0046cb01], 0 ; cmp byte [0x46cb01], 0
je short loc_00445f7e ; je 0x445f7e
mov eax, dword [esp + 0x64]
-cmp eax, dword [ref_0046cad8] ; cmp eax, dword [0x46cad8]
+cmp eax, dword [callbackSize] ; cmp eax, dword [0x46cad8]
jne short loc_00445f7e ; jne 0x445f7e
mov edi, dword [ref_0048c56c] ; mov edi, dword [0x48c56c]
cmp edi, 0x40
@@ -91875,7 +91875,7 @@ add esp, 0xc
loc_0044618d:
push 0
push 0x32
-mov edx, dword [ref_0046cad8] ; mov edx, dword [0x46cad8]
+mov edx, dword [callbackSize] ; mov edx, dword [0x46cad8]
push edx
mov ecx, dword [esp + 0x68]
push ecx
@@ -92253,7 +92253,7 @@ mov ebp, dword [ref_0048c584] ; mov ebp, dword [0x48c584]
push ebp
loc_00446698:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00445f7e ; jmp 0x445f7e
@@ -92566,7 +92566,7 @@ mov ebx, dword [ref_0048c598] ; mov ebx, dword [0x48c598]
push ebx
loc_00446a59:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00445d7d ; jmp 0x445d7d
@@ -92625,7 +92625,7 @@ fcn_00446ae8:
mov edx, dword [esp + 4]
push edx
push fcn_00445e4d ; push 0x445e4d
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
ret
@@ -93190,7 +93190,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push fcn_00446774 ; push 0x446774
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
mov dword [esp], 0x5c
@@ -94349,7 +94349,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push tools_ui_callback ; push 0x445c14
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov esi, eax
add esp, 8
mov eax, dword [ref_0048a0e0] ; mov eax, dword [0x48a0e0]
@@ -103104,7 +103104,7 @@ push ebp
call fcn_00451edb ; call 0x451edb
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
loc_0044e586:
@@ -103651,7 +103651,7 @@ and edx, 0xffff
or eax, edx
push eax
push fcn_0044e40b ; push 0x44e40b
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebp, dword [ref_0048c5f8] ; mov ebp, dword [0x48c5f8]
push ebp
@@ -107825,7 +107825,7 @@ je short loc_00451632 ; je 0x451632
xor bl, bl
mov byte [ref_0046cb02], bl ; mov byte [0x46cb02], bl
push 1
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp short loc_00451632 ; jmp 0x451632
@@ -107890,7 +107890,7 @@ loc_00451701:
mov ebx, dword [esp + 0x5c]
push ebx
push fcn_0045156f ; push 0x45156f
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
mov ebx, eax
add esp, 8
push 0
@@ -107915,7 +107915,7 @@ fcn_0045174a:
xor ah, ah
mov byte [ref_0046cb02], ah ; mov byte [0x46cb02], ah
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
ret
@@ -109862,7 +109862,7 @@ mov dword [esp + 0xc], eax
push 0
lea eax, [esp + 4]
push eax
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
call dword [cs:__imp__InvalidateRect@12] ; ucall: call dword cs:[0x4622f8]
@@ -110374,7 +110374,7 @@ push 0x29
call fcn_004021f8 ; call 0x4021f8
add esp, 0xc
push ebx
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp short loc_00453107 ; jmp 0x453107
loc_00453145:
@@ -110648,7 +110648,7 @@ push 0x29
call fcn_004021f8 ; call 0x4021f8
add esp, 0xc
push 0
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
jmp near loc_0045342f ; jmp 0x45342f
loc_004534d6:
@@ -110746,7 +110746,7 @@ mov eax, dword [esp + 0x24]
mov dword [ref_0048ca98], eax ; mov dword [0x48ca98], eax
push 0
push fcn_00452c02 ; push 0x452c02
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov ebx, eax
movsx eax, word [ref_0048cab6] ; movsx eax, word [0x48cab6]
@@ -111061,7 +111061,7 @@ add esp, 4
push 0
loc_004539bd:
-call fcn_00401966 ; call 0x401966
+call Post_0402_Message ; call 0x401966
add esp, 4
jmp near loc_00453739 ; jmp 0x453739
@@ -111175,7 +111175,7 @@ push eax
call dword [edx + 0x80] ; ucall
push 0
push fcn_0045367e ; push 0x45367e
-call fcn_004018e7 ; call 0x4018e7
+call Wait_0402_Message ; call 0x4018e7
add esp, 8
mov esi, eax
mov eax, dword [ref_0048cac8] ; mov eax, dword [0x48cac8]
@@ -111238,7 +111238,7 @@ loc_00453bad:
mov eax, dword [ref_0047e748] ; mov eax, dword [0x47e748]
mov edx, dword [eax]
push 3
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
push eax
call dword [edx + 0x18] ; ucall
@@ -112679,7 +112679,7 @@ jne short loc_00454ab8 ; jne 0x454ab8
loc_00454a93:
test edi, edi
je short loc_00454ab8 ; je 0x454ab8
-mov eax, dword [ref_0048a0d4] ; mov eax, dword [0x48a0d4]
+mov eax, dword [gWindowHandle] ; mov eax, dword [0x48a0d4]
push eax
push 0
push 0
@@ -112858,7 +112858,7 @@ lea eax, [esp + 8]
push eax
call fcn_00457110 ; call 0x457110
add esp, 0xc
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
push 0
push 0
@@ -112871,7 +112871,7 @@ mov byte [ref_0046cb03], 1 ; mov byte [0x46cb03], 1
jmp short loc_00454d1e ; jmp 0x454d1e
loc_00454cd9:
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
push ebx
push ebx
@@ -112919,7 +112919,7 @@ pop ebx
ret
loc_00454d4b:
-mov ebx, dword [ref_0048a0d4] ; mov ebx, dword [0x48a0d4]
+mov ebx, dword [gWindowHandle] ; mov ebx, dword [0x48a0d4]
push ebx
push 0
push 0
@@ -112929,7 +112929,7 @@ jmp short loc_00454d88 ; jmp 0x454d88
loc_00454d5d:
test byte [ref_0047e772], 0x80 ; test byte [0x47e772], 0x80
je short loc_00454d78 ; je 0x454d78
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
push 0
push 0
@@ -112937,7 +112937,7 @@ push ref_0046655f ; push 0x46655f
jmp short loc_00454d88 ; jmp 0x454d88
loc_00454d78:
-mov edx, dword [ref_0048a0d4] ; mov edx, dword [0x48a0d4]
+mov edx, dword [gWindowHandle] ; mov edx, dword [0x48a0d4]
push edx
push 0
push 0
@@ -113015,7 +113015,7 @@ jne short loc_00454ec8 ; jne 0x454ec8
loc_00454e5c:
test ebx, ebx
je short loc_00454ec8 ; je 0x454ec8
-mov ebp, dword [ref_0048a0d4] ; mov ebp, dword [0x48a0d4]
+mov ebp, dword [gWindowHandle] ; mov ebp, dword [0x48a0d4]
push ebp
push 0
push 0
@@ -113037,7 +113037,7 @@ lea eax, [esp + 8]
push eax
call fcn_00457110 ; call 0x457110
add esp, 0xc
-mov ecx, dword [ref_0048a0d4] ; mov ecx, dword [0x48a0d4]
+mov ecx, dword [gWindowHandle] ; mov ecx, dword [0x48a0d4]
push ecx
push 0
push 0
@@ -144181,7 +144181,7 @@ dd 0x00000000
ref_0046cad4:
dd 0x7ff00000
-ref_0046cad8:
+callbackSize:
dd 0x00000000
ref_0046cadc:
@@ -173515,7 +173515,7 @@ section .bss
ref_0048a000:
resb 16
-ref_0048a010:
+windowCallbacks:
resb 64
ref_0048a050:
@@ -173557,7 +173557,7 @@ resb 68
ref_0048a0d0:
resb 4
-ref_0048a0d4:
+gWindowHandle:
resb 4
ref_0048a0d8: