Function at 0x1800e34c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x50
movabs rcx, 0xf3bbe884a14bb413
movaps xmmword [rsp + 0x40], xmm6
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, [0x1801be8dc]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
lea rcx, [rsp + 0x88]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
lea rcx, [rsp + 0x90]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movss xmm6, dword [0x1801a8c24]
xor esi, esi
cmp byte [0x1801c015d], sil
movabs rbp, 0x338d2e3477711050
movabs rdi, 0xccc39339bef76cf5
movabs r14, 0xed712ca327900c8a
jne 0x1800e368b
movabs rcx, 0x15c40837039ffaf7
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movss xmm0, dword [0x1801cb480]
addss xmm0, dword [rax]
lea rax, [0x180157d40]
cmp qword [0x1801bc1e0], rax
movss dword [0x1801cb480], xmm0
jne 0x1800e35d6
mov rax, qword [0x1801caf88]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
cmp byte [rax + 0x19], sil
jne 0x1800e35d6
mov r10d, dword [0x1801be8dc]
nop dword [rax]
add rax, 0x20
cmp dword [rax + 0x20], r10d
jne 0x1800e35bb
cmp qword [rax + 0x18], 0xf
jbe 0x1800e35b4
mov rax, qword [rax]
mov qword [0x1801bc1e0], rax
lea rcx, [rsp + 0x80]
call fcn.1800dd030
mov rax, qword [rsp + 0x80]
cmp byte [rax + 0x19], sil
je 0x1800e35a0
comiss xmm6, xmm0
mov rcx, rbp
jbe 0x1800e363b
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0xfb5045b7c42b75bf
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.EXTRASUNNY
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], esi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
jmp 0x1800e368b
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rbx, qword [0x1801bc1e0]
mov rcx, r14
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov byte [0x1801c015d], 1
cmp byte [0x1801be8d9], sil
je 0x1800e36f0
mov rcx, rbp
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rbx, qword [str.RAIN]
mov rcx, r14
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp byte [0x1801be8e0], sil
jne 0x1800e36e9
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov byte [0x1801be8d9], sil
movabs rcx, 0x14d6f5678d8f1b37
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov edx, 0x200
lea rcx, [0x1801be920]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movss dword [0x1801bc628], xmm0
shufps xmm0, xmm0, 0xaa
movss dword [0x1801bc62c], xmm0
movss dword [0x1801bc630], xmm1
call qword [sym.imp.ScriptHookV.dll_int___cdecl_worldGetAllObjects_int____ptr64__int_]
mov edx, 0x200
lea rcx, [0x1801bf940]
mov dword [0x1801bf120], eax
call qword [sym.imp.ScriptHookV.dll_int___cdecl_worldGetAllVehicles_int____ptr64__int_]
mov edx, 0x200
lea rcx, [0x1801bf130]
mov dword [0x1801c0140], eax
call qword [sym.imp.ScriptHookV.dll_int___cdecl_worldGetAllPeds_int____ptr64__int_]
movabs rbp, 0xd80958fc74e988a6
mov dword [0x1801bf930], eax
mov rcx, rbp
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov ebx, dword [rax]
mov ecx, ebx
call fcn.1800de660
mov ecx, ebx
call fcn.1800dee20
call fcn.1800df300
call fcn.1800f5fa0
call fcn.1800e64d0
call fcn.1800f4fc0
cmp eax, 0xc17
jl 0x1800e393c
cmp byte [0x1801bc1e9], sil
jne 0x1800e3886
cmp byte [0x1801c0160], sil
jne 0x1800e393c
movabs rcx, 0xb87a37eeb7faa67d
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.STRING
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0x6c188be134e074aa
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.rError:s_Cannot_apply_SNOW_patches._Game_version_incompatible.
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0x9d77056a530643f6
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x7d0
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp byte [0x1801bc1e9], sil
mov byte [0x1801c0160], 1
je 0x1800e393c
mov eax, dword [0x1801be8dc]
cmp eax, 0xaac9c895
je 0x1800e3a0f
cmp eax, 0x23fb812b
je 0x1800e3a0f
cmp eax, 0xefb6eff6
je 0x1800e3a0f
cmp eax, 0x27ea2814
je 0x1800e3a0f
movzx eax, byte [0x1801c015f]
test al, al
je 0x1800e3a2a
mov byte [0x1801c015e], 1
mov byte [0x1801c015f], sil
mov edx, 0xffffffff
lea rcx, [0x1801bc8a0]
call fcn.1800f0840
mov rax, qword [0x1801bc8e8]
movups xmm0, xmmword [0x1801cb488]
mov rcx, qword [rax]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x1801cb498]
movups xmmword [rcx + 0x10], xmm1
mov eax, dword [0x1801cb4a8]
mov dword [rcx + 0x20], eax
movzx eax, word [0x1801cb4ac]
mov word [rcx + 0x24], ax
movzx eax, byte [0x1801cb4ae]
mov byte [rcx + 0x26], al
xor cl, cl
movzx r9d, cl
movzx r8d, cl
movzx edx, cl
call fcn.1800e5830
mov byte [0x1801c015e], sil
mov rcx, rbp
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0x997abd671d25ca0b
mov ebx, dword [rax]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov rcx, rsi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rbx, 0x89c8553dd3274aae
movabs rdi, 0xea1e2d93f6f75ed9
cmp dword [rax], esi
je 0x1800e3ab9
movabs rcx, 0xa4ff579ac0e3aaae
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp dword [rax], 4
jne 0x1800e3ab9
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.water_splash_veh_wade
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
lea rcx, str.lens_test
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.water_splash_bike_wade
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
lea rcx, str.lens_test
jmp 0x1800e3ae5
movzx eax, byte [0x1801c015f]
test al, al
jne 0x1800e3a2a
mov byte [0x1801c015e], 1
mov byte [0x1801c015f], 1
jmp 0x1800e3a3f
cmp byte [0x1801c015e], sil
je 0x1800e393c
test al, al
je 0x1800e38d5
mov edx, 0xffffffff
lea rcx, [0x1801bc8a0]
call fcn.1800f0840
mov rax, qword [0x1801bc8e8]
lea r9, [rsp + 0x80]
mov edx, 0x27
mov r8d, 0x40
mov rbx, qword [rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
movdqa xmm0, xmmword [0x1801ab3f0]
lea r9, [rsp + 0x80]
mov r8d, dword [rsp + 0x80]
movq rax, xmm0
movups xmmword [rbx], xmm0
mov edx, 0x27
mov rcx, rbx
movups xmmword [rbx + 0x10], xmm0
mov dword [rbx + 0x20], eax
mov word [rbx + 0x24], ax
mov byte [rbx + 0x26], al
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov cl, 1
jmp 0x1800e3925
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.water_splash_veh_wade
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.water_splash_bike_wade
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp dword [0x1801be8dc], 0xb17f6111
jne 0x1800e3b1c
mov rcx, rdi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.lens_snow
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
lea rcx, str.env_sandstorm
jmp 0x1800e3b2c
mov rcx, rbx
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
lea rcx, str.lens_snow
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov rcx, rbp
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
mov ebx, dword [rax]
cmp ebx, dword [0x1801bc1b0]
je 0x1800e3b57
mov dword [0x1801bc1b0], ebx
movabs rcx, 0x6ac7003fa6e5575e
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp dword [rax], esi
je 0x1800e3bb4
mov rdi, qword [0x1801cb458]
mov rbx, qword [0x1801cb450]
cmp rbx, rdi
je 0x1800e3bc2
mov rcx, rbx
call fcn.1800e2e50
add rbx, 0x20
cmp rbx, rdi
jne 0x1800e3ba1
jmp 0x1800e3bc2
mov ecx, ebx
call fcn.1800e2f20
mov ecx, ebx
call fcn.1800e28b0
call fcn.1800e1b10
cmp dword [0x1801be8dc], 0x320d0951
jne 0x1800e3d0b
movabs rcx, 0x95e3d6257b166cf2
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x3e800000
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0x7a556143a1c03898
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x3f800000
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x3e800000
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0xeae6dcc7eee3db1d
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x3e4ccccd
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0xb3b3359379fe77d3
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x3d8f5c29
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
movabs rcx, 0x245a6883d966d537
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], 0x3d8f5c29
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp byte [0x1801be8e1], sil
je 0x1800e3d79
mov edi, dword [0x1801bc1a4]
movabs rcx, 0x47c3b5848c3e45d8
mov ebx, dword [0x1801bc1a0]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativeInit_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], ebx
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov qword [rsp + 0x80], rsi
mov dword [rsp + 0x80], edi
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
mov rcx, rsi
call qword [sym.imp.ScriptHookV.dll_void___cdecl_nativePush64_unsigned_long_long_unsigned___int64__]
call qword [sym.imp.ScriptHookV.dll_unsigned_long_long_unsigned___int64_____ptr64___cdecl_nativeCall_void_]
cmp byte [0x1801c015c], sil
mov byte [0x1801be8bf], 1
je 0x1800e3d97
mov byte [0x1801be8e1], sil
mov byte [0x1801c015c], sil
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret