Function at 0x41f310
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebp + 0x14]
push edi
mov eax, dword [ecx + 0x1c]
mov dword [ebx + 0x1e4], edx
mov edx, dword [ebp + 0x10]
mov dword [ebx + 0x1d0], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x1e8], edx
mov dword [ebx + 0x29c], eax
mov eax, dword [ecx]
call dword [eax + 0x68]
mov dword [ebx + 0x20], eax
xor esi, esi
lea edi, [ebx + 0x1ec]
mov ecx, esi
mov edx, dword [ebp + 0x18]
neg ecx
sbb ecx, ecx
push 0
and ecx, 0x140
push 0
add ecx, 0x140
push 0
push ecx
push edx
push 0x5a5f40
call fcn.00488100
mov ecx, dword [0x7021c4]
add esp, 0xc
push eax
call fcn.005379d0
test eax, eax
mov dword [edi], eax
je 0x41f88f
inc esi
add edi, 4
cmp esi, 2
jl 0x41f352
mov ecx, ebx
call fcn.0041fde0
mov edi, dword [ebp + 0x18]
push 0x5a5f78
push edi
push 0x5a5f7c
mov dword [ebx + 0x1f4], eax
call fcn.00488100
add esp, 8
push eax
call fcn.00540e70
add esp, 8
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x41f4e6
push edi
push 0x5a5f88
call fcn.00488100
add esp, 8
push eax
push str.mmHudMap:__s_not_found___using_city_geometry_to_calc_map_extents
call fcn.00558640
add esp, 8
push edi
push 0x5a5fd8
call fcn.00488100
add esp, 8
push eax
call fcn.00538de0
mov esi, eax
add esp, 4
test esi, esi
jne 0x41f422
push edi
push str.mmHudMap:__s_not_found
call fcn.00558660
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x18]
push 0x5a6000
lea edx, [ebp - 0xc]
push ecx
push edx
mov ecx, esi
call fcn.0053b9f0
test eax, eax
jne 0x41f450
push str.Not_able_to_get_extents
call fcn.00558660
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, esi
call fcn.0053b7c0
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
mov dword [ebx + 0x220], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebx + 0x21c], eax
mov eax, dword [ebp - 0x10]
lea edi, [ebx + 0x224]
lea esi, [ebx + 0x228]
push 0x5a601c
push ecx
push str.city__s.ext
mov dword [edi], edx
mov dword [esi], eax
call fcn.00488100
add esp, 8
push eax
call fcn.00540e70
add esp, 8
mov dword [ebp + 0x14], eax
test eax, eax
je 0x41f519
fld dword [esi]
sub esp, 8
fstp qword [esp]
fld dword [edi]
sub esp, 8
fstp qword [esp]
fld dword [ebx + 0x220]
sub esp, 8
fstp qword [esp]
fld dword [ebx + 0x21c]
sub esp, 8
fstp qword [esp]
push str._f__f__f__f_n
push eax
call fcn.00540e50
mov ecx, dword [ebp + 0x14]
add esp, 0x28
mov edx, dword [ecx]
push 1
call dword [edx]
jmp 0x41f519
lea esi, [ebx + 0x228]
lea edi, [ebx + 0x224]
lea ecx, [ebx + 0x220]
push esi
lea edx, [ebx + 0x21c]
push edi
push ecx
push edx
push 0x5a603c
push eax
call fcn.00540fd0
mov ecx, dword [ebp + 0x14]
add esp, 0x18
mov eax, dword [ecx]
push 1
call dword [eax]
fld dword [esi]
fld dword [edi]
fxch st(1)
sub esp, 8
fstp qword [esp]
fld dword [ebx + 0x220]
fxch st(1)
sub esp, 8
fstp qword [esp]
fld dword [ebx + 0x21c]
fxch st(1)
sub esp, 8
fstp qword [esp]
sub esp, 8
fstp qword [esp]
push str.City_extents_are___f__f_______f__f_
call fcn.005585e0
fld dword [edi]
mov eax, dword [ebx + 0x1f4]
add esp, 0x24
fsub dword [ebx + 0x21c]
fild dword [eax + 0x24]
fld dword [esi]
fxch st(2)
fdivp st(1)
fxch st(1)
fsub dword [ebx + 0x220]
fxch st(1)
fstp dword [ebx + 0x22c]
fild dword [eax + 0x28]
fxch st(1)
fdivp st(1)
fstp dword [ebx + 0x230]
cmp dword [0x6683bc], 2
je 0x41f642
mov ecx, dword [0x7021c4]
push 3
push 0
push 0
push 0x5a606c
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x25c], eax
mov ecx, dword [0x7021c4]
push 0
push 0x5a6074
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x260], eax
mov ecx, dword [0x7021c4]
push 0
push str.green_dot
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x264], eax
mov ecx, dword [0x7021c4]
push 0
push str.grey_dot
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x268], eax
mov ecx, dword [0x7021c4]
push 0
push str.yellow_dot
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x26c], eax
mov ecx, dword [0x7021c4]
push 0
push str.finish_dot
call fcn.005379d0
mov dword [ebx + 0x270], eax
jmp 0x41f73b
mov eax, dword [0x6685b0]
sub eax, 0
je 0x41f6e7
dec eax
je 0x41f6a2
dec eax
jne 0x41f73b
mov ecx, dword [0x7021c4]
push 3
push 0
push 0
push str.red_dot
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x25c], eax
mov ecx, dword [0x7021c4]
push 0
push str.blue_dot
call fcn.005379d0
push 3
push 0
push 0
mov dword [ebx + 0x260], eax
push str.gold_dot
jmp 0x41f72a
mov ecx, dword [0x7021c4]
push 3
push 0
push 0
push str.hideout_dot
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x25c], eax
mov ecx, dword [0x7021c4]
push 0
push str.bank_dot
call fcn.005379d0
push 3
push 0
push 0
mov dword [ebx + 0x260], eax
push 0x5a60ec
jmp 0x41f72a
mov ecx, dword [0x7021c4]
push 3
push 0
push 0
push 0x5a60b0
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x25c], eax
mov ecx, dword [0x7021c4]
push 0
push 0x5a60bc
call fcn.005379d0
push 3
push 0
push 0
mov dword [ebx + 0x260], eax
push 0x5a60c8
mov ecx, dword [0x7021c4]
call fcn.005379d0
mov dword [ebx + 0x264], eax
mov ecx, dword [0x7021c4]
push 3
push 0
push 0
push str.icon_player
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x274], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_blue
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x27c], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_green
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x280], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_red
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x284], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_yellow
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x288], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_orange
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x28c], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_purple
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x290], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_cyan
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x294], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_cop
call fcn.005379d0
push 3
push 0
mov dword [ebx + 0x278], eax
mov ecx, dword [0x7021c4]
push 0
push str.icon_grey
call fcn.005379d0
mov ecx, ebx
mov dword [ebx + 0x298], eax
call fcn.004205c0
mov ecx, 0x668690
mov edi, str.Showme_Cops
call fcn.004c4db0
mov esi, eax
mov ecx, 0xc
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41f886
mov eax, 1
mov dword [0x668688], eax
mov dword [ebx + 0x2a0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp + 0x18]
push esi
push eax
push str.Missing_hud_bitmap__s__d__disabling_hudmap
mov word [ebx + 0x2c4], 1
call fcn.00558660
add esp, 0xc
mov ecx, ebx
call fcn.0041f9c0
pop edi
pop esi
mov byte [0x668671], 0
pop ebx
mov esp, ebp
pop ebp
ret 0x14