Function at 0x140022950
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rdi
sub rsp, 0x68
mov rdi, r8
mov rbx, rdx
test rdx, rdx
jne 0x140022985
mov r8d, 0xef
lea rdx, str.CBssGen4ConditionMgr::UpdateConditionsToPKeys
lea rcx, str._s__d_RETURN_ON_FALSE
add rsp, 0x68
pop rdi
pop rbx
jmp fcn.14004c3d0
test rdi, rdi
jne 0x140022992
mov r8d, 0xf0
jmp 0x14002296c
movsxd rax, dword [r8 + 8]
cmp eax, 7
ja 0x140022d32
mov ecx, dword [rdx + 0x1ac]
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x48], r14
mov r14, rax
mov qword [rsp + 0x30], rax
lea eax, [rcx - 1]
test eax, 0xfffffffd
je 0x140022cd1
lea eax, [rcx - 5]
cmp eax, 1
ja 0x1400229ea
mov rcx, rbx
call fcn.1400145b0
cmp dword [rbx + 0x84], 0
jne 0x140022cd1
mov rcx, rbx
call fcn.14000e720
test eax, eax
je 0x140022cb8
mov rdx, rbx
mov qword [rsp + 0x40], r15
call fcn.140023420
xor ebp, ebp
mov r15d, ebp
cmp dword [rdi], ebp
jle 0x140022cb3
mov qword [rsp + 0x58], r12
lea rcx, [r14*8]
lea rdx, [rcx + 0x103]
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x98], rdx
lea rsi, [rdi + rdx*4]
movsxd r13, eax
lea r10, [0x1400c26d0]
mov r12d, ebp
nop word [rax + rax]
movsxd rax, r15d
add rcx, rax
shl rcx, 4
add rcx, rdi
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400c3cf8]
jne 0x140022a94
mov rax, qword [rcx + 0x14]
cmp rax, qword [0x1400c3d00]
jne 0x140022a94
mov r8d, dword [rsi]
lea rdx, [0x1400c2700]
mov r9d, 1
mov rcx, rbx
call fcn.140002a40
jmp 0x140022c7f
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400c3cc8]
jne 0x140022af0
mov rax, qword [rcx + 0x14]
cmp rax, qword [0x1400c3cd0]
jne 0x140022af0
mov r9d, dword [rsi]
lea rdx, str.CBssGen4ConditionMgr::UpdateConditionsToPKeys
mov r8d, 0x10d
lea rcx, str._s__d_RTK_EFFECTS_CONDITION_MIC_UI_BSS_AINR_FOR_UNI_set_value_d
call fcn.14004c3d0
lea rax, [r12 + r14*8]
mov r9d, 1
mov r8d, dword [rdi + rax*4 + 0x40c]
lea rdx, [0x1400c26b8]
mov rcx, rbx
call fcn.140002a40
jmp 0x140022c7f
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400c3cb8]
jne 0x140022b58
mov rax, qword [rcx + 0x14]
cmp rax, qword [0x1400c3cc0]
jne 0x140022b58
test r13, r13
jne 0x140022c8e
lea rax, [rdx + r12]
mov r8d, 0x114
mov r9d, dword [rdi + rax*4]
lea rdx, str.CBssGen4ConditionMgr::UpdateConditionsToPKeys
lea rcx, str._s__d_RTK_EFFECTS_CONDITION_MIC_UI_BSS_AINR_FOR_OMNI_set_value_d
call fcn.14004c3d0
lea rax, [r12 + r14*8]
mov rcx, rbx
mov r8d, dword [rdi + rax*4 + 0x40c]
lea r9d, [r13 + 1]
lea rdx, [0x1400c26d0]
call fcn.140002a40
jmp 0x140022c7f
mov rax, qword [rcx + 0xc]
cmp rax, qword [0x1400c3ce8]
jne 0x140022c8e
mov rax, qword [rcx + 0x14]
cmp rax, qword [0x1400c3cf0]
jne 0x140022c8e
mov rax, qword [rsp + 0x80]
mov r9d, 1
mov dword [rsp + 0x88], ebp
cmp dword [rax + 0x78], ebp
je 0x140022bab
mov r8d, dword [rsi]
lea rdx, [0x1400c26e8]
mov rcx, rbx
call fcn.140002a40
jmp 0x140022c7f
test r13, r13
je 0x140022bc3
mov r8d, dword [rsi]
mov rdx, r10
mov rcx, rbx
call fcn.140002a40
jmp 0x140022c7f
lea r8, [rsp + 0x88]
lea rdx, [0x1400c26b8]
lea rcx, [rbx + 0x10]
call fcn.140002920
test eax, eax
jne 0x140022bf5
mov r8d, dword [rsi]
lea r9d, [rax + 1]
lea rdx, [0x1400c26b8]
mov rcx, rbx
call fcn.140002a40
mov r9d, 1
lea r8, [rsp + 0x88]
lea rdx, [0x1400c26d0]
lea rcx, [rbx + 0x10]
call fcn.140002920
test eax, eax
jne 0x140022c2d
mov r8d, dword [rsi]
lea r9d, [rax + 1]
lea rdx, [0x1400c26d0]
mov rcx, rbx
call fcn.140002a40
mov r9d, 1
lea r8, [rsp + 0x88]
lea rdx, [0x1400c2700]
lea rcx, [rbx + 0x10]
call fcn.140002920
test eax, eax
je 0x140022c7a
cmp dword [rsp + 0x88], 3
lea rax, [0x1400c26d0]
mov r8d, dword [rsi]
lea rdx, [0x1400c26b8]
cmove rdx, rax
mov r9d, 1
mov rcx, rbx
call fcn.140002a40
mov r14, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x98]
lea r10, [0x1400c26d0]
inc r15d
lea rcx, [r14*8]
inc r12
add rsi, 4
cmp r15d, dword [rdi]
jl 0x140022a50
mov r13, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov r15, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r14, qword [rsp + 0x48]
add rsp, 0x68
pop rdi
pop rbx
ret
xor ebp, ebp
cmp dword [rdi], ebp
jle 0x140022cb8
mov esi, ebp
lea r14, [r14*8]
movsxd rcx, ebp
add rcx, r14
add rcx, rcx
mov rax, qword [rdi + rcx*8 + 0xc]
cmp rax, qword [0x1400c3ce8]
jne 0x140022d27
mov rax, qword [rdi + rcx*8 + 0x14]
cmp rax, qword [0x1400c3cf0]
jne 0x140022d27
lea rax, [r14 + rsi]
mov r9d, 1
mov r8d, dword [rdi + rax*4 + 0x40c]
lea rdx, [0x1400c2718]
mov rcx, rbx
call fcn.140002a40
inc ebp
inc rsi
cmp ebp, dword [rdi]
jl 0x140022ce1
jmp 0x140022cb8
mov r8d, 0xf3
jmp 0x14002296c