Function at 0x1800399f0
Capabilities:
Link many functions at runtime
Resume thread

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x20
nop dword [rax + rax]
lea rcx, str.GameAssembly.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
je 0x180039a00
mov qword [rsp + 0x48], rdi
lea rcx, str.GameAssembly.dll_is__p_n
mov qword [rsp + 0x50], r14
mov rdx, rax
mov qword [rsp + 0x58], r15
call fcn.180004040
lea rdx, str.il2cpp_domain_get
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_thread_attach
mov rcx, rbx
mov qword [0x180049390], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_class_from_name
mov rcx, rbx
mov qword [0x180049460], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_domain_assembly_open
mov rcx, rbx
mov qword [0x180049468], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_assembly_get_image
mov rcx, rbx
mov qword [0x180049450], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_array_new
mov rcx, rbx
mov qword [0x1800493f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_class_get_method_from_name
mov rcx, rbx
mov qword [0x1800493f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_class_get_methods
mov rcx, rbx
mov qword [0x180049470], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.il2cpp_type_get_name
mov rcx, rbx
mov qword [0x180049448], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, 0x3e8
mov qword [0x180049430], rax
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [0x180049390]
mov rcx, rax
lea rdx, str.Assembly_CSharp
call qword [0x180049450]
mov rcx, rax
call qword [0x1800493f8]
mov rcx, rax
lea r8, str.Json
lea rdx, str.BestHTTP.JSON
call qword [0x180049468]
mov r8d, 1
lea rdx, str.Decode
mov rcx, rax
mov rbx, rax
call qword [0x180049470]
mov r8d, 1
lea rdx, str.Encode
mov rcx, qword [rax]
mov qword [0x180049478], rcx
mov rcx, rbx
call qword [0x180049470]
mov rcx, qword [rax]
mov qword [0x1800493a8], rcx
call qword [0x180049390]
mov rcx, rax
lea rdx, str.mscorlib
call qword [0x180049450]
mov rcx, rax
call qword [0x1800493f8]
mov rcx, rax
lea r8, str.String
lea rdx, str.System
call qword [0x180049468]
mov qword [rsp + 0x40], 0
lea rdx, [rsp + 0x40]
mov rbp, rax
mov rcx, rax
call qword [0x180049448]
mov rsi, rax
test rax, rax
je 0x180039c7f
lea r14, str.Ctor
lea r15, str.System.SByte
mov rdx, qword [rsi + 0x18]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [r14 + rcx]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180039c65
cmp rcx, 5
jne 0x180039c00
cmp byte [rsi + 0x52], 3
jne 0x180039c65
xor dil, dil
nop dword [rax]
mov rcx, qword [rsi + 0x30]
movzx eax, dil
lea rbx, [rax*8]
mov rcx, qword [rbx + rcx]
call qword [0x180049430]
mov rcx, qword [rbx + r15]
sub rax, rcx
movzx r8d, byte [rcx]
movzx edx, byte [rcx + rax]
sub r8d, edx
jne 0x180039c55
inc rcx
test edx, edx
jne 0x180039c41
test r8d, r8d
jne 0x180039c65
inc dil
cmp dil, 3
jb 0x180039c20
jmp 0x180039c81
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [0x180049448]
mov rsi, rax
test rax, rax
jne 0x180039bf0
xor esi, esi
mov rax, qword [rsi]
mov qword [0x180049410], rax
call qword [0x180049390]
mov rcx, rax
lea rdx, str.UnityEngine.CoreModule
call qword [0x180049450]
mov rcx, rax
call qword [0x1800493f8]
mov rcx, rax
lea r8, str.Cursor
lea rdx, str.UnityEngine
call qword [0x180049468]
mov r8d, 1
lea rdx, str.set_lockState
mov rcx, rax
call qword [0x180049470]
mov rcx, qword [rax]
mov qword [0x180049418], rcx
call qword [0x180049390]
mov rcx, rax
lea rdx, str.Assembly_CSharp
call qword [0x180049450]
mov rcx, rax
call qword [0x1800493f8]
mov rcx, rax
lea r8, str.Socket
lea rdx, str.BestHTTP.SocketIO
call qword [0x180049468]
mov r8d, 3
lea rdx, str.Emit
mov rcx, rax
mov rbx, rax
call qword [0x180049470]
lea r8, [0x180049440]
lea rdx, [fcn.180039750]
mov rcx, qword [rax]
call fcn.180038eb0
mov r8d, 1
lea rdx, str.BestHTTP.SocketIO.ISocket.OnPacket
mov rcx, rbx
call qword [0x180049470]
lea r8, [0x1800493a0]
lea rdx, [0x180039860]
mov rcx, qword [rax]
call fcn.180038eb0
xor ecx, ecx
mov r15, qword [rsp + 0x58]
mov r14, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop rsi
pop rbp
pop rbx
jmp fcn.180039180