Function at 0x4a7b50
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], ecx
cmp dword [ebp + 8], 0
jne 0x4a7b6e
jmp 0x4a7ebc
push str.MiniMap
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
call eax
push str.NameShadow
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 0xd58
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xd58]
mov edx, dword [eax + 0xc]
call edx
push str.SceneName
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x668
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x668]
mov edx, dword [eax + 0xc]
call edx
push str.SceneName
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x860
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x860]
mov edx, dword [eax + 0xc]
call edx
push str.ScenePos
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xa58
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xa58]
mov edx, dword [eax + 0xc]
call edx
push str.SwitchBtn
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1c8
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1c8]
mov edx, dword [eax + 0xc]
call edx
push str.WorldMapBtn
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xe60
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xe60]
mov edx, dword [eax + 0xc]
call edx
push str.CaveMapBtn
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x10b0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x10b0]
mov edx, dword [eax + 0xc]
call edx
push str.BtnFlag
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x418
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x418]
mov edx, dword [eax + 0xc]
call edx
push str.CityInfo1
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1300
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1300]
mov edx, dword [eax + 0xc]
call edx
push str.CityInfo2
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x28]
add ecx, 0x1464
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1464]
mov edx, dword [eax + 0xc]
call edx
push 0xffffffffffffffff
push 0x63abb8
mov ecx, dword [ebp - 0x28]
add ecx, 0x1300
call fcn.0043a9a0
mov ecx, dword [ebp - 0x28]
add ecx, 0x1300
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + 0x1300]
mov eax, dword [edx + 0x24]
call eax
push 0xffffffffffffffff
push 0x63abb8
mov ecx, dword [ebp - 0x28]
add ecx, 0x1464
call fcn.0043a9a0
mov ecx, dword [ebp - 0x28]
add ecx, 0x1464
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1464]
mov edx, dword [eax + 0x24]
call edx
push 0x20
lea eax, [ebp - 0x24]
push eax
push str.255_255_255
push str.Color
push str.Line
mov ecx, dword [ebp + 8]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
test eax, eax
je 0x4a7d53
lea ecx, [ebp - 0x24]
push ecx
call fcn.00443230
add esp, 4
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x1bc], eax
push 0xffffffffffffffff
push 0x63bd20
mov ecx, dword [ebp - 0x28]
add ecx, 0x860
call fcn.0043d280
mov eax, dword [ebp - 0x28]
add eax, 0x15d0
push eax
push 0
push str.Left
push str.MapRect
mov ecx, dword [ebp + 8]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
mov ecx, dword [ebp - 0x28]
add ecx, 0x15d4
push ecx
push 0
push 0x63ac10
push str.MapRect
mov ecx, dword [ebp + 8]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
mov edx, dword [ebp - 0x28]
add edx, 0x1c0
push edx
push 0
push str.Width
push str.MapRect
mov ecx, dword [ebp + 8]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
mov eax, dword [ebp - 0x28]
add eax, 0x1c4
push eax
push 0
push str.Height
push str.MapRect
mov ecx, dword [ebp + 8]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetInteger_char_const___char_const___int__int__]
mov ecx, dword [ebp - 0x28]
add ecx, 0x1628
push ecx
call fcn.004255e0
add esp, 4
push 0x80
mov edx, dword [ebp - 0x28]
add edx, 0x1648
push edx
push 0x63abb8
push str.FlagImage
push str.BtnFlag
mov ecx, dword [ebp + 8]
call dword [sym.imp.engine.dll_public:_int___thiscall_KIniFile::GetString_char_const___char_const___char_const___char___unsigned_long_int_]
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x1645], 1
mov ecx, dword [ebp - 0x28]
mov word [ecx + 0x1646], 1
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x16dc], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0x16d8], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x16d4], 0
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x1642], 0
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x1641], 0
mov ecx, dword [ebp - 0x28]
mov byte [ecx + 0x1640], 0
mov edx, dword [ebp - 0x28]
mov byte [edx + 0x1643], 0xff
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
and ecx, 0x80000000
je 0x4a7ebc
cmp dword [0x6de314], 0
je 0x4a7ebc
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x1c4]
shl eax, 0x10
mov ecx, dword [ebp - 0x28]
or eax, dword [ecx + 0x1c0]
push eax
push 7
push 2
mov ecx, dword [0x6de314]
call fcn.00539c60
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret 4