name string | code string | asm string | file string |
|---|---|---|---|
ImGui::SetCursorPos(ImVec2 const&) | inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; } | movq 0xc8a4c(%rip), %rax # 0x12f138
movq 0x3fe0(%rax), %rax
movb $0x1, 0xcd(%rax)
movss 0x48(%rax), %xmm0
movss 0x4c(%rax), %xmm1
subss 0x98(%rax), %xmm0
subss 0x9c(%rax), %xmm1
addss (%rdi), %xmm0
addss 0x4(%rdi), %xmm1
unpcklps %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movlps %xmm0, 0x118(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
ImGui::SetCursorPosX(float) | inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; } | movq 0xc89bd(%rip), %rax # 0x12f138
movq 0x3fe0(%rax), %rax
movb $0x1, 0xcd(%rax)
movss 0x48(%rax), %xmm1
movss 0x130(%rax), %xmm2
subss 0x98(%rax), %xmm1
addss %xmm0, %xmm1
movss %xmm1, 0x118(%rax)
movaps %xmm1, %xmm0
cmpless %xmm2, %xmm0
movaps %xmm0, %xmm3
andnps %xmm1, %xmm3
andps %xmm2, %xmm0
orps %xmm3, %xmm0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
ImGui::PushItemWidth(float) | void ImGui::PushItemWidth(float item_width)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
window->DC.ItemWidthStack.push_back(window->DC.ItemWidth); // Backup current width
window->DC.ItemWidth = (item_width == 0.0f ? window->ItemWidthDefault : item_width);
g.NextItemData.Flags... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0xc8846(%rip), %r14 # 0x12f138
movq 0x3fe0(%r14), %r15
movl 0x1e0(%r15), %ebp
movl 0x1e4(%r15), %eax
cmpl %eax, %ebp
jne 0x669bb
incl %ebp
testl %eax, %eax
je 0x66922
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x66927
mo... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::PushMultiItemsWidths(int, float) | void ImGui::PushMultiItemsWidths(int components, float w_full)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
const ImGuiStyle& style = g.Style;
const float w_item_one = ImMax(1.0f, IM_FLOOR((w_full - (style.ItemInnerSpacing.x) * (components - 1)) / (float)components));
const f... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edi, %ebx
movq 0xc8718(%rip), %r15 # 0x12f138
movq 0x3fe0(%r15), %r12
movss 0x395c(%r15), %xmm1
leal -0x1(%rbx), %eax
cvtsi2ss %eax, %xmm2
movaps %xmm1, %xmm3
mulss %xmm2, %xmm3
cvtsi2ss %edi, %xmm4
movaps %xmm0, %xmm5
subss %x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CalcItemWidth() | float ImGui::CalcItemWidth()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
float w;
if (g.NextItemData.Flags & ImGuiNextItemDataFlags_HasWidth)
w = g.NextItemData.Width;
else
w = window->DC.ItemWidth;
if (w < 0.0f)
{
float region_max_x = GetConte... | movq 0xc832d(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
leaq 0x40a0(%rcx), %rdx
leaq 0x1d4(%rax), %rsi
testb $0x1, 0x409c(%rcx)
cmoveq %rsi, %rdx
movss (%rdx), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x66e7a
movsd 0x268(%rax), %xmm1
cmpq $0x0, 0x1c0(%rax)
jne 0x66e53
cmpq $0x0, 0x44b8(%rcx)
je 0x66e5f... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetContentRegionMaxAbs() | ImVec2 ImGui::GetContentRegionMaxAbs()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImVec2 mx = window->ContentRegionRect.Max;
if (window->DC.CurrentColumns || g.CurrentTable)
mx.x = window->WorkRect.Max.x;
return mx;
} | movq 0xc82af(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
movsd 0x268(%rax), %xmm0
cmpq $0x0, 0x1c0(%rax)
jne 0x66eac
cmpq $0x0, 0x44b8(%rcx)
je 0x66eb8
movss 0x238(%rax), %xmm1
movss %xmm1, %xmm0 # xmm0 = xmm1[0],xmm0[1,2,3]
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CalcItemSize(ImVec2, float, float) | ImVec2 ImGui::CalcItemSize(ImVec2 size, float default_w, float default_h)
{
ImGuiWindow* window = GImGui->CurrentWindow;
ImVec2 region_max;
if (size.x < 0.0f || size.y < 0.0f)
region_max = GetContentRegionMaxAbs();
if (size.x == 0.0f)
size.x = default_w;
else if (size.x < 0.0f)
... | movq 0xc8278(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
xorps %xmm4, %xmm4
ucomiss %xmm0, %xmm4
ja 0x66ede
movaps %xmm0, %xmm5
shufps $0x55, %xmm0, %xmm5 # xmm5 = xmm5[1,1],xmm0[1,1]
xorps %xmm3, %xmm3
ucomiss %xmm5, %xmm4
jbe 0x66f06
movsd 0x268(%rax), %xmm3
cmpq $0x0, 0x1c0(%rax)
jne 0x66efa
cmpq $0x0, 0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetContentRegionMax() | ImVec2 ImGui::GetContentRegionMax()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImVec2 mx = window->ContentRegionRect.Max - window->Pos;
if (window->DC.CurrentColumns || g.CurrentTable)
mx.x = window->WorkRect.Max.x - window->Pos.x;
return mx;
} | movq 0xc8154(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
movss 0x268(%rax), %xmm0
movss 0x48(%rax), %xmm1
movss 0x26c(%rax), %xmm2
subss 0x4c(%rax), %xmm2
subss %xmm1, %xmm0
unpcklps %xmm2, %xmm0 # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
cmpq $0x0, 0x1c0(%rax)
jne 0x67020
cmpq $0x0, 0x44b8(%rcx)
je 0x6... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginGroup() | void ImGui::BeginGroup()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
g.GroupStack.resize(g.GroupStack.Size + 1);
ImGuiGroupData& group_data = g.GroupStack.back();
group_data.WindowID = window->ID;
group_data.BackupCursorPos = window->DC.CursorPos;
group_data.BackupCu... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0xc809d(%rip), %r14 # 0x12f138
movq 0x3fe0(%r14), %r15
movl 0x41d0(%r14), %r12d
leal 0x1(%r12), %ebp
movl 0x41d4(%r14), %eax
cmpl %r12d, %eax
jg 0x6716d
testl %eax, %eax
je 0x670d4
movl %eax, %r13d
shrl $0x1f, %r13d
addl %eax, %r13d
s... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetScrollFromPosX(ImGuiWindow*, float, float) | void ImGui::SetScrollFromPosX(ImGuiWindow* window, float local_x, float center_x_ratio)
{
IM_ASSERT(center_x_ratio >= 0.0f && center_x_ratio <= 1.0f);
window->ScrollTarget.x = IM_FLOOR(local_x + window->Scroll.x); // Convert local position to scroll offset
window->ScrollTargetCenterRatio.x = center_x_ratio;... | xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm1
jb 0x672ed
movss 0x7013e(%rip), %xmm2 # 0xd73fc
ucomiss %xmm1, %xmm2
jb 0x672ed
addss 0x98(%rdi), %xmm0
cvttps2dq %xmm0, %xmm0
cvtdq2ps %xmm0, %xmm0
movss %xmm0, 0xa8(%rdi)
movss %xmm1, 0xb0(%rdi)
movl $0x0, 0xb8(%rdi)
retq
pushq %rax
leaq 0x7eb13(%rip), %rdi # 0xe5e08
lea... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetScrollFromPosY(ImGuiWindow*, float, float) | void ImGui::SetScrollFromPosY(ImGuiWindow* window, float local_y, float center_y_ratio)
{
IM_ASSERT(center_y_ratio >= 0.0f && center_y_ratio <= 1.0f);
const float decoration_up_height = window->TitleBarHeight() + window->MenuBarHeight(); // FIXME: Would be nice to have a more standardized access to our scrollab... | pushq %rbx
subq $0x20, %rsp
movaps %xmm0, 0x10(%rsp)
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jb 0x6738c
movss 0x700d5(%rip), %xmm0 # 0xd73fc
ucomiss %xmm1, %xmm0
jb 0x6738c
movq %rdi, %rbx
movss %xmm1, 0xc(%rsp)
callq 0x7bdda
movss %xmm0, 0x8(%rsp)
movq %rbx, %rdi
callq 0x7be28
addss 0x8(%rsp), %xmm0
movaps 0x10(%rs... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetScrollHereX(float) | void ImGui::SetScrollHereX(float center_x_ratio)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
float spacing_x = ImMax(window->WindowPadding.x, g.Style.ItemSpacing.x);
float target_pos_x = ImLerp(g.LastItemData.Rect.Min.x - spacing_x, g.LastItemData.Rect.Max.x + spacing_x, center_x... | pushq %rbx
subq $0x10, %rsp
movaps %xmm0, %xmm1
movq 0xc7c84(%rip), %rax # 0x12f138
movq 0x3fe0(%rax), %rbx
movss 0x78(%rbx), %xmm0
movss 0x3954(%rax), %xmm2
movaps %xmm2, %xmm3
cmpless %xmm0, %xmm3
andps %xmm3, %xmm0
andnps %xmm2, %xmm3
orps %xmm0, %xmm3
movaps %xmm3, (%rsp)
movss 0x40bc(%rax), %xmm2
subss %xmm3, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginTooltipEx(int, int) | void ImGui::BeginTooltipEx(ImGuiTooltipFlags tooltip_flags, ImGuiWindowFlags extra_window_flags)
{
ImGuiContext& g = *GImGui;
if (g.DragDropWithinSource || g.DragDropWithinTarget)
{
// The default tooltip position is a little offset to give space to see the context menu (it's also clamped within th... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebx
movq 0xc7b58(%rip), %r14 # 0x12f138
cmpb $0x0, 0x43fd(%r14)
jne 0x675f6
movl %edi, %ebp
cmpb $0x1, 0x43fe(%r14)
jne 0x67675
movss 0x39c0(%r14), %xmm0
movss 0x3a1c(%r14), %xmm1
movss 0x7af90(%rip), %xmm2 # 0xe25a0
mulss %xmm0, %xmm2
mulss 0x7af9c(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsPopupOpen(char const*, int) | bool ImGui::IsPopupOpen(const char* str_id, ImGuiPopupFlags popup_flags)
{
ImGuiContext& g = *GImGui;
ImGuiID id = (popup_flags & ImGuiPopupFlags_AnyPopupId) ? 0 : g.CurrentWindow->GetID(str_id);
if ((popup_flags & ImGuiPopupFlags_AnyPopupLevel) && id != 0)
IM_ASSERT(0 && "Cannot use IsPopupOpen() w... | pushq %rbx
movl %esi, %ebx
movq %rdi, %rsi
xorl %edi, %edi
testb %bl, %bl
js 0x677a2
movq 0xc79a6(%rip), %rax # 0x12f138
movq 0x3fe0(%rax), %rdi
xorl %edx, %edx
callq 0x4f0c6
movl %eax, %edi
btl $0x8, %ebx
jae 0x677ac
testl %edi, %edi
jne 0x677b4
movl %ebx, %esi
popq %rbx
jmp 0x5214e
leaq 0x7e7c0(%rip), %rdi # ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetTopMostAndVisiblePopupModal() | ImGuiWindow* ImGui::GetTopMostAndVisiblePopupModal()
{
ImGuiContext& g = *GImGui;
for (int n = g.OpenPopupStack.Size - 1; n >= 0; n--)
if (ImGuiWindow* popup = g.OpenPopupStack.Data[n].Window)
if ((popup->Flags & ImGuiWindowFlags_Modal) && IsWindowActiveAndVisible(popup))
ret... | movq 0xc795e(%rip), %rcx # 0x12f138
movl 0x41e0(%rcx), %eax
leal 0x1(%rax), %edx
leaq (%rax,%rax,2), %rsi
shlq $0x4, %rsi
addq $-0x28, %rsi
decl %edx
testl %edx, %edx
jle 0x67833
movq 0x41e8(%rcx), %rdi
movq (%rdi,%rsi), %rdi
testq %rdi, %rdi
je 0x6781d
testb $0x8, 0xf(%rdi)
je 0x6781d
cmpb $0x1, 0xcb(%rdi)
jne 0x6... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::OpenPopupEx(unsigned int, int) | void ImGui::OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* parent_window = g.CurrentWindow;
const int current_stack_size = g.BeginPopupStack.Size;
if (popup_flags & ImGuiPopupFlags_NoOpenOverExistingPopup)
if (IsPopupOpen(0u, ImGuiPopupFlags_AnyPo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %edi, %ebx
movq 0xc78c6(%rip), %r12 # 0x12f138
movq 0x3fe0(%r12), %rax
movl 0x41f0(%r12), %r14d
testb $0x20, %sil
je 0x67896
cmpl %r14d, 0x41e0(%r12)
jg 0x67a74
movq $0x0, 0x8(%rsp)
movslq 0x108(%rax), %rcx
testq %rcx, %rcx
jle ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NavCalcPreferredRefPos() | static ImVec2 ImGui::NavCalcPreferredRefPos()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.NavWindow;
if (g.NavDisableHighlight || !g.NavDisableMouseHover || !window)
{
// Mouse (we need a fallback in case the mouse becomes invalid after being used)
// The +1.0f offset when store... | pushq %r14
pushq %rbx
subq $0x48, %rsp
movq 0xc7664(%rip), %r14 # 0x12f138
cmpb $0x0, 0x42aa(%r14)
jne 0x67c80
movq 0x4268(%r14), %rbx
testq %rbx, %rbx
setne %al
testb %al, 0x42ab(%r14)
je 0x67c80
movl 0x42a4(%r14), %eax
shlq $0x4, %rax
movss 0x128(%rbx), %xmm3
movss 0x12c(%rbx), %xmm5
movss 0x3d0(%rbx,%rax), %xmm4... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ClosePopupToLevel(int, bool) | void ImGui::ClosePopupToLevel(int remaining, bool restore_focus_to_window_under_popup)
{
ImGuiContext& g = *GImGui;
IMGUI_DEBUG_LOG_POPUP("ClosePopupToLevel(%d), restore_focus_to_window_under_popup=%d\n", remaining, restore_focus_to_window_under_popup);
IM_ASSERT(remaining >= 0 && remaining < g.OpenPopupSta... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %edi, %edi
js 0x67e3c
movl %edi, %r15d
movq 0xc7461(%rip), %r13 # 0x12f138
cmpl %edi, 0x41e0(%r13)
jle 0x67e3c
movl %esi, %ebp
movq 0x41e8(%r13), %rax
movl %r15d, %ecx
leaq (%rcx,%rcx,2), %rcx
shlq $0x4, %rcx
movq 0x8(%rax,%rcx), %r1... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ClosePopupsExceptModals() | void ImGui::ClosePopupsExceptModals()
{
ImGuiContext& g = *GImGui;
int popup_count_to_keep;
for (popup_count_to_keep = g.OpenPopupStack.Size; popup_count_to_keep > 0; popup_count_to_keep--)
{
ImGuiWindow* window = g.OpenPopupStack[popup_count_to_keep - 1].Window;
if (!window || window->... | movq 0xc72d6(%rip), %rcx # 0x12f138
movl 0x41e0(%rcx), %eax
movl %eax, %edi
sarl $0x1f, %edi
andl %eax, %edi
leaq (%rax,%rax,2), %rdx
shlq $0x4, %rdx
addq $-0x28, %rdx
movl %eax, %esi
testl %esi, %esi
jle 0x67ea2
movq 0x41e8(%rcx), %r8
movq (%r8,%rdx), %r8
testq %r8, %r8
je 0x67ea0
decl %esi
addq $-0x30, %rdx
testb... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CloseCurrentPopup() | void ImGui::CloseCurrentPopup()
{
ImGuiContext& g = *GImGui;
int popup_idx = g.BeginPopupStack.Size - 1;
if (popup_idx < 0 || popup_idx >= g.OpenPopupStack.Size || g.BeginPopupStack[popup_idx].PopupId != g.OpenPopupStack[popup_idx].PopupId)
return;
// Closing a menu closes its top-most parent p... | pushq %rbx
movq 0xc727f(%rip), %rbx # 0x12f138
movl 0x41f0(%rbx), %edi
testl %edi, %edi
jle 0x67f63
movl 0x41e0(%rbx), %eax
cmpl %eax, %edi
jg 0x67f63
decl %edi
movq 0x41e8(%rbx), %rcx
movq 0x41f8(%rbx), %rdx
movl %edi, %esi
shlq $0x4, %rsi
leaq (%rsi,%rsi,2), %rsi
movl (%rdx,%rsi), %edx
cmpl (%rcx,%rsi), %edx
jne ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::EndPopup() | void ImGui::EndPopup()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls
IM_ASSERT(g.BeginPopupStack.Size > 0);
// Make all menus and popups wrap around for now, may need to expose that... | pushq %rbx
movq 0xc7121(%rip), %rbx # 0x12f138
movq 0x3fe0(%rbx), %rcx
movl 0xc(%rcx), %eax
btl $0x1a, %eax
jae 0x68076
cmpl $0x0, 0x41f0(%rbx)
jle 0x68095
cmpq %rcx, 0x4268(%rbx)
jne 0x68052
cmpb $0x1, 0x42c5(%rbx)
jne 0x68052
cmpl $0x0, 0x42a4(%rbx)
jne 0x68052
orb $0x2, 0x42c8(%rbx)
cmpb $0x0, 0x3f72(%rbx)
jne 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginPopup(char const*, int) | bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags)
{
ImGuiContext& g = *GImGui;
if (g.OpenPopupStack.Size <= g.BeginPopupStack.Size) // Early out for performance
{
g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values
return false;
}
... | movq 0xc705e(%rip), %rax # 0x12f138
movl 0x41e0(%rax), %ecx
cmpl 0x41f0(%rax), %ecx
jle 0x6810c
pushq %rbx
movl %esi, %ebx
movq %rdi, %rsi
orl $0x141, %ebx # imm = 0x141
movq 0x3fe0(%rax), %rdi
xorl %edx, %edx
callq 0x4f0c6
movl %eax, %edi
movl %ebx, %esi
popq %rbx
jmp 0x67f84
movl $0x0, 0x40f0(%rax)
xor... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetNavInputAmount(int, ImGuiInputReadMode) | float ImGui::GetNavInputAmount(ImGuiNavInput n, ImGuiInputReadMode mode)
{
ImGuiContext& g = *GImGui;
if (mode == ImGuiInputReadMode_Down)
return g.IO.NavInputs[n]; // Instant, read analog input (0.0f..1.0f, as provided by user)
const float t = g.IO.NavInputsDownDuration[n];... | pushq %rax
movq 0xc64ce(%rip), %rax # 0x12f138
movslq %edi, %rcx
testl %esi, %esi
je 0x68ca1
movss 0x3754(%rax,%rcx,4), %xmm1
cmpl $0x2, %esi
jne 0x68caf
xorps %xmm2, %xmm2
ucomiss %xmm1, %xmm2
jbe 0x68caf
cmpless 0x37a4(%rax,%rcx,4), %xmm2
movss 0x6e763(%rip), %xmm0 # 0xd73fc
andps %xmm2, %xmm0
jmp 0x68d5a
movs... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetNavInputAmount2d(int, ImGuiInputReadMode, float, float) | ImVec2 ImGui::GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor, float fast_factor)
{
ImVec2 delta(0.0f, 0.0f);
if (dir_sources & ImGuiNavDirSourceFlags_RawKeyboard)
delta += ImVec2((float)IsKeyDown(ImGuiKey_RightArrow) - (float)IsKeyDown(ImGuiKey_LeftArr... | pushq %rbp
pushq %rbx
subq $0x48, %rsp
movaps %xmm0, %xmm5
movl %esi, %ebx
movl %edi, %ebp
xorps %xmm0, %xmm0
testb $0x1, %bpl
je 0x68db3
movq 0xc63bf(%rip), %rax # 0x12f138
movsbl 0x2e30(%rax), %ecx
xorps %xmm0, %xmm0
cvtsi2ss %ecx, %xmm0
movsbl 0x2e20(%rax), %ecx
cvtsi2ss %ecx, %xmm4
movsbl 0x2e50(%rax), %ecx
cvt... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NavInitRequestApplyResult() | void ImGui::NavInitRequestApplyResult()
{
// In very rare cases g.NavWindow may be null (e.g. clearing focus after requesting an init request, which does happen when releasing Alt while clicking on void)
ImGuiContext& g = *GImGui;
if (!g.NavWindow)
return;
// Apply result from previous navigati... | pushq %rbx
movq 0xc618a(%rip), %rbx # 0x12f138
cmpq $0x0, 0x4268(%rbx)
je 0x68ff9
movl 0x42a4(%rbx), %esi
movl 0x42b0(%rbx), %edi
leaq 0x42b4(%rbx), %rcx
xorl %edx, %edx
callq 0x6897a
movb $0x1, 0x42a8(%rbx)
cmpb $0x1, 0x42ae(%rbx)
jne 0x68ff9
movq 0xc614f(%rip), %rax # 0x12f138
movw $0x1, 0x42a9(%rax)
movb $0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetDragDropPayload(char const*, void const*, unsigned long, int) | bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_size, ImGuiCond cond)
{
ImGuiContext& g = *GImGui;
ImGuiPayload& payload = g.DragDropPayload;
if (cond == 0)
cond = ImGuiCond_Always;
IM_ASSERT(type != NULL);
IM_ASSERT(strlen(type) < IM_ARRAYSIZE(payload.DataTyp... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testq %rdi, %rdi
je 0x69843
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq 0xc5b45(%rip), %r13 # 0x12f138
callq 0xc3c0
cmpq $0x21, %rax
jae 0x69862
testq %r14, %r14
setne %al
testq %rbx, %rbx
setne %cl
testb %cl, %al
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginDragDropTargetCustom(ImRect const&, unsigned int) | bool ImGui::BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id)
{
ImGuiContext& g = *GImGui;
if (!g.DragDropActive)
return false;
ImGuiWindow* window = g.CurrentWindow;
ImGuiWindow* hovered_window = g.HoveredWindowUnderMovingWindow;
if (hovered_window == NULL || window->RootWindowDockTr... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0xc584b(%rip), %r15 # 0x12f138
cmpb $0x1, 0x43fc(%r15)
jne 0x6994a
movq 0x3ff0(%r15), %rax
testq %rax, %rax
je 0x6994a
movq 0x3fe0(%r15), %r12
movq 0x3a8(%r12), %rcx
cmpq 0x3a8(%rax), %rcx
jne 0x6994a
movl %esi, %ebx
testl %esi, %esi
je 0x69981
movq %rdi, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginDragDropTarget() | bool ImGui::BeginDragDropTarget()
{
ImGuiContext& g = *GImGui;
if (!g.DragDropActive)
return false;
ImGuiWindow* window = g.CurrentWindow;
if (!(g.LastItemData.StatusFlags & ImGuiItemStatusFlags_HoveredRect))
return false;
ImGuiWindow* hovered_window = g.HoveredWindowUnderMovingWind... | pushq %r14
pushq %rbx
pushq %rax
movq 0xc576e(%rip), %r14 # 0x12f138
cmpb $0x1, 0x43fc(%r14)
jne 0x69a0b
movl 0x40b8(%r14), %eax
testb $0x1, %al
je 0x69a0b
movq 0x3ff0(%r14), %rcx
testq %rcx, %rcx
je 0x69a0b
movq 0x3fe0(%r14), %rdi
movq 0x3a8(%rdi), %rdx
cmpq 0x3a8(%rcx), %rdx
jne 0x69a0b
cmpb $0x0, 0xd0(%rdi)
je 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::AcceptDragDropPayload(char const*, int) | const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImGuiPayload& payload = g.DragDropPayload;
IM_ASSERT(g.DragDropActive); // Not called between BeginDragDropTarget() and ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0xc5695(%rip), %rbx # 0x12f138
cmpb $0x0, 0x43fc(%rbx)
je 0x69c64
cmpl $-0x1, 0x4424(%rbx)
je 0x69c83
movl %esi, %ebp
movq 0x3fe0(%rbx), %r14
testq %rdi, %rdi
je 0x69aec
cmpl $-0x1, 0x4424(%rbx)
je 0x69c3a
leaq 0x4428(%rbx), %rs... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::EndDragDropTarget() | void ImGui::EndDragDropTarget()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.DragDropActive);
IM_ASSERT(g.DragDropWithinTarget);
g.DragDropWithinTarget = false;
} | pushq %rax
movq 0xc5453(%rip), %rax # 0x12f138
cmpb $0x0, 0x43fc(%rax)
je 0x69d00
cmpb $0x0, 0x43fe(%rax)
je 0x69d1f
movb $0x0, 0x43fe(%rax)
popq %rax
retq
leaq 0x7a189(%rip), %rdi # 0xe3e90
leaq 0x7949d(%rip), %rsi # 0xe31ab
leaq 0x7cb4d(%rip), %rcx # 0xe6862
movl $0x2ea3, %edx # imm = 0x2EA3... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::LogText(char const*, ...) | void ImGui::LogText(const char* fmt, ...)
{
ImGuiContext& g = *GImGui;
if (!g.LogEnabled)
return;
va_list args;
va_start(args, fmt);
LogTextV(g, fmt, args);
va_end(args);
} | subq $0xd8, %rsp
movq %rdi, %r10
testb %al, %al
je 0x69d83
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5, 0xa0(%rsp)
movaps %xmm6, 0xb0(%rsp)
movaps %xmm7, 0xc0(%rsp)
movq %r9, 0x48(%rsp)
movq %r8, 0x40(%rsp)
movq %rcx, 0x38(%rs... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::LogBegin(ImGuiLogType, int) | void ImGui::LogBegin(ImGuiLogType type, int auto_open_depth)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(g.LogEnabled == false);
IM_ASSERT(g.LogFile == NULL);
IM_ASSERT(g.LogBuffer.empty());
g.LogEnabled = true;
g.LogType = type;
g.LogNextPrefix = g.LogN... | pushq %rax
movq 0xc51fb(%rip), %rax # 0x12f138
cmpb $0x0, 0x55c4(%rax)
jne 0x69faa
cmpq $0x0, 0x55d0(%rax)
jne 0x69fc9
cmpl $0x2, 0x55d8(%rax)
jge 0x69fe8
movq 0x3fe0(%rax), %rcx
movb $0x1, 0x55c4(%rax)
movl %edi, 0x55c8(%rax)
xorps %xmm0, %xmm0
movups %xmm0, 0x55e8(%rax)
movl 0x1a0(%rcx), %ecx
movl %ecx, 0x5600(%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FindSettingsHandler(char const*) | ImGuiSettingsHandler* ImGui::FindSettingsHandler(const char* type_name)
{
ImGuiContext& g = *GImGui;
const ImGuiID type_hash = ImHashStr(type_name);
for (int handler_n = 0; handler_n < g.SettingsHandlers.Size; handler_n++)
if (g.SettingsHandlers[handler_n].TypeHash == type_hash)
return &... | pushq %r14
pushq %rbx
pushq %rax
movq 0xc4cca(%rip), %r14 # 0x12f138
xorl %ebx, %ebx
xorl %esi, %esi
xorl %edx, %edx
callq 0x4a77b
movslq 0x5580(%r14), %rcx
testq %rcx, %rcx
jle 0x6a49c
movq 0x5588(%r14), %rbx
cmpl %eax, 0x8(%rbx)
je 0x6a49c
addq $0x48, %rbx
decq %rcx
jne 0x6a48c
xorl %ebx, %ebx
movq %rbx, %rax
add... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ClearIniSettings() | void ImGui::ClearIniSettings()
{
ImGuiContext& g = *GImGui;
g.SettingsIniData.clear();
for (int handler_n = 0; handler_n < g.SettingsHandlers.Size; handler_n++)
if (g.SettingsHandlers[handler_n].ClearAllFn)
g.SettingsHandlers[handler_n].ClearAllFn(&g, &g.SettingsHandlers[handler_n]);
} | pushq %r15
pushq %r14
pushq %rbx
movq 0xc4bf7(%rip), %rbx # 0x12f138
leaq 0x5570(%rbx), %rdi
callq 0x7bcce
cmpl $0x0, 0x5580(%rbx)
jle 0x6a588
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x5588(%rbx), %rsi
movq 0x10(%rsi,%r14), %rax
testq %rax, %rax
je 0x6a575
addq %r14, %rsi
movq %rbx, %rdi
callq *%rax
incq %r15
movs... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockBuilderRemoveNodeChildNodes(unsigned int) | void ImGui::DockBuilderRemoveNodeChildNodes(ImGuiID root_id)
{
ImGuiContext* ctx = GImGui;
ImGuiDockContext* dc = &ctx->DockContext;
ImGuiDockNode* root_node = root_id ? DockContextFindNodeByID(ctx, root_id) : NULL;
if (root_id && root_node == NULL)
return;
bool has_central_node = false;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl %edi, %ebp
movq 0xc2e89(%rip), %rbx # 0x12f138
leaq 0x5530(%rbx), %r13
testl %edi, %edi
je 0x6c2c9
movq %r13, %rdi
movl %ebp, %esi
callq 0x4b0fa
movq %rax, %r15
jmp 0x6c2cc
xorl %r15d, %r15d
testl %ebp, %ebp
setne %al
testq %r15... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextBuildAddWindowsToNodes(ImGuiContext*, unsigned int) | void ImGui::DockContextBuildAddWindowsToNodes(ImGuiContext* ctx, ImGuiID root_id)
{
// Rebind all windows to nodes (they can also lazily rebind but we'll have a visible glitch during the first frame)
ImGuiContext& g = *ctx;
for (int n = 0; n < g.Windows.Size; n++)
{
ImGuiWindow* window = g.Windo... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
cmpl $0x0, 0x3f80(%rdi)
jle 0x6c8d5
movl %esi, %ebx
movq %rdi, %r14
leaq 0x5530(%rdi), %r15
xorl %r13d, %r13d
movq 0x3f88(%r14), %rax
movq (%rax,%r13,8), %r12
movl 0x428(%r12), %esi
testl %esi, %esi
je 0x6c8c6
movl 0x3f60(%r14), %eax
decl %eax
cmpl %eax, 0x278(%r12... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextProcessUndockWindow(ImGuiContext*, ImGuiWindow*, bool) | void ImGui::DockContextProcessUndockWindow(ImGuiContext* ctx, ImGuiWindow* window, bool clear_persistent_docking_ref)
{
IMGUI_DEBUG_LOG_DOCKING("DockContextProcessUndockWindow window '%s', clear_persistent_docking_ref = %d\n", window->Name, clear_persistent_docking_ref);
IM_UNUSED(ctx);
if (window->DockNode... | pushq %rbx
movq %rdi, %rbx
movq 0x418(%rdi), %rdi
testq %rdi, %rdi
je 0x6c925
xorl %edx, %edx
testb %sil, %sil
jne 0x6c91b
movl 0x428(%rbx), %edx
movq %rbx, %rsi
callq 0x6f845
jmp 0x6c92f
movl $0x0, 0x428(%rbx)
movb $0x0, 0xce(%rbx)
andb $-0x8, 0x3f9(%rbx)
leaq 0x58(%rbx), %rdi
movq 0x30(%rbx), %rsi
callq 0x795e4
movlh... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeTreeFindVisibleNodeByPos(ImGuiDockNode*, ImVec2) | ImGuiDockNode* ImGui::DockNodeTreeFindVisibleNodeByPos(ImGuiDockNode* node, ImVec2 pos)
{
if (!node->IsVisible)
return NULL;
const float dock_spacing = 0.0f;// g.Style.ItemInnerSpacing.x; // FIXME: Relation to DOCKING_SPLITTER_SIZE?
ImRect r(node->Pos, node->Pos + node->Size);
r.Expand(dock_spa... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
xorl %ebx, %ebx
movaps %xmm0, %xmm3
shufps $0x55, %xmm0, %xmm3 # xmm3 = xmm3[1,1],xmm0[1,1]
movaps %xmm0, 0x10(%rsp)
movaps %xmm3, (%rsp)
testb $0x2, 0xc5(%r14)
je 0x6c9f1
ucomiss 0x48(%r14), %xmm0
jb 0x6c9f1
movss 0x4c(%r14), %xmm2
ucomiss %xmm2, %xmm3
jb 0x6c... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextProcessDock(ImGuiContext*, ImGuiDockRequest*) | void ImGui::DockContextProcessDock(ImGuiContext* ctx, ImGuiDockRequest* req)
{
IM_ASSERT((req->Type == ImGuiDockRequestType_Dock && req->DockPayload != NULL) || (req->Type == ImGuiDockRequestType_Split && req->DockPayload == NULL));
IM_ASSERT(req->DockTargetWindow != NULL || req->DockTargetNode != NULL);
I... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rsi, %r13
movq %rdi, %rbp
movl (%rsi), %eax
cmpl $0x3, %eax
je 0x6ca30
cmpl $0x1, %eax
jne 0x6cfc7
cmpq $0x0, 0x18(%r13)
jne 0x6ca3b
cmpl $0x3, %eax
jne 0x6cfc7
cmpq $0x0, 0x18(%r13)
jne 0x6cfc7
movq 0x8(%r13), %r15
testq %r15, %r1... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DebugNodeViewport(ImGuiViewportP*) | void ImGui::DebugNodeViewport(ImGuiViewportP* viewport)
{
SetNextItemOpen(true, ImGuiCond_Once);
if (TreeNode((void*)(intptr_t)viewport->ID, "Viewport #%d, ID: 0x%08X, Parent: 0x%08X, Window: \"%s\"", viewport->Idx, viewport->ID, viewport->ParentViewportId, viewport->Window ? viewport->Window->Name : "N/A"))
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
movl $0x1, %edi
movl $0x2, %esi
callq 0xacabb
movl (%rbx), %ecx
movl 0x2c(%rbx), %r8d
movl 0x5c(%rbx), %edx
movq 0x80(%rbx), %rax
testq %rax, %rax
je 0x75ae6
movq (%rax), %r9
jmp 0x75aed
leaq 0x6f5c4(%rip), %r9 # 0xe... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DebugNodeColumns(ImGuiOldColumns*) | void ImGui::DebugNodeColumns(ImGuiOldColumns* columns)
{
if (!TreeNode((void*)(uintptr_t)columns->ID, "Columns Id: 0x%08X, Count: %d, Flags: 0x%04X", columns->ID, columns->Count, columns->Flags))
return;
BulletText("Width: %.1f (MinX: %.1f, MaxX: %.1f)", columns->OffMaxX - columns->OffMinX, columns->Off... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %edi
movl 0x4(%rbx), %r8d
movl 0x10(%rbx), %ecx
leaq 0x71220(%rip), %rsi # 0xe800e
movl %edi, %edx
xorl %eax, %eax
callq 0xabd30
testb %al, %al
je 0x76e91
movss 0x14(%rbx), %xmm1
movss 0x18(%rbx), %xmm0
cvtss2sd %xmm0, %xmm2
subss %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
AddWindowToDrawData(ImGuiWindow*, int) | static void AddWindowToDrawData(ImGuiWindow* window, int layer)
{
ImGuiContext& g = *GImGui;
ImGuiViewportP* viewport = window->Viewport;
g.IO.MetricsRenderWindows++;
if (window->Flags & ImGuiWindowFlags_DockNodeHost)
window->DrawList->ChannelsMerge();
AddDrawListToDrawData(&viewport->DrawDa... | pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xb763a(%rip), %rax # 0x12f138
movq 0x30(%rdi), %r14
incl 0xec(%rax)
movl %esi, %ebp
testb $0x20, 0xf(%rdi)
je 0x77b23
movq 0x2b8(%rbx), %rsi
leaq 0xa8(%rsi), %rdi
callq 0x7edf8
movl %ebp, %eax
shlq $0x4, %rax
leaq (%r14,%rax), %rdi
addq $0xd8, %rdi
movq 0x2b8(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ApplyWindowSettings(ImGuiWindow*, ImGuiWindowSettings*) | static void ApplyWindowSettings(ImGuiWindow* window, ImGuiWindowSettings* settings)
{
const ImGuiViewport* main_viewport = ImGui::GetMainViewport();
window->ViewportPos = main_viewport->Pos;
if (settings->ViewportId)
{
window->ViewportId = settings->ViewportId;
window->ViewportPos = ImVe... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x5ee9f
movq 0x8(%rax), %rax
movq %rax, 0x3c(%rbx)
movl 0x10(%r14), %eax
testl %eax, %eax
je 0x77f3a
movl %eax, 0x38(%rbx)
movswl 0xc(%r14), %eax
cvtsi2ss %eax, %xmm0
movswl 0xe(%r14), %eax
cvtsi2ss %eax, %xmm1
movss %xmm0, 0x3c(%rbx)
movss %xmm1, 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
GetResizeBorderRect(ImGuiWindow*, int, float, float) | static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness)
{
ImRect rect = window->Rect();
if (thickness == 0.0f)
rect.Max -= ImVec2(1, 1);
if (border_n == ImGuiDir_Left) { return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x ... | movaps %xmm1, %xmm2
movss 0x48(%rdi), %xmm1
movss 0x4c(%rdi), %xmm4
movss 0x50(%rdi), %xmm3
addss %xmm1, %xmm3
movss 0x54(%rdi), %xmm6
addss %xmm4, %xmm6
movaps %xmm3, %xmm5
unpcklps %xmm6, %xmm5 # xmm5 = xmm5[0],xmm6[0],xmm5[1],xmm6[1]
xorps %xmm7, %xmm7
ucomiss %xmm7, %xmm2
jne 0x7810b
jp 0x7810b
movss 0x5... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderWindowOuterBorders(ImGuiWindow*) | static void ImGui::RenderWindowOuterBorders(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
float rounding = window->WindowRounding;
float border_size = window->WindowBorderSize;
if (border_size > 0.0f && !(window->Flags & ImGuiWindowFlags_NoBackground))
window->DrawList->AddRect(window->Pos, ... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x90, %rsp
movq %rdi, %rbx
movq 0xb6f5b(%rip), %r13 # 0x12f138
movss 0x80(%rdi), %xmm0
movss 0x84(%rdi), %xmm1
xorps %xmm2, %xmm2
movss %xmm1, 0x10(%rsp)
ucomiss %xmm2, %xmm1
jbe 0x78284
testb $-0x80, 0xc(%rbx)
jne 0x78284
movq 0x2b8(%rbx), %r14
leaq 0x48... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
NavUpdateWindowingHighlightWindow(int) | static void NavUpdateWindowingHighlightWindow(int focus_change_dir)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.NavWindowingTarget);
if (g.NavWindowingTarget->Flags & ImGuiWindowFlags_Modal)
return;
const int i_current = ImGui::FindWindowFocusIndex(g.NavWindowingTarget);
ImGuiWindow* window_ta... | pushq %r15
pushq %r14
pushq %rbx
movl %edi, %ebx
movq 0xb66cd(%rip), %r15 # 0x12f138
movq 0x43d0(%r15), %rdi
testq %rdi, %rdi
je 0x78ad4
testb $0x8, 0xf(%rdi)
jne 0x78ace
callq 0x637d4
movl %eax, %r14d
leal (%r14,%rbx), %edi
movl $0x80000001, %esi # imm = 0x80000001
movl %ebx, %edx
callq 0x789e8
testq %rax, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetWindowAlwaysWantOwnViewport(ImGuiWindow*) | static bool ImGui::GetWindowAlwaysWantOwnViewport(ImGuiWindow* window)
{
// Tooltips and menus are not automatically forced into their own viewport when the NoMerge flag is set, however the multiplication of viewports makes them more likely to protrude and create their own.
ImGuiContext& g = *GImGui;
if (g.... | movq 0xb65ce(%rip), %rax # 0x12f138
cmpb $0x0, 0x74(%rax)
jne 0x78b76
testb $0x8, 0x1d(%rdi)
je 0x78ba6
testb $0x4, 0x3d41(%rax)
je 0x78ba6
testb $0x1, 0x3f9(%rdi)
jne 0x78ba6
movl 0xc(%rdi), %eax
testl $0x13000000, %eax # imm = 0x13000000
sete %cl
andl $0xc000000, %eax # imm = 0xC000000
cmpl $0x400000... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeAddTabBar(ImGuiDockNode*) | static void ImGui::DockNodeAddTabBar(ImGuiDockNode* node)
{
IM_ASSERT(node->TabBar == NULL);
node->TabBar = IM_NEW(ImGuiTabBar);
} | pushq %r14
pushq %rbx
pushq %rax
cmpq $0x0, 0x40(%rdi)
jne 0x790bd
movq %rdi, %rbx
movq 0xb60af(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x79094
incl 0xf4(%rax)
movq 0xb60ad(%rip), %rsi # 0x12f148
movl $0x98, %edi
callq *0xb49ba(%rip) # 0x12da60
movq %rax, %r14
movq %rax, %rdi
callq 0xaf3c6
movq %r14... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeUpdateVisibleFlag(ImGuiDockNode*) | static void ImGui::DockNodeUpdateVisibleFlag(ImGuiDockNode* node)
{
// Update visibility flag
bool is_visible = (node->ParentNode == NULL) ? node->IsDockSpace() : node->IsCentralNode();
is_visible |= (node->Windows.Size > 0);
is_visible |= (node->ChildNodes[0] && node->ChildNodes[0]->IsVisible);
is_... | movq 0x20(%rdi), %rdx
xorl %eax, %eax
movl $0x0, %ecx
testq %rdx, %rdx
je 0x790f8
movl 0xc4(%rdx), %ecx
shrl $0x9, %ecx
andl $0x1, %ecx
movq 0x18(%rdi), %r8
movl 0x10(%rdi), %esi
movl 0x30(%rdi), %edx
movq 0x28(%rdi), %r9
testq %r9, %r9
je 0x79118
movl 0xc4(%r9), %eax
shrl $0x9, %eax
andl $0x1, %eax
xorl %r9d, %r9d
tes... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeMoveChildNodes(ImGuiDockNode*, ImGuiDockNode*) | static void ImGui::DockNodeMoveChildNodes(ImGuiDockNode* dst_node, ImGuiDockNode* src_node)
{
IM_ASSERT(dst_node->Windows.Size == 0);
dst_node->ChildNodes[0] = src_node->ChildNodes[0];
dst_node->ChildNodes[1] = src_node->ChildNodes[1];
if (dst_node->ChildNodes[0])
dst_node->ChildNodes[0]->Parent... | cmpl $0x0, 0x30(%rdi)
jne 0x791a0
movq 0x20(%rsi), %rax
movq %rax, 0x20(%rdi)
movq 0x28(%rsi), %rcx
movq %rcx, 0x28(%rdi)
testq %rax, %rax
je 0x7917a
movq %rdi, 0x18(%rax)
leaq 0x20(%rsi), %rax
movq 0x28(%rdi), %rcx
testq %rcx, %rcx
je 0x7918b
movq %rdi, 0x18(%rcx)
movl 0x60(%rsi), %ecx
movl %ecx, 0x60(%rdi)
movq 0x58(... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeUpdateHasCentralNodeChild(ImGuiDockNode*) | static void ImGui::DockNodeUpdateHasCentralNodeChild(ImGuiDockNode* node)
{
node->HasCentralNodeChild = false;
if (node->ChildNodes[0])
DockNodeUpdateHasCentralNodeChild(node->ChildNodes[0]);
if (node->ChildNodes[1])
DockNodeUpdateHasCentralNodeChild(node->ChildNodes[1]);
if (node->IsRoo... | pushq %rbx
movq %rdi, %rbx
andb $-0x41, 0xc5(%rdi)
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0x791d9
callq 0x791c0
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x791e7
callq 0x791c0
cmpq $0x0, 0x18(%rbx)
je 0x791f0
popq %rbx
retq
movq 0x98(%rbx), %rax
testq %rax, %rax
je 0x791ee
orb $0x40, 0xc5(%rax)
movq 0x18(%rax), %rax... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeTreeMerge(ImGuiContext*, ImGuiDockNode*, ImGuiDockNode*) | void ImGui::DockNodeTreeMerge(ImGuiContext* ctx, ImGuiDockNode* parent_node, ImGuiDockNode* merge_lead_child)
{
// When called from DockContextProcessUndockNode() it is possible that one of the child is NULL.
ImGuiDockNode* child_0 = parent_node->ChildNodes[0];
ImGuiDockNode* child_1 = parent_node->ChildNod... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x20(%rsi), %r15
movq 0x28(%rsi), %rbx
movq %r15, %rax
orq %rbx, %rax
je 0x798a7
cmpq %rdx, %r15
sete %al
cmpq %rdx, %rbx
sete %cl
orb %al, %cl
je 0x798c6
movq %rsi, %r12
movq %rdi, %r14
testq %r15, %r15
je 0x796c2
cmpl $0x0, 0x30(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeTreeUpdateSplitter(ImGuiDockNode*) | void ImTriangleBarycentricCoords(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p, float& out_u, float& out_v, float& out_w)
{
ImVec2 v0 = b - a;
ImVec2 v1 = c - a;
ImVec2 v2 = p - a;
const float denom = v0.x * v1.y - v1.x * v0.y;
out_v = (v2.x * v1.y - v1.x * v2.y) / denom;
ou... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq 0x20(%rdi), %r14
testq %r14, %r14
je 0x79b49
movq %rdi, %r15
movq 0x28(%rdi), %rbx
testb $0x2, 0xc5(%r14)
je 0x79b26
testb $0x2, 0xc5(%rbx)
je 0x79b26
movslq 0x60(%r15), %r12
cmpq $-0x1, %r12
je 0x79f07
movq 0xb56e1(%rip), %rbp ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockNodeUpdateFlagsAndCollapse(ImGuiDockNode*) | static void ImGui::DockNodeUpdateFlagsAndCollapse(ImGuiDockNode* node)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(node->ParentNode == NULL || node->ParentNode->ChildNodes[0] == node || node->ParentNode->ChildNodes[1] == node);
// Inherit most flags
if (node->ParentNode)
node->SharedFlags = node->Pa... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xb51b0(%rip), %r15 # 0x12f138
movq 0x18(%rdi), %rax
testq %rax, %rax
je 0x79fac
cmpq %rbx, 0x20(%rax)
je 0x79fa1
cmpq %rbx, 0x28(%rax)
jne 0x7a1cb
testq %rax, %rax
je 0x79fac
movl 0x4(%rax), %eax
movl %eax, 0x4(%rbx)
andb $-0x41, 0xc5(%rbx... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
DockNodeFindInfo(ImGuiDockNode*, ImGuiDockNodeTreeInfo*) | static void DockNodeFindInfo(ImGuiDockNode* node, ImGuiDockNodeTreeInfo* info)
{
if (node->Windows.Size > 0)
{
if (info->FirstNodeWithWindows == NULL)
info->FirstNodeWithWindows = node;
info->CountNodesWithWindows++;
}
if (node->IsCentralNode())
{
IM_ASSERT(info->... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
cmpl $0x0, 0x30(%r14)
jle 0x7a209
cmpq $0x0, 0x8(%rbx)
jne 0x7a206
movq %r14, 0x8(%rbx)
incl 0x10(%rbx)
testb $0x8, 0x11(%r14)
je 0x7a220
cmpq $0x0, (%rbx)
jne 0x7a24e
cmpq $0x0, 0x20(%r14)
jne 0x7a26d
movq %r14, (%rbx)
cmpl $0x2, 0x10(%rbx)
jl 0x7a22c
cm... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
DockNodeTreeUpdateSplitterFindTouchingNode(ImGuiDockNode*, ImGuiAxis, int, ImVector<ImGuiDockNode*>*) | static void DockNodeTreeUpdateSplitterFindTouchingNode(ImGuiDockNode* node, ImGuiAxis axis, int side, ImVector<ImGuiDockNode*>* touching_nodes)
{
if (node->IsLeafNode())
{
touching_nodes->push_back(node);
return;
}
if (node->ChildNodes[0]->IsVisible)
if (node->SplitAxis != axis |... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %r15
movq 0x20(%rdi), %rdi
testq %rdi, %rdi
je 0x7a302
testb $0x2, 0xc5(%rdi)
je 0x7a2d4
testl %ebp, %ebp
je 0x7a2c7
cmpl %r14d, 0x60(%r15)
jne 0x7a2c7
movq 0x28(%r15), %rax
testb $0x2, 0xc5(%rax)
jne 0x7a... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImDrawDataBuilder::Clear() | void Clear() { for (int n = 0; n < IM_ARRAYSIZE(Layers); n++) Layers[n].resize(0); } | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
xorl %r15d, %r15d
xorl %r12d, %r12d
movl 0x4(%rbx,%r12), %eax
testl %eax, %eax
jns 0x7bdb9
movl %eax, %r13d
shrl $0x1f, %r13d
addl %eax, %r13d
sarl %r13d
addl %eax, %r13d
testl %r13d, %r13d
cmovlel %r15d, %r13d
movq 0xb33ef(%rip), %rax # 0x12f13... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
ImPool<ImGuiTable>::TryGetMapData(int) | T* TryGetMapData(ImPoolIdx n) { int idx = Map.Data[n].val_i; if (idx == -1) return NULL; return GetByIndex(idx); } | pushq %rax
testl %esi, %esi
js 0x7c299
cmpl %esi, 0x10(%rdi)
jle 0x7c299
movq 0x18(%rdi), %rax
movl %esi, %ecx
shlq $0x4, %rcx
movl 0x8(%rax,%rcx), %eax
movl $0xffffffff, %ecx # imm = 0xFFFFFFFF
cmpq %rcx, %rax
je 0x7c295
testl %eax, %eax
js 0x7c2b0
cmpl %eax, (%rdi)
jle 0x7c2b0
imulq $0x218, %rax, %rax # im... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
ImPool<ImGuiDockContextPruneNodeData>::~ImPool() | ~ImPool() { Clear(); } | pushq %rbx
movq %rdi, %rbx
callq 0x7d384
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x7d20d
movq 0xb1f43(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x7d200
decl 0xf4(%rax)
movq 0xb1f41(%rip), %rsi # 0x12f148
callq *0xb085b(%rip) # 0x12da68
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x7d235
movq 0xb1f1b(%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
ImVector<ImGuiListClipperRange>::insert(ImGuiListClipperRange const*, ImGuiListClipperRange const&) | inline T* insert(const T* it, const T& v) { IM_ASSERT(it >= Data && it <= Data + Size); const ptrdiff_t off = it - Data; if (Size == Capacity) reserve(_grow_capacity(Size + 1)); if (off < (int)Size) memmove(Data + off + 1, Data + off, ((size_t)Size - (size_t)off) * sizeof(T)); memcpy(&Data[off], &v, sizeo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0x8(%rdi), %rax
cmpq %rsi, %rax
ja 0x7d56f
movq %rsi, %rbx
movq %rdi, %r14
movslq (%rdi), %r13
leaq (,%r13,2), %rcx
addq %r13, %rcx
leaq (%rax,%rcx,4), %rcx
cmpq %rsi, %rcx
jb 0x7d56f
movq %rdx, %r15
subq %rax, %rbx
movq %rbx, %rax
sarq $... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.h |
ImGui::StyleColorsLight(ImGuiStyle*) | void ImGui::StyleColorsLight(ImGuiStyle* dst)
{
ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
ImVec4* colors = style->Colors;
colors[ImGuiCol_Text] = ImVec4(0.00f, 0.00f, 0.00f, 1.00f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f);
colors[ImGu... | pushq %rax
testq %rdi, %rdi
jne 0x7e58b
callq 0x4d002
movq %rax, %rdi
movaps 0x6124e(%rip), %xmm0 # 0xdf7e0
movups %xmm0, 0xc8(%rdi)
movaps 0x6f320(%rip), %xmm0 # 0xed8c0
movups %xmm0, 0xd8(%rdi)
movaps 0x6f582(%rip), %xmm0 # 0xedb30
movups %xmm0, 0xe8(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0xf8(%rdi)
movaps 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawListSharedData::ImDrawListSharedData() | ImDrawListSharedData::ImDrawListSharedData()
{
memset(this, 0, sizeof(*this));
for (int i = 0; i < IM_ARRAYSIZE(ArcFastVtx); i++)
{
const float a = ((float)i * 2 * IM_PI) / (float)IM_ARRAYSIZE(ArcFastVtx);
ArcFastVtx[i] = ImVec2(ImCos(a), ImSin(a));
}
ArcFastRadiusCutoff = IM_DRAWLIS... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq $0x0, (%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x1c(%rdi)
addq $0x30, %rdi
xorl %r14d, %r14d
movl $0x180, %edx # imm = 0x180
xorl %esi, %esi
callq 0xc4a0
movl $0x200, %edx # imm = 0x200
movq %rbx, %rdi
xorl %esi, %esi
callq 0xc4a0
xorps %xmm0, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawListSharedData::SetCircleTessellationMaxError(float) | void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error)
{
if (CircleSegmentMaxError == max_error)
return;
IM_ASSERT(max_error > 0.0f);
CircleSegmentMaxError = max_error;
for (int i = 0; i < IM_ARRAYSIZE(CircleSegmentCounts); i++)
{
const float radius = (float)i;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movss 0x18(%rdi), %xmm1
ucomiss %xmm0, %xmm1
jne 0x7ea07
jnp 0x7eab0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x7eabb
movq %rdi, %rbx
movss %xmm0, 0x18(%rdi)
xorl %r14d, %r14d
movl $0x200, %ebp # imm = 0x200
movl $0x4, %r15d
testq %r14, %r14
je 0x7ea8... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::_ResetForNewFrame() | void ImDrawList::_ResetForNewFrame()
{
// Verify that the ImDrawCmd fields we want to memcmp() are contiguous in memory.
IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0);
IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, TextureId) == sizeof(ImVec4));
IM_STATIC_ASSERT(IM_OFFSETOF(ImDrawCmd, VtxOffset) == s... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpl $0x2, 0xac(%rdi)
jl 0x7eafc
leaq 0xa8(%rbx), %rdi
movq %rbx, %rsi
callq 0x7edf8
movl 0x4(%rbx), %eax
testl %eax, %eax
jns 0x7eb4c
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmov... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::CloneOutput() const | ImDrawList* ImDrawList::CloneOutput() const
{
ImDrawList* dst = IM_NEW(ImDrawList(_Data));
dst->CmdBuffer = CmdBuffer;
dst->IdxBuffer = IdxBuffer;
dst->VtxBuffer = VtxBuffer;
dst->Flags = Flags;
return dst;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0xc8, %edi
callq 0x4a3d4
movq %rax, %r14
movq 0x38(%rbx), %r15
movl $0xc8, %edx
movq %rax, %rdi
xorl %esi, %esi
callq 0xc4a0
movq %r15, 0x38(%r14)
movq 0x8(%r14), %rdi
testq %rdi, %rdi
je 0x7f42c
xorl %r15d, %r15d
movq %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::_TryMergeDrawCmds() | void ImDrawList::_TryMergeDrawCmds()
{
IM_ASSERT_PARANOID(CmdBuffer.Size > 0);
ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1];
ImDrawCmd* prev_cmd = curr_cmd - 1;
if (ImDrawCmd_HeaderCompare(curr_cmd, prev_cmd) == 0 && ImDrawCmd_AreSequentialIdxOffset(prev_cmd, curr_cmd) && curr_cmd->UserCall... | movq 0x8(%rdi), %rcx
movslq (%rdi), %rax
imulq $0x38, %rax, %rdx
movdqu -0x70(%rcx,%rdx), %xmm0
movdqu -0x64(%rcx,%rdx), %xmm1
movdqu -0x38(%rcx,%rdx), %xmm2
pcmpeqb %xmm0, %xmm2
movdqu -0x2c(%rcx,%rdx), %xmm0
pcmpeqb %xmm1, %xmm0
pand %xmm2, %xmm0
pmovmskb %xmm0, %esi
cmpl $0xffff, %esi # imm = 0xFFFF
je 0x7... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::_OnChangedClipRect() | void ImDrawList::_OnChangedClipRect()
{
// If current command is used with different settings we need to add a new command
IM_ASSERT_PARANOID(CmdBuffer.Size > 0);
ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1];
if (curr_cmd->ElemCount != 0 && memcmp(&curr_cmd->ClipRect, &_CmdHeader.ClipRect, ... | movq 0x8(%rdi), %rdx
movslq (%rdi), %rax
imulq $0x38, %rax, %r8
leaq (%rdx,%r8), %rcx
addq $-0x38, %rcx
movl 0x20(%rcx), %esi
testl %esi, %esi
je 0x7f8f6
movdqu (%rcx), %xmm0
movdqu 0x88(%rdi), %xmm1
pcmpeqb %xmm0, %xmm1
pmovmskb %xmm1, %r9d
cmpl $0xffff, %r9d # imm = 0xFFFF
jne 0x7f610
addq %r8, %rdx
cmpq $0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::_OnChangedTextureID() | void ImDrawList::_OnChangedTextureID()
{
// If current command is used with different settings we need to add a new command
IM_ASSERT_PARANOID(CmdBuffer.Size > 0);
ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1];
if (curr_cmd->ElemCount != 0 && curr_cmd->TextureId != _CmdHeader.TextureId)
... | movq 0x8(%rdi), %rdx
movslq (%rdi), %rax
imulq $0x38, %rax, %rsi
leaq (%rdx,%rsi), %rcx
movl -0x18(%rdx,%rsi), %edx
testl %edx, %edx
je 0x7f9a6
movq -0x28(%rcx), %rsi
cmpq 0x98(%rdi), %rsi
jne 0x7f610
cmpq $0x0, -0x10(%rcx)
jne 0x7fa0b
cmpl $0x2, %eax
jl 0x7f9fa
testl %edx, %edx
jne 0x7f9fa
movdqu 0x88(%rdi), %xmm0
mov... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PushClipRect(ImVec2, ImVec2, bool) | void ImDrawList::PushClipRect(ImVec2 cr_min, ImVec2 cr_max, bool intersect_with_current_clip_rect)
{
ImVec4 cr(cr_min.x, cr_min.y, cr_max.x, cr_max.y);
if (intersect_with_current_clip_rect)
{
ImVec4 current = _CmdHeader.ClipRect;
if (cr.x < current.x) cr.x = current.x;
if (cr.y < cur... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2 # xmm2 = xmm2[1,1],xmm0[1,1]
movaps %xmm1, %xmm6
shufps $0x55, %xmm1, %xmm6 # xmm6 = xmm6[1,1],xmm1[1,1]
testl %esi, %esi
je 0x7fb53
movss 0x88(%rbx), %xmm5
movss 0x8c(%rbx), %xmm4
movss 0x90(%rbx), ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PrimReserve(int, int) | void ImDrawList::PrimReserve(int idx_count, int vtx_count)
{
// Large mesh support (when enabled)
IM_ASSERT_PARANOID(idx_count >= 0 && vtx_count >= 0);
if (sizeof(ImDrawIdx) == 2 && (_VtxCurrentIdx + vtx_count >= (1 << 16)) && (Flags & ImDrawListFlags_AllowVtxOffset))
{
// FIXME: In theory we sh... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %edx, %r14d
movl %esi, %ebp
movq %rdi, %rbx
movl 0x34(%rdi), %eax
addl %edx, %eax
cmpl $0x10000, %eax # imm = 0x10000
jb 0x7fdf0
testb $0x8, 0x30(%rbx)
je 0x7fdf0
movl 0x20(%rbx), %eax
movl %eax, 0xa0(%rbx)
movq %rbx, %rdi
callq ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PrimRect(ImVec2 const&, ImVec2 const&, unsigned int) | void ImDrawList::PrimRect(const ImVec2& a, const ImVec2& c, ImU32 col)
{
ImVec2 b(c.x, a.y), d(a.x, c.y), uv(_Data->TexUvWhitePixel);
ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx;
_IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr[2] = (ImDrawIdx)(idx+2);
_IdxWritePtr[3] = idx; _IdxW... | pushq %rbp
pushq %r14
pushq %rbx
movl (%rsi), %eax
movl 0x4(%rsi), %r10d
movl (%rdx), %r11d
movl 0x4(%rdx), %r8d
movq 0x38(%rdi), %r9
movq (%r9), %r9
movl 0x34(%rdi), %ebx
movq 0x50(%rdi), %r14
movw %bx, (%r14)
leal 0x1(%rbx), %ebp
movw %bp, 0x2(%r14)
leal 0x2(%rbx), %ebp
movw %bp, 0x4(%r14)
movw %bx, 0x6(%r14)
movw %b... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PrimRectUV(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int) | void ImDrawList::PrimRectUV(const ImVec2& a, const ImVec2& c, const ImVec2& uv_a, const ImVec2& uv_c, ImU32 col)
{
ImVec2 b(c.x, a.y), d(a.x, c.y), uv_b(uv_c.x, uv_a.y), uv_d(uv_a.x, uv_c.y);
ImDrawIdx idx = (ImDrawIdx)_VtxCurrentIdx;
_IdxWritePtr[0] = idx; _IdxWritePtr[1] = (ImDrawIdx)(idx+1); _IdxWritePtr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl (%rsi), %eax
movl %eax, -0x4(%rsp)
movl 0x4(%rsi), %ebp
movl (%rdx), %r15d
movl 0x4(%rdx), %r11d
movl (%rcx), %eax
movl %eax, -0x8(%rsp)
movl 0x4(%rcx), %r14d
movl (%r8), %r12d
movl 0x4(%r8), %ebx
movl 0x34(%rdi), %r13d
movq 0x50(%rdi), %rax
movw %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddPolyline(ImVec2 const*, int, unsigned int, int, float) | void ImDrawList::AddPolyline(const ImVec2* points, const int points_count, ImU32 col, ImDrawFlags flags, float thickness)
{
if (points_count < 2)
return;
const bool closed = (flags & ImDrawFlags_Closed) != 0;
const ImVec2 opaque_uv = _Data->TexUvWhitePixel;
const int count = closed ? points_cou... | cmpl $0x2, %edx
jl 0x80cdf
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %ecx, %r14d
movl %edx, %r12d
movq %rsi, %r15
movq %rdi, %rbx
leal -0x1(%r12), %r10d
testb $0x1, %r8b
movq 0x38(%rdi), %rax
movq (%rax), %r13
movl %edx, %r11d
cmovel %r10d, %r11d
movl 0x30(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::_PathArcToFastEx(ImVec2 const&, float, int, int, int) | void ImDrawList::_PathArcToFastEx(const ImVec2& center, float radius, int a_min_sample, int a_max_sample, int a_step)
{
if (radius <= 0.0f)
{
_Path.push_back(center);
return;
}
// Calculate arc auto segment step size
if (a_step <= 0)
a_step = IM_DRAWLIST_ARCFAST_SAMPLE_MAX /... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jae 0x810ad
movl %ecx, %r15d
movl %edx, %r12d
testl %r8d, %r8d
jg 0x81051
movq %rdi, %r14
movss %xmm0, 0x4(%rsp)
callq 0x7fa7e
movss 0x4(%rsp), %xmm0
movq %r14, %rdi
movl %eax, %ecx... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PathBezierCubicCurveTo(ImVec2 const&, ImVec2 const&, ImVec2 const&, int) | void ImDrawList::PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments)
{
ImVec2 p1 = _Path.back();
if (num_segments == 0)
{
PathBezierCubicCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y, _Data->CurveTessellationTol, 0); // Auto-tessel... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movslq 0x78(%rdi), %rax
testq %rax, %rax
jle 0x81f45
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbx
movq 0x80(%rdi), %rdx
movss -0x8(%rdx,%rax,8), %xmm0
movss -0x4(%rdx,%rax,8), %xmm1
testl %r8d, %r8d
je 0x81ef8
jle 0x81f36
cvtsi2ss %r8... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
PathBezierCubicCurveToCasteljau(ImVector<ImVec2>*, float, float, float, float, float, float, float, float, float, int) | static void PathBezierCubicCurveToCasteljau(ImVector<ImVec2>* path, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float tess_tol, int level)
{
float dx = x4 - x1;
float dy = y4 - y1;
float d2 = (x2 - x4) * dy - (y2 - y4) * dx;
float d3 = (x3 - x4) * dy - (y3 - y4) * dx;... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x30, %rsp
movl %esi, %ebp
movaps %xmm7, %xmm8
movaps %xmm6, %xmm9
movaps %xmm5, %xmm10
movaps %xmm4, %xmm11
movaps %xmm3, %xmm12
movaps %xmm2, %xmm13
movq %rdi, %rbx
movss 0x50(%rsp), %xmm14
movss %xmm7, 0x14(%rsp)
movss %xmm6, 0x10(%rsp)
movaps %xmm9, %xmm2
subss %xmm0, %xmm2
mo... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PathBezierQuadraticCurveTo(ImVec2 const&, ImVec2 const&, int) | void ImDrawList::PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, int num_segments)
{
ImVec2 p1 = _Path.back();
if (num_segments == 0)
{
PathBezierQuadraticCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, _Data->CurveTessellationTol, 0);// Auto-tessellated
}
else
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movslq 0x78(%rdi), %rax
testq %rax, %rax
jle 0x8240a
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movq 0x80(%rdi), %rdx
movss -0x8(%rdx,%rax,8), %xmm0
movss -0x4(%rdx,%rax,8), %xmm1
testl %ecx, %ecx
je 0x823d2
jle 0x823c3
cvtsi2ss %ec... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::PathRect(ImVec2 const&, ImVec2 const&, float, int) | void ImDrawList::PathRect(const ImVec2& a, const ImVec2& b, float rounding, ImDrawFlags flags)
{
flags = FixRectCornerFlags(flags);
rounding = ImMin(rounding, ImFabs(b.x - a.x) * ( ((flags & ImDrawFlags_RoundCornersTop) == ImDrawFlags_RoundCornersTop) || ((flags & ImDrawFlags_RoundCornersBottom) == ImDrawFlag... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
cmpl $-0x1, %ecx
je 0x82615
leal -0x1(%rcx), %eax
cmpl $0xe, %eax
ja 0x8261c
shll $0x4, %ecx
jmp 0x82637
movl $0xf0, %ecx
jmp 0x82637
testb $0xf, %cl
jne 0x82a52
movl %ecx, %eax
orl $0xf0, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddLine(ImVec2 const&, ImVec2 const&, unsigned int, float) | void ImDrawList::AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1 + ImVec2(0.5f, 0.5f));
PathLineTo(p2 + ImVec2(0.5f, 0.5f));
PathStroke(col, 0, thickness);
} | cmpl $0x1000000, %ecx # imm = 0x1000000
jb 0x82c32
pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movl %ecx, %ebp
movq %rdx, %r14
movq %rdi, %rbx
movss 0x572ba(%rip), %xmm2 # 0xd9d54
movss (%rsi), %xmm3
addss %xmm2, %xmm3
movss 0x4(%rsi), %xmm1
addss %xmm2, %xmm1
unpcklps %xmm1, %xmm3... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddRect(ImVec2 const&, ImVec2 const&, unsigned int, float, int, float) | void ImDrawList::AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags, float thickness)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
if (Flags & ImDrawListFlags_AntiAliasedLines)
PathRect(p_min + ImVec2(0.50f, 0.50f), p_max - ImVec2(0.50f, 0.50f), roundin... | cmpl $0x1000000, %ecx # imm = 0x1000000
jb 0x82cf9
pushq %rbp
pushq %rbx
subq $0x18, %rsp
movl %ecx, %ebp
movq %rdi, %rbx
movss %xmm1, 0x4(%rsp)
testb $0x1, 0x30(%rdi)
jne 0x82c81
movss 0x570f5(%rip), %xmm1 # 0xd9d54
movss (%rsi), %xmm2
addss %xmm1, %xmm2
addss 0x4(%rsi), %xmm1
unpcklps %xmm1, %xmm2 ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddRectFilled(ImVec2 const&, ImVec2 const&, unsigned int, float, int) | void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawFlags flags)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
if (rounding <= 0.0f || (flags & ImDrawFlags_RoundCornersMask_) == ImDrawFlags_RoundCornersNone)
{
PrimReserve(6, 4);
Pri... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
cmpl $0x1000000, %ecx # imm = 0x1000000
jb 0x82d89
movl %ecx, %ebx
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %r14
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
setb %al
movl %r8d, %ecx
andl $0x1f0, %ecx # imm = 0x1F0
cmpl $0x100, %ecx # imm ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddQuad(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float) | void ImDrawList::AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1);
PathLineTo(p2);
PathLineTo(p3);
PathLineTo(p4);
PathStroke(col, ImDrawFlags_Closed, thickness);
} | cmpl $0x1000000, %r9d # imm = 0x1000000
jb 0x831c1
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %ebp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movl 0x78(%rdi), %r15d
movl 0x7c(%rdi), %eax
cmpl %eax, %r15d
movss %xmm0, 0x4(%rsp)
jne 0x82fa0
incl %r15d
testl %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddQuadFilled(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int) | void ImDrawList::AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1);
PathLineTo(p2);
PathLineTo(p3);
PathLineTo(p4);
PathFillConvex(col);
} | cmpl $0x1000000, %r9d # imm = 0x1000000
jb 0x8347d
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %ebx
movq %rdx, %r13
movq %rsi, %rbp
movq %rdi, %r14
movl 0x78(%rdi), %r12d
movl 0x7c(%rdi), %eax
cmpl %eax, %r12d
jne 0x83270
incl %r12d
testl %eax, %eax
je 0x83209
mo... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddTriangle(ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float) | void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1);
PathLineTo(p2);
PathLineTo(p3);
PathStroke(col, ImDrawFlags_Closed, thickness);
} | cmpl $0x1000000, %r8d # imm = 0x1000000
jb 0x836b2
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movq %rdx, %r15
movq %rsi, %r12
movq %rdi, %rbx
movl 0x78(%rdi), %r14d
movl 0x7c(%rdi), %eax
cmpl %eax, %r14d
jne 0x8352e
incl %r14d
testl %eax, %eax
je 0x834c5
mo... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddTriangleFilled(ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int) | void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1);
PathLineTo(p2);
PathLineTo(p3);
PathFillConvex(col);
} | cmpl $0x1000000, %r8d # imm = 0x1000000
jb 0x838bb
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %r8d, %ebx
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %r14
movl 0x78(%rdi), %r15d
movl 0x7c(%rdi), %eax
cmpl %eax, %r15d
jne 0x83753
incl %r15d
testl %eax, %eax
je 0x836f8
movl %ea... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddCircle(ImVec2 const&, float, unsigned int, int, float) | void ImDrawList::AddCircle(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
{
if ((col & IM_COL32_A_MASK) == 0 || radius <= 0.0f)
return;
if (num_segments <= 0)
{
// Use arc with automatic segment count
_PathArcToFastEx(center, radius - 0.5f, 0, IM_D... | pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
cmpl $0x1000000, %edx # imm = 0x1000000
setb %al
xorps %xmm2, %xmm2
ucomiss %xmm0, %xmm2
setae %dl
orb %al, %dl
jne 0x83972
movq %rdi, %rbx
movss %xmm1, 0x4(%rsp)
testl %ecx, %ecx
jle 0x8392e
movl $0x200, %eax # imm = 0x200
cmpl %eax, %ecx
cmovll %ecx, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddNgon(ImVec2 const&, float, unsigned int, int, float) | void ImDrawList::AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
{
if ((col & IM_COL32_A_MASK) == 0 || num_segments <= 2)
return;
// Because we are filling a closed shape we remove 1 from the count of segments/points
const float a_max = (IM_PI * 2.0f) * ((f... | pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
cmpl $0x1000000, %edx # imm = 0x1000000
setb %al
cmpl $0x3, %ecx
setl %dl
orb %al, %dl
jne 0x83a89
movq %rdi, %rbx
movss %xmm1, 0x4(%rsp)
xorps %xmm1, %xmm1
cvtsi2ss %ecx, %xmm1
movss 0x515c6(%rip), %xmm2 # 0xd5004
addss %xmm1, %xmm2
mulss 0x6a2d6(%rip), %xmm2 ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddNgonFilled(ImVec2 const&, float, unsigned int, int) | void ImDrawList::AddNgonFilled(const ImVec2& center, float radius, ImU32 col, int num_segments)
{
if ((col & IM_COL32_A_MASK) == 0 || num_segments <= 2)
return;
// Because we are filling a closed shape we remove 1 from the count of segments/points
const float a_max = (IM_PI * 2.0f) * ((float)num_se... | pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
cmpl $0x1000000, %edx # imm = 0x1000000
setb %al
cmpl $0x3, %ecx
setl %dl
orb %al, %dl
jne 0x83aee
movq %rdi, %rbx
cvtsi2ss %ecx, %xmm1
movss 0x5154d(%rip), %xmm2 # 0xd5004
addss %xmm1, %xmm2
mulss 0x6a25d(%rip), %xmm2 # 0xedd20
divss %xmm1, %xmm2
decl %ecx
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddBezierCubic(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float, int) | void ImDrawList::AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1);
PathBezierCubicCurveTo(p2, p3, p4, num_segments);
PathStroke(col, 0, thickness);
} | cmpl $0x1000000, %r9d # imm = 0x1000000
jb 0x83c10
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r9d, %ebp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movss %xmm0, 0x4(%rsp)
movl 0x50(%rsp), %r9d
movl 0x78(%rdi), %r14d
movl 0x7c(%rdi), %eax
cmpl %eax... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddBezierQuadratic(ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float, int) | void ImDrawList::AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
PathLineTo(p1);
PathBezierQuadraticCurveTo(p2, p3, num_segments);
PathStroke(col, 0, thickness);
} | cmpl $0x1000000, %r8d # imm = 0x1000000
jb 0x83d1f
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %r8d, %ebp
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
movss %xmm0, 0xc(%rsp)
movl 0x78(%rdi), %r14d
movl 0x7c(%rdi), %eax
cmpl %eax, %r14d
jne 0x83cc6
in... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddText(ImFont const*, float, ImVec2 const&, unsigned int, char const*, char const*, float, ImVec4 const*) | void ImDrawList::AddText(const ImFont* font, float font_size, const ImVec2& pos, ImU32 col, const char* text_begin, const char* text_end, float wrap_width, const ImVec4* cpu_fine_clip_rect)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
if (text_end == NULL)
text_end = text_begin + strlen(text_beg... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x30, %rsp
cmpl $0x1000000, %ecx # imm = 0x1000000
jb 0x83e57
movaps %xmm1, %xmm4
movq %r8, %rbx
movl %ecx, %ebp
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
testq %r9, %r9
jne 0x83d74
movq %rbx, %rdi
movss %xmm4, 0x2c(%rsp)
movss %xmm0, 0x28(%rsp)
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddImage(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int) | void ImDrawList::AddImage(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
const bool push_texture_id = user_texture_id != _CmdHeader.TextureId;
if (push_texture_id)
Push... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl 0x40(%rsp), %ebp
cmpl $0x1000000, %ebp # imm = 0x1000000
jae 0x845d8
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %r15
cmp... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddImageQuad(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int) | void ImDrawList::AddImageQuad(ImTextureID user_texture_id, const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& uv1, const ImVec2& uv2, const ImVec2& uv3, const ImVec2& uv4, ImU32 col)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
const bool push_texture_id = user_texture... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movl 0x80(%rsp), %ebp
cmpl $0x1000000, %ebp # imm = 0x1000000
jae 0x84694
addq $0x28, %rsp
jmp 0x8476a
movq %r9, %r14
movq %r8, %r15
movq %rcx, %r12
movq %rdx, %r13
movq %rdi, %rbx
movq 0x78(%rsp), %rax
movq %rax, 0x10(%rsp)
movq ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawList::AddImageRounded(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float, int) | void ImDrawList::AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawFlags flags)
{
if ((col & IM_COL32_A_MASK) == 0)
return;
flags = FixRectCornerFlags(flags);
if (rounding <= 0.0f || (f... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl 0x50(%rsp), %ebp
cmpl $0x1000000, %ebp # imm = 0x1000000
jae 0x84799
addq $0x18, %rsp
jmp 0x8490a
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r13
movq %rdi, %r12
movl 0x58(%rsp), %ebx
cmpl $-0x1, %ebx
je 0x847bb
leal -0x1(%rbx... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImGui::ShadeVertsLinearUV(ImDrawList*, int, int, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, bool) | void ImGui::ShadeVertsLinearUV(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, const ImVec2& a, const ImVec2& b, const ImVec2& uv_a, const ImVec2& uv_b, bool clamp)
{
const ImVec2 size = b - a;
const ImVec2 uv_size = uv_b - uv_a;
const ImVec2 scale = ImVec2(
size.x != 0.0f ? (uv_size.x ... | movq 0x8(%rsp), %rax
movss (%r8), %xmm0
movss 0x4(%r8), %xmm1
subss (%rcx), %xmm0
subss 0x4(%rcx), %xmm1
movss (%rax), %xmm7
movss 0x4(%rax), %xmm5
movss (%r9), %xmm8
movss 0x4(%r9), %xmm6
movaps %xmm7, %xmm2
subss %xmm8, %xmm2
movaps %xmm5, %xmm3
subss %xmm6, %xmm3
divss %xmm0, %xmm2
xorps %xmm4, %xmm4
cmpneqss %xmm4,... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawListSplitter::Split(ImDrawList*, int) | void ImDrawListSplitter::Split(ImDrawList* draw_list, int channels_count)
{
IM_UNUSED(draw_list);
IM_ASSERT(_Current == 0 && _Count <= 1 && "Nested channel splitting is not supported. Please use separate instances of ImDrawListSplitter.");
int old_channels_count = _Channels.Size;
if (old_channels_count ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpl $0x0, (%rdi)
jne 0x84d1a
movq %rdi, %rbx
cmpl $0x2, 0x4(%rdi)
jge 0x84d1a
movl %edx, %ebp
movslq 0x8(%rbx), %rcx
cmpl %edx, %ecx
movq %rcx, 0x8(%rsp)
jge 0x84b81
cmpl %ebp, 0xc(%rbx)
jge 0x84b11
movslq %ebp, %rdi
shlq $0x5, %rdi
cal... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImDrawData::ScaleClipRects(ImVec2 const&) | void ImDrawData::ScaleClipRects(const ImVec2& fb_scale)
{
for (int i = 0; i < CmdListsCount; i++)
{
ImDrawList* cmd_list = CmdLists[i];
for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++)
{
ImDrawCmd* cmd = &cmd_list->CmdBuffer[cmd_i];
cmd->ClipRect = I... | movslq 0x4(%rdi), %rax
testq %rax, %rax
jle 0x850c8
movq 0x10(%rdi), %rcx
xorl %edx, %edx
movq (%rcx,%rdx,8), %rdi
movslq (%rdi), %r8
testq %r8, %r8
jle 0x850c0
movq 0x8(%rdi), %rdi
imulq $0x38, %r8, %r8
xorl %r9d, %r9d
movss (%rsi), %xmm0
movss 0x4(%rsi), %xmm1
movss (%rdi,%r9), %xmm2
mulss %xmm0, %xmm2
movss 0x4(%rdi... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList*, int, int, ImVec2, ImVec2, unsigned int, unsigned int) | void ImGui::ShadeVertsLinearColorGradientKeepAlpha(ImDrawList* draw_list, int vert_start_idx, int vert_end_idx, ImVec2 gradient_p0, ImVec2 gradient_p1, ImU32 col0, ImU32 col1)
{
ImVec2 gradient_extent = gradient_p1 - gradient_p0;
float gradient_inv_length2 = 1.0f / ImLengthSqr(gradient_extent);
ImDrawVert* ... | cmpl %edx, %esi
jge 0x85214
subps %xmm0, %xmm1
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2 # xmm2 = xmm2[1,1],xmm0[1,1]
movaps %xmm1, %xmm3
shufps $0x55, %xmm1, %xmm3 # xmm3 = xmm3[1,1],xmm1[1,1]
movaps %xmm3, %xmm4
mulss %xmm3, %xmm4
movaps %xmm1, %xmm6
mulss %xmm1, %xmm6
addss %xmm4, %xmm6
movss 0x52300(%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImFontConfig::ImFontConfig() | ImFontConfig::ImFontConfig()
{
memset(this, 0, sizeof(*this));
FontDataOwnedByAtlas = true;
OversampleH = 3; // FIXME: 2 may be a better default?
OversampleV = 1;
GlyphMaxAdvanceX = FLT_MAX;
RasterizerMultiply = 1.0f;
EllipsisChar = (ImWchar)-1;
} | pushq %rbx
movq %rdi, %rbx
movl $0x88, %edx
xorl %esi, %esi
callq 0xc4a0
movb $0x1, 0xc(%rbx)
movabsq $0x100000003, %rax # imm = 0x100000003
movq %rax, 0x18(%rbx)
movl $0x7f7fffff, 0x44(%rbx) # imm = 0x7F7FFFFF
movl $0x3f800000, 0x50(%rbx) # imm = 0x3F800000
movw $0xffff, 0x54(%rbx) # imm = 0xFFFF
popq %rbx
re... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
ImFontAtlas::ClearInputData() | void ImFontAtlas::ClearInputData()
{
IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!");
for (int i = 0; i < ConfigData.Size; i++)
if (ConfigData[i].FontData && ConfigData[i].FontDataOwnedByAtlas)
{
IM_FREE(ConfigData[i].FontData);... | pushq %r15
pushq %r14
pushq %rbx
cmpb $0x0, 0x18(%rdi)
jne 0x85450
movq %rdi, %rbx
movl 0x68(%rdi), %esi
testl %esi, %esi
jle 0x8537d
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x70(%rbx), %rax
movq (%rax,%r14), %rdi
testq %rdi, %rdi
je 0x8536a
cmpb $0x1, 0xc(%rax,%r14)
jne 0x8536a
callq 0x4a49e
movslq 0x68(%rbx), %rax
c... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_draw.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.