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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1010e440]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push 0
push eax
push str.Example:_Custom_rendering
call fcn.10004ec8
add esp, 0xc
test al, al
je 0x10033886
mov eax, dword [0x1010ef8c]
test eax, eax
je 0x1003220c
push dword [0x1010ef90]
push str.Examples_Custom_Rendering
push 0x1d5f
push str.D:InfoSAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_demo.cpp
call eax
add esp, 0x10
push 0
push str.TabBar
call fcn.1005691e
pop ecx
pop ecx
test al, al
je 0x10033886
push esi
push edi
push 0
push 0
push str.Primitives
call fcn.10056aaf
add esp, 0xc
test al, al
je 0x1003312b
call fcn.10007ca9
fmul dword [0x100c99b4]
push ecx
fstp dword [esp]
call fcn.10007b1a
call fcn.1000720a
mov edi, eax
mov dword [esp], str.Gradients
mov dword [esp + 0xbc], edi
call fcn.1004ea50
call fcn.1000842e
fstp dword [esp + 0xc4]
call fcn.10007bb9
movss xmm0, dword [esp + 0xc4]
lea eax, [esp + 0xc0]
push eax
fstp dword [esp + 0xa4]
movss dword [esp + 0xa8], xmm0
call fcn.100083b9
movss xmm1, dword [esp + 0xa4]
movss xmm0, dword [esp + 0xa8]
addss xmm1, dword [esp + 0xc4]
addss xmm0, dword [esp + 0xc8]
push 0xff000000
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x98], xmm0
call fcn.10007d4f
push 0xffffffffffffffff
mov esi, eax
call fcn.10007d4f
add esp, 0x10
mov ecx, edi
push esi
push eax
push eax
push esi
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.10037a9d
push 0
lea eax, [esp + 0xa0]
push eax
push str.gradient1
call fcn.1004effd
lea eax, [esp + 0xc8]
push eax
call fcn.100083b9
movss xmm1, dword [esp + 0xcc]
movss xmm0, dword [esp + 0xd0]
addss xmm1, dword [esp + 0xac]
addss xmm0, dword [esp + 0xb0]
push 0xff00ff00
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm0
call fcn.10007d4f
push 0xff0000ff
mov esi, eax
call fcn.10007d4f
add esp, 0x18
mov ecx, edi
push esi
push eax
push eax
push esi
lea eax, [esp + 0x98]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.10037a9d
xor edi, edi
lea eax, [esp + 0x9c]
push edi
push eax
push str.gradient2
call fcn.1004effd
push str.All_primitives
call fcn.1004ea50
add esp, 0x10
push edi
push str._.0f
sub esp, 0xc
mov dword [esp + 8], 0x42c80000
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x3e4ccccd
push 0x100ea5b0
push str.Size
call fcn.10050606
add esp, 0x1c
push edi
push str._.02f
sub esp, 0xc
mov dword [esp + 8], 0x41000000
mov dword [esp + 4], 0x3f800000
mov dword [esp], 0x3d4ccccd
push 0x100ea5b4
push str.Thickness
call fcn.10050606
push edi
mov esi, 0x100ba16c
push esi
push 0xc
push 3
push 0x100ea5b8
push str.N_gon_sides
call fcn.1005124b
push 0x10110288
push str.circlesegmentoverride
call fcn.1004f107
call fcn.10001c35
add esp, 0x34
movss xmm0, dword [eax + 0x54]
movss dword [esp + 4], xmm0
and dword [esp], edi
call fcn.10007db6
push edi
push esi
push 0x28
push 3
push 0x100ea5bc
push str.Circle_segments_override
call fcn.1005124b
or byte [0x10110288], al
push 0x10110289
push str.curvessegmentoverride
call fcn.1004f107
call fcn.10001c35
add esp, 0x20
movss xmm0, dword [eax + 0x54]
movss dword [esp + 4], xmm0
and dword [esp], edi
call fcn.10007db6
push edi
push esi
push 0x28
push 3
push 0x100ea5c0
push str.Curves_segments_override
call fcn.1005124b
or byte [0x10110289], al
mov esi, 0x100ea5c4
push edi
push esi
push str.Color
call fcn.10052324
lea eax, [esp + 0xac]
push eax
call fcn.100083b9
lea edi, [esp + 0xd4]
movsd dword es:[edi], dword [esi]
lea eax, [esp + 0xd4]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10009def
movss xmm3, dword [0x100ea5b0]
add esp, 0x34
movaps xmm0, xmm3
mov edi, eax
mulss xmm0, dword [0x100bbde8]
movss xmm4, dword [esp + 0x80]
xor eax, eax
cmp byte [0x10110288], al
movss xmm2, dword [esp + 0x84]
cmovne eax, dword [0x100ea5bc]
addss xmm4, dword [0x100bbe50]
addss xmm2, dword [0x100bbe50]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xc0], eax
xor eax, eax
cmp byte [0x10110289], al
movss dword [esp + 0x7c], xmm0
cmovne eax, dword [0x100ea5c0]
mov dword [esp + 0x78], eax
xor eax, eax
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm2
mov dword [esp + 0x8c], eax
test eax, eax
jne 0x1003258a
movss xmm5, dword [0x100bbe20]
jmp 0x10032592
movss xmm5, dword [0x100ea5b4]
mulss xmm3, dword [0x100bbdf8]
lea eax, [esp + 0x70]
push ecx
movss dword [esp], xmm5
push dword [0x100ea5b8]
movaps xmm1, xmm3
movss dword [esp + 0xc0], xmm5
movaps xmm0, xmm3
addss xmm1, xmm4
push edi
addss xmm0, xmm2
push ecx
movss dword [esp], xmm3
mov ecx, esi
push eax
movss dword [esp + 0x84], xmm1
movss dword [esp + 0x88], xmm0
call fcn.10037e77
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0x68]
movaps xmm0, xmm2
mulss xmm2, dword [0x100bbdf8]
push ecx
addss xmm0, dword [0x100bbe68]
movaps xmm1, xmm2
addss xmm0, dword [esp + 0xd4]
addss xmm1, xmm0
movss dword [esp + 0xd4], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0xd8]
movss dword [esp + 0x6c], xmm1
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp], xmm0
push dword [esp + 0xc4]
push edi
push ecx
movss dword [esp], xmm2
mov ecx, esi
push eax
call fcn.10037cfc
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0x60]
movss xmm2, dword [0x100ea5b0]
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm4
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, dword [0x100bbe68]
push ecx
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm3, dword [esp + 0xd4]
movss dword [esp], xmm0
push 0
push ecx
and dword [esp], 0
mov ecx, esi
push edi
addss xmm1, xmm3
movss dword [esp + 0xe0], xmm3
push eax
lea eax, [esp + 0x6c]
movss dword [esp + 0x6c], xmm3
push eax
movss dword [esp + 0x78], xmm1
call fcn.1003793b
movss xmm2, dword [0x100ea5b0]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100bbe68]
movaps xmm1, xmm2
movaps xmm0, xmm4
addss xmm0, xmm2
addss xmm3, dword [esp + 0xd0]
movss dword [esp + 0x54], xmm0
addss xmm1, xmm3
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0x48], xmm3
movss dword [esp + 0x50], xmm1
movss xmm0, dword [esp + 0xb8]
lea eax, [esp + 0x50]
push ecx
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x80]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, esi
push edi
push eax
lea eax, [esp + 0x5c]
movss dword [esp + 0x60], xmm4
push eax
call fcn.1003793b
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0x40]
movss xmm2, dword [0x100ea5b0]
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x3c], xmm4
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, dword [0x100bbe68]
push ecx
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm3, dword [esp + 0xd4]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x80]
push 0x90
push ecx
movss dword [esp], xmm0
addss xmm1, xmm3
push edi
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0xe4], xmm3
push eax
mov ecx, esi
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x50], xmm3
call fcn.1003793b
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0x30]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100bbe68]
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm4
push ecx
movaps xmm1, xmm4
mov ecx, esi
addss xmm1, xmm2
mulss xmm2, dword [0x100bbdf8]
addss xmm3, dword [esp + 0xd4]
subss xmm1, dword [0x100bbdf8]
addss xmm0, xmm3
movss dword [esp + 0xd4], xmm3
addss xmm2, xmm3
movss dword [esp + 0x34], xmm3
movss dword [esp + 0x38], xmm1
movss dword [esp + 0x30], xmm1
movss dword [esp + 0x2c], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp], xmm0
push edi
push eax
lea eax, [esp + 0x34]
movss dword [esp + 0x2c], xmm2
push eax
lea eax, [esp + 0x30]
push eax
call fcn.10037c5d
movss xmm0, dword [0x100ea5b0]
movaps xmm1, xmm0
addss xmm1, dword [0x100bbe68]
addss xmm1, dword [esp + 0xd0]
addss xmm0, xmm1
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0xd4]
lea eax, [esp + 0x18]
push ecx
movss dword [esp + 0x20], xmm0
mov ecx, esi
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0xbc]
movss dword [esp], xmm0
push edi
push eax
lea eax, [esp + 0x1c]
movss dword [esp + 0x1c], xmm1
push eax
call fcn.1003789b
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 8]
addss xmm2, dword [0x100bbe68]
movss xmm3, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm3
addss xmm1, dword [0x100ea5b0]
push ecx
addss xmm2, dword [esp + 0xd4]
movss dword [esp], xmm0
mov ecx, esi
push edi
push eax
lea eax, [esp + 0x9c]
movss dword [esp + 0x18], xmm1
push eax
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0x18], xmm2
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm3
call fcn.1003789b
movss xmm3, dword [esp + 0xd0]
lea eax, [esp + 0xc4]
addss xmm3, dword [0x100bbe68]
movss xmm4, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm4
movss xmm2, dword [0x100ea5b0]
addss xmm1, dword [0x100ea5b0]
push ecx
movss dword [esp], xmm0
addss xmm2, xmm3
push edi
push eax
lea eax, [esp + 0xb8]
movss dword [esp + 0xdc], xmm3
push eax
mov ecx, esi
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xd8], xmm1
movss dword [esp + 0xbc], xmm3
movss dword [esp + 0xc0], xmm4
call fcn.1003789b
movss xmm3, dword [0x100ea5b0]
movss xmm5, dword [esp + 0xd4]
movaps xmm0, xmm3
mulss xmm0, dword [0x100bbdfc]
movaps xmm4, xmm3
addss xmm4, dword [0x100bbe68]
movaps xmm2, xmm3
movaps xmm1, xmm5
mulss xmm2, dword [0x100bbdf8]
addss xmm0, xmm5
addss xmm4, dword [esp + 0xd0]
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100bbdf4]
addss xmm2, xmm4
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xf8], xmm4
subss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, xmm3
movss dword [esp + 0x100], xmm2
movss dword [esp + 0x104], xmm1
movaps xmm1, xmm3
addss xmm1, xmm4
push dword [esp + 0x78]
movss dword [esp + 0x110], xmm0
lea eax, [esp + 0x10c]
movss xmm0, dword [esp + 0xbc]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push edi
push eax
lea eax, [esp + 0x110]
movss dword [esp + 0x118], xmm1
push eax
lea eax, [esp + 0x10c]
push eax
call fcn.100391a1
movss xmm6, dword [0x100ea5b0]
lea eax, [esp + 0xf0]
movss xmm7, dword [esp + 0xd4]
movaps xmm5, xmm6
addss xmm5, dword [0x100bbe68]
push dword [esp + 0x78]
movaps xmm2, xmm6
movss dword [esp + 0xe0], xmm7
mulss xmm2, dword [0x100c9948]
movaps xmm3, xmm6
push ecx
addss xmm5, dword [esp + 0xd8]
movaps xmm4, xmm6
mov ecx, esi
mulss xmm4, dword [0x100bbdf0]
movaps xmm1, xmm2
addss xmm1, xmm5
movss dword [esp + 0xe0], xmm5
addss xmm3, xmm5
movaps xmm0, xmm4
addss xmm0, xmm7
movss dword [esp + 0xe8], xmm1
movaps xmm1, xmm3
movss dword [esp + 0xf8], xmm3
subss xmm1, xmm2
movss dword [esp + 0xec], xmm0
movaps xmm2, xmm7
addss xmm2, xmm6
movss dword [esp + 0xf0], xmm1
movaps xmm0, xmm2
movss dword [esp + 0xfc], xmm2
subss xmm0, xmm4
movss dword [esp + 0xf4], xmm0
movss xmm0, dword [esp + 0xc0]
movss dword [esp], xmm0
push edi
push eax
lea eax, [esp + 0xf8]
push eax
lea eax, [esp + 0xf4]
push eax
lea eax, [esp + 0xf0]
push eax
call fcn.1003914c
movss xmm3, dword [0x100ea5b0]
movss xmm2, dword [esp + 0xd4]
movaps xmm0, xmm3
addss xmm0, dword [0x100bbe68]
movss xmm4, dword [esp + 0x80]
addss xmm4, dword [0x100bbe50]
mov eax, dword [esp + 0x8c]
inc eax
mov dword [esp + 0x8c], eax
addss xmm2, xmm0
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm2
cmp eax, 2
jl 0x1003257c
mulss xmm3, dword [0x100bbdf8]
lea eax, [esp + 0xac]
push dword [0x100ea5b8]
movaps xmm1, xmm3
movaps xmm0, xmm3
push edi
addss xmm1, xmm4
addss xmm0, xmm2
push ecx
movss dword [esp], xmm3
mov ecx, esi
push eax
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xc0], xmm0
call fcn.10037efc
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0xac]
push dword [esp + 0xc0]
movaps xmm0, xmm2
mulss xmm2, dword [0x100bbdf8]
push edi
addss xmm0, dword [0x100bbe68]
push ecx
movaps xmm1, xmm2
movss dword [esp], xmm2
push eax
mov ecx, esi
addss xmm0, dword [esp + 0xe0]
addss xmm1, xmm0
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xc0], xmm0
call fcn.10037dc2
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100bbe68]
push 0
push ecx
and dword [esp], 0
movaps xmm1, xmm2
movaps xmm0, xmm4
movss dword [esp + 0xd0], xmm4
addss xmm3, dword [esp + 0x94]
push edi
addss xmm0, xmm2
mov ecx, esi
push eax
lea eax, [esp + 0xd4]
addss xmm1, xmm3
movss dword [esp + 0xd0], xmm3
push eax
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xc0], xmm1
call fcn.10037a25
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100bbe68]
push 0
push ecx
movaps xmm1, xmm2
mov dword [esp], 0x41200000
movaps xmm0, xmm4
movss dword [esp + 0xd0], xmm4
addss xmm3, dword [esp + 0xc8]
addss xmm0, xmm2
push edi
push eax
lea eax, [esp + 0xd4]
addss xmm1, xmm3
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xd4], xmm3
push eax
movss dword [esp + 0xc0], xmm1
mov ecx, esi
call fcn.10037a25
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100bbe68]
push 0x90
push ecx
mov dword [esp], 0x41200000
movaps xmm1, xmm2
movaps xmm0, xmm4
movss dword [esp + 0xd0], xmm4
addss xmm3, dword [esp + 0xc8]
push edi
addss xmm0, xmm2
mov ecx, esi
push eax
lea eax, [esp + 0xd4]
addss xmm1, xmm3
movss dword [esp + 0xd0], xmm3
push eax
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xc0], xmm1
call fcn.10037a25
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100bbe68]
movaps xmm1, xmm4
movss dword [esp + 0x94], xmm4
addss xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [0x100bbdf8]
mov ecx, esi
push edi
addss xmm3, dword [esp + 0xc4]
push eax
subss xmm1, dword [0x100bbdf8]
lea eax, [esp + 0xcc]
push eax
addss xmm0, xmm3
movss dword [esp + 0xcc], xmm3
addss xmm2, xmm3
movss dword [esp + 0xb8], xmm3
lea eax, [esp + 0x9c]
movss dword [esp + 0xbc], xmm1
push eax
movss dword [esp + 0xd8], xmm1
movss dword [esp + 0xd4], xmm0
movss dword [esp + 0xa0], xmm2
call fcn.10037cb3
movss xmm1, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movss xmm3, dword [esp + 0xd4]
movaps xmm2, xmm1
addss xmm2, dword [0x100bbe68]
push 0
push ecx
and dword [esp], 0
movaps xmm0, xmm3
addss xmm0, dword [0x100ea5b4]
addss xmm2, dword [esp + 0xc8]
push edi
push eax
lea eax, [esp + 0xd4]
movss dword [esp + 0xd8], xmm3
push eax
addss xmm1, xmm2
movss dword [esp + 0xd4], xmm2
mov ecx, esi
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd8], xmm2
movss dword [esp + 0xc0], xmm1
call fcn.10037a25
movss xmm3, dword [0x100ea5b0]
addss xmm3, dword [0x100bbe68]
addss xmm3, dword [esp + 0xc0]
movss dword [esp + 0xd0], xmm3
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0xac]
movss xmm1, dword [0x100ea5b4]
movaps xmm0, xmm4
addss xmm0, dword [0x100ea5b0]
push 0
push ecx
and dword [esp], 0
addss xmm1, xmm3
push edi
push eax
lea eax, [esp + 0xd4]
movss dword [esp + 0xc0], xmm0
push eax
mov ecx, esi
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xdc], xmm4
call fcn.10037a25
movss xmm1, dword [esp + 0xd0]
lea eax, [esp + 0xac]
addss xmm1, dword [0x100bbe78]
movss xmm2, dword [esp + 0xd4]
push 0
push ecx
and dword [esp], 0
mov ecx, esi
movaps xmm0, xmm1
movss dword [esp + 0xd8], xmm1
addss xmm0, dword [0x100bbe20]
push edi
push eax
lea eax, [esp + 0xd4]
movss dword [esp + 0xd4], xmm1
push eax
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100bbe20]
movss dword [esp + 0xdc], xmm2
movss dword [esp + 0xc4], xmm0
call fcn.10037a25
movss xmm2, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [esp + 0xd0]
push 0xff00ff00
push 0xff00ffff
push 0xff0000ff
movaps xmm1, xmm2
movss dword [esp + 0xd4], xmm4
movaps xmm0, xmm4
movss dword [esp + 0xd0], xmm3
push 0xff000000
addss xmm1, xmm3
mov ecx, esi
addss xmm0, xmm2
push eax
lea eax, [esp + 0xd8]
push eax
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0xc8], xmm0
call fcn.10037a9d
movss xmm1, dword [0x100ea5b0]
lea eax, [esp + 0xac]
movaps xmm0, xmm1
mulss xmm1, dword [0x100bbe48]
push eax
mulss xmm0, dword [0x100c9964]
addss xmm1, dword [0x100c9970]
addss xmm0, dword [0x100bbe9c]
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb0], xmm0
call fcn.1004e958
pop ecx
call fcn.10007b65
call fcn.10056b10
push 0
push 0
push str.Canvas
call fcn.10056aaf
add esp, 0xc
test al, al
je 0x10033727
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10137b54]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10110298]
cmp eax, dword [ecx + 4]
jg 0x100338a0
push 0x100ea5d4
push str.Enable_grid
call fcn.1004f107
push 0x100ea5d5
push str.Enable_context_menu
call fcn.1004f107
push str.Mouse_Left:_drag_to_add_lines__nMouse_Right:_drag_to_scroll__click_for_context_menu.
call fcn.1004ea50
lea eax, [esp + 0xe0]
push eax
call fcn.100083b9
lea eax, [esp + 0xcc]
push eax
call fcn.10007537
movss xmm0, dword [0x100c9978]
add esp, 0x1c
movss xmm2, dword [esp + 0xb4]
comiss xmm0, xmm2
jbe 0x100331cb
movaps xmm2, xmm0
movss dword [esp + 0xb4], xmm2
movss xmm1, dword [esp + 0xb8]
comiss xmm0, xmm1
jbe 0x100331e5
movaps xmm1, xmm0
movss dword [esp + 0xb8], xmm1
movss xmm0, dword [esp + 0xcc]
addss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xd0]
addss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
call fcn.10001c2c
mov esi, eax
call fcn.1000720a
push 0
push ecx
and dword [esp], 0
mov edi, eax
push 0xff323232
lea eax, [esp + 0xa8]
mov ecx, edi
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.10037a25
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0xa0]
push 0
push ecx
and dword [esp], 0
mov ecx, edi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1003793b
push 3
lea eax, [esp + 0xb8]
push eax
push str.canvas
call fcn.1004effd
push 0
call fcn.1000952f
add esp, 0x10
mov byte [esp + 0x9b], al
call fcn.10009685
cmp byte [esp + 0x9b], 0
movss xmm0, dword [0x1011029c]
addss xmm0, dword [esp + 0xcc]
movss xmm1, dword [0x101102a0]
addss xmm1, dword [esp + 0xd0]
movss xmm2, dword [esi + 0xdb8]
mov byte [esp + 0x9a], al
subss xmm2, xmm0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [esi + 0xdbc]
subss xmm0, xmm1
movss dword [esp + 0x78], xmm1
movss dword [esp + 0xc0], xmm2
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x84], xmm0
je 0x10033354
cmp byte [0x101102a4], 0
jne 0x1003336f
push 0
push 0
call fcn.1000a185
pop ecx
pop ecx
test al, al
je 0x10033354
lea eax, [esp + 0x80]
mov ecx, 0x1011028c
push eax
call fcn.1001fb9a
lea eax, [esp + 0x80]
mov ecx, 0x1011028c
push eax
call fcn.1001fb9a
mov al, 1
mov byte [0x101102a4], al
jmp 0x10033359
mov al, byte [0x101102a4]
test al, al
je 0x100333a2
movss xmm2, dword [esp + 0xc0]
movss xmm0, dword [esp + 0x8c]
mov ecx, dword [0x10110294]
mov eax, dword [0x1011028c]
push 0
movss dword [ecx + eax*8 - 8], xmm2
mov ecx, dword [0x10110294]
mov eax, dword [0x1011028c]
movss dword [ecx + eax*8 - 4], xmm0
call fcn.1000a157
pop ecx
test al, al
jne 0x100333a2
mov byte [0x101102a4], al
cmp byte [0x100ea5d5], 0
je 0x100333b5
movss xmm0, dword [0x100bbebc]
jmp 0x100333b8
xorps xmm0, xmm0
cmp byte [esp + 0x9a], 0
je 0x10033405
push ecx
movss dword [esp], xmm0
push 1
call fcn.1000a386
pop ecx
pop ecx
test al, al
je 0x10033405
movss xmm0, dword [0x1011029c]
addss xmm0, dword [esi + 0xb0]
movss dword [0x1011029c], xmm0
movss xmm0, dword [0x101102a0]
addss xmm0, dword [esi + 0xb4]
movss dword [0x101102a0], xmm0
push ecx
mov dword [esp], 0xbf800000
lea eax, [esp + 0xb0]
push 1
push eax
call fcn.1000a3b1
add esp, 0xc
mov esi, str.context
cmp byte [0x100ea5d5], 0
je 0x1003345e
movss xmm0, dword [esp + 0xac]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003345e
movss xmm0, dword [esp + 0xb0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1003345e
push 1
push esi
call fcn.10008770
pop ecx
pop ecx
push 0
push esi
call fcn.100085be
pop ecx
pop ecx
test al, al
je 0x100334f5
cmp byte [0x101102a4], 0
mov esi, 0x1011028c
je 0x1003348e
mov eax, dword [0x1011028c]
mov ecx, esi
add eax, 0xfffffffe
push eax
call fcn.100201d1
xor ecx, ecx
cmp dword [0x1011028c], ecx
mov byte [0x101102a4], cl
setg al
movzx eax, al
push eax
push ecx
push ecx
push str.Remove_one
call fcn.100568c5
add esp, 0x10
test al, al
je 0x100334c6
mov eax, dword [0x1011028c]
mov ecx, esi
add eax, 0xfffffffe
push eax
call fcn.100201d1
cmp dword [0x1011028c], 0
setg al
movzx eax, al
push eax
push 0
push 0
push str.Remove_all
call fcn.100568c5
add esp, 0x10
test al, al
je 0x100334f0
mov ecx, esi
call fcn.1001f5d7
call fcn.100086e7
push 1
lea eax, [esp + 0xa0]
mov ecx, edi
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.10037728
cmp byte [0x100ea5d4], 0
je 0x1003367c
fld dword [0x1011029c]
fld dword [0x100c997c]
call fcn.100a22e0
fstp dword [esp + 0xc0]
movss xmm1, dword [esp + 0xc0]
mov esi, 0x28c8c8c8
jmp 0x100335b3
addss xmm1, dword [esp + 0xcc]
movss xmm0, dword [esp + 0xa0]
lea eax, [esp + 0xc4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push eax
movss dword [esp + 0xd4], xmm0
lea eax, [esp + 0x9c]
movss xmm0, dword [esp + 0xdc]
push eax
movss dword [esp + 0xd4], xmm1
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm0
call fcn.1003789b
movss xmm1, dword [esp + 0xc0]
addss xmm1, dword [0x100c997c]
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
movss dword [esp + 0xc0], xmm1
ja 0x10033543
fld dword [0x101102a0]
fld dword [0x100c997c]
call fcn.100a22e0
fstp dword [esp + 0xc0]
movss xmm1, dword [esp + 0xc0]
jmp 0x10033661
addss xmm1, dword [esp + 0xd0]
movss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0xc4]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push eax
movss dword [esp + 0xd0], xmm0
lea eax, [esp + 0x9c]
movss xmm0, dword [esp + 0xd8]
push eax
movss dword [esp + 0xd8], xmm1
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
call fcn.1003789b
movss xmm1, dword [esp + 0xc0]
addss xmm1, dword [0x100c997c]
movss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm1
movss dword [esp + 0xc0], xmm1
ja 0x100335f1
xor esi, esi
cmp dword [0x1011028c], esi
jle 0x1003371b
mov eax, dword [0x10110294]
movss xmm1, dword [esp + 0x78]
movss xmm0, dword [esp + 0x7c]
push ecx
addss xmm1, dword [eax + esi*8 + 0xc]
addss xmm0, dword [eax + esi*8 + 8]
mov dword [esp], 0x40000000
mov ecx, edi
push 0xff00ffff
movss dword [esp + 0xd0], xmm1
movss xmm1, dword [esp + 0x80]
movss dword [esp + 0xcc], xmm0
addss xmm1, dword [eax + esi*8 + 4]
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [eax + esi*8]
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x9c]
movss dword [esp + 0xa0], xmm1
push eax
movss dword [esp + 0xa0], xmm0
call fcn.1003789b
add esi, 2
cmp esi, dword [0x1011028c]
jl 0x1003368a
mov ecx, edi
call fcn.1003782d
call fcn.10056b10
push 0
push 0
push str.BG_FG_draw_lists
call fcn.10056aaf
add esp, 0xc
pop edi
pop esi
test al, al
je 0x10033881
push 0x100ea5d6
push str.Draw_in_Background_draw_list
call fcn.1004f107
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.10007db6
push str.The_Background_draw_list_will_be_rendered_below_every_Dear_ImGui_windows.
call fcn.10023a02
push 0x100ea5d7
push str.Draw_in_Foreground_draw_list
call fcn.1004f107
add esp, 0xc
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.10007db6
push str.The_Foreground_draw_list_will_be_rendered_over_every_Dear_ImGui_windows.
call fcn.10023a02
lea eax, [esp + 0xb0]
push eax
call fcn.1000722a
lea eax, [esp + 0xa4]
push eax
call fcn.10007245
movss xmm0, dword [esp + 0xa8]
add esp, 0x14
cmp byte [0x100ea5d6], 0
mulss xmm0, dword [0x100bbdf8]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [0x100bbdf8]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x7c], xmm0
je 0x10033839
call fcn.10009898
movss xmm0, dword [esp + 0x94]
mulss xmm0, dword [0x100bbdfc]
push ecx
mov dword [esp], 0x41600000
push 0
push 0xc80000ff
push ecx
lea ecx, [esp + 0x88]
movss dword [esp], xmm0
push ecx
mov ecx, eax
call fcn.10037cfc
cmp byte [0x100ea5d7], 0
je 0x1003387c
call fcn.100098ac
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [0x100bbdfc]
push ecx
mov dword [esp], 0x41200000
push 0
push 0xc800ff00
push ecx
lea ecx, [esp + 0x88]
movss dword [esp], xmm0
push ecx
mov ecx, eax
call fcn.10037cfc
call fcn.10056b10
call fcn.100569be
call fcn.10006e0b
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.10090b29
add esp, 0x10c
ret
mov esi, 0x10110298
push esi
call fcn.10091148
cmp dword [0x10110298], 0xffffffff
pop ecx
jne 0x10033164
push 0x100b75e7
call fcn.100910b7
push esi
call fcn.100910f7
pop ecx
pop ecx
jmp 0x10033164