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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x10124480]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x110]
push 0
push eax
push str.Example:_Custom_rendering
call fcn.10007d92
add esp, 0xc
test al, al
je 0x1003a3c5
mov eax, dword [0x10125024]
test eax, eax
je 0x10038cfb
push dword [0x10125028]
push str.Examples_Custom_Rendering
push 0x1d66
push str.E:SAMP_API_mainSAMP_API_ONE_HEADERimguiimgui_demo.cpp
call eax
add esp, 0x10
push 0
push str.TabBar
call fcn.1005f7b2
pop ecx
pop ecx
test al, al
je 0x1003a3c5
push esi
push edi
push 0
push 0
push str.Primitives
call fcn.1005f95f
add esp, 0xc
test al, al
je 0x10039c1d
call fcn.1000aef4
fmul dword [0x100d990c]
push ecx
fstp dword [esp]
call fcn.1000ad65
call fcn.1000a34d
mov edi, eax
mov dword [esp], str.Gradients
mov dword [esp + 0xbc], edi
call fcn.10057659
call fcn.1000b691
fstp dword [esp + 0xd4]
call fcn.1000ae04
movss xmm0, dword [esp + 0xd4]
lea eax, [esp + 0xd0]
push eax
fstp dword [esp + 0xa4]
movss dword [esp + 0xa8], xmm0
call fcn.1000b61c
movss xmm1, dword [esp + 0xa4]
movss xmm0, dword [esp + 0xa8]
addss xmm1, dword [esp + 0xd4]
addss xmm0, dword [esp + 0xd8]
push 0xff000000
movss dword [esp + 0x90], xmm1
movss dword [esp + 0x94], xmm0
call fcn.1000af9a
push 0xffffffffffffffff
mov esi, eax
call fcn.1000af9a
add esp, 0x10
mov ecx, edi
push esi
push eax
push eax
push esi
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1003de20
push 0
lea eax, [esp + 0xa0]
push eax
push str.gradient1
call fcn.10057c06
lea eax, [esp + 0xd8]
push eax
call fcn.1000b61c
movss xmm1, dword [esp + 0xdc]
movss xmm0, dword [esp + 0xe0]
addss xmm1, dword [esp + 0xac]
addss xmm0, dword [esp + 0xb0]
push 0xff00ff00
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm0
call fcn.1000af9a
push 0xff0000ff
mov esi, eax
call fcn.1000af9a
add esp, 0x18
mov ecx, edi
push esi
push eax
push eax
push esi
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.1003de20
xor edi, edi
lea eax, [esp + 0x9c]
push edi
push eax
push str.gradient2
call fcn.10057c06
push str.All_primitives
call fcn.10057659
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 0x101005d0
push str.Size
call fcn.100592de
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 0x101005d4
push str.Thickness
call fcn.100592de
push edi
mov esi, 0x100c9a54
push esi
push 0xc
push 3
push 0x101005d8
push str.N_gon_sides
call fcn.10059f25
push 0x10126280
push str.circlesegmentoverride
call fcn.10057d47
call fcn.10004a3b
add esp, 0x34
movss xmm0, dword [eax + 0x54]
movss dword [esp + 4], xmm0
and dword [esp], edi
call fcn.1000b001
push edi
push esi
push 0x28
push 3
push 0x101005dc
push str.Circle_segments_override
call fcn.10059f25
or byte [0x10126280], al
push 0x10126281
push str.curvessegmentoverride
call fcn.10057d47
call fcn.10004a3b
add esp, 0x20
movss xmm0, dword [eax + 0x54]
movss dword [esp + 4], xmm0
and dword [esp], edi
call fcn.1000b001
push edi
push esi
push 0x28
push 3
push 0x101005e0
push str.Curves_segments_override
call fcn.10059f25
or byte [0x10126281], al
mov esi, 0x101005e4
push edi
push esi
push str.Color
call fcn.1005b048
lea eax, [esp + 0xa4]
push eax
call fcn.1000b61c
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.1000d3c2
movss xmm3, dword [0x101005d0]
add esp, 0x34
movaps xmm0, xmm3
mov edi, eax
mulss xmm0, dword [0x100cb9f4]
movss xmm4, dword [esp + 0x78]
xor eax, eax
cmp byte [0x10126280], al
movss xmm2, dword [esp + 0x7c]
cmovne eax, dword [0x101005dc]
addss xmm4, dword [0x100c24b0]
addss xmm2, dword [0x100c24b0]
mov esi, dword [esp + 0xb8]
mov dword [esp + 0xd0], eax
xor eax, eax
cmp byte [0x10126281], al
movss dword [esp + 0x8c], xmm0
cmovne eax, dword [0x101005e0]
mov dword [esp + 0x80], eax
xor eax, eax
movss dword [esp + 0xc8], xmm4
movss dword [esp + 0xd4], xmm2
mov dword [esp + 0x88], eax
test eax, eax
jne 0x10039079
movss xmm5, dword [0x100c24a4]
jmp 0x10039081
movss xmm5, dword [0x101005d4]
mulss xmm3, dword [0x100c24a0]
lea eax, [esp + 0x70]
push ecx
movss dword [esp], xmm5
push dword [0x101005d8]
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.1003e1fa
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0x68]
movaps xmm0, xmm2
mulss xmm2, dword [0x100c24a0]
push ecx
addss xmm0, dword [0x100c24c8]
movaps xmm1, xmm2
addss xmm0, dword [esp + 0xcc]
addss xmm1, xmm0
movss dword [esp + 0xcc], 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 + 0xd4]
push edi
push ecx
movss dword [esp], xmm2
mov ecx, esi
push eax
call fcn.1003e07f
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0x60]
movss xmm2, dword [0x101005d0]
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm4
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, dword [0x100c24c8]
push ecx
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm3, dword [esp + 0xcc]
movss dword [esp], xmm0
push 0
push ecx
and dword [esp], 0
mov ecx, esi
push edi
addss xmm1, xmm3
movss dword [esp + 0xd8], xmm3
push eax
lea eax, [esp + 0x6c]
movss dword [esp + 0x6c], xmm3
push eax
movss dword [esp + 0x78], xmm1
call fcn.1003dcbe
movss xmm2, dword [0x101005d0]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100c24c8]
movaps xmm1, xmm2
movaps xmm0, xmm4
addss xmm0, xmm2
addss xmm3, dword [esp + 0xc8]
movss dword [esp + 0x54], xmm0
addss xmm1, xmm3
movss dword [esp + 0xc8], 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 + 0x90]
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.1003dcbe
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0x40]
movss xmm2, dword [0x101005d0]
movaps xmm0, xmm4
addss xmm0, xmm2
movss dword [esp + 0x3c], xmm4
movaps xmm3, xmm2
movaps xmm1, xmm2
addss xmm3, dword [0x100c24c8]
push ecx
movss dword [esp + 0x48], xmm0
movss xmm0, dword [esp + 0xbc]
addss xmm3, dword [esp + 0xcc]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x90]
push 0x90
push ecx
movss dword [esp], xmm0
addss xmm1, xmm3
push edi
push eax
lea eax, [esp + 0x4c]
movss dword [esp + 0xdc], xmm3
push eax
mov ecx, esi
movss dword [esp + 0x58], xmm1
movss dword [esp + 0x50], xmm3
call fcn.1003dcbe
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0x30]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100c24c8]
movaps xmm0, xmm2
movss dword [esp + 0x24], xmm4
push ecx
movaps xmm1, xmm4
mov ecx, esi
addss xmm1, xmm2
mulss xmm2, dword [0x100c24a0]
addss xmm3, dword [esp + 0xcc]
subss xmm1, dword [0x100c24a0]
addss xmm0, xmm3
movss dword [esp + 0xcc], 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.1003dfe0
movss xmm0, dword [0x101005d0]
movaps xmm1, xmm0
addss xmm1, dword [0x100c24c8]
addss xmm1, dword [esp + 0xc8]
addss xmm0, xmm1
movss dword [esp + 0xc8], 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.1003dc1e
movss xmm2, dword [0x101005d0]
lea eax, [esp + 8]
addss xmm2, dword [0x100c24c8]
movss xmm3, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm3
addss xmm1, dword [0x101005d0]
push ecx
addss xmm2, dword [esp + 0xcc]
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 + 0xd8], xmm2
movss dword [esp + 0x18], xmm2
movss dword [esp + 0xa0], xmm2
movss dword [esp + 0xa4], xmm3
call fcn.1003dc1e
movss xmm3, dword [esp + 0xc8]
lea eax, [esp + 0xbc]
addss xmm3, dword [0x100c24c8]
movss xmm4, dword [esp + 0xd4]
movss xmm0, dword [esp + 0xb8]
movaps xmm1, xmm4
movss xmm2, dword [0x101005d0]
addss xmm1, dword [0x101005d0]
push ecx
movss dword [esp], xmm0
addss xmm2, xmm3
push edi
push eax
lea eax, [esp + 0xb8]
movss dword [esp + 0xd4], 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.1003dc1e
movss xmm3, dword [0x101005d0]
movss xmm5, dword [esp + 0xd4]
movaps xmm0, xmm3
mulss xmm0, dword [0x100cba04]
movaps xmm4, xmm3
addss xmm4, dword [0x100c24c8]
movaps xmm2, xmm3
movaps xmm1, xmm5
mulss xmm2, dword [0x100c24a0]
addss xmm0, xmm5
addss xmm4, dword [esp + 0xc8]
movss dword [esp + 0xfc], xmm0
movaps xmm0, xmm3
mulss xmm0, dword [0x100cba00]
addss xmm2, xmm4
movss dword [esp + 0xc8], 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 + 0x80]
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.1003f5ae
movss xmm6, dword [0x101005d0]
lea eax, [esp + 0xf0]
movss xmm7, dword [esp + 0xd4]
movaps xmm5, xmm6
addss xmm5, dword [0x100c24c8]
push dword [esp + 0x80]
movaps xmm2, xmm6
movss dword [esp + 0xe0], xmm7
mulss xmm2, dword [0x100d98a0]
movaps xmm3, xmm6
push ecx
addss xmm5, dword [esp + 0xd0]
movaps xmm4, xmm6
mov ecx, esi
mulss xmm4, dword [0x100cb9fc]
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.1003f559
movss xmm3, dword [0x101005d0]
movss xmm2, dword [esp + 0xd4]
movaps xmm0, xmm3
addss xmm0, dword [0x100c24c8]
movss xmm4, dword [esp + 0x78]
addss xmm4, dword [0x100c24b0]
mov eax, dword [esp + 0x88]
inc eax
mov dword [esp + 0x88], eax
addss xmm2, xmm0
movss dword [esp + 0xc8], xmm4
movss dword [esp + 0xd4], xmm2
cmp eax, 2
jl 0x1003906b
mulss xmm3, dword [0x100c24a0]
lea eax, [esp + 0xac]
push dword [0x101005d8]
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.1003e27f
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0xac]
push dword [esp + 0xd0]
movaps xmm0, xmm2
mulss xmm2, dword [0x100c24a0]
push edi
addss xmm0, dword [0x100c24c8]
push ecx
movaps xmm1, xmm2
movss dword [esp], xmm2
push eax
mov ecx, esi
addss xmm0, dword [esp + 0xd8]
addss xmm1, xmm0
movss dword [esp + 0x98], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0xe4]
movss dword [esp + 0xbc], xmm1
movss dword [esp + 0xc0], xmm0
call fcn.1003e145
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100c24c8]
push 0
push ecx
and dword [esp], 0
movaps xmm1, xmm2
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm4
addss xmm3, dword [esp + 0x90]
push edi
addss xmm0, xmm2
mov ecx, esi
push eax
lea eax, [esp + 0xcc]
addss xmm1, xmm3
movss dword [esp + 0xe0], xmm3
push eax
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xc0], xmm1
call fcn.1003dda8
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100c24c8]
push 0
push ecx
movaps xmm1, xmm2
mov dword [esp], 0x41200000
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm4
addss xmm3, dword [esp + 0xd8]
addss xmm0, xmm2
push edi
push eax
lea eax, [esp + 0xcc]
addss xmm1, xmm3
movss dword [esp + 0xe0], xmm3
movss dword [esp + 0xc0], xmm0
movss dword [esp + 0xcc], xmm3
push eax
movss dword [esp + 0xc0], xmm1
mov ecx, esi
call fcn.1003dda8
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100c24c8]
push 0x90
push ecx
mov dword [esp], 0x41200000
movaps xmm1, xmm2
movaps xmm0, xmm4
movss dword [esp + 0xc8], xmm4
addss xmm3, dword [esp + 0xd8]
push edi
addss xmm0, xmm2
mov ecx, esi
push eax
lea eax, [esp + 0xcc]
addss xmm1, xmm3
movss dword [esp + 0xe0], xmm3
push eax
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd0], xmm3
movss dword [esp + 0xc0], xmm1
call fcn.1003dda8
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [0x100c24c8]
movaps xmm1, xmm4
movss dword [esp + 0x94], xmm4
addss xmm1, xmm2
movaps xmm0, xmm2
mulss xmm2, dword [0x100c24a0]
mov ecx, esi
push edi
addss xmm3, dword [esp + 0xd4]
push eax
subss xmm1, dword [0x100c24a0]
lea eax, [esp + 0xc4]
push eax
addss xmm0, xmm3
movss dword [esp + 0xdc], xmm3
addss xmm2, xmm3
movss dword [esp + 0xb8], xmm3
lea eax, [esp + 0x9c]
movss dword [esp + 0xbc], xmm1
push eax
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xcc], xmm0
movss dword [esp + 0xa0], xmm2
call fcn.1003e036
movss xmm1, dword [0x101005d0]
lea eax, [esp + 0xac]
movss xmm3, dword [esp + 0xd4]
movaps xmm2, xmm1
addss xmm2, dword [0x100c24c8]
push 0
push ecx
and dword [esp], 0
movaps xmm0, xmm3
addss xmm0, dword [0x101005d4]
addss xmm2, dword [esp + 0xd8]
push edi
push eax
lea eax, [esp + 0xcc]
movss dword [esp + 0xd0], xmm3
push eax
addss xmm1, xmm2
movss dword [esp + 0xe4], xmm2
mov ecx, esi
movss dword [esp + 0xc4], xmm0
movss dword [esp + 0xd0], xmm2
movss dword [esp + 0xc0], xmm1
call fcn.1003dda8
movss xmm3, dword [0x101005d0]
addss xmm3, dword [0x100c24c8]
addss xmm3, dword [esp + 0xd0]
movss dword [esp + 0xc8], xmm3
movss xmm4, dword [esp + 0xd4]
lea eax, [esp + 0xac]
movss xmm1, dword [0x101005d4]
movaps xmm0, xmm4
addss xmm0, dword [0x101005d0]
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.1003dda8
movss xmm1, dword [esp + 0xc8]
lea eax, [esp + 0xac]
addss xmm1, dword [0x100c24f0]
movss xmm2, dword [esp + 0xd4]
push 0
push ecx
and dword [esp], 0
mov ecx, esi
movaps xmm0, xmm1
movss dword [esp + 0xd0], xmm1
addss xmm0, dword [0x100c24a4]
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 [0x100c24a4]
movss dword [esp + 0xd4], xmm2
movss dword [esp + 0xc4], xmm0
call fcn.1003dda8
movss xmm2, dword [0x101005d0]
lea eax, [esp + 0xac]
movss xmm4, dword [esp + 0xd4]
movaps xmm3, xmm2
addss xmm3, dword [esp + 0xc8]
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.1003de20
movss xmm1, dword [0x101005d0]
lea eax, [esp + 0xac]
movaps xmm0, xmm1
mulss xmm1, dword [0x100c24ac]
push eax
mulss xmm0, dword [0x100d98c4]
addss xmm1, dword [0x100d98c8]
addss xmm0, dword [0x100cba58]
movss dword [esp + 0xb4], xmm1
movss dword [esp + 0xb0], xmm0
call fcn.10057561
pop ecx
call fcn.1000adb0
call fcn.1005f9fa
push 0
push 0
push str.Canvas
call fcn.1005f95f
add esp, 0xc
test al, al
je 0x1003a266
mov eax, dword fs:[0x2c]
mov ecx, dword [0x1014db3c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10126290]
cmp eax, dword [ecx + 4]
jg 0x1003a3df
push 0x101005f4
push str.Enable_grid
call fcn.10057d47
push 0x101005f5
push str.Enable_context_menu
call fcn.10057d47
push str.Mouse_Left:_drag_to_add_lines__nMouse_Right:_drag_to_scroll__click_for_context_menu.
call fcn.10057659
lea eax, [esp + 0xd8]
push eax
call fcn.1000b61c
lea eax, [esp + 0xcc]
push eax
call fcn.1000a720
movss xmm0, dword [0x100d98d0]
add esp, 0x1c
movss xmm2, dword [esp + 0xb4]
comiss xmm0, xmm2
jbe 0x10039cbd
movaps xmm2, xmm0
movss dword [esp + 0xb4], xmm2
movss xmm1, dword [esp + 0xb8]
comiss xmm0, xmm1
jbe 0x10039cd7
movaps xmm1, xmm0
movss dword [esp + 0xb8], xmm1
movss xmm0, dword [esp + 0xc4]
addss xmm0, xmm2
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xc8]
addss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
call fcn.10004a12
mov esi, eax
call fcn.1000a34d
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 + 0xd4]
push eax
call fcn.1003dda8
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 + 0xd8]
push eax
call fcn.1003dcbe
push 3
lea eax, [esp + 0xb8]
push eax
push str.canvas
call fcn.10057c06
push 0
call fcn.1000caa8
add esp, 0x10
mov byte [esp + 0x9b], al
call fcn.1000cc2a
cmp byte [esp + 0x9b], 0
movss xmm0, dword [0x10126294]
addss xmm0, dword [esp + 0xc4]
movss xmm1, dword [0x10126298]
addss xmm1, dword [esp + 0xc8]
movss xmm2, dword [esi + 0xdb8]
mov byte [esp + 0x9a], al
subss xmm2, xmm0
movss dword [esp + 0x80], xmm0
movss xmm0, dword [esi + 0xdbc]
subss xmm0, xmm1
movss dword [esp + 0x88], xmm1
movss dword [esp + 0xd0], xmm2
movss dword [esp + 0x78], xmm2
movss dword [esp + 0x8c], xmm0
movss dword [esp + 0x7c], xmm0
je 0x10039e40
cmp byte [0x1012629c], 0
jne 0x10039e49
push 0
push 0
call fcn.1000d7b3
pop ecx
pop ecx
test al, al
je 0x10039e40
lea eax, [esp + 0x78]
mov ecx, 0x10126284
push eax
call fcn.1002615a
lea eax, [esp + 0x78]
mov ecx, 0x10126284
push eax
call fcn.1002615a
mov al, 1
mov byte [0x1012629c], al
jmp 0x10039e45
mov al, byte [0x1012629c]
test al, al
je 0x10039e7f
mov ecx, 0x10126284
call fcn.1003c06d
movss xmm0, dword [esp + 0xd0]
push 0
movss dword [eax], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [eax + 4], xmm0
call fcn.1000d75f
pop ecx
test al, al
jne 0x10039e7f
mov byte [0x1012629c], al
cmp byte [0x101005f5], 0
je 0x10039e92
movss xmm0, dword [0x100cba78]
jmp 0x10039e95
xorps xmm0, xmm0
cmp byte [esp + 0x9a], 0
je 0x10039ee2
push ecx
movss dword [esp], xmm0
push 1
call fcn.1000da4e
pop ecx
pop ecx
test al, al
je 0x10039ee2
movss xmm0, dword [0x10126294]
addss xmm0, dword [esi + 0xb0]
movss dword [0x10126294], xmm0
movss xmm0, dword [0x10126298]
addss xmm0, dword [esi + 0xb4]
movss dword [0x10126298], xmm0
push ecx
mov dword [esp], 0xbf800000
lea eax, [esp + 0xb0]
push 1
push eax
call fcn.1000da9f
add esp, 0xc
mov esi, str.context
cmp byte [0x101005f5], 0
je 0x10039f3b
movss xmm0, dword [esp + 0xac]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10039f3b
movss xmm0, dword [esp + 0xb0]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10039f3b
push 1
push esi
call fcn.1000ba77
pop ecx
pop ecx
push 0
push esi
call fcn.1000b872
pop ecx
pop ecx
test al, al
je 0x10039fd2
cmp byte [0x1012629c], 0
mov esi, 0x10126284
je 0x10039f6b
mov eax, dword [0x10126284]
mov ecx, esi
add eax, 0xfffffffe
push eax
call fcn.1002674d
xor ecx, ecx
cmp dword [0x10126284], ecx
mov byte [0x1012629c], cl
setg al
movzx eax, al
push eax
push ecx
push ecx
push str.Remove_one
call fcn.1005f759
add esp, 0x10
test al, al
je 0x10039fa3
mov eax, dword [0x10126284]
mov ecx, esi
add eax, 0xfffffffe
push eax
call fcn.1002674d
cmp dword [0x10126284], 0
setg al
movzx eax, al
push eax
push 0
push 0
push str.Remove_all
call fcn.1005f759
add esp, 0x10
test al, al
je 0x10039fcd
mov ecx, esi
call fcn.10025865
call fcn.1000b993
push 1
lea eax, [esp + 0xa0]
mov ecx, edi
push eax
lea eax, [esp + 0xcc]
push eax
call fcn.1003daab
cmp byte [0x101005f4], 0
je 0x1003a159
fld dword [0x10126294]
fld dword [0x100d98d4]
call fcn.100acda0
fstp dword [esp + 0xd0]
movss xmm1, dword [esp + 0xd0]
mov esi, 0x28c8c8c8
jmp 0x1003a090
addss xmm1, dword [esp + 0xc4]
movss xmm0, dword [esp + 0xa0]
lea eax, [esp + 0xbc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push eax
movss dword [esp + 0xcc], xmm0
lea eax, [esp + 0x9c]
movss xmm0, dword [esp + 0xd4]
push eax
movss dword [esp + 0xcc], xmm1
movss dword [esp + 0xa0], xmm1
movss dword [esp + 0xa4], xmm0
call fcn.1003dc1e
movss xmm1, dword [esp + 0xd0]
addss xmm1, dword [0x100d98d4]
movss xmm0, dword [esp + 0xb4]
comiss xmm0, xmm1
movss dword [esp + 0xd0], xmm1
ja 0x1003a020
fld dword [0x10126298]
fld dword [0x100d98d4]
call fcn.100acda0
fstp dword [esp + 0xd0]
movss xmm1, dword [esp + 0xd0]
jmp 0x1003a13e
addss xmm1, dword [esp + 0xc8]
movss xmm0, dword [esp + 0x9c]
lea eax, [esp + 0xbc]
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push esi
push eax
movss dword [esp + 0xc8], xmm0
lea eax, [esp + 0x9c]
movss xmm0, dword [esp + 0xd0]
push eax
movss dword [esp + 0xd0], xmm1
movss dword [esp + 0xa0], xmm0
movss dword [esp + 0xa4], xmm1
call fcn.1003dc1e
movss xmm1, dword [esp + 0xd0]
addss xmm1, dword [0x100d98d4]
movss xmm0, dword [esp + 0xb8]
comiss xmm0, xmm1
movss dword [esp + 0xd0], xmm1
ja 0x1003a0ce
xor esi, esi
mov dword [esp + 0xd0], esi
cmp dword [0x10126284], esi
jle 0x1003a25a
inc esi
mov ecx, 0x10126284
push esi
call fcn.1001c58e
movss xmm0, dword [esp + 0x88]
mov ecx, 0x10126284
push esi
addss xmm0, dword [eax + 4]
movss dword [esp + 0x90], xmm0
call fcn.1001c58e
movss xmm0, dword [esp + 0x80]
mov ecx, 0x10126284
mov esi, dword [esp + 0xd0]
push esi
addss xmm0, dword [eax]
movss dword [esp + 0xc0], xmm0
movss xmm0, dword [esp + 0x90]
movss dword [esp + 0xc4], xmm0
call fcn.1001c58e
movss xmm0, dword [esp + 0x88]
mov ecx, 0x10126284
push esi
addss xmm0, dword [eax + 4]
movss dword [esp + 0xd4], xmm0
call fcn.1001c58e
movss xmm0, dword [esp + 0x80]
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
addss xmm0, dword [eax]
push 0xff00ffff
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0x9c]
movss dword [esp + 0x9c], xmm0
movss xmm0, dword [esp + 0xdc]
push eax
movss dword [esp + 0xa4], xmm0
call fcn.1003dc1e
add esi, 2
mov dword [esp + 0xd0], esi
cmp esi, dword [0x10126284]
jl 0x1003a16e
mov ecx, edi
call fcn.1003db9a
call fcn.1005f9fa
push 0
push 0
push str.BG_FG_draw_lists
call fcn.1005f95f
add esp, 0xc
pop edi
pop esi
test al, al
je 0x1003a3c0
push 0x101005f6
push str.Draw_in_Background_draw_list
call fcn.10057d47
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.1000b001
push str.The_Background_draw_list_will_be_rendered_below_every_Dear_ImGui_windows.
call fcn.1002a164
push 0x101005f7
push str.Draw_in_Foreground_draw_list
call fcn.10057d47
add esp, 0xc
mov dword [esp + 4], 0xbf800000
and dword [esp], 0
call fcn.1000b001
push str.The_Foreground_draw_list_will_be_rendered_over_every_Dear_ImGui_windows.
call fcn.1002a164
lea eax, [esp + 0xb0]
push eax
call fcn.1000a36d
lea eax, [esp + 0xa4]
push eax
call fcn.1000a388
movss xmm0, dword [esp + 0xa8]
add esp, 0x14
cmp byte [0x101005f6], 0
mulss xmm0, dword [0x100c24a0]
addss xmm0, dword [esp + 0xa4]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [0x100c24a0]
addss xmm0, dword [esp + 0xa8]
movss dword [esp + 0x74], xmm0
je 0x1003a378
call fcn.1000ce43
movss xmm0, dword [esp + 0x94]
mulss xmm0, dword [0x100cba04]
push ecx
mov dword [esp], 0x41600000
push 0
push 0xc80000ff
push ecx
lea ecx, [esp + 0x80]
movss dword [esp], xmm0
push ecx
mov ecx, eax
call fcn.1003e07f
cmp byte [0x101005f7], 0
je 0x1003a3bb
call fcn.1000ce5f
movss xmm0, dword [esp + 0x98]
mulss xmm0, dword [0x100cba04]
push ecx
mov dword [esp], 0x41200000
push 0
push 0xc800ff00
push ecx
lea ecx, [esp + 0x80]
movss dword [esp], xmm0
push ecx
mov ecx, eax
call fcn.1003e07f
call fcn.1005f9fa
call fcn.1005f852
call fcn.10009e01
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.1009a659
add esp, 0x10c
ret
mov esi, 0x10126290
push esi
call fcn.1009b0ee
cmp dword [0x10126290], 0xffffffff
pop ecx
jne 0x10039c56
push 0x100c16a5
call fcn.1009b05d
push esi
call fcn.1009b09d
pop ecx
pop ecx
jmp 0x10039c56