Function at 0x180002410
Capabilities:
Get geographical location

Disassembly:
push rbp
push rbx
mov rbp, rsp
sub rsp, 0x58
mov rbx, qword [0x180119638]
mov rax, qword [rbx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x180002cb3
mov rbx, qword [rbx + 0x4ef0]
test rbx, rbx
jne 0x180002462
mov r8d, 0x25f2
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui_widgets.cpp
lea rcx, str._tab_bar____Needs_to_be_called_between_BeginTabBar___and_EndTabBar____
add rsp, 0x58
pop rbx
pop rbp
jmp qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov qword [rsp + 0x80], rdi
lea rdx, str.Powerups
xor edi, edi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call fcn.1800c4c00
test al, al
je 0x180002cab
mov qword [rsp + 0x78], rsi
movsx rsi, word [rbx + 0x78]
mov qword [rsp + 0x50], r15
test esi, esi
js 0x1800024a5
cmp esi, dword [rbx]
jl 0x1800024bf
mov r8d, 0x81c
lea rdx, str.D:NIISIcheatsCppHaxSDKCppHaxSDK_third_partyimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 8]
imul rcx, rsi, 0x2c
mov ecx, dword [rcx + rax]
call fcn.18002d250
mov rax, qword [0x180119328]
mov r15, qword [rax]
test r15, r15
je 0x180002c9c
movsxd rax, dword [0x1801192e0]
mov rcx, qword [0x180119638]
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
xorps xmm7, xmm7
mov r15, qword [rax + r15]
mov rax, qword [rcx + 0x4078]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], dil
jne 0x180002556
lea rdx, str.SPELLS
mov r8, rdx
cmp rdx, 0xffffffffffffffff
jae 0x18000254e
nop
movzx ecx, byte [r8]
test cl, cl
je 0x18000254e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x180002545
cmp byte [rax], cl
je 0x18000254e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x180002530
movaps xmm3, xmm7
call fcn.1800a83d0
mov rax, qword [0x180119320]
mov rcx, qword [rax]
movsxd rax, dword [0x180119344]
cmp byte [rax + rcx], dil
je 0x180002579
movsxd rax, dword [0x1801193a4]
mov edx, dword [rax + rcx]
jmp 0x18000257b
mov edx, edi
movsxd rdx, edx
lea rsi, str.Locked
xor r8d, r8d
mov qword [rsp + 0x88], r14
lea rcx, str.Spell1
mov rdx, qword [rsi + rdx*8]
call fcn.1800a8cc0
test al, al
je 0x18000261a
mov ebx, edi
mov qword [rbp + 0x18], rbx
nop word [rax + rax]
call fcn.1800014f0
mov rcx, qword [rsi]
lea r9, [rbp + 0x18]
cmp eax, ebx
mov r14d, eax
sete dl
xor r8d, r8d
call fcn.1800bc5b0
test al, al
je 0x1800025f3
mov rcx, qword [0x180119320]
mov rdx, qword [rcx]
test ebx, ebx
je 0x1800025e9
movsxd rax, dword [0x180119344]
mov byte [rax + rdx], 1
movsxd rax, dword [0x1801193a4]
mov dword [rax + rdx], ebx
cmp r14d, ebx
jne 0x1800025fd
call fcn.18002cb00
inc ebx
add rsi, 8
cmp ebx, 3
jl 0x1800025b0
mov rbx, qword [0x180119638]
call fcn.180033de0
dec dword [rbx + 0x5f50]
mov rax, qword [0x180119320]
mov rcx, qword [rax]
movsxd rax, dword [0x180119344]
cmp byte [rax + rcx], dil
je 0x18000263d
movsxd rax, dword [0x18011941c]
mov edx, dword [rax + rcx]
jmp 0x18000263f
mov edx, edi
movsxd rdx, edx
lea rsi, str.Locked
xor r8d, r8d
lea rcx, str.Spell2
mov rdx, qword [rsi + rdx*8]
call fcn.1800a8cc0
test al, al
je 0x1800026d0
mov ebx, edi
mov qword [rbp + 0x18], rbx
call fcn.180001520
mov rcx, qword [rsi]
lea r9, [rbp + 0x18]
cmp eax, ebx
mov r14d, eax
sete dl
xor r8d, r8d
call fcn.1800bc5b0
test al, al
je 0x1800026a9
mov rcx, qword [0x180119320]
mov rdx, qword [rcx]
test ebx, ebx
je 0x18000269f
movsxd rax, dword [0x180119344]
mov byte [rax + rdx], 1
movsxd rax, dword [0x18011941c]
mov dword [rax + rdx], ebx
cmp r14d, ebx
jne 0x1800026b3
call fcn.18002cb00
inc ebx
add rsi, 8
cmp ebx, 3
jl 0x180002666
mov rbx, qword [0x180119638]
call fcn.180033de0
dec dword [rbx + 0x5f50]
mov rax, qword [0x180119320]
mov r14, qword [rsp + 0x88]
mov rcx, qword [rax]
movsxd rax, dword [0x180119344]
cmp byte [rax + rcx], dil
je 0x1800026fb
movsxd rax, dword [0x1801193b8]
mov edx, dword [rax + rcx]
jmp 0x1800026fd
mov edx, edi
movsxd rdx, edx
lea rbx, str.Locked
xor r8d, r8d
lea rcx, str.Spell3
mov rdx, qword [rbx + rdx*8]
call fcn.1800a8cc0
test al, al
je 0x18000278a
mov qword [rbp + 0x18], rdi
call fcn.180001550
mov rcx, qword [rbx]
lea r9, [rbp + 0x18]
cmp eax, edi
mov esi, eax
sete dl
xor r8d, r8d
call fcn.1800bc5b0
test al, al
je 0x180002764
mov rcx, qword [0x180119320]
mov rdx, qword [rcx]
test edi, edi
je 0x18000275a
movsxd rax, dword [0x180119344]
mov byte [rax + rdx], 1
movsxd rax, dword [0x1801193b8]
mov dword [rax + rdx], edi
cmp esi, edi
jne 0x18000276d
call fcn.18002cb00
inc edi
add rbx, 8
cmp edi, 3
jl 0x180002722
mov rbx, qword [0x180119638]
call fcn.180033de0
dec dword [rbx + 0x5f50]
mov rcx, qword [0x180119638]
movss xmm6, dword [0x1801042d4]
mov rax, qword [rcx + 0x4078]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x1800027d2
movaps xmm1, xmm6
mov qword [rbp + 0x18], 0
lea rcx, [rbp + 0x18]
call fcn.180031390
mov rcx, qword [0x180119638]
mov rax, qword [rcx + 0x4078]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x180002826
lea rdx, str.ABILITIES
mov r8, rdx
cmp rdx, 0xffffffffffffffff
jae 0x18000281e
movzx ecx, byte [r8]
test cl, cl
je 0x18000281e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x180002815
cmp byte [rax], cl
je 0x18000281e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x180002800
movaps xmm3, xmm7
call fcn.1800a83d0
movsxd rdx, dword [0x18011935c]
lea rcx, str.Ismas_tear
add rdx, r15
call fcn.1800a5c20
movsxd rdx, dword [0x18011938c]
lea rcx, str.Dream_nail
add rdx, r15
call fcn.1800a5c20
xor r8d, r8d
mov qword [rbp + 0x18], 0
lea rdx, [rbp + 0x18]
lea rcx, str.1_dream_orb
call fcn.1800a3d90
test al, al
je 0x18000287c
movsxd rax, dword [0x180119374]
inc dword [rax + r15]
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.180031500
lea rcx, str.10_dream_orb
mov qword [rbp + 0x18], 0
xor r8d, r8d
lea rdx, [rbp + 0x18]
call fcn.1800a3d90
test al, al
je 0x1800028b2
movsxd rax, dword [0x180119374]
add dword [rax + r15], 0xa
movaps xmm1, xmm6
movaps xmm0, xmm7
call fcn.180031500
lea rcx, str.100_dream_orb
mov qword [rbp + 0x18], 0
xor r8d, r8d
lea rdx, [rbp + 0x18]
call fcn.1800a3d90
test al, al
je 0x1800028e8
movsxd rax, dword [0x180119374]
add dword [rax + r15], 0x64
movsxd rdx, dword [0x180119408]
lea rcx, str.Awoken_dream_nail
add rdx, r15
call fcn.1800a5c20
movsxd rdx, dword [0x180119380]
lea rcx, str.Dreamgate
add rdx, r15
call fcn.1800a5c20
mov rcx, qword [0x180119638]
mov rax, qword [rcx + 0x4078]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x180002954
movaps xmm1, xmm6
mov qword [rbp + 0x18], 0
lea rcx, [rbp + 0x18]
call fcn.180031390
mov rcx, qword [0x180119638]
mov rax, qword [rcx + 0x4078]
lea rbx, str.KEYS
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x1800029b2
mov r8, rbx
cmp rbx, 0xffffffffffffffff
jae 0x1800029a0
movzx ecx, byte [r8]
test cl, cl
je 0x1800029a0
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x180002997
cmp byte [rax], cl
je 0x1800029a0
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x180002982
movaps xmm3, xmm7
mov rdx, rbx
call fcn.1800a83d0
mov rcx, qword [0x180119638]
mov rcx, qword [rcx + 0x4078]
mov rdx, rbx
mov qword [rbp + 0x18], 0
call fcn.18002cc20
lea rdx, [rbp + 0x18]
movss dword [rsp + 0x28], xmm7
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov edx, eax
mov rcx, rbx
lea r8d, [r9 + 2]
call fcn.180093bf0
test al, al
je 0x180002a7d
call fcn.180099510
movsxd rdx, dword [0x180119370]
lea rcx, str.City_crest
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x180119418]
lea rcx, str.Elegant_key
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x1801193f4]
lea rcx, str.Kings_brand
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x18011939c]
lea rcx, str.Love_key
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x1801193c4]
lea rcx, str.Shopkeepers_Key
add rdx, r15
call fcn.1800a5c20
call fcn.1800971c0
xor r8d, r8d
mov qword [rbp + 0x18], 0
lea rdx, [rbp + 0x18]
lea rcx, str.Add_simple_key
call fcn.1800a3d90
test al, al
je 0x180002aa7
movsxd rax, dword [0x1801193e0]
inc dword [rax + r15]
mov rcx, qword [0x180119638]
mov rax, qword [rcx + 0x4078]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x180002ae7
movaps xmm1, xmm6
mov qword [rbp + 0x18], 0
lea rcx, [rbp + 0x18]
call fcn.180031390
mov rcx, qword [0x180119638]
mov rax, qword [rcx + 0x4078]
lea rbx, str.EXPLORATION__QUESTS
movaps xmm6, xmmword [rsp + 0x40]
mov byte [rax + 0xcc], 1
mov rax, qword [rcx + 0x4078]
cmp byte [rax + 0xcf], 0
jne 0x180002b50
mov r8, rbx
cmp rbx, 0xffffffffffffffff
jae 0x180002b3e
nop word [rax + rax]
movzx ecx, byte [r8]
test cl, cl
je 0x180002b3e
lea rax, [r8 + 1]
cmp cl, 0x23
jne 0x180002b35
cmp byte [rax], cl
je 0x180002b3e
mov r8, rax
cmp rax, 0xffffffffffffffff
jb 0x180002b20
movaps xmm3, xmm7
mov rdx, rbx
call fcn.1800a83d0
mov rcx, qword [0x180119638]
mov rcx, qword [rcx + 0x4078]
mov rdx, rbx
mov qword [rbp + 0x18], 0
call fcn.18002cc20
lea rdx, [rbp + 0x18]
movss dword [rsp + 0x28], xmm7
xor r9d, r9d
mov qword [rsp + 0x20], rdx
mov edx, eax
mov rcx, rbx
lea r8d, [r9 + 2]
call fcn.180093bf0
movaps xmm7, xmmword [rsp + 0x30]
test al, al
je 0x180002c3b
call fcn.180099510
movsxd rdx, dword [0x180119398]
lea rcx, str.Tram_pass
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x1801193c8]
lea rcx, str.Lumafly_lantern
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x1801193f8]
lea rcx, str.Hunters_journal
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x180119358]
lea rcx, str.Hunters_mask
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x180119420]
lea rcx, str.Delicate_flower
add rdx, r15
call fcn.1800a5c20
call fcn.180099510
movsxd rdx, dword [0x1801193b0]
lea rcx, str.Godtuner
add rdx, r15
call fcn.1800a5c20
call fcn.1800971c0
xor r8d, r8d
mov qword [rbp + 0x18], 0
lea rdx, [rbp + 0x18]
lea rcx, str.Get_all_charms
call fcn.1800a3d90
test al, al
je 0x180002c9c
movsxd rax, dword [0x180119384]
movsxd rcx, dword [0x1801193ac]
add rcx, r15
mov byte [rax + r15], 1
movsxd rax, dword [0x180119350]
add rax, r15
mov byte [rax], 1
add rax, 7
cmp rax, rcx
ja 0x180002c9c
nop word [rax + rax]
mov byte [rax], 1
add rax, 8
cmp rax, rcx
jbe 0x180002c90
call fcn.1800c4ad0
mov r15, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x58
pop rbx
pop rbp
ret