Function at 0x140023b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x40
movsxd rdi, dword [rcx + 0x484]
mov rsi, rcx
test edi, edi
jns 0x140023b36
mov r8d, 0xae6
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui.h
lea rcx, str.index___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jmp 0x140023b3b
cmp edi, dword [rcx + 0x58]
jl 0x140023b55
mov r8d, 0x6f4
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, rdi
mov eax, 0xffff
shl r14, 5
add r14, qword [rsi + 0x60]
cmp word [r14 + 4], ax
jne 0x140023b86
mov r8d, 0xa92
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.r__IsPacked__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test byte [rsi], 2
mov ebx, dword [rsi + 0x30]
movzx eax, word [r14]
jne 0x140024409
mov ecx, 0xf5
mov qword [rsp + 0x78], r13
cmp ax, cx
jne 0x140023bad
cmp word [r14 + 2], 0x1b
je 0x140023bc7
mov r8d, 0xa98
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.r__Width__FONT_ATLAS_DEFAULT_TEX_DATA_W__2__1__r__Height__FONT_ATLAS_DEFAULT_TEX_DATA_H
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [rsi + 0x20], 0
lea r12, [r14 + 6]
movzx ebx, word [r12]
movzx r13d, word [r14 + 4]
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x80], r15
je 0x140023c47
mov byte [rsp + 0x38], 0xff
lea r15, [0x1400b3d10]
mov ebp, reloc.WLDAP32.dll_Ordinal_27
mov byte [rsp + 0x30], reloc.WLDAP32.dll_Ordinal_46
mov qword [rsp + 0x28], r15
mov r8d, ebx
mov edx, r13d
mov dword [rsp + 0x20], ebp
mov rcx, rsi
lea r9d, [rbp + 0x5f]
call fcn.1400239f0
movzx r8d, word [r12]
lea r9d, [rbp + 0x5f]
mov byte [rsp + 0x38], 0xff
lea edx, [r13 + 0x7b]
mov byte [rsp + 0x30], 0x58
mov rcx, rsi
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], ebp
call fcn.1400239f0
jmp 0x1400243f2
lea eax, [r13 + 0x7a]
cmp eax, dword [rsi + 0x30]
jle 0x140023c6a
mov r8d, 0xa87
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea eax, [rbx + 0x1b]
cmp eax, dword [rsi + 0x34]
jle 0x140023c8c
mov r8d, 0xa88
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
imul ebx, dword [rsi + 0x30]
lea rdi, [0x1400b3d12]
mov rax, qword [rsi + 0x28]
mov ebp, reloc.WLDAP32.dll_Ordinal_27
mov rdx, rdi
mov r11d, ebp
movsxd rcx, ebx
mov ebx, 0xffffffff
add rcx, r13
lea r9, [rax + rcx*4]
nop word [rax + rax]
lea rcx, [r9 + 8]
mov r8d, 2
nop word [rax + rax]
xor eax, eax
cmp byte [rdx - 2], 0x2e
cmove eax, ebx
mov dword [rcx - 8], eax
xor eax, eax
cmp byte [rdx - 1], 0x2e
cmove eax, ebx
mov dword [rcx - 4], eax
xor eax, eax
cmp byte [rdx], 0x2e
cmove eax, ebx
mov dword [rcx], eax
xor eax, eax
cmp byte [rdx + 1], 0x2e
cmove eax, ebx
mov dword [rcx + 4], eax
xor eax, eax
cmp byte [rdx + 2], 0x2e
cmove eax, ebx
mov dword [rcx + 8], eax
xor eax, eax
cmp byte [rdx + 3], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc], eax
xor eax, eax
cmp byte [rdx + 4], 0x2e
cmove eax, ebx
mov dword [rcx + 0x10], eax
xor eax, eax
cmp byte [rdx + 5], 0x2e
cmove eax, ebx
mov dword [rcx + 0x14], eax
xor eax, eax
cmp byte [rdx + 6], 0x2e
cmove eax, ebx
mov dword [rcx + 0x18], eax
xor eax, eax
cmp byte [rdx + 7], 0x2e
cmove eax, ebx
mov dword [rcx + 0x1c], eax
xor eax, eax
cmp byte [rdx + 8], 0x2e
cmove eax, ebx
mov dword [rcx + 0x20], eax
xor eax, eax
cmp byte [rdx + 9], 0x2e
cmove eax, ebx
mov dword [rcx + 0x24], eax
xor eax, eax
cmp byte [rdx + 0xa], 0x2e
cmove eax, ebx
mov dword [rcx + 0x28], eax
xor eax, eax
cmp byte [rdx + 0xb], 0x2e
cmove eax, ebx
mov dword [rcx + 0x2c], eax
xor eax, eax
cmp byte [rdx + 0xc], 0x2e
cmove eax, ebx
mov dword [rcx + 0x30], eax
xor eax, eax
cmp byte [rdx + 0xd], 0x2e
cmove eax, ebx
mov dword [rcx + 0x34], eax
xor eax, eax
cmp byte [rdx + 0xe], 0x2e
cmove eax, ebx
mov dword [rcx + 0x38], eax
xor eax, eax
cmp byte [rdx + 0xf], 0x2e
cmove eax, ebx
mov dword [rcx + 0x3c], eax
xor eax, eax
cmp byte [rdx + 0x10], 0x2e
cmove eax, ebx
mov dword [rcx + 0x40], eax
xor eax, eax
cmp byte [rdx + 0x11], 0x2e
cmove eax, ebx
mov dword [rcx + 0x44], eax
xor eax, eax
cmp byte [rdx + 0x12], 0x2e
cmove eax, ebx
mov dword [rcx + 0x48], eax
xor eax, eax
cmp byte [rdx + 0x13], 0x2e
cmove eax, ebx
mov dword [rcx + 0x4c], eax
xor eax, eax
cmp byte [rdx + 0x14], 0x2e
cmove eax, ebx
mov dword [rcx + 0x50], eax
xor eax, eax
cmp byte [rdx + 0x15], 0x2e
cmove eax, ebx
mov dword [rcx + 0x54], eax
xor eax, eax
cmp byte [rdx + 0x16], 0x2e
cmove eax, ebx
mov dword [rcx + 0x58], eax
xor eax, eax
cmp byte [rdx + 0x17], 0x2e
cmove eax, ebx
mov dword [rcx + 0x5c], eax
xor eax, eax
cmp byte [rdx + 0x18], 0x2e
cmove eax, ebx
mov dword [rcx + 0x60], eax
xor eax, eax
cmp byte [rdx + 0x19], 0x2e
cmove eax, ebx
mov dword [rcx + 0x64], eax
xor eax, eax
cmp byte [rdx + 0x1a], 0x2e
cmove eax, ebx
mov dword [rcx + 0x68], eax
xor eax, eax
cmp byte [rdx + 0x1b], 0x2e
cmove eax, ebx
mov dword [rcx + 0x6c], eax
xor eax, eax
cmp byte [rdx + 0x1c], 0x2e
cmove eax, ebx
mov dword [rcx + 0x70], eax
xor eax, eax
cmp byte [rdx + 0x1d], 0x2e
cmove eax, ebx
mov dword [rcx + 0x74], eax
xor eax, eax
cmp byte [rdx + 0x1e], 0x2e
cmove eax, ebx
mov dword [rcx + 0x78], eax
xor eax, eax
cmp byte [rdx + 0x1f], 0x2e
cmove eax, ebx
mov dword [rcx + 0x7c], eax
xor eax, eax
cmp byte [rdx + 0x20], 0x2e
cmove eax, ebx
mov dword [rcx + 0x80], eax
xor eax, eax
cmp byte [rdx + 0x21], 0x2e
cmove eax, ebx
mov dword [rcx + 0x84], eax
xor eax, eax
cmp byte [rdx + 0x22], 0x2e
cmove eax, ebx
mov dword [rcx + 0x88], eax
xor eax, eax
cmp byte [rdx + 0x23], 0x2e
cmove eax, ebx
mov dword [rcx + 0x8c], eax
xor eax, eax
cmp byte [rdx + 0x24], 0x2e
cmove eax, ebx
mov dword [rcx + 0x90], eax
xor eax, eax
cmp byte [rdx + 0x25], 0x2e
cmove eax, ebx
mov dword [rcx + 0x94], eax
xor eax, eax
cmp byte [rdx + 0x26], 0x2e
cmove eax, ebx
mov dword [rcx + 0x98], eax
xor eax, eax
cmp byte [rdx + 0x27], 0x2e
cmove eax, ebx
mov dword [rcx + 0x9c], eax
xor eax, eax
cmp byte [rdx + 0x28], 0x2e
cmove eax, ebx
mov dword [rcx + 0xa0], eax
xor eax, eax
cmp byte [rdx + 0x29], 0x2e
cmove eax, ebx
mov dword [rcx + 0xa4], eax
xor eax, eax
cmp byte [rdx + 0x2a], 0x2e
cmove eax, ebx
mov dword [rcx + 0xa8], eax
xor eax, eax
cmp byte [rdx + 0x2b], 0x2e
cmove eax, ebx
mov dword [rcx + 0xac], eax
xor eax, eax
cmp byte [rdx + 0x2c], 0x2e
cmove eax, ebx
mov dword [rcx + 0xb0], eax
xor eax, eax
cmp byte [rdx + 0x2d], 0x2e
cmove eax, ebx
mov dword [rcx + 0xb4], eax
xor eax, eax
cmp byte [rdx + 0x2e], 0x2e
cmove eax, ebx
mov dword [rcx + 0xb8], eax
xor eax, eax
cmp byte [rdx + 0x2f], 0x2e
cmove eax, ebx
mov dword [rcx + 0xbc], eax
xor eax, eax
cmp byte [rdx + 0x30], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc0], eax
xor eax, eax
cmp byte [rdx + 0x31], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc4], eax
xor eax, eax
cmp byte [rdx + 0x32], 0x2e
cmove eax, ebx
mov dword [rcx + 0xc8], eax
xor eax, eax
cmp byte [rdx + 0x33], 0x2e
cmove eax, ebx
mov dword [rcx + 0xcc], eax
xor eax, eax
cmp byte [rdx + 0x34], 0x2e
cmove eax, ebx
mov dword [rcx + 0xd0], eax
xor eax, eax
cmp byte [rdx + 0x35], 0x2e
cmove eax, ebx
mov dword [rcx + 0xd4], eax
xor eax, eax
cmp byte [rdx + 0x36], 0x2e
cmove eax, ebx
mov dword [rcx + 0xd8], eax
xor eax, eax
cmp byte [rdx + 0x37], 0x2e
cmove eax, ebx
mov dword [rcx + 0xdc], eax
xor eax, eax
cmp byte [rdx + 0x38], 0x2e
cmove eax, ebx
mov dword [rcx + 0xe0], eax
xor eax, eax
cmp byte [rdx + 0x39], 0x2e
cmove eax, ebx
mov dword [rcx + 0xe4], eax
xor eax, eax
cmp byte [rdx + 0x3a], 0x2e
cmove eax, ebx
add rdx, 0x3d
mov dword [rcx + 0xe8], eax
lea rcx, [rcx + 0xf4]
sub r8, 1
jne 0x140023cd0
movsxd r10, dword [rsi + 0x30]
lea r9, [r9 + r10*4]
sub r11, 1
jne 0x140023cc0
movzx r15d, word [r12]
lea eax, [r13 + 0xf5]
cmp eax, r10d
jle 0x14002404d
mov r8d, 0xa87
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.x___0__x__w___atlas__TexWidth
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
lea eax, [r15 + 0x1b]
cmp eax, dword [rsi + 0x34]
jle 0x140024070
mov r8d, 0xa88
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.y___0__y__h___atlas__TexHeight
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
imul r15d, dword [rsi + 0x30]
lea eax, [r13 + 0x7b]
movsxd rcx, r15d
add rcx, rax
mov rax, qword [rsi + 0x28]
lea rdx, [rax + rcx*4]
nop word [rax + rax]
lea rcx, [rdx + 8]
mov r8d, 2
nop word [rax + rax]
xor eax, eax
cmp byte [rdi - 2], 0x58
cmove eax, ebx
mov dword [rcx - 8], eax
xor eax, eax
cmp byte [rdi - 1], 0x58
cmove eax, ebx
mov dword [rcx - 4], eax
xor eax, eax
cmp byte [rdi], 0x58
cmove eax, ebx
mov dword [rcx], eax
xor eax, eax
cmp byte [rdi + 1], 0x58
cmove eax, ebx
mov dword [rcx + 4], eax
xor eax, eax
cmp byte [rdi + 2], 0x58
cmove eax, ebx
mov dword [rcx + 8], eax
xor eax, eax
cmp byte [rdi + 3], 0x58
cmove eax, ebx
mov dword [rcx + 0xc], eax
xor eax, eax
cmp byte [rdi + 4], 0x58
cmove eax, ebx
mov dword [rcx + 0x10], eax
xor eax, eax
cmp byte [rdi + 5], 0x58
cmove eax, ebx
mov dword [rcx + 0x14], eax
xor eax, eax
cmp byte [rdi + 6], 0x58
cmove eax, ebx
mov dword [rcx + 0x18], eax
xor eax, eax
cmp byte [rdi + 7], 0x58
cmove eax, ebx
mov dword [rcx + 0x1c], eax
xor eax, eax
cmp byte [rdi + 8], 0x58
cmove eax, ebx
mov dword [rcx + 0x20], eax
xor eax, eax
cmp byte [rdi + 9], 0x58
cmove eax, ebx
mov dword [rcx + 0x24], eax
xor eax, eax
cmp byte [rdi + 0xa], 0x58
cmove eax, ebx
mov dword [rcx + 0x28], eax
xor eax, eax
cmp byte [rdi + 0xb], 0x58
cmove eax, ebx
mov dword [rcx + 0x2c], eax
xor eax, eax
cmp byte [rdi + 0xc], 0x58
cmove eax, ebx
mov dword [rcx + 0x30], eax
xor eax, eax
cmp byte [rdi + 0xd], 0x58
cmove eax, ebx
mov dword [rcx + 0x34], eax
xor eax, eax
cmp byte [rdi + 0xe], 0x58
cmove eax, ebx
mov dword [rcx + 0x38], eax
xor eax, eax
cmp byte [rdi + 0xf], 0x58
cmove eax, ebx
mov dword [rcx + 0x3c], eax
xor eax, eax
cmp byte [rdi + 0x10], 0x58
cmove eax, ebx
mov dword [rcx + 0x40], eax
xor eax, eax
cmp byte [rdi + 0x11], 0x58
cmove eax, ebx
mov dword [rcx + 0x44], eax
xor eax, eax
cmp byte [rdi + 0x12], 0x58
cmove eax, ebx
mov dword [rcx + 0x48], eax
xor eax, eax
cmp byte [rdi + 0x13], 0x58
cmove eax, ebx
mov dword [rcx + 0x4c], eax
xor eax, eax
cmp byte [rdi + 0x14], 0x58
cmove eax, ebx
mov dword [rcx + 0x50], eax
xor eax, eax
cmp byte [rdi + 0x15], 0x58
cmove eax, ebx
mov dword [rcx + 0x54], eax
xor eax, eax
cmp byte [rdi + 0x16], 0x58
cmove eax, ebx
mov dword [rcx + 0x58], eax
xor eax, eax
cmp byte [rdi + 0x17], 0x58
cmove eax, ebx
mov dword [rcx + 0x5c], eax
xor eax, eax
cmp byte [rdi + 0x18], 0x58
cmove eax, ebx
mov dword [rcx + 0x60], eax
xor eax, eax
cmp byte [rdi + 0x19], 0x58
cmove eax, ebx
mov dword [rcx + 0x64], eax
xor eax, eax
cmp byte [rdi + 0x1a], 0x58
cmove eax, ebx
mov dword [rcx + 0x68], eax
xor eax, eax
cmp byte [rdi + 0x1b], 0x58
cmove eax, ebx
mov dword [rcx + 0x6c], eax
xor eax, eax
cmp byte [rdi + 0x1c], 0x58
cmove eax, ebx
mov dword [rcx + 0x70], eax
xor eax, eax
cmp byte [rdi + 0x1d], 0x58
cmove eax, ebx
mov dword [rcx + 0x74], eax
xor eax, eax
cmp byte [rdi + 0x1e], 0x58
cmove eax, ebx
mov dword [rcx + 0x78], eax
xor eax, eax
cmp byte [rdi + 0x1f], 0x58
cmove eax, ebx
mov dword [rcx + 0x7c], eax
xor eax, eax
cmp byte [rdi + 0x20], 0x58
cmove eax, ebx
mov dword [rcx + 0x80], eax
xor eax, eax
cmp byte [rdi + 0x21], 0x58
cmove eax, ebx
mov dword [rcx + 0x84], eax
xor eax, eax
cmp byte [rdi + 0x22], 0x58
cmove eax, ebx
mov dword [rcx + 0x88], eax
xor eax, eax
cmp byte [rdi + 0x23], 0x58
cmove eax, ebx
mov dword [rcx + 0x8c], eax
xor eax, eax
cmp byte [rdi + 0x24], 0x58
cmove eax, ebx
mov dword [rcx + 0x90], eax
xor eax, eax
cmp byte [rdi + 0x25], 0x58
cmove eax, ebx
mov dword [rcx + 0x94], eax
xor eax, eax
cmp byte [rdi + 0x26], 0x58
cmove eax, ebx
mov dword [rcx + 0x98], eax
xor eax, eax
cmp byte [rdi + 0x27], 0x58
cmove eax, ebx
mov dword [rcx + 0x9c], eax
xor eax, eax
cmp byte [rdi + 0x28], 0x58
cmove eax, ebx
mov dword [rcx + 0xa0], eax
xor eax, eax
cmp byte [rdi + 0x29], 0x58
cmove eax, ebx
mov dword [rcx + 0xa4], eax
xor eax, eax
cmp byte [rdi + 0x2a], 0x58
cmove eax, ebx
mov dword [rcx + 0xa8], eax
xor eax, eax
cmp byte [rdi + 0x2b], 0x58
cmove eax, ebx
mov dword [rcx + 0xac], eax
xor eax, eax
cmp byte [rdi + 0x2c], 0x58
cmove eax, ebx
mov dword [rcx + 0xb0], eax
xor eax, eax
cmp byte [rdi + 0x2d], 0x58
cmove eax, ebx
mov dword [rcx + 0xb4], eax
xor eax, eax
cmp byte [rdi + 0x2e], 0x58
cmove eax, ebx
mov dword [rcx + 0xb8], eax
xor eax, eax
cmp byte [rdi + 0x2f], 0x58
cmove eax, ebx
mov dword [rcx + 0xbc], eax
xor eax, eax
cmp byte [rdi + 0x30], 0x58
cmove eax, ebx
mov dword [rcx + 0xc0], eax
xor eax, eax
cmp byte [rdi + 0x31], 0x58
cmove eax, ebx
mov dword [rcx + 0xc4], eax
xor eax, eax
cmp byte [rdi + 0x32], 0x58
cmove eax, ebx
mov dword [rcx + 0xc8], eax
xor eax, eax
cmp byte [rdi + 0x33], 0x58
cmove eax, ebx
mov dword [rcx + 0xcc], eax
xor eax, eax
cmp byte [rdi + 0x34], 0x58
cmove eax, ebx
mov dword [rcx + 0xd0], eax
xor eax, eax
cmp byte [rdi + 0x35], 0x58
cmove eax, ebx
mov dword [rcx + 0xd4], eax
xor eax, eax
cmp byte [rdi + 0x36], 0x58
cmove eax, ebx
mov dword [rcx + 0xd8], eax
xor eax, eax
cmp byte [rdi + 0x37], 0x58
cmove eax, ebx
mov dword [rcx + 0xdc], eax
xor eax, eax
cmp byte [rdi + 0x38], 0x58
cmove eax, ebx
mov dword [rcx + 0xe0], eax
xor eax, eax
cmp byte [rdi + 0x39], 0x58
cmove eax, ebx
mov dword [rcx + 0xe4], eax
xor eax, eax
cmp byte [rdi + 0x3a], 0x58
cmove eax, ebx
add rdi, 0x3d
mov dword [rcx + 0xe8], eax
lea rcx, [rcx + 0xf4]
sub r8, 1
jne 0x1400240a0
movsxd rax, dword [rsi + 0x30]
lea rdx, [rdx + rax*4]
sub rbp, 1
jne 0x140024090
mov r15, qword [rsp + 0x80]
mov r13, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x70]
jmp 0x14002449d
cmp ax, 2
jne 0x140024416
cmp word [r14 + 2], ax
je 0x140024430
mov r8d, 0xaa9
lea rdx, str.C:UsersMarkusDesktopgamesense_remake__wip_imgui_draw.cpp
lea rcx, str.r__Width__2__r__Height__2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movzx eax, word [r14 + 4]
lea r12, [r14 + 6]
movzx edx, word [r12]
mov r9, qword [rsi + 0x20]
imul edx, ebx
add edx, eax
movsxd r8, edx
lea eax, [rdx + rbx]
movsxd rcx, eax
test r9, r9
je 0x140024478
mov byte [r9 + rcx + 1], 0xff
mov rax, qword [rsi + 0x20]
mov byte [rcx + rax], 0xff
mov rax, qword [rsi + 0x20]
mov byte [r8 + rax + 1], 0xff
mov rax, qword [rsi + 0x20]
mov byte [r8 + rax], 0xff
jmp 0x14002449d
mov rax, qword [rsi + 0x28]
mov ebx, 0xffffffff
mov dword [rax + rcx*4 + 4], ebx
mov rax, qword [rsi + 0x28]
mov dword [rax + rcx*4], ebx
mov rax, qword [rsi + 0x28]
mov dword [rax + r8*4 + 4], ebx
mov rax, qword [rsi + 0x28]
mov dword [rax + r8*4], ebx
movzx eax, word [r14 + 4]
movd xmm2, eax
movzx eax, word [r12]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
addss xmm2, dword [0x1400b3ab4]
cvtdq2ps xmm1, xmm1
mulss xmm2, dword [rsi + 0x38]
addss xmm1, dword [0x1400b3ab4]
movss dword [rsi + 0x40], xmm2
mulss xmm1, dword [rsi + 0x3c]
movss dword [rsi + 0x44], xmm1
add rsp, 0x40
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret