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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10110480]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push 0
push eax
push str.Example:_Custom_rendering
call fcn.10007d8e
add esp, 0xc
test al, al
je 0x10036c32
mov eax, dword [0x10110f9c]
test eax, eax
je 0x10035584
push dword [0x10110fa0]
push str.Examples_Custom_Rendering
push 0x1d5f
push str.D:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_demo.cpp
call eax
add esp, 0x10
push 0
push str.TabBar
call fcn.100594a6
pop ecx
pop ecx
test al, al
je 0x10036c32
push esi
push edi
push 0
push 0
push str.Primitives
call fcn.10059637
add esp, 0xc
test al, al
je 0x100364a3
call fcn.1000ab45
fmul dword [0x100cba54]
push ecx
fstp dword [esp]
call fcn.1000a9b6
call fcn.1000a0a6
mov edi, eax
mov dword [esp], str.Gradients
mov dword [esp + 0xbc], edi
call fcn.100515ec
call fcn.1000b2c6
fstp dword [esp + 0xcc]
call fcn.1000aa55
movss xmm0, dword [esp + 0xcc]
lea eax, [esp + 0xc8]
push eax
fstp dword [esp + 0xa4]
movss dword [esp + 0xa8], xmm0
call fcn.1000b251
movss xmm1, dword [esp + 0xa4]
movss xmm0, dword [esp + 0xa8]
addss xmm1, dword [esp + 0xcc]
addss xmm0, dword [esp + 0xd0]
push 0xff000000
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm0
call fcn.1000abeb
push 0xffffffffffffffff
mov esi, eax
call fcn.1000abeb
add esp, 0x10
mov ecx, edi
push esi
push eax
push eax
push esi
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.1003a525
push 0
lea eax, [esp + 0xa0]
push eax
push str.gradient1
call fcn.10051b99
lea eax, [esp + 0xd0]
push eax
call fcn.1000b251
movss xmm1, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xd8]
addss xmm1, dword [esp + 0xac]
addss xmm0, dword [esp + 0xb0]
push 0xff00ff00
movss dword [esp + 0xa4], xmm1
movss dword [esp + 0xa8], xmm0
call fcn.1000abeb
push 0xff0000ff
mov esi, eax
call fcn.1000abeb
add esp, 0x18
mov ecx, edi
push esi
push eax
push eax
push esi
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xd8]
push eax
call fcn.1003a525
xor edi, edi
lea eax, [esp + 0x9c]
push edi
push eax
push str.gradient2
call fcn.10051b99
push str.All_primitives
call fcn.100515ec
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 0x100ec5d0
push str.Size
call fcn.100531d2
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 0x100ec5d4
push str.Thickness
call fcn.100531d2
push edi
mov esi, 0x100bc254
push esi
push 0xc
push 3
push 0x100ec5d8
push str.N_gon_sides
call fcn.10053e17
push 0x10112298
push str.circlesegmentoverride
call fcn.10051ca3
call fcn.10004ac1
add esp, 0x34
movss xmm0, dword [eax + 0x54]
movss dword [esp + 4], xmm0
and dword [esp], edi
call fcn.1000ac52
push edi
push esi
push 0x28
push 3
push 0x100ec5dc
push str.Circle_segments_override
call fcn.10053e17
or byte [0x10112298], al
push 0x10112299
push str.curvessegmentoverride
call fcn.10051ca3
call fcn.10004ac1
add esp, 0x20
movss xmm0, dword [eax + 0x54]
movss dword [esp + 4], xmm0
and dword [esp], edi
call fcn.1000ac52
push edi
push esi
push 0x28
push 3
push 0x100ec5e0
push str.Curves_segments_override
call fcn.10053e17
or byte [0x10112299], al
mov esi, 0x100ec5e4
push edi
push esi
push str.Color
call fcn.10054ef2
lea eax, [esp + 0xac]
push eax
call fcn.1000b251
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.1000cc8e
movss xmm3, dword [0x100ec5d0]
add esp, 0x34
movaps xmm0, xmm3
mov edi, eax
mulss xmm0, dword [0x100bdecc]
movss xmm4, dword [esp + 0x80]
xor eax, eax
cmp byte [0x10112298], al
movss xmm2, dword [esp + 0x84]
cmovne eax, dword [0x100ec5dc]
addss xmm4, dword [0x100ba4d0]
addss xmm2, dword [0x100ba4d0]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xc8], eax
xor eax, eax
cmp byte [0x10112299], al
movss dword [esp + 0x7c], xmm0
cmovne eax, dword [0x100ec5e0]
mov dword [esp + 0x78], eax
xor eax, eax
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm2
mov dword [esp + 0x94], eax
test eax, eax
jne 0x10035902
movss xmm5, dword [0x100ba4c4]
jmp 0x1003590a
movss xmm5, dword [0x100ec5d4]
mulss xmm3, dword [0x100ba4c0]
lea eax, [esp + 0x70]
push ecx
movss dword [esp], xmm5
push dword [0x100ec5d8]
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.1003a8ff
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0x68]
movaps xmm0, xmm2
mulss xmm2, dword [0x100ba4c0]
push ecx
addss xmm0, dword [0x100ba4e8]
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 + 0xcc]
push edi
push ecx
movss dword [esp], xmm2
mov ecx, esi
push eax
call fcn.1003a784
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0x60]
movss xmm2, dword [0x100ec5d0]
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm4
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, dword [0x100ba4e8]
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.1003a3c3
movss xmm2, dword [0x100ec5d0]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100ba4e8]
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.1003a3c3
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0x40]
movss xmm2, dword [0x100ec5d0]
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x3c], xmm4
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, dword [0x100ba4e8]
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.1003a3c3
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0x30]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100ba4e8]
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm4
push ecx
movaps xmm1, xmm4
mov ecx, esi
addss xmm1, xmm2
mulss xmm2, dword [0x100ba4c0]
addss xmm3, dword [esp + 0xd4]
subss xmm1, dword [0x100ba4c0]
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.1003a6e5
movss xmm0, dword [0x100ec5d0]
movaps xmm1, xmm0
addss xmm1, dword [0x100ba4e8]
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.1003a323
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 8]
addss xmm2, dword [0x100ba4e8]
movss xmm3, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm3
addss xmm1, dword [0x100ec5d0]
push ecx
addss xmm2, dword [esp + 0xd4]
movss dword [esp], xmm0
mov ecx, esi
push edi
push eax
lea eax, [esp + 0x94]
movss dword [esp + 0x18], xmm1
push eax
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0x18], xmm2
movss dword [esp + 0x98], xmm2
movss dword [esp + 0x9c], xmm3
call fcn.1003a323
movss xmm3, dword [esp + 0xd0]
lea eax, [esp + 0xbc]
addss xmm3, dword [0x100ba4e8]
movss xmm4, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm4
movss xmm2, dword [0x100ec5d0]
addss xmm1, dword [0x100ec5d0]
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 + 0xcc], xmm2
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xbc], xmm3
movss dword [esp + 0xc0], xmm4
call fcn.1003a323
movss xmm3, dword [0x100ec5d0]
movss xmm5, dword [esp + 0xd4]
movaps xmm0, xmm3
mulss xmm0, dword [0x100bdedc]
movaps xmm4, xmm3
addss xmm4, dword [0x100ba4e8]
movaps xmm2, xmm3
movaps xmm1, xmm5
mulss xmm2, dword [0x100ba4c0]
addss xmm0, xmm5
addss xmm4, dword [esp + 0xd0]
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100bded8]
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.1003bc76
movss xmm6, dword [0x100ec5d0]
lea eax, [esp + 0xf0]
movss xmm7, dword [esp + 0xd4]
movaps xmm5, xmm6
addss xmm5, dword [0x100ba4e8]
push dword [esp + 0x78]
movaps xmm2, xmm6
movss dword [esp + 0xe0], xmm7
mulss xmm2, dword [0x100cb9f0]
movaps xmm3, xmm6
push ecx
addss xmm5, dword [esp + 0xd8]
movaps xmm4, xmm6
mov ecx, esi
mulss xmm4, dword [0x100bded4]
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.1003bc21
movss xmm3, dword [0x100ec5d0]
movss xmm2, dword [esp + 0xd4]
movaps xmm0, xmm3
addss xmm0, dword [0x100ba4e8]
movss xmm4, dword [esp + 0x80]
addss xmm4, dword [0x100ba4d0]
mov eax, dword [esp + 0x94]
inc eax
mov dword [esp + 0x94], eax
addss xmm2, xmm0
movss dword [esp + 0xd0], xmm4
movss dword [esp + 0xd4], xmm2
cmp eax, 2
jl 0x100358f4
mulss xmm3, dword [0x100ba4c0]
lea eax, [esp + 0xac]
push dword [0x100ec5d8]
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.1003a984
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0xac]
push dword [esp + 0xc8]
movaps xmm0, xmm2
mulss xmm2, dword [0x100ba4c0]
push edi
addss xmm0, dword [0x100ba4e8]
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 + 0xa4], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xc0], xmm0
call fcn.1003a84a
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100ba4e8]
push 0
push ecx
and dword [esp], 0
movaps xmm1, xmm2
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm4
addss xmm3, dword [esp + 0x9c]
push edi
addss xmm0, xmm2
mov ecx, esi
push eax
lea eax, [esp + 0xcc]
addss xmm1, xmm3
movss dword [esp + 0xd8], xmm3
push eax
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xc0], xmm1
call fcn.1003a4ad
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100ba4e8]
push 0
push ecx
movaps xmm1, xmm2
mov dword [esp], 0x41200000
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm4
addss xmm3, dword [esp + 0xd0]
addss xmm0, xmm2
push edi
push eax
lea eax, [esp + 0xcc]
addss xmm1, xmm3
movss dword [esp + 0xd8], xmm3
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xcc], xmm3
push eax
movss dword [esp + 0xc0], xmm1
mov ecx, esi
call fcn.1003a4ad
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100ba4e8]
push 0x90
push ecx
mov dword [esp], 0x41200000
movaps xmm1, xmm2
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm4
addss xmm3, dword [esp + 0xd0]
push edi
addss xmm0, xmm2
mov ecx, esi
push eax
lea eax, [esp + 0xcc]
addss xmm1, xmm3
movss dword [esp + 0xd8], xmm3
push eax
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xc0], xmm1
call fcn.1003a4ad
movss xmm2, dword [0x100ec5d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100ba4e8]
movaps xmm1, xmm4
movss dword [esp + 0x8c], xmm4
addss xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [0x100ba4c0]
mov ecx, esi
push edi
addss xmm3, dword [esp + 0xcc]
push eax
subss xmm1, dword [0x100ba4c0]
lea eax, [esp + 0xc4]
push eax
addss xmm0, xmm3
movss dword [esp + 0xd4], xmm3
addss xmm2, xmm3
movss dword [esp + 0xb8], xmm3
lea eax, [esp + 0x94]
movss dword [esp + 0xbc], xmm1
push eax
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0x98], xmm2
call fcn.1003a73b
movss xmm1, dword [0x100ec5d0]
lea eax, [esp + 0xac]
movss xmm3, dword [esp + 0xd4]
movaps xmm2, xmm1
addss xmm2, dword [0x100ba4e8]
push 0
push ecx
and dword [esp], 0
movaps xmm0, xmm3
addss xmm0, dword [0x100ec5d4]
addss xmm2, dword [esp + 0xd0]
push edi
push eax
lea eax, [esp + 0xcc]
movss dword [esp + 0xd0], xmm3
push eax
addss xmm1, xmm2
movss dword [esp + 0xdc], xmm2
mov ecx, esi
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd0], xmm2
movss dword [esp + 0xc0], xmm1
call fcn.1003a4ad
movss xmm3, dword [0x100ec5d0]
addss xmm3, dword [0x100ba4e8]
addss xmm3, dword [esp + 0xc8]
movss dword [esp + 0xd0], xmm3
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0xac]
movss xmm1, dword [0x100ec5d4]
movaps xmm0, xmm4
addss xmm0, dword [0x100ec5d0]
push 0
push ecx
and dword [esp], 0
addss xmm1, xmm3
push edi
push eax
lea eax, [esp + 0xcc]
movss dword [esp + 0xc0], xmm0
push eax
mov ecx, esi
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xd4], xmm4
call fcn.1003a4ad
movss xmm1, dword [esp + 0xd0]
lea eax, [esp + 0xac]
addss xmm1, dword [0x100ba510]
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 [0x100ba4c4]
push edi
push eax
lea eax, [esp + 0xcc]
movss dword [esp + 0xcc], xmm1
push eax
movss dword [esp + 0xc0], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x100ba4c4]
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xc4], xmm0
call fcn.1003a4ad
movss xmm2, dword [0x100ec5d0]
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 + 0xcc], xmm4
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm3
push 0xff000000
addss xmm1, xmm3
mov ecx, esi
addss xmm0, xmm2
push eax
lea eax, [esp + 0xd0]
push eax
movss dword [esp + 0xc4], xmm1
movss dword [esp + 0xc8], xmm0
call fcn.1003a525
movss xmm1, dword [0x100ec5d0]
lea eax, [esp + 0xac]
movaps xmm0, xmm1
mulss xmm1, dword [0x100ba4cc]
push eax
mulss xmm0, dword [0x100cba0c]
addss xmm1, dword [0x100cba10]
addss xmm0, dword [0x100bdf38]
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb0], xmm0
call fcn.100514f4
pop ecx
call fcn.1000aa01
call fcn.10059698
push 0
push 0
push str.Canvas
call fcn.10059637
add esp, 0xc
test al, al
je 0x10036ad3
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10139b94]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x101122a8]
cmp eax, dword [ecx + 4]
jg 0x10036c4c
push 0x100ec5f4
push str.Enable_grid
call fcn.10051ca3
push 0x100ec5f5
push str.Enable_context_menu
call fcn.10051ca3
push str.Mouse_Left:_drag_to_add_lines__nMouse_Right:_drag_to_scroll__click_for_context_menu.
call fcn.100515ec
lea eax, [esp + 0xe0]
push eax
call fcn.1000b251
lea eax, [esp + 0xcc]
push eax
call fcn.1000a3d3
movss xmm0, dword [0x100cba18]
add esp, 0x1c
movss xmm2, dword [esp + 0xb4]
comiss xmm0, xmm2
jbe 0x10036543
movaps xmm2, xmm0
movss dword [esp + 0xb4], xmm2
movss xmm1, dword [esp + 0xb8]
comiss xmm0, xmm1
jbe 0x1003655d
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.10004ab8
mov edi, eax
call fcn.1000a0a6
push 0
push ecx
and dword [esp], 0
mov esi, eax
push 0xff323232
lea eax, [esp + 0xa8]
mov ecx, esi
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.1003a4ad
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0xa0]
push 0
push ecx
and dword [esp], 0
mov ecx, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1003a3c3
push 3
lea eax, [esp + 0xb8]
push eax
push str.canvas
call fcn.10051b99
push 0
call fcn.1000c3ce
add esp, 0x10
mov byte [esp + 0x9b], al
call fcn.1000c524
cmp byte [esp + 0x9b], 0
movss xmm0, dword [0x101122ac]
addss xmm0, dword [esp + 0xcc]
movss xmm1, dword [0x101122b0]
addss xmm1, dword [esp + 0xd0]
movss xmm2, dword [edi + 0xdb8]
mov byte [esp + 0x9a], al
subss xmm2, xmm0
movss dword [esp + 0x7c], xmm0
movss xmm0, dword [edi + 0xdbc]
subss xmm0, xmm1
movss dword [esp + 0x78], xmm1
movss dword [esp + 0xc8], xmm2
movss dword [esp + 0x80], xmm2
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x84], xmm0
je 0x100366cc
cmp byte [0x101122b4], 0
jne 0x100366e7
push 0
push 0
call fcn.1000d022
pop ecx
pop ecx
test al, al
je 0x100366cc
lea eax, [esp + 0x80]
mov ecx, 0x1011229c
push eax
call fcn.10022b21
lea eax, [esp + 0x80]
mov ecx, 0x1011229c
push eax
call fcn.10022b21
mov al, 1
mov byte [0x101122b4], al
jmp 0x100366d1
mov al, byte [0x101122b4]
test al, al
je 0x1003671a
movss xmm2, dword [esp + 0xc8]
movss xmm0, dword [esp + 0x94]
mov ecx, dword [0x101122a4]
mov eax, dword [0x1011229c]
push 0
movss dword [ecx + eax*8 - 8], xmm2
mov ecx, dword [0x101122a4]
mov eax, dword [0x1011229c]
movss dword [ecx + eax*8 - 4], xmm0
call fcn.1000cff4
pop ecx
test al, al
jne 0x1003671a
mov byte [0x101122b4], al
cmp byte [0x100ec5f5], 0
je 0x1003672d
movss xmm0, dword [0x100bdf58]
jmp 0x10036730
xorps xmm0, xmm0
cmp byte [esp + 0x9a], 0
je 0x1003677d
push ecx
movss dword [esp], xmm0
push 1
call fcn.1000d228
pop ecx
pop ecx
test al, al
je 0x1003677d
movss xmm0, dword [0x101122ac]
addss xmm0, dword [edi + 0xb0]
movss dword [0x101122ac], xmm0
movss xmm0, dword [0x101122b0]
addss xmm0, dword [edi + 0xb4]
movss dword [0x101122b0], xmm0
push ecx
mov dword [esp], 0xbf800000
lea eax, [esp + 0xb0]
push 1
push eax
call fcn.1000d253
add esp, 0xc
mov edi, str.context
cmp byte [0x100ec5f5], 0
je 0x100367d6
movss xmm0, dword [esp + 0xac]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100367d6
movss xmm0, dword [esp + 0xb0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100367d6
push 1
push edi
call fcn.1000b608
pop ecx
pop ecx
push 0
push edi
call fcn.1000b456
pop ecx
pop ecx
test al, al
je 0x1003686d
cmp byte [0x101122b4], 0
mov edi, 0x1011229c
je 0x10036806
mov eax, dword [0x1011229c]
mov ecx, edi
add eax, 0xfffffffe
push eax
call fcn.10023158
xor ecx, ecx
cmp dword [0x1011229c], ecx
mov byte [0x101122b4], cl
setg al
movzx eax, al
push eax
push ecx
push ecx
push str.Remove_one
call fcn.1005944d
add esp, 0x10
test al, al
je 0x1003683e
mov eax, dword [0x1011229c]
mov ecx, edi
add eax, 0xfffffffe
push eax
call fcn.10023158
cmp dword [0x1011229c], 0
setg al
movzx eax, al
push eax
push 0
push 0
push str.Remove_all
call fcn.1005944d
add esp, 0x10
test al, al
je 0x10036868
mov ecx, edi
call fcn.10022550
call fcn.1000b57f
push 1
lea eax, [esp + 0xa0]
mov ecx, esi
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.1003a1c6
cmp byte [0x100ec5f4], 0
je 0x100369f4
fld dword [0x101122ac]
fld dword [0x100cba1c]
call fcn.100a4d10
fstp dword [esp + 0xc8]
movss xmm1, dword [esp + 0xc8]
mov edi, 0x28c8c8c8
jmp 0x1003692b
addss xmm1, dword [esp + 0xcc]
movss xmm0, dword [esp + 0xa0]
lea eax, [esp + 0xbc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push eax
movss dword [esp + 0xcc], xmm0
lea eax, [esp + 0x94]
movss xmm0, dword [esp + 0xdc]
push eax
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1003a323
movss xmm1, dword [esp + 0xc8]
addss xmm1, dword [0x100cba1c]
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
movss dword [esp + 0xc8], xmm1
ja 0x100368bb
fld dword [0x101122b0]
fld dword [0x100cba1c]
call fcn.100a4d10
fstp dword [esp + 0xc8]
movss xmm1, dword [esp + 0xc8]
jmp 0x100369d9
addss xmm1, dword [esp + 0xd0]
movss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0xbc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push edi
push eax
movss dword [esp + 0xc8], xmm0
lea eax, [esp + 0x94]
movss xmm0, dword [esp + 0xd8]
push eax
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
call fcn.1003a323
movss xmm1, dword [esp + 0xc8]
addss xmm1, dword [0x100cba1c]
movss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm1
movss dword [esp + 0xc8], xmm1
ja 0x10036969
xor edi, edi
cmp dword [0x1011229c], edi
jle 0x10036ac7
xor ecx, ecx
xor edx, edx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x94], edx
mov eax, dword [0x101122a4]
movss xmm1, dword [esp + 0x78]
movss xmm0, dword [esp + 0x7c]
push ecx
addss xmm1, dword [ecx + eax + 0xc]
addss xmm0, dword [edx + eax + 8]
mov dword [esp], 0x40000000
mov ecx, esi
push 0xff00ffff
movss dword [esp + 0xc8], xmm1
movss xmm1, dword [esp + 0x80]
movss dword [esp + 0xc4], xmm0
addss xmm1, dword [eax + edi*8 + 4]
movss xmm0, dword [esp + 0x84]
addss xmm0, dword [eax + edi*8]
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x94]
movss dword [esp + 0x98], xmm1
push eax
movss dword [esp + 0x98], xmm0
call fcn.1003a323
mov ecx, dword [esp + 0xc8]
add edi, 2
mov edx, dword [esp + 0x94]
add ecx, 0x10
add edx, 0x10
mov dword [esp + 0xc8], ecx
mov dword [esp + 0x94], edx
cmp edi, dword [0x1011229c]
jl 0x10036a14
mov ecx, esi
call fcn.1003a2b5
call fcn.10059698
push 0
push 0
push str.BG_FG_draw_lists
call fcn.10059637
add esp, 0xc
pop edi
pop esi
test al, al
je 0x10036c2d
push 0x100ec5f6
push str.Draw_in_Background_draw_list
call fcn.10051ca3
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.1000ac52
push str.The_Background_draw_list_will_be_rendered_below_every_Dear_ImGui_windows.
call fcn.10026a33
push 0x100ec5f7
push str.Draw_in_Foreground_draw_list
call fcn.10051ca3
add esp, 0xc
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.1000ac52
push str.The_Foreground_draw_list_will_be_rendered_over_every_Dear_ImGui_windows.
call fcn.10026a33
lea eax, [esp + 0xb0]
push eax
call fcn.1000a0c6
lea eax, [esp + 0xa4]
push eax
call fcn.1000a0e1
movss xmm0, dword [esp + 0xa8]
add esp, 0x14
cmp byte [0x100ec5f6], 0
mulss xmm0, dword [0x100ba4c0]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x78], xmm0
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [0x100ba4c0]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x7c], xmm0
je 0x10036be5
call fcn.1000c737
movss xmm0, dword [esp + 0x94]
mulss xmm0, dword [0x100bdedc]
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.1003a784
cmp byte [0x100ec5f7], 0
je 0x10036c28
call fcn.1000c74b
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [0x100bdedc]
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.1003a784
call fcn.10059698
call fcn.10059546
call fcn.10009caf
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1009280f
add esp, 0x10c
ret
mov esi, 0x101122a8
push esi
call fcn.1009329d
cmp dword [0x101122a8], 0xffffffff
pop ecx
jne 0x100364dc
push 0x100b9d94
call fcn.1009320c
push esi
call fcn.1009324c
pop ecx
pop ecx
jmp 0x100364dc