Function at 0x1400364c0
Capabilities:
Get geographical location

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0x108], rbx
mov rax, qword [0x140073008]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov rbx, r8
mov rsi, rcx
mov r8, rdx
lea rdx, [rbp + 7]
call fcn.140032070
nop
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x11]
call qword [sym.imp.adp_core_6_1.dll_public:_void___cdecl_autodesk::platform::core::string::UTF8String::constructor_class_autodesk::platform::core::string::WideString_const____ptr64____ptr64]
nop
mov rcx, rax
call qword [sym.imp.adp_core_6_1.dll_public:_char_const____ptr64___cdecl_autodesk::platform::core::string::UTF8String::string_void_const___ptr64]
mov qword [rbp - 0x21], 0xf
xor r15d, r15d
mov qword [rbp - 0x29], r15
mov byte [rbp - 0x39], r15b
cmp byte [rax], r15b
jne 0x14003653a
mov r8d, r15d
jmp 0x140036549
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x140036540
mov rdx, rax
lea rcx, [rbp - 0x39]
call fcn.1400344d0
nop
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], 0
mov r8d, 9
lea rdx, str.SunAndSky
lea rcx, [rbp - 0x59]
call fcn.1400344d0
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp - 0x59]
mov rcx, qword [rsi + 0x340]
call qword [sym.imp.spd64.dll_public:_class_rsut::spd::spd_block____ptr64___cdecl_rsut::spd::spd_file_writer::add_block_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64____ptr64]
mov rdi, rax
mov r8, qword [rbp - 0x41]
cmp r8, 0x10
jb 0x1400365af
inc r8
mov rdx, qword [rbp - 0x59]
lea rcx, [rbp - 0x59]
call fcn.14002ef40
mov qword [rbp - 0x41], 0xf
mov qword [rbp - 0x49], r15
mov byte [rbp - 0x59], 0
mov r8, qword [rbp - 0x21]
cmp r8, 0x10
jb 0x1400365d9
inc r8
mov rdx, qword [rbp - 0x39]
lea rcx, [rbp - 0x39]
call fcn.14002ef40
mov qword [rbp - 0x21], 0xf
mov qword [rbp - 0x29], r15
mov byte [rbp - 0x39], 0
lea rcx, [rbp - 0x11]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::UTF8String::destructor_void____ptr64]
test rbx, rbx
je 0x140036797
lea r14, str.degree
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rbx + 0x40]
lea r8, str.Longitude
mov rdx, rdi
call fcn.140032450
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rbx + 0x38]
lea r8, str.Latitude
mov rdx, rdi
call fcn.140032450
mov qword [rsp + 0x20], r14
movsd xmm3, qword [rbx + 0x48]
lea r8, str.north_offset_from_x
mov rdx, rdi
call fcn.140032450
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rbx + 0x30]
lea r8, str.TimeZoneOffset
mov rdx, rdi
call fcn.140032450
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rbx + 8]
lea r8, str.multiplier
mov rdx, rdi
call fcn.140032450
mov r9d, dword [rbx + 0x50]
lea r8, str.Year
mov rdx, rdi
call fcn.140032240
mov r9d, dword [rbx + 0x54]
lea r8, str.Month
mov rdx, rdi
call fcn.140032240
mov r9d, dword [rbx + 0x58]
lea r8, [0x140055594]
mov rdx, rdi
call fcn.140032240
movd xmm3, dword [rbx + 0x5c]
cvtdq2pd xmm3, xmm3
mulsd xmm3, qword [0x140056370]
movd xmm0, dword [rbx + 0x60]
cvtdq2pd xmm0, xmm0
addsd xmm3, xmm0
divsd xmm3, qword [0x140056370]
mov qword [rsp + 0x20], r15
lea r8, str.Time
mov rdx, rdi
call fcn.140032450
movzx r9d, byte [rbx + 0x64]
lea r8, [0x1400555a0]
mov rdx, rdi
call fcn.140032150
movzx r9d, byte [rbx + 2]
lea r8, str.backgroundOn
mov rdx, rdi
call fcn.140032150
movzx r9d, byte [rbx]
lea r8, str.illuminationOn
mov rdx, rdi
call fcn.140032150
movzx r9d, byte [rbx + 1]
lea r8, str.shadowOn
mov rdx, rdi
call fcn.140032150
cmp byte [rbx + 2], 0
je 0x140036797
mov qword [rsp + 0x20], r15
movsd xmm3, qword [rbx + 0x68]
lea r8, str.haze
mov rdx, rdi
call fcn.140032450
lea r9, [rbx + 0x80]
mov qword [rsp + 0x20], r15
lea r8, str.ground_color
mov rdx, rdi
call fcn.140034670
lea r9, [rbx + 0xa0]
mov qword [rsp + 0x20], r15
lea r8, str.night_color
mov rdx, rdi
call fcn.140034670
inc dword [rsi + 0x230]
lea rcx, [rbp + 7]
call qword [sym.imp.adp_core_6_1.dll_public_virtual:_void___cdecl_autodesk::platform::core::string::WideString::destructor_void____ptr64]
mov al, 1
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.140043860
mov rbx, qword [rsp + 0x108]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret