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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
push edi
mov dword [ebp - 0x10], esi
mov edx, dword [esi]
mov eax, dword [esi + 0xc]
cmp edx, 1
jne 0x422e91
test eax, eax
jne 0x422eb1
jmp 0x422e9a
cmp edx, 3
jne 0x422e9a
test eax, eax
je 0x422eb1
push 0x3af6
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str._req__Type__ImGuiDockRequestType_Dock__req__DockPayload___0____req__Type__ImGuiDockRequestType_Split__req__DockPayload__0_
call fcn.004867ba
add esp, 0xc
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x422ed7
cmp dword [esi + 8], ebx
jne 0x422ed7
push 0x3af7
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.req__DockTargetWindow___0__req__DockTargetNode___0
call fcn.004867ba
mov ebx, dword [esi + 4]
add esp, 0xc
mov edx, dword [ebp - 4]
mov ecx, dword [esi + 0xc]
mov edi, dword [esi + 8]
mov dword [ebp - 0x14], ecx
mov eax, dword [edx + 0x5c10]
and eax, 0x40
test ecx, ecx
je 0x422f69
test eax, eax
je 0x422f25
test ebx, ebx
je 0x422efc
mov edx, dword [ebx]
jmp 0x422f01
mov edx, str.NULL
test edi, edi
je 0x422f09
mov eax, dword [edi]
jmp 0x422f0b
xor eax, eax
push dword [esi + 0x10]
push dword [ecx]
push edx
push eax
push str._docking__DockContextProcessDock_node_0x_08X_target__s_dock_window__s__split_dir__d_n
call fcn.0042d960
mov ecx, dword [ebp - 0x14]
add esp, 0x14
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x3b4]
mov dword [ebp - 0xc], eax
mov dword [ecx + 0x3b4], 0
test eax, eax
je 0x422f5e
cmp dword [eax + 0x1c], 0
mov dword [ebp - 8], 0
jne 0x422f97
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x422f97
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ecx
jmp 0x422f97
mov ecx, dword [ecx + 0xa0]
mov dword [ebp - 8], ecx
jmp 0x422f97
test eax, eax
je 0x422f8b
test edi, edi
je 0x422f75
mov eax, dword [edi]
jmp 0x422f77
xor eax, eax
push dword [esi + 0x10]
push eax
push str._docking__DockContextProcessDock_node_0x_08X__split_dir__d_n
call fcn.0042d960
mov edx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
test edi, edi
je 0x423012
mov eax, dword [edi + 0x84]
cmp eax, dword [edx + 0x3ea8]
jle 0x422fc0
push 0x3b14
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.node__LastFrameAlive___g.FrameCount
call fcn.004867ba
add esp, 0xc
test ebx, ebx
je 0x4230f8
cmp edi, dword [ebx + 0x3b4]
jne 0x4230f8
cmp dword [edi + 0x24], 0
jg 0x4230f8
cmp dword [edi + 0x1c], 0
jne 0x4230f8
mov eax, dword [edi + 0x10]
shr eax, 0xb
test al, 1
jne 0x4230f8
push 0x3b16
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.node__Windows.Size___0__node__IsSplitNode____node__IsCentralNode__
call fcn.004867ba
add esp, 0xc
jmp 0x4230f8
lea edi, [edx + 0x5b4c]
mov esi, 1
push esi
mov ecx, edi
call fcn.00404830
test eax, eax
je 0x42303d
nop dword [eax]
inc esi
mov ecx, edi
push esi
call fcn.00404830
test eax, eax
jne 0x423030
mov eax, dword [ebp - 4]
test byte [eax + 0x5c10], 0x40
je 0x423057
push esi
push str._docking__DockContextAddNode_0x_08X_n
call fcn.0042d960
add esp, 8
mov eax, dword [0x4cf0c0]
test eax, eax
je 0x423066
inc dword [eax + 0xb8]
push 0xa4
call fcn.0048683b
add esp, 4
test eax, eax
je 0x423083
push esi
mov ecx, eax
call fcn.004238e0
mov edi, eax
jmp 0x423085
xor edi, edi
mov ecx, dword [ebp - 4]
push edi
push dword [edi]
lea ecx, [ecx + 0x5b4c]
call fcn.00404920
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x44]
mov dword [edi + 0x34], eax
mov dword [edi + 0x38], ecx
mov eax, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x40], ecx
cmp dword [ebx + 0x3b4], 0
jne 0x4230f5
push 1
mov edx, ebx
mov ecx, edi
call fcn.00423ac0
mov esi, dword [edi + 0x30]
add esp, 4
cmp dword [esi], 0
jg 0x4230e4
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
add esp, 0xc
mov eax, dword [esi + 8]
and dword [eax + 4], 0xffbfffff
or byte [ebx + 0x395], 1
mov esi, dword [ebp - 0x10]
mov eax, dword [esi + 0x10]
cmp eax, 0xffffffff
je 0x42315b
test eax, eax
je 0x423110
cmp eax, 1
je 0x423110
mov ecx, 1
jmp 0x423116
xor ecx, ecx
test eax, eax
je 0x423122
cmp eax, 2
je 0x423122
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x423129
mov dword [ebp - 0x10], 1
mov ebx, dword [ebp - 0xc]
mov edx, edi
movss xmm0, dword [esi + 0x14]
mov esi, dword [ebp - 0x10]
push ebx
push ecx
movss dword [esp], xmm0
push esi
push ecx
mov ecx, dword [ebp - 4]
call fcn.00428280
mov eax, dword [edi + 0x70]
add esp, 0x10
xor esi, 1
mov ecx, dword [edi + esi*4 + 0x1c]
mov edi, ecx
mov dword [ecx + 0x70], eax
jmp 0x42315e
mov ebx, dword [ebp - 0xc]
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
and ecx, 0xffffdfff
or eax, dword [edi + 0xc]
or eax, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], eax
cmp edi, ebx
je 0x423400
mov eax, dword [edi + 0x24]
test eax, eax
jle 0x4231fb
cmp dword [edi + 0x30], 0
jne 0x4231fb
mov eax, dword [0x4cf0c0]
test eax, eax
je 0x423199
inc dword [eax + 0xb8]
push 0x90
call fcn.0048683b
add esp, 4
test eax, eax
je 0x4231b3
mov ecx, eax
call fcn.00459bb0
jmp 0x4231b5
xor eax, eax
mov dword [edi + 0x30], eax
xor esi, esi
mov eax, dword [edi + 0x24]
test eax, eax
jle 0x4231fb
test esi, esi
js 0x4231c9
cmp esi, eax
jl 0x4231e0
push 0x749
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.h
push str.i___0__i___Size
call fcn.004867ba
add esp, 0xc
mov eax, dword [edi + 0x2c]
xor edx, edx
mov ecx, dword [edi + 0x30]
push dword [eax + esi*4]
call fcn.0045b250
mov eax, dword [edi + 0x24]
inc esi
add esp, 4
cmp esi, eax
jl 0x4231c1
test ebx, ebx
je 0x4233d5
cmp dword [ebx + 0x1c], 0
je 0x4233b0
test eax, eax
jle 0x423270
mov esi, dword [ebx + 0x7c]
test esi, esi
jne 0x423232
push 0x3b48
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.payload_node__OnlyNodeWithWindows___0
call fcn.004867ba
mov esi, dword [ebx + 0x7c]
add esp, 0xc
mov eax, dword [esi + 0x30]
test eax, eax
je 0x423255
cmp dword [eax], 0
jg 0x423255
push 0x3b4b
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.visible_node__TabBar__Tabs.Size___0
call fcn.004867ba
add esp, 0xc
mov edx, esi
mov ecx, edi
call fcn.00423ff0
mov edx, edi
mov ecx, esi
call fcn.00423ff0
mov edx, dword [esi]
mov ecx, dword [edi]
call fcn.0042bec0
mov eax, dword [edi + 0x10]
shr eax, 0xb
test al, 1
je 0x423326
mov ecx, dword [ebp - 4]
push dword [ebx + 0x90]
lea ecx, [ecx + 0x5b4c]
call fcn.00404830
mov edx, eax
mov dword [ebp - 0x10], edx
test edx, edx
jne 0x4232b5
push 0x3b55
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.last_focused_node___0
call fcn.004867ba
mov edx, dword [ebp - 0x10]
add esp, 0xc
mov eax, dword [edx + 0x18]
mov esi, edx
test eax, eax
je 0x4232c9
nop
mov esi, eax
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4232c0
mov eax, dword [ebx + 0x18]
mov ecx, ebx
test eax, eax
je 0x4232db
mov ecx, eax
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x4232d2
cmp esi, ecx
je 0x4232f9
push 0x3b57
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.last_focused_root_node__DockNodeGetRootNode_payload_node_
call fcn.004867ba
mov edx, dword [ebp - 0x10]
add esp, 0xc
or dword [edx + 8], 0x800
mov eax, dword [edx + 0xc]
or eax, dword [edx + 4]
or eax, dword [edx + 8]
mov dword [edx + 0x10], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 4]
and ecx, 0xfffff7ff
or eax, dword [edi + 0xc]
or eax, ecx
mov dword [edi + 8], ecx
mov dword [edi + 0x10], eax
mov dword [esi + 0x78], edx
mov eax, dword [edi + 0x24]
test eax, eax
je 0x423362
push 0x3b5d
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.node__Windows.Size__0
call fcn.004867ba
mov eax, dword [edi + 0x24]
add esp, 0xc
test eax, eax
je 0x423362
push 0x3cad
push str.C:UsersmilonDocumentsOtherVisualStudioProjectsm_a_ns_clickerimguiimgui.cpp
push str.dst_node__Windows.Size__0
call fcn.004867ba
add esp, 0xc
mov ecx, dword [ebx + 0x1c]
mov dword [edi + 0x1c], ecx
mov eax, dword [ebx + 0x20]
mov dword [edi + 0x20], eax
test ecx, ecx
je 0x423378
mov dword [ecx + 0x18], edi
mov eax, dword [edi + 0x20]
test eax, eax
je 0x42337f
mov dword [eax + 0x18], edi
mov eax, dword [ebx + 0x4c]
mov edx, ebx
mov dword [edi + 0x4c], eax
mov ecx, dword [ebx + 0x48]
mov eax, dword [ebx + 0x44]
mov dword [edi + 0x48], ecx
mov ecx, dword [ebp - 4]
mov dword [edi + 0x44], eax
push 1
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x1c], 0
call fcn.00422400
add esp, 4
jmp 0x423407
mov esi, dword [ebx]
mov edx, ebx
mov ecx, edi
call fcn.00423ff0
mov edx, dword [edi]
mov ecx, esi
call fcn.0042bec0
mov ecx, dword [ebp - 4]
mov edx, ebx
push 1
call fcn.00422400
add esp, 4
jmp 0x423407
mov edx, dword [ebp - 0x14]
test edx, edx
je 0x423407
mov esi, dword [edx + 0x3b8]
mov ecx, edi
push 1
mov dword [edi + 0x74], edx
call fcn.00423ac0
add esp, 4
test esi, esi
je 0x423407
mov edx, dword [edi]
mov ecx, esi
call fcn.0042bec0
jmp 0x423407
or byte [edi + 0xa1], 2
mov eax, dword [edi + 0x30]
test eax, eax
je 0x423414
mov ecx, dword [ebp - 8]
mov dword [eax + 0x18], ecx
mov ecx, dword [0x4cf0c0]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5b78]
jb 0x42342f
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5b78], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret