Function at 0x482280
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x30
mov eax, dword [0x78b624]
xor eax, esp
mov dword [esp + 0x2c], eax
push esi
push edi
mov edi, dword [esp + 0x3c]
test edi, edi
mov esi, ecx
je 0x4826df
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ebx
push ebp
push str.Main
push edi
call edx
mov eax, dword [esi + 0x8410]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x8410]
push str.ImgServerInfobg
push edi
call edx
mov eax, dword [esi + 0x89d8]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x89d8]
push str.TxtServerInfo
push edi
call edx
mov eax, dword [esi + 0x95f0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x95f0]
push str.BtnHideMap
push edi
call edx
mov eax, dword [esi + 0x9c20]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x9c20]
push str.BtnSignal
push edi
call edx
mov eax, dword [esi + 0x4d30]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x4d30]
push str.AddOns
push edi
call edx
mov eax, dword [esi + 0x5d8]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x5d8]
push str.MiniMap
push edi
call edx
mov eax, dword [esi + 0x240c]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x240c]
push str.NameShadow
push edi
call edx
mov eax, dword [esi + 0x1800]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x1800]
push str.SceneName
push edi
call edx
mov eax, dword [esi + 0x1e0c]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x1e0c]
push str.ScenePos
push edi
call edx
mov eax, dword [esi + 0xba0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0xba0]
push str.SwitchBtn
push edi
call edx
mov eax, dword [esi + 0x4700]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x4700]
push str.WorldMapBtn
push edi
call edx
mov eax, dword [esi + 0x11d0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x11d0]
push str.BtnFlag
push edi
call edx
mov eax, dword [esi + 0xa1e8]
lea ebp, [esi + 0xa1e8]
mov edx, dword [eax + 8]
push str.CityInfo1
push edi
mov ecx, ebp
call edx
mov eax, dword [esi + 0xa7e8]
mov edx, dword [eax + 8]
lea ebx, [esi + 0xa7e8]
push str.CityInfo2
push edi
mov ecx, ebx
call edx
mov eax, dword [esi + 0x2810]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x2810]
push str.TxtPosX
push edi
call edx
mov eax, dword [esi + 0x2e1c]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x2e1c]
push str.EdtPosX
push edi
call edx
mov eax, dword [esi + 0x3470]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x3470]
push str.TxtPosY
push edi
call edx
mov eax, dword [esi + 0x3a7c]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x3a7c]
push str.EdtPosY
push edi
call edx
mov eax, dword [esi + 0x40d0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x40d0]
push str.BtnPosInput
push edi
call edx
mov eax, dword [esi + 0x8fe4]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x8fe4]
push str.ActionTip
push edi
call edx
mov eax, dword [esi + 0x52f8]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x52f8]
push str.MarketBg
push edi
call edx
mov eax, dword [esi + 0x58c0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x58c0]
push str.BtnMarket
push edi
call edx
mov eax, dword [esi + 0x77b0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x77b0]
push str.BtnDaily
push edi
call edx
mov eax, dword [esi + 0x5ef0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x5ef0]
push str.BtnMail
push edi
call edx
mov eax, dword [esi + 0x6520]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x6520]
push str.BtnSysMsg
push edi
call edx
mov eax, dword [esi + 0x7180]
lea ecx, [esi + 0x7180]
push str.BtnGMBoard
mov edx, dword [eax + 8]
push edi
call edx
mov eax, dword [esi + 0x6b50]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x6b50]
push str.BtnFight
push edi
call edx
mov eax, dword [esi + 0x7de0]
mov edx, dword [eax + 8]
lea ecx, [esi + 0x7de0]
push str.BtnCalendar
push edi
call edx
push 0xffffffffffffffff
push 0x75b97b
mov ecx, ebp
call fcn.0046ee20
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0x75b97b
mov ecx, ebx
call fcn.0046ee20
mov eax, dword [ebx]
mov edx, dword [eax + 0x24]
mov ecx, ebx
call edx
mov ecx, dword [edi]
xor ebx, ebx
cmp ecx, ebx
je 0x4825a7
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
push 0x20
lea edx, [esp + 0x20]
push edx
push str.white
push str.Color
push str.Line
call eax
cmp eax, ebx
je 0x4825a7
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00464170
mov eax, dword [eax]
add esp, 8
mov dword [esi + 0x5cc], eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0x5d8]
mov dword [esp + 0x18], ebx
call fcn.00462730
mov ecx, dword [edi]
cmp ecx, ebx
je 0x48263c
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esi + 0xadf8]
push edx
push ebx
push str.Left
push str.MapRect
call eax
mov ecx, dword [edi]
cmp ecx, ebx
je 0x48263c
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0xadfc]
push eax
push ebx
push 0x72f284
push str.MapRect
call edx
mov ecx, dword [edi]
cmp ecx, ebx
je 0x48263c
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
lea edx, [esi + 0x5d0]
push edx
push ebx
push str.Width
push str.MapRect
call eax
mov ecx, dword [edi]
cmp ecx, ebx
je 0x48263c
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [esi + 0x5d4]
push eax
push ebx
push str.Height
push str.MapRect
call edx
lea eax, [esi + 0xae34]
push eax
call fcn.00469b50
mov edi, dword [edi]
add esp, 4
cmp edi, ebx
je 0x482675
mov edx, dword [edi]
mov edx, dword [edx + 0x24]
push 0x80
lea eax, [esi + 0xae58]
push eax
push 0x75b97b
push str.FlagImage
push str.BtnFlag
mov ecx, edi
call edx
test dword [esi + 0x10], 0x80000000
mov eax, 1
mov byte [esi + 0xae51], al
mov dword [esi + 0xae54], eax
mov dword [esi + 0xaf80], ebx
mov dword [esi + 0xaf7c], ebx
mov dword [esi + 0xaf78], ebx
mov byte [esi + 0xae4e], bl
mov byte [esi + 0xae4d], bl
mov byte [esi + 0xae4c], bl
mov byte [esi + 0xae4f], 0xff
je 0x4826dd
mov ecx, dword [0x7a7ae0]
cmp ecx, ebx
je 0x4826dd
mov eax, dword [esi + 0x5d4]
shl eax, 0x10
or eax, dword [esi + 0x5d0]
push eax
push 7
push 2
call fcn.004c3990
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.0069516a
add esp, 0x30
ret 4