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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1009f080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebx + 8]
push esi
mov esi, dword [0x100a1be4]
push edi
mov edi, ecx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x48], esi
test edi, edi
je 0x10021878
cmp byte [edi], 0
jne 0x1002188f
push 0x1518
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.name___0__name_0____0
call fcn.100679c3
add esp, 0xc
cmp byte [esi + 0x19bc], 0
jne 0x100218af
push 0x1519
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.g.WithinFrameScope
call fcn.100679c3
add esp, 0xc
mov eax, dword [esi + 0x19b4]
cmp eax, dword [esi + 0x19b0]
jne 0x100218d4
push 0x151a
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.g.FrameCountEnded___g.FrameCount
call fcn.100679c3
add esp, 0xc
mov ecx, edi
call fcn.1001f5c0
mov edi, eax
mov dword [ebp - 0x44], eax
test edi, edi
xorps xmm0, xmm0
movss dword [ebp - 0x54], xmm0
sete cl
mov byte [ebp - 0x3f], cl
test eax, eax
jne 0x10021958
mov edx, dword [esi + 0x1a80]
and edx, 2
je 0x10021913
mov eax, dword [esi + 0x1aa0]
mov ecx, dword [esi + 0x1aa4]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
jmp 0x10021921
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
test edx, edx
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x50]
cmovne eax, ecx
mov ecx, dword [ebp - 0x84]
movss xmm0, dword [eax]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [eax + 4]
movss dword [ebp - 0x5c], xmm0
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
call fcn.1001f660
add esp, 8
mov edi, eax
mov edx, dword [ebp - 0x38]
mov ecx, edx
and ecx, 0xc0200
cmp ecx, 0xc0200
jne 0x10021971
or edx, 6
mov dword [ebp - 0x38], edx
mov eax, edx
and eax, 0x1800000
cmp eax, 0x800000
jne 0x10021999
push 0x152a
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.flags__ImGuiWindowFlags_ChildWindow
call fcn.100679c3
mov edx, dword [ebp - 0x38]
add esp, 0xc
cmp dword [esi + 0x19e4], 0
mov ecx, dword [esi + 0x19b0]
mov eax, dword [edi + 0x24c]
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], eax
jne 0x100219c1
cmp byte [esi + 0x19bd], 0
je 0x100219c1
mov al, 1
jmp 0x100219c3
xor al, al
mov byte [edi + 0x82], al
lea eax, [ecx - 1]
cmp dword [ebp - 0x7c], eax
mov eax, dword [edi + 0x9c]
setl ch
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x3e], ch
test edx, 0x4000000
je 0x10021a43
mov eax, dword [esi + 0x1b1c]
mov dword [ebp - 0x6c], eax
cmp eax, dword [esi + 0x1b10]
jl 0x10021a14
push 0x523
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.i___Size
call fcn.100679c3
mov eax, dword [ebp - 0x6c]
add esp, 0xc
mov ch, byte [ebp - 0x3e]
lea esi, [eax + eax*8]
mov eax, dword [ebp - 0x48]
mov edx, dword [eax + 0x1b18]
mov eax, dword [edi + 0x8c]
cmp edi, dword [edx + esi*4 + 4]
setne cl
cmp eax, dword [edx + esi*4]
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x38]
setne al
or cl, al
mov eax, dword [ebp - 0x64]
or ch, cl
mov byte [ebp - 0x3e], ch
test ch, ch
jne 0x10021a53
test eax, eax
jg 0x10021a53
mov byte [edi + 0x80], ch
jmp 0x10021a6f
or dword [edi + 0xa0], 8
or dword [edi + 0xa4], 8
or dword [edi + 0xa8], 8
mov byte [edi + 0x80], 1
mov eax, dword [ebp - 0x80]
cmp dword [ebp - 0x7c], eax
je 0x10021ab3
mov dword [edi + 0x24c], eax
xor eax, eax
mov dword [edi + 8], edx
movsd xmm0, qword [esi + 0x19a8]
cvtpd2ps xmm0, xmm0
mov word [edi + 0x88], ax
movss dword [edi + 0x250], xmm0
movzx eax, word [esi + 0x19fc]
inc dword [esi + 0x19fc]
mov word [edi + 0x8a], ax
jmp 0x10021ab9
mov eax, dword [edi + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x19e4]
test eax, eax
jne 0x10021ac7
xor edx, edx
jmp 0x10021af0
jg 0x10021ae0
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
add esp, 0xc
mov ecx, dword [esi + 0x19e4]
mov eax, dword [esi + 0x19ec]
mov edx, dword [eax + ecx*4 - 4]
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
mov eax, dword [ebp - 0x38]
je 0x10021b0b
mov ecx, eax
and ecx, 0x5000000
neg ecx
sbb ecx, ecx
and ecx, edx
jmp 0x10021b11
mov ecx, dword [edi + 0x2f4]
mov dword [ebp - 0x74], ecx
test ecx, ecx
jne 0x10021b36
test eax, 0x1000000
je 0x10021b36
push 0x154e
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.parent_window___0____flags__ImGuiWindowFlags_ChildWindow_
call fcn.100679c3
add esp, 0xc
cmp dword [edi + 0xbc], 0
lea eax, [edi + 0xbc]
jne 0x10021b6b
cmp dword [eax + 4], 0
jne 0x10021b5a
push 8
mov ecx, eax
call fcn.1002c1d0
lea eax, [edi + 0xbc]
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0xbc]
mov ecx, dword [esi + 0x19e8]
lea edx, [esi + 0x19e4]
cmp dword [edx], ecx
jne 0x10021bae
test ecx, ecx
je 0x10021b90
mov eax, ecx
cdq
sub eax, edx
lea edx, [esi + 0x19e4]
sar eax, 1
add eax, ecx
jmp 0x10021b95
mov eax, 8
mov ecx, dword [edx]
mov esi, dword [ebp - 0x48]
inc ecx
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.1002c1d0
lea edx, [esi + 0x19e4]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov dword [eax + ecx*4], edi
mov ecx, edi
inc dword [edx]
mov dl, 1
mov dword [esi + 0x1a00], 0
call fcn.10025080
mov ecx, dword [ebp - 0x38]
test ecx, 0x4000000
je 0x10021ca4
mov eax, dword [esi + 0x1b1c]
lea ecx, [esi + 0x1b1c]
mov dword [ebp - 0x58], eax
cmp eax, dword [esi + 0x1b10]
jl 0x10021c11
push 0x523
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.i___Size
call fcn.100679c3
mov eax, dword [ebp - 0x58]
lea ecx, [esi + 0x1b1c]
add esp, 0xc
mov edx, dword [esi + 0x1b18]
lea eax, [eax + eax*8]
mov dword [ebp - 0x68], edx
mov dword [edx + eax*4 + 4], edi
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10021c55
inc edx
mov dword [ebp - 0x6c], edx
test eax, eax
je 0x10021c3f
cdq
sub eax, edx
mov edx, dword [ebp - 0x6c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10021c44
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002c660
lea ecx, [esi + 0x1b1c]
mov eax, dword [ecx]
mov esi, dword [ebp - 0x68]
mov ecx, dword [ecx + 8]
lea edx, [eax + eax*8]
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x58]
lea eax, [edx + edx*8]
mov edx, dword [ebp - 0x6c]
movups xmm0, xmmword [esi + eax*4]
movups xmmword [ecx + edx*4], xmm0
movups xmm0, xmmword [esi + eax*4 + 0x10]
movups xmmword [ecx + edx*4 + 0x10], xmm0
mov eax, dword [esi + eax*4 + 0x20]
mov esi, dword [ebp - 0x48]
mov dword [ecx + edx*4 + 0x20], eax
mov edx, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x68]
inc dword [esi + 0x1b1c]
lea eax, [edx + edx*8]
mov eax, dword [ecx + eax*4]
mov ecx, dword [ebp - 0x38]
mov dword [edi + 0x8c], eax
cmp dword [ebp - 0x64], 0
jle 0x10021cbc
test ecx, 0x1000000
jne 0x10021cbc
mov dword [edi + 0x308], 0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x10021d6b
mov edx, dword [ebp - 0x74]
mov dword [edi + 0x2f4], edx
mov dword [edi + 0x300], edi
mov dword [edi + 0x2fc], edi
mov dword [edi + 0x2f8], edi
test edx, edx
je 0x10021d1d
mov eax, ecx
and eax, 0x3000000
cmp eax, 0x1000000
jne 0x10021d01
mov eax, dword [edx + 0x2f8]
mov dword [edi + 0x2f8], eax
test ecx, 0x8000000
jne 0x10021d1d
test ecx, 0x5000000
je 0x10021d1d
mov eax, dword [edx + 0x2fc]
mov dword [edi + 0x2fc], eax
test dword [edi + 8], 0x800000
je 0x10021d6b
mov eax, edi
nop dword [eax + eax]
cmp dword [eax + 0x2f4], 0
jne 0x10021d50
push 0x1508
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.window__RootWindowForNav__ParentWindow___0
call fcn.100679c3
add esp, 0xc
mov eax, dword [edi + 0x300]
mov eax, dword [eax + 0x2f4]
mov dword [edi + 0x300], eax
test dword [eax + 8], 0x800000
jne 0x10021d30
xor dl, dl
mov byte [ebp - 0x33], 0
test byte [esi + 0x1a80], 1
mov byte [ebp - 0x3d], dl
mov byte [ebp - 0x32], dl
je 0x10021e0d
mov ecx, dword [esi + 0x1a84]
mov edx, dword [edi + 0xa0]
test ecx, edx
mov eax, edx
setne byte [ebp - 0x33]
test ecx, eax
je 0x10021dfc
movss xmm1, dword [esi + 0x1a9c]
movss xmm0, dword [esi + 0x1a98]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x10094494]
jbe 0x10021dfc
mov eax, dword [esi + 0x1a90]
and edx, 0xfffffff1
mov ecx, dword [esi + 0x1a94]
mov dword [edi + 0xac], eax
mov dword [edi + 0xb0], ecx
mov eax, dword [esi + 0x1a98]
mov ecx, dword [esi + 0x1a9c]
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], ecx
mov dword [edi + 0xa0], edx
jmp 0x10021e0d
push ecx
lea edx, [esi + 0x1a90]
mov ecx, edi
call fcn.10024980
add esp, 4
test byte [esi + 0x1a80], 2
je 0x10021e6d
mov eax, dword [edi + 0xa4]
mov ecx, dword [esi + 0x1a88]
movss xmm1, dword [ebp - 0x54]
and eax, ecx
je 0x10021e3e
movss xmm0, dword [esi + 0x1aa0]
comiss xmm0, xmm1
jbe 0x10021e3e
mov byte [ebp - 0x3d], 1
jmp 0x10021e47
xor dl, dl
mov byte [ebp - 0x3d], dl
test eax, eax
je 0x10021e58
movss xmm0, dword [esi + 0x1aa4]
comiss xmm0, xmm1
mov byte [ebp - 0x32], 1
ja 0x10021e5c
mov byte [ebp - 0x32], 0
push ecx
lea edx, [esi + 0x1aa0]
mov ecx, edi
call fcn.10024a80
add esp, 4
test byte [esi + 0x1a80], 4
je 0x10021e8a
mov eax, dword [esi + 0x1aa8]
mov ecx, dword [esi + 0x1aac]
mov dword [edi + 0x2c], eax
mov dword [edi + 0x30], ecx
jmp 0x10021ea0
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x10021ea0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
test byte [esi + 0x1a80], 8
je 0x10021ecb
mov eax, dword [esi + 0x1a8c]
mov cl, byte [esi + 0x1ab0]
test eax, eax
je 0x10021ec1
test dword [edi + 0xa8], eax
je 0x10021ecb
and dword [edi + 0xa8], 0xfffffff1
mov byte [edi + 0x7d], cl
test byte [esi + 0x1a80], 0x20
je 0x10021edb
mov ecx, edi
call fcn.100241c0
cmp byte [edi + 0x80], 0
je 0x10021ef9
and dword [edi + 0xa0], 0xfffffff7
and dword [edi + 0xa4], 0xfffffff7
and dword [edi + 0xa8], 0xfffffff7
mov eax, dword [ebp - 0x7c]
cmp eax, dword [ebp - 0x80]
je 0x10023cef
mov eax, dword [ebp - 0x38]
mov byte [edi + 0x7a], 1
and eax, 0x3000000
mov byte [edi + 0x83], 0
mov dword [edi + 0x22c], 0xff7fffff
mov dword [edi + 0x230], 0xff7fffff
mov dword [edi + 0x234], 0x7f7fffff
mov dword [ebp - 0x78], eax
mov dword [edi + 0x238], 0x7f7fffff
mov eax, dword [edi + 0xc0]
cmp eax, 1
jge 0x10021f81
test eax, eax
je 0x10021f64
cdq
sub eax, edx
lea edx, [edi + 0xbc]
mov ecx, eax
sar ecx, 1
add ecx, dword [edx + 4]
jmp 0x10021f6f
mov ecx, 8
lea edx, [edi + 0xbc]
mov eax, 1
cmp ecx, eax
cmovg eax, ecx
mov ecx, edx
push eax
call fcn.1002c1d0
mov dword [edi + 0xbc], 1
cmp byte [edi + 0x330], 0
je 0x10021fd7
mov ecx, dword [edi + 0x278]
push dword [edi + 0x334]
add ecx, 0xc
mov byte [edi + 0x330], 0
call fcn.1002c5f0
mov ecx, dword [edi + 0x278]
push dword [edi + 0x338]
add ecx, 0x18
call fcn.1002c3d0
mov dword [edi + 0x338], 0
mov dword [edi + 0x334], 0
cmp dword [esi + 0x1c28], 0
je 0x100220b0
test dword [edi + 8], 0x80000
jne 0x100220b0
cmp dword [ebp - 0x44], 0
je 0x100220b0
mov eax, dword [edi]
mov ecx, eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x84]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10022028
test dl, dl
je 0x10022024
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10022028
add eax, 2
add ecx, 2
test dl, dl
jne 0x10022008
xor eax, eax
jmp 0x1002202d
sbb eax, eax
or eax, 1
test eax, eax
je 0x100220b0
mov ecx, dword [ebp - 0x84]
mov edx, dword [edi + 0x44]
mov dword [ebp - 0x3c], edx
lea eax, [ecx + 1]
mov dword [ebp - 0x6c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022043
sub ecx, dword [ebp - 0x6c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x58], eax
cmp edx, eax
jae 0x10022098
test ecx, ecx
je 0x1002206d
mov eax, dword [0x100a1be4]
test eax, eax
je 0x1002206d
dec dword [eax + 0x374]
push ecx
call fcn.10060953
mov eax, dword [0x100a1be4]
add esp, 4
test eax, eax
je 0x10022085
inc dword [eax + 0x374]
push dword [ebp - 0x58]
call fcn.10067a44
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
push eax
push dword [ebp - 0x84]
push ecx
call fcn.100568e0
mov dword [edi], eax
add esp, 0xc
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x44], eax
mov edx, edi
lea ecx, [ebp - 0x60]
call fcn.1001fc90
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
mov eax, dword [edi + 0x98]
movss dword [edi + 0x24], xmm0
movss dword [edi + 0x28], xmm1
test eax, eax
jle 0x100220de
dec eax
mov dword [edi + 0x98], eax
mov eax, dword [edi + 0x9c]
test eax, eax
jle 0x100220ef
dec eax
mov dword [edi + 0x9c], eax
cmp dword [ebp - 0x44], 0
mov al, byte [ebp - 0x3d]
mov cl, byte [ebp - 0x32]
jne 0x1002210d
test al, al
je 0x10022103
test cl, cl
jne 0x1002210d
mov dword [edi + 0x9c], 1
cmp byte [ebp - 0x3e], 0
mov edx, dword [ebp - 0x38]
je 0x1002215f
test edx, 0x6000000
je 0x1002215f
mov dword [edi + 0x9c], 1
test dl, 0x40
je 0x1002215f
test al, al
jne 0x1002213f
mov dword [edi + 0x1c], 0
mov dword [edi + 0x14], 0
test cl, cl
jne 0x10022151
mov dword [edi + 0x20], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov eax, dword [0x100a1be4]
mov dword [ebp - 0x3c], eax
movss xmm0, dword [eax + 0x18d4]
mov dword [eax + 0x1a00], edi
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x1002218f
mulss xmm0, dword [ecx + 0x270]
movss dword [eax + 0x18e4], xmm0
movss dword [eax + 0x18d0], xmm0
test edx, 0x1000000
je 0x100221b1
movss xmm0, dword [esi + 0x1544]
jmp 0x100221d3
test edx, 0x6000000
je 0x100221cb
test edx, 0x8000000
jne 0x100221cb
movss xmm0, dword [esi + 0x154c]
jmp 0x100221d3
movss xmm0, dword [esi + 0x1528]
mov eax, edi
movss dword [eax + 0x40], xmm0
mov eax, dword [esi + 0x151c]
mov ecx, dword [esi + 0x1520]
movss xmm2, dword [ebp - 0x54]
mov dword [edi + 0x34], eax
mov eax, edx
and eax, 0x5010000
mov dword [edi + 0x38], ecx
cmp eax, 0x1000000
jne 0x10022229
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x10022229
test edx, 0x400
je 0x1002221a
movss xmm0, dword [esi + 0x1520]
jmp 0x1002221d
movaps xmm0, xmm2
mov dword [edi + 0x34], 0
movss dword [edi + 0x38], xmm0
test dl, 0x21
jne 0x10022356
test byte [edi + 8], 1
mov ecx, dword [ebp - 0x3c]
je 0x10022240
movaps xmm3, xmm2
jmp 0x10022272
movss xmm0, dword [ecx + 0x18d4]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10022262
mulss xmm0, dword [eax + 0x270]
movss xmm3, dword [ecx + 0x1554]
addss xmm3, xmm3
addss xmm3, xmm0
movss xmm5, dword [edi + 0xc]
movaps xmm4, xmm5
movss xmm6, dword [edi + 0x10]
addss xmm4, dword [edi + 0x1c]
addss xmm3, dword [edi + 0x10]
cmp dword [esi + 0x1a04], edi
jne 0x10022322
cmp dword [esi + 0x1a20], 0
jne 0x10022322
cmp dword [esi + 0x1a28], 0
jne 0x10022322
mov eax, dword [ecx + 0x1a00]
movss xmm1, dword [ecx + 0x1570]
movss xmm0, dword [ecx + 0x1574]
maxss xmm5, dword [eax + 0x22c]
minss xmm4, dword [eax + 0x234]
maxss xmm6, dword [eax + 0x230]
minss xmm3, dword [eax + 0x238]
subss xmm5, xmm1
addss xmm4, xmm1
movss xmm1, dword [ecx + 0xe8]
subss xmm6, xmm0
addss xmm3, xmm0
comiss xmm1, xmm5
jb 0x10022322
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm6
jb 0x10022322
comiss xmm4, xmm1
jbe 0x10022322
comiss xmm3, xmm0
jbe 0x10022322
cmp byte [esi + 0x3e5], 0
je 0x10022322
mov byte [edi + 0x7e], 1
cmp byte [edi + 0x7e], 0
je 0x1002235a
cmp byte [edi + 0x7d], 0
sete al
test dword [edi + 8], 0x100
mov byte [edi + 0x7d], al
jne 0x1002234d
comiss xmm2, dword [ecx + 0x2d98]
jb 0x1002234d
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d98], eax
mov ecx, edi
call fcn.100241c0
jmp 0x1002235a
mov byte [edi + 0x7d], 0
lea eax, [edi + 0x24]
mov byte [edi + 0x7e], 0
push eax
mov edx, edi
lea ecx, [ebp - 0x50]
call fcn.1001fd40
mov al, byte [ebp - 0x3f]
add esp, 4
test byte [ebp - 0x38], 0x40
mov byte [ebp - 0x31], al
je 0x100223b2
cmp byte [edi + 0x7d], 0
jne 0x100223b2
cmp byte [ebp - 0x3d], 0
jne 0x10022395
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x3f], 1
cmp byte [ebp - 0x32], 0
jne 0x10022454
movss xmm0, dword [ebp - 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x31], 1
jmp 0x10022454
mov al, byte [edi + 0x90]
test al, al
jg 0x100223c9
cmp byte [edi + 0x91], 0
jle 0x10022454
cmp byte [ebp - 0x3d], 0
jne 0x100223f6
test al, al
jle 0x100223f6
cmp byte [edi + 0x93], 0
je 0x100223e8
movss xmm0, dword [edi + 0x1c]
maxss xmm0, dword [ebp - 0x50]
jmp 0x100223ed
movss xmm0, dword [ebp - 0x50]
movss dword [edi + 0x1c], xmm0
mov byte [ebp - 0x3f], 1
cmp byte [ebp - 0x32], 0
jne 0x10022428
cmp byte [edi + 0x91], 0
jle 0x10022428
cmp byte [edi + 0x93], 0
je 0x1002241a
movss xmm0, dword [edi + 0x20]
maxss xmm0, dword [ebp - 0x4c]
jmp 0x1002241f
movss xmm0, dword [ebp - 0x4c]
movss dword [edi + 0x20], xmm0
mov byte [ebp - 0x31], 1
cmp byte [edi + 0x7d], 0
jne 0x10022454
test dword [edi + 8], 0x100
mov ecx, dword [0x100a1be4]
jne 0x10022454
movss xmm0, dword [ebp - 0x54]
comiss xmm0, dword [ecx + 0x2d98]
jb 0x10022454
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x2d98], eax
push dword [edi + 0x20]
mov edx, edi
lea ecx, [ebp - 0xe8]
push dword [edi + 0x1c]
call fcn.1001fa80
mov edx, dword [ebp - 0x38]
add esp, 8
cmp byte [edi + 0x7d], 0
movss xmm2, dword [eax]
movss xmm0, dword [eax + 4]
movss dword [edi + 0x1c], xmm2
movss dword [edi + 0x20], xmm0
je 0x100224f3
test edx, 0x1000000
jne 0x100224f3
test byte [edi + 8], 1
mov ecx, dword [0x100a1be4]
je 0x100224a1
movss xmm1, dword [ebp - 0x54]
jmp 0x100224d3
movss xmm0, dword [edi + 0x270]
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [ecx + 0x18d4]
test eax, eax
je 0x100224c3
mulss xmm0, dword [eax + 0x270]
movss xmm1, dword [ecx + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
addss xmm2, dword [edi + 0xc]
addss xmm1, dword [edi + 0x10]
subss xmm2, dword [edi + 0xc]
subss xmm1, dword [edi + 0x10]
movss dword [ebp - 0x60], xmm2
movss dword [ebp - 0x5c], xmm1
jmp 0x100224ff
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x20]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x60]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [edi + 0x18], ecx
mov ecx, dword [edi + 8]
mov dword [edi + 0x14], eax
mov eax, dword [0x100a1be4]
test cl, 1
je 0x10022524
movss xmm0, dword [ebp - 0x54]
movaps xmm1, xmm0
jmp 0x1002255e
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10022546
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x1554]
mov ecx, dword [edi + 8]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x54]
test ecx, 0x400
je 0x100225a2
movss xmm2, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm2, dword [edi + 0x270]
test ecx, ecx
je 0x10022588
mulss xmm2, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm2, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x100225a5
movaps xmm2, xmm0
cmp byte [ebp - 0x3e], 0
addss xmm2, xmm1
movss dword [ebp - 0x68], xmm2
je 0x10022614
mov dword [edi + 0x94], 0xffffffff
test edx, 0x4000000
je 0x10022614
cmp byte [ebp - 0x33], 0
jne 0x10022614
cmp dword [esi + 0x1b1c], 0
jg 0x100225ef
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [esi + 0x1b1c]
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x1b24]
movss xmm0, dword [eax + ecx*4 - 0x10]
movss xmm1, dword [eax + ecx*4 - 0xc]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
test edx, 0x1000000
je 0x100226d0
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x1002262d
cmp byte [eax + 0x7a], 0
jne 0x1002264a
push 0x161f
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str.parent_window__parent_window__Active
call fcn.100679c3
mov edx, dword [ebp - 0x38]
add esp, 0xc
mov eax, dword [ebp - 0x74]
lea ecx, [eax + 0x180]
mov ax, word [ecx]
mov word [edi + 0x88], ax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x58], ecx
cmp dword [ecx], eax
jne 0x10022691
mov edx, dword [ecx]
inc edx
mov dword [ebp - 0x6c], edx
test eax, eax
je 0x1002267b
cdq
sub eax, edx
mov edx, dword [ebp - 0x6c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10022680
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002c1d0
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
mov ecx, dword [ecx]
mov eax, dword [eax + 8]
mov dword [eax + ecx*4], edi
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x78]
inc dword [eax]
mov al, byte [ebp - 0x33]
test edx, 0x4000000
jne 0x100226d6
test al, al
jne 0x100226d6
cmp ecx, 0x3000000
je 0x100226d6
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0xc8]
mov ecx, dword [ecx + 0xcc]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov ecx, dword [ebp - 0x78]
mov al, byte [ebp - 0x33]
movss xmm7, dword [edi + 0xac]
ucomiss xmm7, dword [0x100945e0]
lahf
test ah, 0x44
jnp 0x100227e1
cmp dword [edi + 0x9c], 0
jne 0x100227e1
movss xmm1, dword [edi + 0xb4]
movss xmm5, dword [edi + 0xb8]
movss xmm2, dword [edi + 0xb0]
and dword [edi + 0xa0], 0xfffffff1
mov dword [edi + 0xac], 0x7f7fffff
mov dword [edi + 0xb0], 0x7f7fffff
mulss xmm1, dword [edi + 0x1c]
mulss xmm5, dword [edi + 0x20]
movss xmm4, dword [edi + 0xc]
subss xmm7, xmm1
movss xmm6, dword [edi + 0x10]
subss xmm2, xmm5
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm2
cvtdq2ps xmm7, xmm7
movd xmm1, eax
movss dword [edi + 0xc], xmm7
subss xmm7, xmm4
cvtdq2ps xmm1, xmm1
movaps xmm0, xmm7
movss dword [edi + 0x10], xmm1
subss xmm1, xmm6
addss xmm0, dword [edi + 0xc8]
movss dword [edi + 0xc8], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xcc]
movss dword [edi + 0xcc], xmm0
movaps xmm0, xmm7
addss xmm0, dword [edi + 0xe0]
addss xmm7, dword [edi + 0xd8]
movss dword [edi + 0xe0], xmm0
movaps xmm0, xmm1
addss xmm0, dword [edi + 0xe4]
addss xmm1, dword [edi + 0xdc]
movss dword [edi + 0xd8], xmm7
movss dword [edi + 0xe4], xmm0
movss dword [edi + 0xdc], xmm1
jmp 0x1002282f
test edx, 0x10000000
jne 0x1002280f
test edx, 0x4000000
je 0x100227fb
test al, al
jne 0x100227fb
cmp dword [ebp - 0x64], 0
jg 0x1002280f
test edx, 0x2000000
je 0x1002282f
test al, al
jne 0x1002282f
cmp ecx, 0x3000000
je 0x1002282f
mov edx, edi
lea ecx, [ebp - 0xb8]
call fcn.10026f00
movss xmm1, dword [eax + 4]
movss xmm0, dword [eax]
movss dword [edi + 0xc], xmm0
movss dword [edi + 0x10], xmm1
cmp byte [ebp - 0x33], 0
mov eax, dword [0x100a1be4]
movss xmm4, dword [ebp - 0x54]
mov edx, dword [ebp - 0x38]
movss dword [ebp - 0x30], xmm4
movss xmm2, dword [eax + 0x10]
movss xmm7, dword [eax + 0x14]
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x88], xmm2
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x6c], xmm7
movss dword [ebp - 0x24], xmm7
jne 0x10022981
test edx, 0x1000000
jne 0x10022981
cmp byte [edi + 0x90], 0
jg 0x10022981
cmp byte [edi + 0x91], 0
jg 0x10022981
movss xmm5, dword [esi + 0x15ac]
movaps xmm0, xmm2
movss xmm6, dword [esi + 0x15b0]
subss xmm0, xmm4
maxss xmm5, dword [esi + 0x15b4]
maxss xmm6, dword [esi + 0x15b8]
comiss xmm0, xmm4
jbe 0x10022981
movaps xmm0, xmm7
subss xmm0, xmm4
comiss xmm0, xmm4
jbe 0x10022981
cmp byte [eax + 0xb4], 0
je 0x10022929
test byte [edi + 8], 1
jne 0x10022929
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10022908
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [edi + 0x14]
movss dword [ebp - 0x60], xmm0
movss dword [ebp - 0x5c], xmm1
jmp 0x10022935
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], ecx
lea eax, [ebp - 0x60]
movaps xmm1, xmm7
movss xmm0, dword [eax]
subss xmm2, xmm5
addss xmm0, dword [edi + 0xc]
addss xmm5, xmm4
subss xmm1, xmm6
addss xmm6, xmm4
maxss xmm0, xmm5
subss xmm0, dword [eax]
minss xmm2, xmm0
movss xmm0, dword [eax + 4]
addss xmm0, dword [edi + 0x10]
movss dword [edi + 0xc], xmm2
maxss xmm0, xmm6
subss xmm0, dword [eax + 4]
minss xmm1, xmm0
movss dword [edi + 0x10], xmm1
cvttss2si eax, dword [edi + 0xc]
movd xmm1, eax
cvttss2si eax, dword [edi + 0x10]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
movss dword [edi + 0xc], xmm1
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x10], xmm0
test edx, 0x1000000
je 0x100229b5
movss xmm2, dword [esi + 0x1540]
jmp 0x100229d5
mov eax, edx
and eax, 0xc000000
cmp eax, 0x4000000
jne 0x100229cd
movss xmm2, dword [esi + 0x1548]
jmp 0x100229d5
movss xmm2, dword [esi + 0x1524]
xor cl, cl
movss dword [edi + 0x3c], xmm2
mov dword [ebp - 0x58], ecx
cmp byte [ebp - 0x3e], cl
je 0x10022a0e
test edx, 0x1000
jne 0x10022a0e
test edx, 0x4000000
je 0x100229fa
mov byte [ebp - 0x58], 1
jmp 0x10022a0e
test edx, 0x3000000
movzx ecx, cl
mov eax, 1
cmove ecx, eax
mov dword [ebp - 0x58], ecx
movss xmm1, dword [esi + 0x18d0]
xorps xmm0, xmm0
addss xmm2, dword [0x10094518]
movaps xmmword [ebp - 0x20], xmm0
xor eax, eax
cmp byte [esi + 0xb3], al
movaps xmm0, xmm1
mulss xmm1, dword [0x100944c8]
setne al
mov dword [ebp - 0x3c], 0xffffffff
mulss xmm0, dword [0x10094524]
inc eax
cmp byte [edi + 0x7d], 0
addss xmm2, xmm1
mov dword [ebp - 0x5c], eax
maxss xmm0, xmm2
cvttss2si esi, xmm0
jne 0x10022a88
lea ecx, [ebp - 0x20]
push ecx
push eax
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
lea edx, [ebp - 0x50]
call fcn.100200f0
movss xmm4, dword [ebp - 0x54]
add esp, 0xc
mov edx, dword [ebp - 0x38]
test al, al
je 0x10022a88
mov cl, 1
mov ch, cl
jmp 0x10022a8e
mov ch, byte [ebp - 0x3f]
mov cl, byte [ebp - 0x31]
cmp byte [edi + 0x7d], 0
mov al, byte [ebp - 0x3c]
movss xmm3, dword [ebp - 0x68]
mov byte [edi + 0x84], al
jne 0x10022be7
cmp dword [ebp - 0x44], 0
lea eax, [ebp - 0x50]
movss xmm2, dword [edi + 0x204]
movss xmm5, dword [edi + 0x208]
subss xmm2, dword [edi + 0x1fc]
subss xmm5, dword [edi + 0x200]
movss xmm6, dword [edi + 0x20]
movss xmm7, dword [edi + 0x1c]
subss xmm6, xmm3
mov dword [ebp - 0x3c], eax
addss xmm2, dword [edi + 0x70]
addss xmm5, dword [edi + 0x74]
jne 0x10022afa
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
jmp 0x10022b20
movss xmm0, dword [edi + 0x34]
movss xmm1, dword [edi + 0x38]
addss xmm0, xmm0
addss xmm1, xmm1
addss xmm0, dword [edi + 0x24]
addss xmm1, dword [edi + 0x28]
movss dword [ebp - 0x50], xmm0
movss dword [ebp - 0x4c], xmm1
movss xmm1, dword [eax + 4]
test ch, ch
jne 0x10022b2c
movaps xmm7, xmm2
test cl, cl
jne 0x10022b33
movaps xmm6, xmm5
test edx, 0x4000
jne 0x10022b49
comiss xmm1, xmm6
jbe 0x10022b45
test dl, 8
je 0x10022b49
xor al, al
jmp 0x10022b4b
mov al, 1
mov byte [ebp - 0x31], al
mov byte [edi + 0x79], al
test edx, 0x8000
jne 0x10022b9a
mov ecx, dword [ebp - 0x48]
test al, al
je 0x10022b6a
movss xmm0, dword [ecx + 0x1580]
jmp 0x10022b6d
movaps xmm0, xmm4
mov edx, dword [ebp - 0x3c]
subss xmm7, xmm0
movss xmm0, dword [edx]
comiss xmm0, xmm7
mov edx, dword [ebp - 0x38]
jbe 0x10022b91
mov eax, edx
and eax, 0x808
cmp eax, 0x800
mov al, byte [ebp - 0x31]
je 0x10022b9a
mov byte [edi + 0x78], 0
movaps xmm1, xmm4
jmp 0x10022bc0
mov byte [edi + 0x78], 1
test al, al
jne 0x10022bb5
comiss xmm1, xmm6
jbe 0x10022bb0
test dl, 8
jne 0x10022bb0
mov al, 1
jmp 0x10022bb2
xor al, al
mov byte [edi + 0x79], al
mov ecx, dword [ebp - 0x48]
movss xmm1, dword [ecx + 0x1580]
test al, al
je 0x10022bd8
movss xmm0, dword [ecx + 0x1580]
movss dword [edi + 0x70], xmm0
movss dword [edi + 0x74], xmm1
jmp 0x10022bea
movaps xmm0, xmm4
movss dword [edi + 0x74], xmm1
movss dword [edi + 0x70], xmm0
jmp 0x10022bea
mov ecx, dword [ebp - 0x48]
mov eax, edx
and eax, 0x5000000
cmp eax, 0x1000000
jne 0x10022c0b
cmp dword [ebp - 0x78], 0x3000000
je 0x10022c0b
mov eax, dword [ebp - 0x74]
add eax, 0x22c
jmp 0x10022c0e
lea eax, [ebp - 0x30]
test byte [edi + 8], 1
movss xmm1, dword [edi + 0x10]
movss xmm2, dword [edi + 0xc]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x18]
movups xmm6, xmmword [eax]
movaps xmm7, xmm2
movss dword [ebp - 0x3c], xmm2
addss xmm7, dword [edi + 0x14]
movaps xmmword [ebp - 0x100], xmm6
movss dword [ebp - 0x44], xmm1
movss dword [ebp - 0x64], xmm0
je 0x10022c4c
movaps xmm5, xmm4
jmp 0x10022c88
mov eax, dword [0x100a1be4]
movss xmm0, dword [edi + 0x270]
mulss xmm0, dword [eax + 0x18d4]
mov eax, dword [edi + 0x2f4]
test eax, eax
je 0x10022c73
mulss xmm0, dword [eax + 0x270]
mov eax, dword [0x100a1be4]
movss xmm5, dword [eax + 0x1554]
addss xmm5, xmm5
addss xmm5, xmm0
addss xmm2, dword [edi + 0x1c]
movss xmm0, dword [edi + 0x10]
addss xmm1, xmm5
movss xmm5, dword [ebp - 0x3c]
mov eax, edx
movss dword [ebp - 0x9c], xmm0
and eax, 0x401
movss xmm0, dword [ebp - 0x64]
movss dword [ebp - 0x98], xmm2
movss xmm2, dword [ebp - 0x44]
movss dword [ebp - 0x94], xmm1
movaps xmm1, xmm6
movss dword [ebp - 0xa0], xmm5
movss dword [edi + 0x1ec], xmm5
movss dword [edi + 0x1f0], xmm2
movss dword [edi + 0x1f4], xmm7
movss dword [edi + 0x1f8], xmm0
movss xmm0, dword [edi + 0x1ec]
shufps xmm1, xmm6, 0x55
maxss xmm0, xmm6
maxss xmm2, xmm1
movups xmmword [ebp - 0xe0], xmm1
movss dword [edi + 0x1ec], xmm0
movaps xmm0, xmm6
movss dword [edi + 0x1f0], xmm2
movaps xmm2, xmm6
movss xmm1, dword [edi + 0x1f4]
shufps xmm0, xmm6, 0xaa
shufps xmm2, xmm6, 0xff
minss xmm1, xmm0
movups xmmword [ebp - 0xd0], xmm0
movss xmm0, dword [edi + 0x1f8]
minss xmm0, xmm2
movss dword [edi + 0x1f4], xmm1
movups xmmword [ebp - 0xb0], xmm2
movss dword [edi + 0x1f8], xmm0
movss xmm5, dword [edi + 0x10]
movss xmm7, dword [edi + 0xc]
movaps xmm0, xmm5
movss dword [edi + 0x1fc], xmm7
addss xmm0, xmm3
movaps xmm3, xmm7
addss xmm3, dword [edi + 0x14]
addss xmm5, dword [edi + 0x18]
movss dword [ebp - 0x44], xmm0
movss dword [edi + 0x200], xmm0
subss xmm3, dword [edi + 0x70]
subss xmm5, dword [edi + 0x74]
movss dword [edi + 0x204], xmm3
movss dword [edi + 0x208], xmm5
cmp eax, 1
jne 0x10022db7
movss xmm0, dword [edi + 0x40]
jmp 0x10022dbf
movss xmm0, dword [ecx + 0x155c]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edi + 0x34]
mulss xmm0, dword [0x100944e0]
addss xmm7, dword [0x100944e0]
addss xmm3, dword [0x100944e0]
cvttss2si eax, xmm0
movss xmm0, dword [ebp - 0x44]
addss xmm0, dword [0x100944e0]
addss xmm5, dword [0x100944e0]
movups xmm2, xmmword [ebp - 0xe0]
movd xmm1, eax
addss xmm0, dword [ebp - 0x3c]
cvtdq2ps xmm1, xmm1
subss xmm5, dword [edi + 0x40]
maxss xmm1, dword [edi + 0x40]
addss xmm7, xmm1
subss xmm3, xmm1
cvttss2si eax, xmm7
movd xmm7, eax
cvttss2si eax, xmm0
cvtdq2ps xmm7, xmm7
movd xmm0, eax
cvttss2si eax, xmm3
cvtdq2ps xmm0, xmm0
movups xmm3, xmmword [ebp - 0xb0]
movss dword [edi + 0x210], xmm0
movd xmm0, eax
cvttss2si eax, xmm5
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x20c], xmm7
movss dword [edi + 0x214], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [edi + 0x218], xmm0
movss xmm0, dword [edi + 0x210]
comiss xmm2, xmm0
jbe 0x10022e84
movaps xmm1, xmm2
jmp 0x10022e8b
movaps xmm1, xmm3
minss xmm1, xmm0
comiss xmm6, xmm7
movups xmm5, xmmword [ebp - 0xd0]
jbe 0x10022e9c
movaps xmm0, xmm6
jmp 0x10022ea3
movaps xmm0, xmm5
minss xmm0, xmm7
movss dword [edi + 0x20c], xmm0
movss dword [edi + 0x210], xmm1
movss xmm0, dword [edi + 0x218]
comiss xmm2, xmm0
jbe 0x10022ec5
movaps xmm1, xmm2
jmp 0x10022ecc
movaps xmm1, xmm3
minss xmm1, xmm0
movss xmm2, dword [edi + 0x214]
comiss xmm6, xmm2
jbe 0x10022ede
movaps xmm0, xmm6
jmp 0x10022ee5
movaps xmm0, xmm5
minss xmm0, xmm2
movss dword [edi + 0x214], xmm0
movss dword [edi + 0x218], xmm1
movss xmm0, dword [edi + 0x14]
comiss xmm0, xmm4
jbe 0x10022f11
test edx, 0x2000040
jne 0x10022f11
mulss xmm0, dword [0x100944ec]
jmp 0x10022f21
movss xmm0, dword [ecx + 0x18d0]
mulss xmm0, dword [0x1009458c]
cvttss2si eax, xmm0
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx + 0x254], xmm0
movss xmm6, dword [edi + 0x34]
movss xmm0, dword [edi + 0x204]
movaps xmm5, xmm6
subss xmm0, dword [edi + 0x1fc]
movss xmm2, dword [edi + 0x24]
addss xmm5, xmm6
movss xmm7, dword [0x100945e0]
movss xmm3, dword [edi + 0x50]
addss xmm5, xmm2
movaps xmm1, xmm5
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x38]
addss xmm1, xmm1
movss dword [edi + 0x58], xmm0
movss xmm0, dword [edi + 0x208]
subss xmm0, dword [edi + 0x200]
addss xmm1, dword [edi + 0x28]
subss xmm1, xmm0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm1, dword [edi + 0x54]
movss dword [ebp - 0x3c], xmm0
movss dword [edi + 0x5c], xmm0
movss xmm0, dword [edi + 0x60]
comiss xmm7, xmm0
jbe 0x10023008
movss xmm7, dword [edi + 0x68]
movaps xmm3, xmm0
comiss xmm4, xmm7
jb 0x10022fd4
comiss xmm6, xmm3
jb 0x10022fd4
movaps xmm3, xmm4
jmp 0x10022ff6
comiss xmm7, dword [0x10094518]
jb 0x10022ff6
mov eax, dword [0x100a1be4]
addss xmm2, xmm6
addss xmm2, dword [eax + 0x1560]
comiss xmm3, xmm2
jb 0x10022ff6
movaps xmm3, xmm5
movss xmm0, dword [edi + 0x1c]
subss xmm0, dword [edi + 0x70]
mulss xmm0, xmm7
subss xmm3, xmm0
movss xmm5, dword [edi + 0x64]
movss xmm0, dword [0x100945e0]
comiss xmm0, xmm5
jbe 0x10023114
mov edx, dword [edi + 8]
mov eax, dword [0x100a1be4]
test dl, 1
je 0x10023030
movaps xmm1, xmm4
jmp 0x10023062
movss xmm0, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test ecx, ecx
je 0x10023052
mulss xmm0, dword [ecx + 0x270]
movss xmm1, dword [eax + 0x1554]
addss xmm1, xmm1
addss xmm1, xmm0
test edx, 0x400
je 0x100230a6
movss xmm2, dword [eax + 0x18d4]
mov ecx, dword [edi + 0x2f4]
mulss xmm2, dword [edi + 0x270]
test ecx, ecx
je 0x1002308c
mulss xmm2, dword [ecx + 0x270]
movss xmm0, dword [eax + 0x1554]
addss xmm2, dword [edi + 0x150]
addss xmm0, xmm0
addss xmm2, xmm0
jmp 0x100230a9
movaps xmm2, xmm4
movss xmm6, dword [edi + 0x6c]
addss xmm2, xmm1
comiss xmm4, xmm6
movaps xmm1, xmm5
jb 0x100230c7
movss xmm0, dword [edi + 0x38]
comiss xmm0, xmm1
jb 0x100230c7
movaps xmm1, xmm4
comiss xmm6, dword [0x10094518]
jb 0x100230fe
movss xmm7, dword [edi + 0x28]
movss xmm5, dword [edi + 0x38]
movaps xmm0, xmm7
mov eax, dword [0x100a1be4]
addss xmm0, xmm5
addss xmm0, dword [eax + 0x1564]
comiss xmm1, xmm0
jb 0x100230fe
movaps xmm1, xmm5
addss xmm1, xmm5
addss xmm1, xmm7
movss xmm0, dword [edi + 0x20]
subss xmm0, dword [edi + 0x74]
subss xmm0, xmm2
mulss xmm0, xmm6
subss xmm1, xmm0
cmp byte [edi + 0x7d], 0
maxss xmm3, xmm4
maxss xmm1, xmm4
jne 0x10023142
cmp byte [edi + 0x7f], 0
jne 0x10023142
movss xmm0, dword [edi + 0x58]
comiss xmm0, xmm3
ja 0x10023135
movaps xmm3, xmm0
movss xmm0, dword [ebp - 0x3c]
comiss xmm0, xmm1
ja 0x10023142
movaps xmm1, xmm0
mov ecx, dword [edi + 0x278]
movss dword [edi + 0x50], xmm3
movss dword [edi + 0x54], xmm1
mov dword [edi + 0x60], 0x7f7fffff
mov dword [edi + 0x64], 0x7f7fffff
call fcn.10033950
mov eax, dword [ebp - 0x48]
mov ecx, dword [edi + 0x278]
mov dword [ebp - 0x4c], ecx
add ecx, 0x4c
mov dword [ebp - 0x3c], ecx
mov eax, dword [eax + 0x18cc]
mov edx, dword [ecx]
mov eax, dword [eax + 0x38]
mov eax, dword [eax + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x100231b7
inc edx
mov dword [ebp - 0x44], edx
test eax, eax
je 0x100231a4
cdq
sub eax, edx
mov edx, dword [ebp - 0x44]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x100231a9
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002c1d0
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ecx + 8]
mov ecx, dword [ebp - 0x64]
mov dword [eax + edx*4], ecx
mov ecx, dword [ebp - 0x3c]
inc dword [ecx]
mov ecx, dword [ebp - 0x4c]
call fcn.10033e00
mov ecx, dword [0x100a1be4]
movaps xmm0, xmmword [ebp - 0x100]
comiss xmm0, dword [ebp - 0xd0]
mov eax, dword [ecx + 0x1a00]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x1a00]
mov dword [ebp - 0x3c], eax
movaps xmmword [ebp - 0xc0], xmm0
mov eax, dword [eax + 0x278]
mov dword [ebp - 0x64], eax
jb 0x10023210
movss dword [ebp - 0xb8], xmm0
movups xmm0, xmmword [ebp - 0xe0]
comiss xmm0, dword [ebp - 0xb0]
jb 0x10023228
movss dword [ebp - 0xb4], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x44], ecx
cmp edx, eax
jne 0x10023260
inc edx
mov dword [ebp - 0x4c], edx
test eax, eax
je 0x1002324d
cdq
sub eax, edx
mov edx, dword [ebp - 0x4c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10023252
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003b3b0
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx]
mov edx, dword [ecx + 8]
add eax, eax
movups xmm0, xmmword [ebp - 0xc0]
movups xmmword [edx + eax*8], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x64]
call fcn.10033cd0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax + 0x278]
add eax, 0x40
mov dword [ebp - 0x4c], eax
cmp dword [eax], 0
jg 0x100232aa
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
mov eax, dword [ebp - 0x4c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add ecx, ecx
test dword [ebp - 0x38], 0x8000000
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x22c], eax
movss dword [ecx + 0x230], xmm0
movss dword [ecx + 0x234], xmm1
movss dword [ecx + 0x238], xmm2
je 0x10023307
call fcn.10026250
cmp edi, eax
jne 0x10023307
cmp dword [edi + 0x9c], 0
jg 0x10023307
mov cl, 1
jmp 0x10023309
xor cl, cl
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x1c24]
test eax, eax
je 0x10023322
cmp edi, dword [eax + 0x2f8]
jne 0x10023322
mov al, 1
jmp 0x10023324
xor al, al
mov byte [ebp - 0x31], al
test cl, cl
jne 0x10023333
test al, al
je 0x1002341f
movss xmm1, dword [edx + 0x1c98]
push 0xf
push ecx
movzx ecx, cl
add ecx, 0x2e
mov dword [esp], 0
call fcn.1001a1f0
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100357d0
cmp byte [ebp - 0x31], 0
je 0x1002341f
mov edx, dword [ebp - 0x48]
cmp edi, dword [edx + 0x1c24]
jne 0x1002341f
movss xmm2, dword [edi + 0xc]
movss xmm3, dword [edi + 0x10]
movaps xmm1, xmm2
movss xmm0, dword [edx + 0x18d0]
movaps xmm4, xmm3
addss xmm2, dword [edi + 0x14]
addss xmm3, dword [edi + 0x18]
subss xmm1, xmm0
subss xmm4, xmm0
addss xmm2, xmm0
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x54]
comiss xmm0, xmm1
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x24], xmm3
jb 0x100233e1
comiss xmm0, xmm4
jb 0x100233e1
comiss xmm2, dword [ebp - 0x88]
jb 0x100233e1
comiss xmm3, dword [ebp - 0x6c]
jae 0x1002341f
movss xmm1, dword [edx + 0x1c30]
mulss xmm1, dword [0x100944cc]
push 0xf
movss xmm0, dword [edx + 0x1524]
push ecx
mov ecx, 0x2d
movss dword [esp], xmm0
call fcn.1001a1f0
mov ecx, dword [edi + 0x278]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.100357d0
mov eax, dword [ebp - 0x38]
and eax, 0x5000000
mov byte [ebp - 0x31], 0
cmp eax, 0x1000000
jne 0x1002348b
cmp dword [ebp - 0x78], 0x3000000
je 0x1002348b
mov edx, dword [edi + 0x278]
mov dword [ebp - 0x4c], edx
cmp dword [edx], 0
jg 0x10023463
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
mov edx, dword [ebp - 0x4c]
add esp, 0xc
mov eax, dword [edx]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 8]
cmp dword [eax + ecx*8 - 0x28], 0
jne 0x1002348b
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x278]
cmp dword [eax + 0x18], 0
jle 0x1002348b
mov byte [ebp - 0x31], 1
mov dword [edi + 0x278], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax + 0x1c20]
test ecx, ecx
jne 0x1002349e
mov ecx, dword [eax + 0x1b28]
cmp byte [ebp - 0x58], 0
jne 0x100234bc
test ecx, ecx
je 0x100234b6
mov eax, dword [edi + 0x2fc]
cmp eax, dword [ecx + 0x2fc]
je 0x100234bc
mov byte [ebp - 0x3c], 0
jmp 0x100234c0
mov byte [ebp - 0x3c], 1
movd xmm0, esi
lea eax, [ebp - 0x20]
cvtdq2ps xmm0, xmm0
push ecx
lea edx, [ebp - 0xa0]
mov ecx, edi
movss dword [esp], xmm0
push eax
push dword [ebp - 0x5c]
push dword [ebp - 0x3c]
call fcn.10020da0
add esp, 0x10
cmp byte [ebp - 0x31], 0
je 0x100234f9
lea eax, [edi + 0x27c]
mov dword [edi + 0x278], eax
mov esi, dword [ebp - 0x48]
cmp dword [esi + 0x1c24], edi
jne 0x10023691
movss xmm1, dword [edi + 0xc]
movss xmm5, dword [edi + 0x3c]
movaps xmm4, xmm1
movss xmm2, dword [esi + 0x18d0]
movaps xmm0, xmm5
addss xmm1, dword [edi + 0x14]
maxss xmm0, dword [esi + 0x1524]
movss xmm7, dword [edi + 0x10]
subss xmm4, xmm2
movaps xmm3, xmm7
addss xmm7, dword [edi + 0x18]
subss xmm3, xmm2
addss xmm1, xmm2
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x54]
comiss xmm0, xmm4
movss dword [ebp - 0x64], xmm4
addss xmm7, xmm2
movss dword [ebp - 0x78], xmm3
movss dword [ebp - 0x44], xmm1
jb 0x100235b2
comiss xmm0, xmm3
jb 0x100235b2
comiss xmm1, dword [ebp - 0x88]
jb 0x100235b2
comiss xmm7, dword [ebp - 0x6c]
jb 0x100235b2
xorps xmm2, xmmword [0x10094730]
subss xmm2, dword [0x10094518]
movss dword [ebp - 0x48], xmm5
movaps xmm0, xmm2
subss xmm4, xmm2
subss xmm3, xmm2
addss xmm0, xmm1
addss xmm7, xmm2
movss dword [ebp - 0x64], xmm4
movss dword [ebp - 0x78], xmm3
movss dword [ebp - 0x44], xmm0
mov edx, dword [edi + 0x278]
mov ecx, 0x2d
movss xmm1, dword [esi + 0x1c30]
mov dword [ebp - 0x6c], edx
call fcn.1001a1f0
mov dword [ebp - 0x5c], eax
test eax, 0xff000000
je 0x10023691
test byte [edx + 0x24], 1
lea eax, [ebp - 0x50]
movss xmm1, dword [ebp - 0x44]
mov ecx, edx
movss xmm0, dword [ebp - 0x64]
movss xmm3, dword [ebp - 0x48]
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x8c]
push eax
je 0x10023626
movss xmm2, dword [0x100944e0]
addss xmm0, xmm2
subss xmm1, xmm2
subss xmm7, xmm2
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, xmm2
jmp 0x10023653
addss xmm0, dword [0x100944e0]
subss xmm1, dword [0x100944dc]
subss xmm7, dword [0x100944dc]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0x78]
addss xmm0, dword [0x100944e0]
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x4c], xmm7
movss dword [ebp - 0x88], xmm0
call fcn.100352a0
mov eax, dword [ebp - 0x6c]
push ecx
mov dword [esp], 0x40400000
mov ecx, eax
push 1
push dword [ebp - 0x5c]
push dword [eax + 0x58]
push dword [eax + 0x60]
call fcn.10034110
mov eax, dword [ebp - 0x6c]
mov dword [eax + 0x58], 0
mov ecx, dword [ebp - 0x38]
mov edx, ecx
movss xmm0, dword [edi + 0x2c]
movss xmm4, dword [ebp - 0x54]
shr edx, 3
not dl
and dl, 1
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x100236e4
movss xmm0, dword [edi + 0x34]
mov eax, ecx
movss xmm1, dword [edi + 0x14]
addss xmm0, xmm0
and eax, 0x808
subss xmm1, xmm0
subss xmm1, dword [edi + 0x70]
cmp eax, 0x800
jne 0x100236dd
movss xmm0, dword [edi + 0x24]
jmp 0x100236e0
movaps xmm0, xmm4
maxss xmm0, xmm1
movss xmm6, dword [edi + 0x30]
ucomiss xmm6, xmm4
movss dword [ebp - 0x6c], xmm0
lahf
test ah, 0x44
jnp 0x10023701
movss dword [ebp - 0x88], xmm6
jmp 0x10023737
movss xmm0, dword [edi + 0x38]
movss xmm1, dword [edi + 0x18]
addss xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [ebp - 0x68]
subss xmm1, dword [edi + 0x74]
test dl, dl
je 0x10023728
movss xmm0, dword [edi + 0x28]
jmp 0x1002372b
movaps xmm0, xmm4
maxss xmm0, xmm1
movss dword [ebp - 0x88], xmm0
movss xmm5, dword [edi + 0x34]
movss xmm1, dword [edi + 0x1fc]
movaps xmm0, xmm5
maxss xmm0, dword [edi + 0x40]
subss xmm1, dword [edi + 0x50]
movss xmm7, dword [edi + 0x38]
addss xmm1, xmm0
movss xmm0, dword [edi + 0x54]
movss dword [ebp - 0x3c], xmm0
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x200]
subss xmm1, xmm0
movaps xmm0, xmm7
maxss xmm0, dword [edi + 0x40]
movd xmm2, eax
cvtdq2ps xmm2, xmm2
addss xmm1, xmm0
movss dword [edi + 0x21c], xmm2
addss xmm2, dword [ebp - 0x6c]
cvttss2si eax, xmm1
movss xmm1, dword [edi + 0x2c]
movss dword [edi + 0x224], xmm2
movss xmm2, dword [edi + 0x10]
subss xmm2, dword [ebp - 0x3c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
ucomiss xmm1, xmm4
movss dword [edi + 0x220], xmm0
addss xmm2, xmm7
addss xmm0, dword [ebp - 0x88]
lahf
movss dword [edi + 0x228], xmm0
movss xmm0, dword [edi + 0xc]
movss dword [ebp - 0x5c], xmm0
movaps xmm3, xmm0
movss xmm0, dword [ebp - 0x68]
addss xmm2, xmm0
subss xmm3, dword [edi + 0x50]
movss dword [edi + 0x240], xmm2
addss xmm3, xmm5
movss dword [edi + 0x23c], xmm3
test ah, 0x44
jp 0x10023824
movss xmm1, dword [edi + 0x14]
movaps xmm0, xmm5
addss xmm0, xmm5
subss xmm1, xmm0
movss xmm0, dword [ebp - 0x68]
subss xmm1, dword [edi + 0x70]
ucomiss xmm6, xmm4
addss xmm3, xmm1
lahf
movss dword [edi + 0x244], xmm3
test ah, 0x44
jp 0x10023857
movss xmm6, dword [edi + 0x18]
movaps xmm0, xmm7
addss xmm0, xmm7
subss xmm6, xmm0
movss xmm0, dword [ebp - 0x68]
subss xmm6, xmm0
subss xmm6, dword [edi + 0x74]
addss xmm5, xmm4
mov dword [edi + 0x108], 0
addss xmm7, xmm0
addss xmm2, xmm6
subss xmm5, dword [edi + 0x50]
subss xmm7, dword [ebp - 0x3c]
movss dword [edi + 0x248], xmm2
movss dword [edi + 0x100], xmm5
addss xmm5, xmm4
mov dword [edi + 0x104], 0
addss xmm7, dword [edi + 0x10]
addss xmm5, dword [ebp - 0x5c]
movss dword [edi + 0xd8], xmm5
movss dword [edi + 0xdc], xmm7
movss dword [edi + 0xc8], xmm5
movss dword [edi + 0xcc], xmm7
movss dword [edi + 0xd0], xmm5
movss dword [edi + 0xd4], xmm7
movss dword [edi + 0xe0], xmm5
movss dword [edi + 0xe4], xmm7
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x138], 1
mov eax, dword [edi + 0x140]
mov dword [edi + 0x13c], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x140], 0
test eax, eax
je 0x10023954
mov eax, dword [eax + 0x144]
jmp 0x10023956
xor eax, eax
mov dword [edi + 0x144], eax
lea ecx, [edi + 0x16c]
mov byte [edi + 0x148], 0
movss xmm0, dword [edi + 0x5c]
comiss xmm0, xmm4
seta al
cmp byte [ebp - 0x3e], 0
mov byte [edi + 0x149], al
mov byte [edi + 0x14a], 0
movss xmm0, dword [edi + 0x34]
maxss xmm0, dword [esi + 0x1560]
maxss xmm0, dword [esi + 0x1ad0]
movss dword [edi + 0x14c], xmm0
mov eax, dword [esi + 0x1ad4]
mov dword [edi + 0x150], eax
movss xmm0, dword [esi + 0x1560]
mov dword [edi + 0x15c], 0
mov dword [edi + 0x158], 0
movss dword [edi + 0x154], xmm0
je 0x100239e2
xorps xmm0, xmm0
movq qword [ecx], xmm0
mov dword [ecx + 8], 0
xor edx, edx
test edx, edx
je 0x10023a09
movss xmm0, dword [ecx]
comiss xmm0, xmm4
jbe 0x10023a09
movss xmm0, dword [edi + 0x158]
addss xmm0, dword [edi + 0x154]
movss dword [edi + 0x158], xmm0
cvttss2si eax, dword [edi + 0x158]
inc edx
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ecx - 0xc], xmm0
movss xmm0, dword [edi + 0x158]
addss xmm0, dword [ecx]
movss dword [edi + 0x158], xmm0
mov dword [ecx], 0
add ecx, 4
cmp edx, 3
jl 0x100239e4
mov dword [edi + 0x178], 0
lea eax, [edi + 0x180]
mov dword [edi + 0x17c], 0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10023a83
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x180]
call fcn.1002c1d0
lea eax, [edi + 0x180]
mov dword [eax], 0
lea eax, [edi + 0x258]
mov dword [edi + 0x18c], eax
mov eax, dword [ebp - 0x74]
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
test eax, eax
je 0x10023ab8
mov eax, dword [eax + 0x194]
jmp 0x10023abd
mov eax, 1
mov dword [edi + 0x198], eax
mov dword [edi + 0x1a0], 0xffffffff
mov dword [edi + 0x19c], 0xffffffff
mov eax, dword [edi + 0x254]
mov dword [edi + 0x1a8], eax
lea eax, [edi + 0x1b0]
mov dword [edi + 0x1ac], 0xbf800000
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10023b1c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1b0]
call fcn.1002c1d0
lea eax, [edi + 0x1b0]
mov dword [eax], 0
lea eax, [edi + 0x1bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10023b51
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1bc]
call fcn.1002c1d0
lea eax, [edi + 0x1bc]
mov dword [eax], 0
lea eax, [edi + 0x1c8]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x10023b86
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x1c8]
call fcn.1002c1d0
lea eax, [edi + 0x1c8]
push 0
lea ecx, [edi + 0x1d4]
mov dword [eax], 0
call fcn.1002bd10
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10023bfc
mov eax, dword [eax + 0x1a4]
lea ecx, [edi + 0x1b0]
mov dword [edi + 0x1a4], eax
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
cmp edx, eax
jne 0x10023be6
inc edx
mov dword [ebp - 0x5c], edx
test eax, eax
je 0x10023bd0
cdq
sub eax, edx
mov edx, dword [ebp - 0x5c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10023bd5
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1002c1d0
lea ecx, [edi + 0x1b0]
mov edx, dword [ecx]
mov ecx, dword [ecx + 8]
mov eax, dword [edi + 0x1a4]
mov dword [ecx + edx*4], eax
inc dword [edi + 0x1b0]
jmp 0x10023c06
mov dword [edi + 0x1a4], 0
mov al, byte [edi + 0x90]
test al, al
jle 0x10023c18
dec al
mov byte [edi + 0x90], al
mov al, byte [edi + 0x91]
test al, al
jle 0x10023c2a
dec al
mov byte [edi + 0x91], al
cmp byte [ebp - 0x58], 0
je 0x10023c40
mov ecx, edi
call fcn.100241c0
xor dl, dl
mov ecx, edi
call fcn.10027d10
test byte [ebp - 0x38], 1
jne 0x10023c5d
push ecx
push dword [ebp - 0x84]
lea edx, [ebp - 0xa0]
mov ecx, edi
call fcn.10021340
add esp, 8
mov ecx, dword [0x100a1be4]
mov eax, dword [edi + 0x48]
movss xmm2, dword [ebp - 0xa0]
movss xmm4, dword [ebp - 0x98]
movss xmm3, dword [ebp - 0x94]
mov dword [edi + 0x10c], eax
movss xmm1, dword [ecx + 0x1570]
movss xmm0, dword [ecx + 0x1574]
subss xmm2, xmm1
movss xmm5, dword [ecx + 0xe8]
addss xmm4, xmm1
movss xmm1, dword [ebp - 0x9c]
addss xmm3, xmm0
subss xmm1, xmm0
comiss xmm5, xmm2
jb 0x10023cd7
movss xmm0, dword [ecx + 0xec]
comiss xmm0, xmm1
jb 0x10023cd7
comiss xmm4, xmm5
jbe 0x10023cd7
comiss xmm3, xmm0
jbe 0x10023cd7
mov eax, 1
jmp 0x10023cd9
xor eax, eax
movups xmm0, xmmword [ebp - 0xa0]
mov dword [edi + 0x110], eax
movups xmmword [edi + 0x114], xmm0
jmp 0x10023d2d
mov ecx, dword [0x100a1be4]
movss xmm0, dword [ecx + 0x18d4]
mov dword [ecx + 0x1a00], edi
mov eax, dword [edi + 0x2f4]
mulss xmm0, dword [edi + 0x270]
test eax, eax
je 0x10023d1d
mulss xmm0, dword [eax + 0x270]
movss dword [ecx + 0x18e4], xmm0
movss dword [ecx + 0x18d0], xmm0
mov eax, dword [ecx + 0x1a00]
mov byte [eax + 0x7c], 1
mov eax, dword [ecx + 0x1a00]
movss xmm3, dword [edi + 0x214]
movss xmm2, dword [edi + 0x218]
movss xmm1, dword [edi + 0x20c]
movss xmm0, dword [edi + 0x210]
mov dword [ebp - 0x6c], eax
mov eax, dword [eax + 0x278]
mov dword [ebp - 0x44], eax
movss dword [ebp - 0xa0], xmm1
movss dword [ebp - 0x9c], xmm0
mov ecx, dword [eax + 0x40]
movss dword [ebp - 0x98], xmm3
movss dword [ebp - 0x94], xmm2
test ecx, ecx
je 0x10023dfc
mov eax, dword [eax + 0x48]
add ecx, ecx
movups xmm4, xmmword [eax + ecx*8 - 0x10]
comiss xmm4, xmm1
movaps xmmword [ebp - 0xb0], xmm4
jbe 0x10023db1
movaps xmm1, xmm4
movss dword [ebp - 0xa0], xmm1
movss xmm4, dword [ebp - 0xac]
comiss xmm4, xmm0
jbe 0x10023dc9
movaps xmm0, xmm4
movss dword [ebp - 0x9c], xmm0
movss xmm4, dword [ebp - 0xa8]
comiss xmm3, xmm4
jbe 0x10023de1
movaps xmm3, xmm4
movss dword [ebp - 0x98], xmm3
movss xmm4, dword [ebp - 0xa4]
comiss xmm2, xmm4
mov eax, dword [ebp - 0x44]
jbe 0x10023dfc
movaps xmm2, xmm4
movss dword [ebp - 0x94], xmm2
comiss xmm1, xmm3
jb 0x10023e09
movss dword [ebp - 0x98], xmm1
comiss xmm0, xmm2
jb 0x10023e16
movss dword [ebp - 0x94], xmm0
mov edx, dword [eax + 0x40]
lea ecx, [eax + 0x40]
mov eax, dword [ecx + 4]
mov dword [ebp - 0x4c], ecx
cmp edx, eax
jne 0x10023e4e
inc edx
mov dword [ebp - 0x5c], edx
test eax, eax
je 0x10023e3b
cdq
sub eax, edx
mov edx, dword [ebp - 0x5c]
sar eax, 1
add eax, dword [ecx + 4]
jmp 0x10023e40
mov eax, 8
cmp eax, edx
cmovg edx, eax
push edx
call fcn.1003b3b0
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ecx]
movups xmm0, xmmword [ebp - 0xa0]
shl eax, 4
add eax, dword [ecx + 8]
movups xmmword [eax], xmm0
inc dword [ecx]
mov ecx, dword [ebp - 0x44]
call fcn.10033cd0
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ecx + 0x278]
add eax, 0x40
mov dword [ebp - 0x5c], eax
cmp dword [eax], 0
jg 0x10023e98
push 0x52d
push str.D:MGREffectEditorEffectEditorimguiimgui.h
push str.Size___0
call fcn.100679c3
mov eax, dword [ebp - 0x5c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [eax + 8]
add ecx, ecx
movss xmm0, dword [eax + ecx*8 - 0xc]
movss xmm1, dword [eax + ecx*8 - 8]
movss xmm2, dword [eax + ecx*8 - 4]
mov eax, dword [eax + ecx*8 - 0x10]
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x22c], eax
mov eax, dword [ebp - 0x7c]
movss dword [ecx + 0x230], xmm0
movss dword [ecx + 0x234], xmm1
movss dword [ecx + 0x238], xmm2
cmp eax, dword [ebp - 0x80]
je 0x10023ee2
mov byte [edi + 0x7c], 0
inc word [edi + 0x86]
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1a80], 0
test eax, 0x1000000
je 0x10023f9a
test al, 1
jne 0x10023f1f
push 0x1759
push str.D:MGREffectEditorEffectEditorimguiimgui.cpp
push str._flags__ImGuiWindowFlags_NoTitleBar____0
call fcn.100679c3
mov eax, dword [ebp - 0x38]
add esp, 0xc
test al, 0x40
jne 0x10023f61
cmp byte [edi + 0x90], 0
jg 0x10023f61
cmp byte [edi + 0x91], 0
jg 0x10023f61
movss xmm0, dword [edi + 0x1ec]
comiss xmm0, dword [edi + 0x1f4]
jae 0x10023f57
movss xmm0, dword [edi + 0x1f0]
comiss xmm0, dword [edi + 0x1f8]
jb 0x10023f61
mov dword [edi + 0x98], 1
mov eax, dword [ebp - 0x74]
test eax, eax
je 0x10023f9a
cmp byte [eax + 0x7d], 0
jne 0x10023f77
cmp dword [eax + 0x98], 0
jle 0x10023f81
mov dword [edi + 0x98], 1
cmp byte [eax + 0x7d], 0
jne 0x10023f90
cmp dword [eax + 0x9c], 0
jle 0x10023f9a
mov dword [edi + 0x9c], 1
movss xmm0, dword [ebp - 0x54]
comiss xmm0, dword [esi + 0x1518]
jb 0x10023fb2
mov dword [edi + 0x98], 1
cmp dword [edi + 0x98], 0
jg 0x10023fc8
cmp dword [edi + 0x9c], 0
jg 0x10023fc8
xor cl, cl
jmp 0x10023fca
mov cl, 1
xor al, al
mov byte [edi + 0x81], cl
cmp byte [edi + 0x7d], al
jne 0x10023fe0
cmp byte [edi + 0x7a], al
je 0x10023fe0
test cl, cl
je 0x10024004
cmp byte [edi + 0x90], 0
jg 0x10024004
cmp byte [edi + 0x91], 0
jg 0x10024004
cmp dword [edi + 0x9c], 0
mov ecx, 1
movzx eax, al
cmovle eax, ecx
mov ecx, dword [ebp - 4]
mov byte [edi + 0x7f], al
xor ecx, ebp
pop edi
xor al, 1
pop esi
call fcn.10054d47
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret