name string | code string | asm string | file string |
|---|---|---|---|
ImGui::SetActiveID(unsigned int, ImGuiWindow*) | void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
g.ActiveIdIsJustActivated = (g.ActiveId != id);
if (g.ActiveIdIsJustActivated)
{
g.ActiveIdTimer = 0.0f;
g.ActiveIdHasBeenPressedBefore = false;
g.ActiveIdHasBeenEditedBefore = false;
g.... | movq 0xdf42b(%rip), %rax # 0x12f138
cmpl %edi, 0x4034(%rax)
setne 0x4040(%rax)
je 0x4fd4d
movl $0x0, 0x403c(%rax)
movw $0x0, 0x4043(%rax)
movl $0xffffffff, 0x407c(%rax) # imm = 0xFFFFFFFF
testl %edi, %edi
je 0x4fd4d
movl %edi, 0x4090(%rax)
movl $0x0, 0x4094(%rax)
movl %edi, 0x4034(%rax)
movw $0x0, 0x4041(%rax)
movq... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ClearActiveID() | void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
g.ActiveIdIsJustActivated = (g.ActiveId != id);
if (g.ActiveIdIsJustActivated)
{
g.ActiveIdTimer = 0.0f;
g.ActiveIdHasBeenPressedBefore = false;
g.ActiveIdHasBeenEditedBefore = false;
g.... | movq 0xdf377(%rip), %rax # 0x12f138
cmpl $0x0, 0x4034(%rax)
setne 0x4040(%rax)
je 0x4fdee
movl $0x0, 0x403c(%rax)
movw $0x0, 0x4043(%rax)
movl $0xffffffff, 0x407c(%rax) # imm = 0xFFFFFFFF
movl $0x0, 0x4034(%rax)
xorl %ecx, %ecx
movw %cx, 0x4041(%rax)
movq $0x0, 0x4070(%rax)
movw %cx, 0x4045(%rax)
xorps %xmm0, %xmm0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetHoveredID(unsigned int) | void ImGui::SetHoveredID(ImGuiID id)
{
ImGuiContext& g = *GImGui;
g.HoveredId = id;
g.HoveredIdAllowOverlap = false;
g.HoveredIdUsingMouseWheel = false;
if (id != 0 && g.HoveredIdPreviousFrame != id)
g.HoveredIdTimer = g.HoveredIdNotActiveTimer = 0.0f;
} | movq 0xdf30c(%rip), %rax # 0x12f138
movl %edi, 0x4020(%rax)
movw $0x0, 0x4028(%rax)
testl %edi, %edi
je 0x4fe52
cmpl %edi, 0x4024(%rax)
je 0x4fe52
movq $0x0, 0x402c(%rax)
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsItemFocused() | bool ImGui::IsItemFocused()
{
ImGuiContext& g = *GImGui;
if (g.NavId != g.LastItemData.ID || g.NavId == 0)
return false;
// Special handling for the dummy item after Begin() which represent the title bar or tab.
// When the window is collapsed (SkipItems==true) that last item will never be over... | movq 0xdf0e7(%rip), %rax # 0x12f138
movl 0x40b0(%rax), %ecx
movl 0x4270(%rax), %edx
cmpl %ecx, %edx
setne %sil
testl %edx, %edx
sete %dl
orb %sil, %dl
je 0x50070
xorl %eax, %eax
retq
movq 0x3fe0(%rax), %rax
cmpl 0x8(%rax), %ecx
jne 0x50085
cmpb $0x0, 0xcd(%rax)
jne 0x5006d
movb $0x1, %al
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ItemHoverable(ImRect const&, unsigned int) | bool ImGui::ItemHoverable(const ImRect& bb, ImGuiID id)
{
ImGuiContext& g = *GImGui;
if (g.HoveredId != 0 && g.HoveredId != id && !g.HoveredIdAllowOverlap)
return false;
ImGuiWindow* window = g.CurrentWindow;
if (g.HoveredWindow != window)
return false;
if (g.ActiveId != 0 && g.Acti... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq 0xdf099(%rip), %r12 # 0x12f138
movl 0x4020(%r12), %eax
testl %eax, %eax
sete %cl
cmpl %esi, %eax
sete %al
orb %cl, %al
jne 0x500c0
cmpb $0x1, 0x4028(%r12)
jne 0x500d2
movq 0x3fe0(%r12), %r13
cmpq %r13, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsMouseHoveringRect(ImVec2 const&, ImVec2 const&, bool) | bool ImGui::IsMouseHoveringRect(const ImVec2& r_min, const ImVec2& r_max, bool clip)
{
ImGuiContext& g = *GImGui;
// Clip
ImRect rect_clipped(r_min, r_max);
if (clip)
rect_clipped.ClipWith(g.CurrentWindow->ClipRect);
// Expand for touch input
const ImRect rect_for_touch(rect_clipped.Mi... | movq 0xdeedf(%rip), %rcx # 0x12f138
movsd (%rdi), %xmm1
movsd (%rsi), %xmm0
testl %edx, %edx
je 0x502cc
movq 0x3fe0(%rcx), %rax
movss 0x250(%rax), %xmm3
movss 0x254(%rax), %xmm4
movaps %xmm3, %xmm2
cmpless %xmm1, %xmm2
movaps %xmm2, %xmm5
andps %xmm1, %xmm5
andnps %xmm3, %xmm2
orps %xmm5, %xmm2
shufps $0x55, %xmm1,... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsClippedEx(ImRect const&, unsigned int) | bool ImGui::IsClippedEx(const ImRect& bb, ImGuiID id)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (!bb.Overlaps(window->ClipRect))
if (id == 0 || (id != g.ActiveId && id != g.NavId))
if (!g.LogEnabled)
return true;
return false;
} | movq 0xdeda2(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
movss 0xc(%rdi), %xmm0
ucomiss 0x254(%rax), %xmm0
jbe 0x503d4
movss 0x25c(%rax), %xmm0
ucomiss 0x4(%rdi), %xmm0
jbe 0x503d4
movss 0x8(%rdi), %xmm0
ucomiss 0x250(%rax), %xmm0
jbe 0x503d4
movss 0x258(%rax), %xmm0
ucomiss (%rdi), %xmm0
ja 0x503f3
testl %esi, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CalcWrapWidthForPos(ImVec2 const&, float) | float ImGui::CalcWrapWidthForPos(const ImVec2& pos, float wrap_pos_x)
{
if (wrap_pos_x < 0.0f)
return 0.0f;
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (wrap_pos_x == 0.0f)
{
// We could decide to setup a default wrapping max point for auto-resizing windows,... | xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
ja 0x50463
movq 0xded0f(%rip), %rax # 0x12f138
movq 0x3fe0(%rax), %rax
ucomiss %xmm1, %xmm0
jne 0x50441
jp 0x50441
movss 0x238(%rax), %xmm0
jmp 0x50454
jbe 0x50454
movss 0x48(%rax), %xmm1
subss 0x98(%rax), %xmm1
addss %xmm1, %xmm0
subss (%rdi), %xmm0
maxss 0x86f9c(%rip), %xmm... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CreateContext(ImFontAtlas*) | ImGuiContext* ImGui::CreateContext(ImFontAtlas* shared_font_atlas)
{
ImGuiContext* ctx = IM_NEW(ImGuiContext)(shared_font_atlas);
if (GImGui == NULL)
SetCurrentContext(ctx);
Initialize(ctx);
return ctx;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xdec32(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x50511
incl 0xf4(%rax)
movq 0xdec30(%rip), %rsi # 0x12f148
movl $0x6450, %edi # imm = 0x6450
callq *0xdd53d(%rip) # 0x12da60
movq %rax, %r14
movq %rax, %rdi
movq %rbx, %rsi
callq 0x7aee4
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::Initialize(ImGuiContext*) | void ImGui::Initialize(ImGuiContext* context)
{
ImGuiContext& g = *context;
IM_ASSERT(!g.Initialized && !g.SettingsLoaded);
// Add .ini handle for ImGuiWindow type
{
ImGuiSettingsHandler ini_handler;
ini_handler.TypeName = "Window";
ini_handler.TypeHash = ImHashStr("Window");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x48, %rsp
cmpb $0x0, (%rdi)
jne 0x50810
movq %rdi, %rbx
cmpb $0x1, 0x5568(%rdi)
je 0x50810
xorps %xmm0, %xmm0
movq %rsp, %r14
movaps %xmm0, (%r14)
movaps %xmm0, 0x30(%r14)
movaps %xmm0, 0x20(%r14)
movaps %xmm0, 0x10(%r14)
movq $0x0, 0x40(%r14)
leaq 0x98897(%rip), %rdi ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DestroyContext(ImGuiContext*) | void ImGui::DestroyContext(ImGuiContext* ctx)
{
if (ctx == NULL)
ctx = GImGui;
Shutdown(ctx);
if (GImGui == ctx)
SetCurrentContext(NULL);
IM_DELETE(ctx);
} | pushq %rbx
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x5085e
movq 0xde8da(%rip), %rbx # 0x12f138
movq %rbx, %rdi
callq 0x50883
cmpq %rbx, 0xde8cb(%rip) # 0x12f138
jne 0x5087a
movq $0x0, 0xde8be(%rip) # 0x12f138
movq %rbx, %rdi
popq %rbx
jmp 0x7b856
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::Shutdown(ImGuiContext*) | void ImGui::Shutdown(ImGuiContext* context)
{
// The fonts atlas can be used prior to calling NewFrame(), so we clear it even if g.Initialized is FALSE (which would happen if we never called NewFrame)
ImGuiContext& g = *context;
if (g.IO.Fonts && g.FontAtlasOwnedByContext)
{
g.IO.Fonts->Locked =... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x50(%rdi), %rdi
testq %rdi, %rdi
je 0x508a6
cmpb $0x1, 0x1(%rbx)
jne 0x508a6
movb $0x0, 0x18(%rdi)
callq 0x7b96d
movq $0x0, 0x50(%rbx)
cmpb $0x1, (%rbx)
jne 0x50f97
cmpb $0x1, 0x5568(%rbx)
jne 0x508e3
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::AddContextHook(ImGuiContext*, ImGuiContextHook const*) | ImGuiID ImGui::AddContextHook(ImGuiContext* ctx, const ImGuiContextHook* hook)
{
ImGuiContext& g = *ctx;
IM_ASSERT(hook->Callback != NULL && hook->HookId == 0 && hook->Type != ImGuiContextHookType_PendingRemoval_);
g.Hooks.push_back(*hook);
g.Hooks.back().HookId = ++g.HookIdNext;
return g.HookIdNext... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpq $0x0, 0x10(%rsi)
je 0x510f5
movq %rsi, %r14
cmpl $0x0, (%rsi)
jne 0x510f5
cmpl $0x7, 0x4(%r14)
je 0x510f5
movq %rdi, %rbx
movl 0x55b0(%rdi), %ebp
movl 0x55b4(%rdi), %eax
cmpl %eax, %ebp
jne 0x51094
incl %ebp
testl %eax, %eax
je 0x51002
movl %eax, %ecx
shrl $0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RemoveContextHook(ImGuiContext*, unsigned int) | void ImGui::RemoveContextHook(ImGuiContext* ctx, ImGuiID hook_id)
{
ImGuiContext& g = *ctx;
IM_ASSERT(hook_id != 0);
for (int n = 0; n < g.Hooks.Size; n++)
if (g.Hooks[n].HookId == hook_id)
g.Hooks[n].Type = ImGuiContextHookType_PendingRemoval_;
} | pushq %rax
testl %esi, %esi
je 0x51169
movslq 0x55b0(%rdi), %rax
testq %rax, %rax
jle 0x51167
movq 0x55b8(%rdi), %rcx
shlq $0x5, %rax
xorl %edx, %edx
cmpl %esi, (%rcx,%rdx)
jne 0x5115e
movl $0x7, 0x4(%rcx,%rdx)
addq $0x20, %rdx
cmpq %rdx, %rax
jne 0x51151
popq %rax
retq
leaq 0x92eeb(%rip), %rdi # 0xe405b
leaq 0x920... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
GetViewportDrawList(ImGuiViewportP*, unsigned long, char const*) | static ImDrawList* GetViewportDrawList(ImGuiViewportP* viewport, size_t drawlist_no, const char* drawlist_name)
{
// Create the draw list on demand, because they are not frequently used for all viewports
ImGuiContext& g = *GImGui;
IM_ASSERT(drawlist_no < IM_ARRAYSIZE(viewport->DrawLists));
ImDrawList* d... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0xdde67(%rip), %r13 # 0x12f138
movq 0x90(%rdi,%rsi,8), %r15
testq %r15, %r15
jne 0x51328
movq %rdx, %r12
testq %r13, %r13
je 0x512ed
incl 0xf4(%r13)
movq 0xdde54(%rip), %rsi # 0x12f148
movl $0xc8, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::StartMouseMovingWindow(ImGuiWindow*) | void ImGui::StartMouseMovingWindow(ImGuiWindow* window)
{
// Set ActiveId even if the _NoMove flag is set. Without it, dragging away from a window with _NoMove would activate hover on other windows.
// We _also_ call this when clicking in a window empty space when io.ConfigWindowsMoveFromTitleBarOnly is set, bu... | pushq %rbp
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0xddd60(%rip), %r14 # 0x12f138
callq 0x5147a
movl 0x8c(%rbx), %edi
movq %rbx, %rsi
callq 0x4fd06
movb $0x1, %bpl
movb %bpl, 0x42aa(%r14)
movq 0x3a8(%rbx), %rax
movss 0x366c(%r14), %xmm0
movss 0x3670(%r14), %xmm1
subss 0x48(%rax), %xmm0
subss 0x4c(%rax), %xmm1
un... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FocusWindow(ImGuiWindow*) | void ImGui::FocusWindow(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
if (g.NavWindow != window)
{
g.NavWindow = window;
if (window && g.NavDisableMouseHover)
g.NavMousePosDirty = true;
g.NavId = window ? window->NavLastIds[0] : 0; // Restore NavId
g.NavFocus... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0xddcab(%rip), %r12 # 0x12f138
cmpq %rdi, 0x4268(%r12)
je 0x514f8
movq %rbx, 0x4268(%r12)
xorl %eax, %eax
movl $0x0, %ecx
testq %rbx, %rbx
je 0x514c5
cmpb $0x1, 0x42ab(%r12)
jne 0x514bf
movb $0x1, 0x42a9(%r12)
movl 0x3c8(%rbx), %ecx
movl %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetActiveIdUsingNavAndKeys() | void ImGui::SetActiveIdUsingNavAndKeys()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.ActiveId != 0);
g.ActiveIdUsingNavDirMask = ~(ImU32)0;
g.ActiveIdUsingNavInputMask = ~(ImU32)0;
g.ActiveIdUsingKeyInputMask.SetAllBits();
NavMoveRequestCancel();
} | movq 0xddb12(%rip), %rax # 0x12f138
cmpl $0x0, 0x4034(%rax)
je 0x51648
pcmpeqd %xmm0, %xmm0
movdqu %xmm0, 0x4054(%rax)
movdqu %xmm0, 0x4048(%rax)
jmp 0x602af
pushq %rax
leaq 0x92d99(%rip), %rdi # 0xe43e9
leaq 0x91b54(%rip), %rsi # 0xe31ab
leaq 0x92d9b(%rip), %rcx # 0xe43f9
movl $0x1524, %edx #... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::StartMouseMovingWindowOrNode(ImGuiWindow*, ImGuiDockNode*, bool) | void ImGui::StartMouseMovingWindowOrNode(ImGuiWindow* window, ImGuiDockNode* node, bool undock_floating_node)
{
ImGuiContext& g = *GImGui;
bool can_undock_node = false;
if (node != NULL && node->VisibleWindow && (node->VisibleWindow->Flags & ImGuiWindowFlags_NoMove) == 0)
{
// Can undock if:
... | movq 0xddac9(%rip), %rax # 0x12f138
movb $0x1, %cl
testq %rsi, %rsi
je 0x516b8
movq 0x90(%rsi), %r8
testq %r8, %r8
je 0x516b8
testb $0x4, 0xc(%r8)
jne 0x516b8
movq %rsi, %r9
movq %r9, %r8
movq 0x18(%r9), %r9
testq %r9, %r9
jne 0x5168c
cmpq %rsi, 0xa0(%r8)
jne 0x516ab
cmpq $0x0, 0x98(%r8)
je 0x516b8
testb %dl, %dl
j... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextQueueUndockNode(ImGuiContext*, ImGuiDockNode*) | void ImGui::DockContextQueueUndockNode(ImGuiContext* ctx, ImGuiDockNode* node)
{
ImGuiDockRequest req;
req.Type = ImGuiDockRequestType_Undock;
req.UndockTargetNode = node;
ctx->DockContext.Requests.push_back(req);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %r14
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rsp)
movq $0x0, 0x20(%rsp)
movl 0x5540(%rdi), %ebp
movl 0x5544(%rdi), %eax
cmpl %eax, %ebp
jne 0x518d0
incl %ebp
testl %eax, %eax
je 0x5183e
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ec... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::UpdateMouseMovingWindowNewFrame() | void ImGui::UpdateMouseMovingWindowNewFrame()
{
ImGuiContext& g = *GImGui;
if (g.MovingWindow != NULL)
{
// We actually want to move the root window. g.MovingWindow == window we clicked on (could be a child window).
// We track it to preserve Focus and so that generally ActiveIdWindow == Mov... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq 0xdd7f9(%rip), %r14 # 0x12f138
movq 0x4000(%r14), %rax
testq %rax, %rax
je 0x51a1d
movl 0x4034(%r14), %ecx
movl 0x4080(%r14), %edx
movl %ecx, 0x4038(%r14)
cmpl %ecx, %edx
jne 0x51970
movb $0x1, 0x4084(%r14)
movq 0x3a8(%rax), %rbx
testq %rbx, %rbx
je 0x51b84
mov... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsMousePosValid(ImVec2 const*) | bool ImGui::IsMousePosValid(const ImVec2* mouse_pos)
{
// The assert is only to silence a false-positive in XCode Static Analysis.
// Because GImGui is not dereferenced in every code path, the static analyzer assume that it may be NULL (which it doesn't for other functions).
IM_ASSERT(GImGui != NULL);
c... | movq 0xdd58e(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x51be2
addq $0xd9c, %rax # imm = 0xD9C
testq %rdi, %rdi
cmovneq %rdi, %rax
movss 0x4(%rax), %xmm0
movss (%rax), %xmm1
movss 0x90987(%rip), %xmm2 # 0xe2554
movaps %xmm2, %xmm3
cmpleps %xmm1, %xmm3
cmpleps %xmm0, %xmm2
andps %xmm3, %xmm2
movd %xmm... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetWindowPos(ImGuiWindow*, ImVec2 const&, int) | void ImGui::SetWindowPos(ImGuiWindow* window, const ImVec2& pos, ImGuiCond cond)
{
// Test condition (NB: bit 0 is always true) and clear flags for next time
if (cond && (window->SetWindowPosAllowFlags & cond) == 0)
return;
IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't... | testl %edx, %edx
je 0x51c47
movsbl 0xf0(%rdi), %eax
testl %edx, %eax
je 0x51d31
leal -0x1(%rdx), %eax
testl %eax, %edx
jne 0x51d32
andb $-0xf, 0xf0(%rdi)
movabsq $0x7f7fffff7f7fffff, %rax # imm = 0x7F7FFFFF7F7FFFFF
movq %rax, 0xf4(%rdi)
movss 0x48(%rdi), %xmm0
movss 0x4c(%rdi), %xmm1
movss (%rsi), %xmm2
movss 0x4(%rsi)... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::UpdateTryMergeWindowIntoHostViewport(ImGuiWindow*, ImGuiViewportP*) | static bool ImGui::UpdateTryMergeWindowIntoHostViewport(ImGuiWindow* window, ImGuiViewportP* viewport)
{
ImGuiContext& g = *GImGui;
if (window->Viewport == viewport)
return false;
if ((viewport->Flags & ImGuiViewportFlags_CanHostOtherWindows) == 0)
return false;
if ((viewport->Flags & Im... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0x30(%rdi), %r15
cmpq %rsi, %r15
je 0x51f7e
movq %rsi, %r14
movl $0x1400, %eax # imm = 0x1400
andl 0x4(%rsi), %eax
cmpl $0x1000, %eax # imm = 0x1000
jne 0x51f7e
movq %rdi, %rbx
movss 0x8(%r14), %xmm1
movss 0x48(%rdi), %xmm2
xorl %eax,... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::UpdateMouseMovingWindowEndFrame() | void ImGui::UpdateMouseMovingWindowEndFrame()
{
ImGuiContext& g = *GImGui;
if (g.ActiveId != 0 || g.HoveredId != 0)
return;
// Unless we just made a window/popup appear
if (g.NavWindow && g.NavWindow->Appearing)
return;
// Click on empty space to focus window and start moving
/... | pushq %r14
pushq %rbx
pushq %rax
movq 0xdd183(%rip), %r14 # 0x12f138
cmpl $0x0, 0x4034(%r14)
jne 0x51fc9
cmpl $0x0, 0x4020(%r14)
je 0x51fd1
addq $0x8, %rsp
popq %rbx
popq %r14
retq
movq 0x4268(%r14), %rax
testq %rax, %rax
je 0x51fe6
cmpb $0x0, 0xd1(%rax)
jne 0x51fc9
cmpb $0x1, 0x36c0(%r14)
jne 0x52101
movq 0x3fe8(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsPopupOpen(unsigned int, int) | bool ImGui::IsPopupOpen(ImGuiID id, ImGuiPopupFlags popup_flags)
{
ImGuiContext& g = *GImGui;
if (popup_flags & ImGuiPopupFlags_AnyPopupId)
{
// Return true if any popup is open at the current BeginPopup() level of the popup stack
// This may be used to e.g. test for another popups already o... | pushq %rax
movq 0xdcfe2(%rip), %rdx # 0x12f138
testb %sil, %sil
js 0x52190
btl $0x8, %esi
movl 0x41e0(%rdx), %ecx
jb 0x521a8
movl 0x41f0(%rdx), %eax
cmpl %eax, %ecx
jle 0x521e9
testl %eax, %eax
js 0x5220c
movq 0x41e8(%rdx), %rcx
leaq (%rax,%rax,2), %rax
shlq $0x4, %rax
cmpl %edi, (%rcx,%rax)
sete %al
jmp 0x521eb
te... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetTopMostPopupModal() | ImGuiWindow* ImGui::GetTopMostPopupModal()
{
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)
return popup;
return NULL;
} | movq 0xdcf06(%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 0x52278
movq 0x41e8(%rcx), %rdi
movq (%rdi,%rsi), %r8
testq %r8, %r8
je 0x52264
testb $0x8, 0xf(%r8)
jne 0x52269
movb $0x1, %dil
jmp 0x5226e
xorl... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ClosePopupsOverWindow(ImGuiWindow*, bool) | void ImGui::ClosePopupsOverWindow(ImGuiWindow* ref_window, bool restore_focus_to_window_under_popup)
{
ImGuiContext& g = *GImGui;
if (g.OpenPopupStack.Size == 0)
return;
// Don't close our own child popup windows.
int popup_count_to_keep = 0;
if (ref_window)
{
// Find the highes... | pushq %rbx
movq 0xdce59(%rip), %rdx # 0x12f138
movl 0x41e0(%rdx), %ecx
testq %rcx, %rcx
je 0x523ae
testq %rdi, %rdi
sete %r8b
testl %ecx, %ecx
setle %r9b
xorl %eax, %eax
orb %r8b, %r9b
jne 0x5239e
movq 0x41e8(%rdx), %rdx
xorl %eax, %eax
leaq (%rax,%rax,2), %r8
shlq $0x4, %r8
movq 0x8(%rdx,%r8), %r8
testq %r8, %r8
j... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::UpdateHoveredWindowAndCaptureFlags() | void ImGui::UpdateHoveredWindowAndCaptureFlags()
{
ImGuiContext& g = *GImGui;
ImGuiIO& io = g.IO;
g.WindowsHoverPadding = ImMax(g.Style.TouchExtraPadding, ImVec2(WINDOWS_HOVER_PADDING, WINDOWS_HOVER_PADDING));
// Find the window hovered by mouse:
// - Child windows can extend beyond the limit of th... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0xdcd57(%rip), %rbx # 0x12f138
movss 0x396c(%rbx), %xmm0
movss 0x3970(%rbx), %xmm1
movss 0x90153(%rip), %xmm2 # 0xe254c
maxss %xmm2, %xmm0
maxss %xmm2, %xmm1
unpcklps %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsWindowWithinBeginStackOf(ImGuiWindow*, ImGuiWindow*) | bool ImGui::IsWindowWithinBeginStackOf(ImGuiWindow* window, ImGuiWindow* potential_parent)
{
if (window->RootWindow == potential_parent)
return true;
while (window != NULL)
{
if (window == potential_parent)
return true;
window = window->ParentWindowInBeginStack;
}
... | cmpq %rsi, 0x398(%rdi)
je 0x528f5
testq %rdi, %rdi
je 0x528f8
cmpq %rsi, %rdi
sete %al
je 0x528f4
movq 0x390(%rdi), %rdi
testq %rdi, %rdi
jne 0x528e0
retq
movb $0x1, %al
retq
xorl %eax, %eax
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetMergedKeyModFlags() | ImGuiKeyModFlags ImGui::GetMergedKeyModFlags()
{
ImGuiContext& g = *GImGui;
ImGuiKeyModFlags key_mod_flags = ImGuiKeyModFlags_None;
if (g.IO.KeyCtrl) { key_mod_flags |= ImGuiKeyModFlags_Ctrl; }
if (g.IO.KeyShift) { key_mod_flags |= ImGuiKeyModFlags_Shift; }
if (g.IO.KeyAlt) { key_mod_flags |= ... | movq 0xdc836(%rip), %rax # 0x12f138
movzbl 0xdb8(%rax), %ecx
leal 0x2(%rcx), %edx
cmpb $0x0, 0xdb9(%rax)
cmovel %ecx, %edx
leal 0x4(%rdx), %ecx
cmpb $0x0, 0xdba(%rax)
cmovel %edx, %ecx
cmpb $0x0, 0xdbb(%rax)
leal 0x8(%rcx), %eax
cmovel %ecx, %eax
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NewFrame() | void ImGui::NewFrame()
{
IM_ASSERT(GImGui != NULL && "No current context. Did you call ImGui::CreateContext() and ImGui::SetCurrentContext() ?");
ImGuiContext& g = *GImGui;
// Remove pending delete hooks before frame start.
// This deferred removal avoid issues of removal while iterating the hook vecto... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq 0xdc7f2(%rip), %rbx # 0x12f138
testq %rbx, %rbx
je 0x56bb8
movslq 0x55b0(%rbx), %r14
testq %r14, %r14
jle 0x529bc
movq %r14, %r15
negq %r15
movq %r14, %r12
shlq $0x5, %r12
addq $-0x20, %r12
movslq 0x55b0(%rbx), %rdx
cmpq %rdx, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetCurrentFont(ImFont*) | void ImGui::SetCurrentFont(ImFont* font)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(font && font->IsLoaded()); // Font Atlas not created. Did you call io.Fonts->GetTexDataAsRGBA32 / GetTexDataAsAlpha8 ?
IM_ASSERT(font->Scale > 0.0f);
g.Font = font;
g.FontBaseSize = ImMax(1.0f, g.IO.FontGlobalScale * ... | pushq %rax
testq %rdi, %rdi
je 0x570e8
movq 0x40(%rdi), %rax
testq %rax, %rax
je 0x570e8
movss 0x5c(%rdi), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jbe 0x57107
movq 0xd80db(%rip), %rcx # 0x12f138
movq %rdi, 0x3d48(%rcx)
movss 0x58(%rcx), %xmm2
mulss 0x14(%rdi), %xmm2
mulss %xmm2, %xmm1
movss 0x80382(%rip), %xm... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextNewFrameUpdateUndocking(ImGuiContext*) | void ImGui::DockContextNewFrameUpdateUndocking(ImGuiContext* ctx)
{
ImGuiContext& g = *ctx;
ImGuiDockContext* dc = &ctx->DockContext;
if (!(g.IO.ConfigFlags & ImGuiConfigFlags_DockingEnable))
{
if (dc->Nodes.Data.Size > 0 || dc->Requests.Size > 0)
DockContextClearNodes(ctx, 0, true)... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
testb $0x40, 0x8(%rdi)
jne 0x57b65
cmpl $0x0, 0x5530(%rbx)
jg 0x57b48
cmpl $0x0, 0x5540(%rbx)
jle 0x57e08
movq %rbx, %rdi
xorl %esi, %esi
movl $0x1, %edx
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FocusTopMostWindowUnderOne(ImGuiWindow*, ImGuiWindow*) | void ImGui::FocusTopMostWindowUnderOne(ImGuiWindow* under_this_window, ImGuiWindow* ignore_window)
{
ImGuiContext& g = *GImGui;
int start_idx = g.WindowsFocusOrder.Size - 1;
if (under_this_window != NULL)
{
// Aim at root window behind us, if we are in a child window that's our own root (see #46... | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq 0xd7278(%rip), %r14 # 0x12f138
testq %rdi, %rdi
je 0x57ee8
movl $0xffffffff, %ebp # imm = 0xFFFFFFFF
testb $0x1, 0xf(%rdi)
je 0x57edf
movq 0x388(%rdi), %rdi
testb $0x1, 0xf(%rdi)
jne 0x57ed0
xorl %ebp, %ebp
callq 0x637d4
addl %ebp, %eax
jmp 0x57ef1
movl 0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextNewFrameUpdateDocking(ImGuiContext*) | void ImGui::DockContextNewFrameUpdateDocking(ImGuiContext* ctx)
{
ImGuiContext& g = *ctx;
ImGuiDockContext* dc = &ctx->DockContext;
if (!(g.IO.ConfigFlags & ImGuiConfigFlags_DockingEnable))
return;
// [DEBUG] Store hovered dock node.
// We could in theory use DockNodeTreeFindVisibleNodeByP... | testb $0x40, 0x8(%rdi)
je 0x58139
pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq $0x0, 0x3ff8(%rdi)
movq 0x3ff0(%rdi), %rax
testq %rax, %rax
je 0x57ffa
movq 0x420(%rax), %rdi
testq %rdi, %rdi
je 0x57fe0
movsd 0xd9c(%rbx), %xmm0
callq 0x6c973
jmp 0x57ff3
movq 0x398(%rax), %rax
movq 0x418(%ra... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetNextWindowSize(ImVec2 const&, int) | void ImGui::SetNextWindowSize(const ImVec2& size, ImGuiCond cond)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags.
g.NextWindowData.Flags |= ImGuiNextWindowDataFlags_HasSize;
g.NextWindowData.SizeVal = s... | leal -0x1(%rsi), %eax
testl %eax, %esi
jne 0x58166
movq 0xd6ff0(%rip), %rax # 0x12f138
orl $0x2, 0x40f0(%rax)
movq (%rdi), %rcx
movq %rcx, 0x4114(%rax)
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x40f8(%rax)
retq
pushq %rax
leaq 0x8cb12(%rip), %rdi # 0xe4c80
leaq 0x8b036(%rip), %rsi # 0xe31ab
leaq 0x8cc64(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
WindowSettingsHandler_ClearAll(ImGuiContext*, ImGuiSettingsHandler*) | static void WindowSettingsHandler_ClearAll(ImGuiContext* ctx, ImGuiSettingsHandler*)
{
ImGuiContext& g = *ctx;
for (int i = 0; i != g.Windows.Size; i++)
g.Windows[i]->SettingsOffset = -1;
g.SettingsWindows.clear();
} | pushq %rax
movl 0x3f80(%rdi), %eax
testq %rax, %rax
je 0x5d3e5
xorl %ecx, %ecx
testl %eax, %eax
movl $0x0, %edx
cmovgl %eax, %edx
cmpq %rcx, %rdx
je 0x5d3f2
movq 0x3f88(%rdi), %rsi
movq (%rsi,%rcx,8), %rsi
movl $0xffffffff, 0x2b0(%rsi) # imm = 0xFFFFFFFF
incq %rcx
cmpq %rcx, %rax
jne 0x5d3c3
addq $0x5590, %rdi ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
WindowSettingsHandler_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, char const*) | static void* WindowSettingsHandler_ReadOpen(ImGuiContext*, ImGuiSettingsHandler*, const char* name)
{
ImGuiWindowSettings* settings = ImGui::FindOrCreateWindowSettings(name);
ImGuiID id = settings->ID;
*settings = ImGuiWindowSettings(); // Clear existing if recycling previous entry
settings->ID = id;
... | pushq %rax
movq %rdx, %rdi
callq 0x6a43f
movl (%rax), %ecx
xorps %xmm0, %xmm0
movups %xmm0, (%rax)
movups %xmm0, 0xc(%rax)
movl $0xffff, 0x1c(%rax) # imm = 0xFFFF
movl %ecx, (%rax)
movb $0x1, 0x1f(%rax)
popq %rcx
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
WindowSettingsHandler_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void*, char const*) | static void WindowSettingsHandler_ReadLine(ImGuiContext*, ImGuiSettingsHandler*, void* entry, const char* line)
{
ImGuiWindowSettings* settings = (ImGuiWindowSettings*)entry;
int x, y;
int i;
ImU32 u1;
if (sscanf(line, "Pos=%i,%i", &x, &y) == 2) { settings->Pos = ImVec2ih((short)x, (shor... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movq %rdx, %rbx
leaq 0x8daf0(%rip), %rsi # 0xeaf39
leaq 0x10(%rsp), %rdx
leaq 0xc(%rsp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq 0xc8d0
cmpl $0x2, %eax
jne 0x5d478
movzwl 0x10(%rsp), %eax
movl 0xc(%rsp), %ecx
shll $0x10, %ecx
orl %eax, %ecx
movl %ecx, 0x4(%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
WindowSettingsHandler_WriteAll(ImGuiContext*, ImGuiSettingsHandler*, ImGuiTextBuffer*) | static void WindowSettingsHandler_WriteAll(ImGuiContext* ctx, ImGuiSettingsHandler* handler, ImGuiTextBuffer* buf)
{
// Gather data from windows that were active during this session
// (if a window wasn't opened in this session we preserve its settings)
ImGuiContext& g = *ctx;
for (int i = 0; i != g.Win... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %rbx
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
movl 0x3f80(%rdi), %eax
testl %eax, %eax
je 0x5d7ab
leaq 0x5590(%r15), %rcx
movq %rcx, 0x10(%rsp)
xorl %ebp, %ebp
movl $0xffff, %r12d # imm = 0xFFFF
cltq
cmpq %rax, %rbp
jge 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::AddSettingsHandler(ImGuiSettingsHandler const*) | void ImGui::AddSettingsHandler(const ImGuiSettingsHandler* handler)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(FindSettingsHandler(handler->TypeName) == NULL);
g.SettingsHandlers.push_back(*handler);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xd1763(%rip), %r15 # 0x12f138
movq (%rdi), %rdi
callq 0x6a463
testq %rax, %rax
jne 0x5dad7
movl 0x5580(%r15), %ebp
movl 0x5584(%r15), %eax
cmpl %eax, %ebp
jne 0x5daa4
incl %ebp
testl %eax, %eax
je 0x5da0f
movl %eax, %ecx
shrl $0x1f, %ecx
a... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SaveIniSettingsToDisk(char const*) | void ImGui::SaveIniSettingsToDisk(const char* ini_filename)
{
ImGuiContext& g = *GImGui;
g.SettingsDirtyTimer = 0.0f;
if (!ini_filename)
return;
size_t ini_data_size = 0;
const char* ini_data = SaveIniSettingsToMemory(&ini_data_size);
ImFileHandle f = ImFileOpen(ini_filename, "wt");
... | movq 0xd14d8(%rip), %rax # 0x12f138
movl $0x0, 0x556c(%rax)
testq %rdi, %rdi
je 0x5dcc2
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %r14
movq %rsp, %rdi
movq $0x0, (%rdi)
callq 0x6a8db
movq %rax, %rbx
leaq 0x88da8(%rip), %rsi # 0xe6a37
movq %r14, %rdi
callq 0xcad0
testq %rax, %rax
je 0x5dcbb
movq %rax, %r14
mov... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DestroyPlatformWindows() | void ImGui::DestroyPlatformWindows()
{
// We call the destroy window on every viewport (including the main viewport, index 0) to give a chance to the backend
// to clear any data they may have stored in e.g. PlatformUserData, RendererUserData.
// It is convenient for the platform backend code to store somet... | pushq %r14
pushq %rbx
pushq %rax
movq 0xd146a(%rip), %rbx # 0x12f138
cmpl $0x0, 0x4208(%rbx)
jle 0x5dcf9
xorl %r14d, %r14d
movq 0x4210(%rbx), %rax
movq (%rax,%r14,8), %rdi
callq 0x6b35e
incq %r14
movslq 0x4208(%rbx), %rax
cmpq %rax, %r14
jl 0x5dcda
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImDrawDataBuilder::FlattenIntoSingleLayer() | void ImDrawDataBuilder::FlattenIntoSingleLayer()
{
int n = Layers[0].Size;
int size = n;
for (int i = 1; i < IM_ARRAYSIZE(Layers); i++)
size += Layers[i].Size;
Layers[0].resize(size);
for (int layer_n = 1; layer_n < IM_ARRAYSIZE(Layers); layer_n++)
{
ImVector<ImDrawList*>& layer ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movl (%rdi), %r14d
movl 0x4(%rdi), %eax
movl 0x10(%rdi), %ebp
addl %r14d, %ebp
cmpl %ebp, %eax
jge 0x5de02
testl %eax, %eax
je 0x5dd7f
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
addl %eax, %r12d
jmp 0x5dd85
movl $0x8, %r12d
cmpl ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow*) | ImGuiWindow* ImGui::FindBottomMostVisibleWindowWithinBeginStack(ImGuiWindow* parent_window)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* bottom_most_visible_window = parent_window;
for (int i = FindWindowDisplayIndex(parent_window); i >= 0; i--)
{
ImGuiWindow* window = g.Windows[i];
if (win... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xd114c(%rip), %r14 # 0x12f138
callq 0x5e0c1
testl %eax, %eax
js 0x5e094
movl 0x3f80(%r14), %edx
movl %eax, %esi
movq %rbx, %rcx
cmpl %edx, %eax
jge 0x5e0a2
movq 0x3f88(%r14), %rdi
movq (%rdi,%rsi,8), %r8
movl 0xc(%r8), %r9d
movl $0x4, %edi
btl $0x18, %r9d
jb 0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FindWindowDisplayIndex(ImGuiWindow*) | int ImGui::FindWindowDisplayIndex(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
return g.Windows.index_from_ptr(g.Windows.find(window));
} | pushq %rax
movq 0xd106f(%rip), %rax # 0x12f138
movq 0x3f88(%rax), %rcx
movslq 0x3f80(%rax), %rsi
leaq (%rcx,%rsi,8), %rdx
movq %rcx, %rax
testq %rsi, %rsi
jle 0x5e0f4
movq %rcx, %rax
cmpq %rdi, (%rax)
je 0x5e0f4
addq $0x8, %rax
cmpq %rdx, %rax
jb 0x5e0e6
cmpq %rax, %rcx
ja 0x5e107
cmpq %rax, %rdx
jbe 0x5e107
subq %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::EndFrame() | void ImGui::EndFrame()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.Initialized);
// Don't process EndFrame() multiple times.
if (g.FrameCountEnded == g.FrameCount)
return;
IM_ASSERT(g.WithinFrameScope && "Forgot to call ImGui::NewFrame()?");
CallContextHooks(&g, ImGuiContextHookType_EndFr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0xd1000(%rip), %rbx # 0x12f138
cmpb $0x0, (%rbx)
je 0x5ed5f
movl 0x3f64(%rbx), %eax
cmpl 0x3f60(%rbx), %eax
je 0x5ecf3
cmpb $0x0, 0x3f70(%rbx)
je 0x5ed95
cmpl $0x0, 0x55b0(%rbx)
jle 0x5e19d
xorl %r14d, %r14d
xorl %r15d, %r15d
movq 0x5... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::End() | void ImGui::End()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
// Error checking: verify that user hasn't called End() too many times!
if (g.CurrentWindowStack.Size <= 1 && g.WithinFrameScopeWithImplicitWindow)
{
IM_ASSERT_USER_ERROR(g.CurrentWindowStack.Size > 1, "Ca... | pushq %r14
pushq %rbx
pushq %rax
movq 0xd0253(%rip), %rbx # 0x12f138
movq 0x3fe0(%rbx), %r14
movl 0x3fb0(%rbx), %eax
cmpl $0x1, %eax
jg 0x5ef04
cmpb $0x1, 0x3f71(%rbx)
je 0x5f0ec
testl %eax, %eax
jle 0x5f0b6
movl $0x21000000, %eax # imm = 0x21000000
andl 0xc(%r14), %eax
cmpl $0x1000000, %eax # imm = 0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DockContextEndFrame(ImGuiContext*) | void ImGui::DockContextEndFrame(ImGuiContext* ctx)
{
// Draw backgrounds of node missing their window
ImGuiContext& g = *ctx;
ImGuiDockContext* dc = &g.DockContext;
for (int n = 0; n < dc->Nodes.Data.Size; n++)
if (ImGuiDockNode* node = (ImGuiDockNode*)dc->Nodes.Data[n].val_p)
if (no... | cmpl $0x0, 0x5530(%rdi)
jle 0x5f2d6
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdi, %rbx
movl $0x8, %r13d
xorl %r14d, %r14d
leaq 0x8(%rsp), %r15
movq 0x5538(%rbx), %rax
movq (%rax,%r13), %r12
testq %r12, %r12
je 0x5f2b1
movl 0xb0(%r12), %eax
cmpl 0x3f60(%rbx), %eax
jne 0x5f... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetCurrentViewport(ImGuiWindow*, ImGuiViewportP*) | void ImGui::SetCurrentViewport(ImGuiWindow* current_window, ImGuiViewportP* viewport)
{
ImGuiContext& g = *GImGui;
(void)current_window;
if (viewport)
viewport->LastFrameActive = g.FrameCount;
if (g.CurrentViewport == viewport)
return;
g.CurrentDpiScale = viewport ? viewport->DpiSca... | movq 0xcfe5a(%rip), %rax # 0x12f138
testq %rsi, %rsi
je 0x5f2ec
movl 0x3f60(%rax), %ecx
movl %ecx, 0x60(%rsi)
cmpq %rsi, 0x4220(%rax)
je 0x5f330
testq %rsi, %rsi
je 0x5f31f
movss 0x28(%rsi), %xmm0
movss %xmm0, 0x4218(%rax)
movq %rsi, 0x4220(%rax)
movq 0x3890(%rax), %rax
testq %rax, %rax
je 0x5f330
movq %rsi, %rdi
j... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ClearDragDrop() | void ImGui::ClearDragDrop()
{
ImGuiContext& g = *GImGui;
g.DragDropActive = false;
g.DragDropPayload.Clear();
g.DragDropAcceptFlags = ImGuiDragDropFlags_None;
g.DragDropAcceptIdCurr = g.DragDropAcceptIdPrev = 0;
g.DragDropAcceptIdCurrRectSurface = FLT_MAX;
g.DragDropAcceptFrameCount = -1;
... | pushq %rbx
movq 0xcfdc9(%rip), %rbx # 0x12f138
xorl %eax, %eax
movb %al, 0x43fc(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x4428(%rbx)
movups %xmm0, 0x4438(%rbx)
movb %al, 0x4448(%rbx)
movups %xmm0, 0x4410(%rbx)
movabsq $-0x100000000, %rax # imm = 0xFFFFFFFF00000000
movq %rax, 0x4420(%rbx)
movw $0x0, 0x4449(%rbx)
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
AddWindowToSortBuffer(ImVector<ImGuiWindow*>*, ImGuiWindow*) | static void AddWindowToSortBuffer(ImVector<ImGuiWindow*>* out_sorted_windows, ImGuiWindow* window)
{
out_sorted_windows->push_back(window);
if (window->Active)
{
int count = window->DC.ChildWindows.Size;
ImQsort(window->DC.ChildWindows.Data, (size_t)count, sizeof(ImGuiWindow*), ChildWindowCo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
movl (%rdi), %ebp
movl 0x4(%rdi), %eax
cmpl %eax, %ebp
jne 0x5f566
incl %ebp
testl %eax, %eax
je 0x5f4e7
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x5f4ec
movl $0x8, %ecx
cmpl %ebp, %ecx
cmovgl %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::Render() | void ImGui::Render()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.Initialized);
if (g.FrameCountEnded != g.FrameCount)
EndFrame();
const bool first_render_of_frame = (g.FrameCountRendered != g.FrameCount);
g.FrameCountRendered = g.FrameCount;
g.IO.MetricsRenderWindows = 0;
CallContextH... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq 0xcfb1e(%rip), %rbx # 0x12f138
cmpb $0x0, (%rbx)
je 0x5fe4a
movl 0x3f64(%rbx), %eax
cmpl 0x3f60(%rbx), %eax
je 0x5f636
callq 0x5e126
movl 0x3f60(%rbx), %ebp
movl 0x3f6c(%rbx), %eax
movl %eax, 0x24(%rsp)
movl %ebp, 0x3f6c(%rbx)
m... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
AddDrawListToDrawData(ImVector<ImDrawList*>*, ImDrawList*) | static void AddDrawListToDrawData(ImVector<ImDrawList*>* out_list, ImDrawList* draw_list)
{
if (draw_list->CmdBuffer.Size == 0)
return;
if (draw_list->CmdBuffer.Size == 1 && draw_list->CmdBuffer[0].ElemCount == 0 && draw_list->CmdBuffer[0].UserCallback == NULL)
return;
// Draw list sanity c... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl (%rsi), %eax
testl %eax, %eax
je 0x5ffa3
movq %rsi, %r14
movq %rdi, %rbx
cmpl $0x1, %eax
jne 0x5fea0
jl 0x6000b
movq 0x8(%r14), %rax
cmpl $0x0, 0x20(%rax)
jne 0x5fea0
cmpq $0x0, 0x28(%rax)
je 0x5ffa3
movslq 0x20(%r14), %rax
testq %rax, %rax
je 0x5febf
leaq (%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsItemClicked(int) | bool ImGui::IsMouseClicked(ImGuiMouseButton button, bool repeat)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown));
const float t = g.IO.MouseDownDuration[button];
if (t == 0.0f)
return true;
if (repeat && t > g.IO.KeyRepeatDelay)
return Cal... | cmpl $0x5, %edi
jae 0x6015b
movq 0xceffc(%rip), %rax # 0x12f138
movl %edi, %ecx
movss 0x36f0(%rax,%rcx,4), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x60158
jp 0x60158
xorl %edi, %edi
jmp 0x4fec1
xorl %eax, %eax
retq
pushq %rax
leaq 0x84fa7(%rip), %rdi # 0xe510a
leaq 0x83041(%rip), %rsi # 0xe31ab
le... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetItemAllowOverlap() | void ImGui::SetItemAllowOverlap()
{
ImGuiContext& g = *GImGui;
ImGuiID id = g.LastItemData.ID;
if (g.HoveredId == id)
g.HoveredIdAllowOverlap = true;
if (g.ActiveId == id)
g.ActiveIdAllowOverlap = true;
} | movq 0xceeda(%rip), %rax # 0x12f138
movl 0x40b0(%rax), %ecx
cmpl %ecx, 0x4020(%rax)
jne 0x60273
movb $0x1, 0x4028(%rax)
cmpl %ecx, 0x4034(%rax)
jne 0x60282
movb $0x1, 0x4041(%rax)
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginChildEx(char const*, unsigned int, ImVec2 const&, bool, int) | bool ImGui::BeginChildEx(const char* name, ImGuiID id, const ImVec2& size_arg, bool border, ImGuiWindowFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* parent_window = g.CurrentWindow;
flags |= ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoSavedSettings | ImGuiWindowFla... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %ecx, 0x10(%rsp)
movl %esi, %r9d
movq %rdi, %r10
movq 0xcedd3(%rip), %r13 # 0x12f138
movq 0x3fe0(%r13), %rbp
movsd 0x268(%rbp), %xmm0
cmpq $0x0, 0x1c0(%rbp)
jne 0x60388
cmpq $0x0, 0x44b8(%r13)
je 0x60394
movss 0x238(%rbp), %xmm1... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NavInitWindow(ImGuiWindow*, bool) | void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit)
{
// FIXME: ChildWindow test here is wrong for docking
ImGuiContext& g = *GImGui;
IM_ASSERT(window == g.NavWindow);
if (window->Flags & ImGuiWindowFlags_NoNavInputs)
{
g.NavId = g.NavFocusScopeId = 0;
return;
}
... | pushq %rbx
subq $0x10, %rsp
movq 0xceb6e(%rip), %rbx # 0x12f138
cmpq %rdi, 0x4268(%rbx)
jne 0x606b1
movl 0xc(%rdi), %eax
btl $0x12, %eax
jb 0x60655
btl $0x1a, %eax
jb 0x60607
cmpq %rdi, 0x398(%rdi)
je 0x60607
movl 0x3c8(%rdi), %eax
testl %eax, %eax
setne %cl
xorb $0x1, %sil
testb %sil, %cl
jne 0x6069b
movl 0x42a4(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::EndChild() | void ImGui::EndChild()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(g.WithinEndChild == false);
IM_ASSERT(window->Flags & ImGuiWindowFlags_ChildWindow); // Mismatched BeginChild()/EndChild() calls
g.WithinEndChild = true;
if (window->BeginCount > 1)
{
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq 0xce9d3(%rip), %r14 # 0x12f138
cmpb $0x0, 0x3f72(%r14)
jne 0x60923
movq 0x3fe0(%r14), %r15
testb $0x1, 0xf(%r15)
je 0x60942
movb $0x1, 0x3f72(%r14)
cmpw $0x2, 0xd8(%r15)
jl 0x607a2
callq 0x5eeda
jmp 0x60906
movq 0x50(%r15), %rax
movq %rax, 0x8(%rsp)
movb 0xe6(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ItemSize(ImVec2 const&, float) | void ImGui::ItemSize(const ImVec2& size, float text_baseline_y)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (window->SkipItems)
return;
// We increase the height in this function to accommodate for baseline offset.
// In theory we should be offsetting the starting... | movq 0xce7d0(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
cmpb $0x0, 0xd0(%rax)
jne 0x60ab7
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x6099e
movss 0x150(%rax), %xmm2
subss %xmm0, %xmm2
xorps %xmm3, %xmm3
movaps %xmm2, %xmm1
cmpless %xmm3, %xmm1
andnps %xmm2, %xmm1
movss 0x144(%rax), %xmm2
addss 0x4(%rdi), %xmm1... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ItemAdd(ImRect const&, unsigned int, ImRect const*, int) | bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGuiItemFlags extra_flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
// Set item data
// (DisplayRect is left untouched, made valid when ImGuiItemStatusFlags_HasDisplayRect is set)
g.LastItemData.... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %ecx, %eax
movl %esi, %ebp
movq %rdi, %rbx
movq 0xce630(%rip), %r15 # 0x12f138
movq 0x3fe0(%r15), %r12
movl %esi, 0x40b0(%r15)
movups (%rdi), %xmm0
movups %xmm0, 0x40bc(%r15)
testq %rdx, %rdx
cmoveq %rdi, %rdx
movups (%rdx), %xmm0
movups %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CalcWindowNextAutoFitSize(ImGuiWindow*) | ImVec2 ImGui::CalcWindowNextAutoFitSize(ImGuiWindow* window)
{
ImVec2 size_contents_current;
ImVec2 size_contents_ideal;
CalcWindowContentSizes(window, &size_contents_current, &size_contents_ideal);
ImVec2 size_auto_fit = CalcWindowAutoFitSize(window, size_contents_ideal);
ImVec2 size_final = CalcWi... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
xorl %eax, %eax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x8(%rsp), %r14
movq %rax, (%r14)
movq %r14, %rdx
callq 0x61149
movq %rbx, %rdi
movq %r14, %rsi
callq 0x61271
movq %rsp, %rsi
movlps %xmm0, (%rsi)
movq %rbx, %rdi
callq 0x614b5
addq $0x18, %rsp
popq %rbx
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
CalcWindowContentSizes(ImGuiWindow*, ImVec2*, ImVec2*) | static void CalcWindowContentSizes(ImGuiWindow* window, ImVec2* content_size_current, ImVec2* content_size_ideal)
{
bool preserve_old_content_sizes = false;
if (window->Collapsed && window->AutoFitFramesX <= 0 && window->AutoFitFramesY <= 0)
preserve_old_content_sizes = true;
else if (window->Hidden... | cmpb $0x1, 0xce(%rdi)
jne 0x61168
cmpb $0x0, 0xe4(%rdi)
jg 0x61168
cmpb $0x0, 0xe5(%rdi)
jle 0x61262
cmpb $0x1, 0xd2(%rdi)
jne 0x6117e
cmpb $0x0, 0xed(%rdi)
je 0x61255
movss 0x70(%rdi), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jne 0x611a4
jp 0x611a4
movss 0x130(%rdi), %xmm1
subss 0x128(%rdi), %xmm1
cvttps2dq %xmm1... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
CalcWindowAutoFitSize(ImGuiWindow*, ImVec2 const&) | static ImVec2 CalcWindowAutoFitSize(ImGuiWindow* window, const ImVec2& size_contents)
{
ImGuiContext& g = *GImGui;
ImGuiStyle& style = g.Style;
const float decoration_up_height = window->TitleBarHeight() + window->MenuBarHeight();
ImVec2 size_pad = window->WindowPadding * 2.0f;
ImVec2 size_desired =... | pushq %r15
pushq %r14
pushq %rbx
subq $0x20, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movq 0xcdeb1(%rip), %r15 # 0x12f138
callq 0x7bdda
movss %xmm0, 0xc(%rsp)
movq %rbx, %rdi
callq 0x7be28
addss 0xc(%rsp), %xmm0
movss 0x78(%rbx), %xmm4
addss %xmm4, %xmm4
movss 0x7c(%rbx), %xmm3
addss %xmm3, %xmm3
movss (%r14), %xmm9
ad... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
CalcWindowSizeAfterConstraint(ImGuiWindow*, ImVec2 const&) | static ImVec2 CalcWindowSizeAfterConstraint(ImGuiWindow* window, const ImVec2& size_desired)
{
ImGuiContext& g = *GImGui;
ImVec2 new_size = size_desired;
if (g.NextWindowData.Flags & ImGuiNextWindowDataFlags_HasSizeConstraint)
{
// Using -1,-1 on either X/Y axis to preserve the current size.
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rdi, %rbx
movq 0xcdc70(%rip), %r15 # 0x12f138
movsd (%rsi), %xmm0
testb $0x10, 0x40f0(%r15)
je 0x615c1
movss 0x4130(%r15), %xmm2
movss 0x4134(%r15), %xmm1
xorps %xmm4, %xmm4
ucomiss %xmm4, %xmm2
jb 0x6151c
movss 0x4138(%r15), %xmm3
ucomiss %xmm4, %xmm3
jb 0x61... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetWindowResizeBorderID(ImGuiWindow*, int) | ImGuiID ImGui::GetWindowResizeBorderID(ImGuiWindow* window, ImGuiDir dir)
{
IM_ASSERT(dir >= 0 && dir < 4);
int n = (int)dir + 4;
ImGuiID id = window->DockIsActive ? window->DockNode->HostWindow->ID : window->ID;
id = ImHashStr("#RESIZE", 0, id);
id = ImHashData(&n, sizeof(int), id);
return id;
... | pushq %rbx
subq $0x10, %rsp
cmpl $0x4, %esi
jae 0x61777
orl $0x4, %esi
movl %esi, 0xc(%rsp)
testb $0x1, 0x3f9(%rdi)
je 0x6173a
movq 0x418(%rdi), %rax
movq 0x88(%rax), %rdi
movl 0x8(%rdi), %edx
leaq 0x82de2(%rip), %rdi # 0xe4526
xorl %ebx, %ebx
xorl %esi, %esi
callq 0x4a77b
notl %eax
leaq 0x80ffa(%rip), %rcx # 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::UpdateWindowParentAndRootLinks(ImGuiWindow*, int, ImGuiWindow*) | void ImGui::UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parent_window)
{
window->ParentWindow = parent_window;
window->RootWindow = window->RootWindowPopupTree = window->RootWindowDockTree = window->RootWindowForTitleBarHighlight = window->RootWindowForNav = window;
... | pushq %rax
movq %rdx, 0x388(%rdi)
movq %rdi, 0x3b8(%rdi)
movq %rdi, 0x3b0(%rdi)
movq %rdi, 0x3a8(%rdi)
movq %rdi, 0x3a0(%rdi)
movq %rdi, 0x398(%rdi)
testq %rdx, %rdx
sete %al
movl %esi, %ecx
andl $0x3000000, %ecx # imm = 0x3000000
cmpl $0x1000000, %ecx # imm = 0x1000000
setne %cl
orb %al, %cl
jne 0x61807
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
UpdateWindowInFocusOrderList(ImGuiWindow*, bool, int) | static void UpdateWindowInFocusOrderList(ImGuiWindow* window, bool just_created, ImGuiWindowFlags new_flags)
{
ImGuiContext& g = *GImGui;
const bool new_is_explicit_child = (new_flags & ImGuiWindowFlags_ChildWindow) != 0;
const bool child_flag_changed = new_is_explicit_child != window->IsExplicitChild;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movq 0xcd899(%rip), %r15 # 0x12f138
andl $0x1000000, %edx # imm = 0x1000000
movl %edx, %ebp
shrl $0x18, %ebp
movzbl 0xd4(%rdi), %eax
cmpl %eax, %ebp
sete %cl
movl %esi, %edi
notb %dil
andb %cl, %dil
orb %bpl, %dil
je 0x6199a
cmpl %eax, %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetWindowDock(ImGuiWindow*, unsigned int, int) | void ImGui::SetWindowDock(ImGuiWindow* window, ImGuiID dock_id, ImGuiCond cond)
{
// Test condition (NB: bit 0 is always true) and clear flags for next time
if (cond && (window->SetWindowDockAllowFlags & cond) == 0)
return;
window->SetWindowDockAllowFlags &= ~(ImGuiCond_Once | ImGuiCond_FirstUseEver... | pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
testl %edx, %edx
je 0x61bc5
movsbl 0xf3(%rbx), %eax
testl %edx, %eax
je 0x61c65
andb $-0xf, 0xf3(%rbx)
movl 0x428(%rbx), %r14d
cmpl %ebp, %r14d
je 0x61c65
movl $0x5530, %edi # imm = 0x5530
addq 0xcd550(%rip), %rdi # 0x12f138
movl %ebp, %esi
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetWindowAlwaysWantOwnTabBar(ImGuiWindow*) | bool ImGui::GetWindowAlwaysWantOwnTabBar(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
if (g.IO.ConfigDockingAlwaysTabBar || window->WindowClass.DockingAlwaysTabBar)
if ((window->Flags & (ImGuiWindowFlags_ChildWindow | ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoDocking)) == 0)
if (... | movq 0xcd4c7(%rip), %rax # 0x12f138
cmpb $0x0, 0x72(%rax)
jne 0x61c7d
cmpb $0x1, 0x2c(%rdi)
jne 0x61c91
testl $0x1200001, 0xc(%rdi) # imm = 0x1200001
jne 0x61c91
movb $0x1, %al
cmpb $0x1, 0xd3(%rdi)
jne 0x61c93
xorl %eax, %eax
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiStackSizes::SetToCurrentState() | void ImGuiStackSizes::SetToCurrentState()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
SizeOfIDStack = (short)window->IDStack.Size;
SizeOfColorStack = (short)g.ColorStack.Size;
SizeOfStyleVarStack = (short)g.StyleVarStack.Size;
SizeOfFontStack = (short)g.FontStack.Size;
... | movq 0xccf4d(%rip), %rax # 0x12f138
movq 0x3fe0(%rax), %rcx
movzwl 0x108(%rcx), %ecx
movw %cx, (%rdi)
movzwl 0x4180(%rax), %ecx
movw %cx, 0x2(%rdi)
movzwl 0x4190(%rax), %ecx
movw %cx, 0x4(%rdi)
movzwl 0x41a0(%rax), %ecx
movw %cx, 0x6(%rdi)
movzwl 0x41b0(%rax), %ecx
movw %cx, 0x8(%rdi)
movzwl 0x41d0(%rax), %ecx
movw... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetWindowCollapsed(ImGuiWindow*, bool, int) | void ImGui::SetWindowCollapsed(ImGuiWindow* window, bool collapsed, ImGuiCond cond)
{
// Test condition (NB: bit 0 is always true) and clear flags for next time
if (cond && (window->SetWindowCollapsedAllowFlags & cond) == 0)
return;
window->SetWindowCollapsedAllowFlags &= ~(ImGuiCond_Once | ImGuiCon... | testl %edx, %edx
je 0x622fd
movsbl 0xf2(%rdi), %eax
testl %edx, %eax
je 0x6230b
andb $-0xf, 0xf2(%rdi)
movb %sil, 0xce(%rdi)
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
SetCurrentWindow(ImGuiWindow*) | static void SetCurrentWindow(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
g.CurrentWindow = window;
g.CurrentTable = window && window->DC.CurrentTableIdx != -1 ? g.Tables.GetByIndex(window->DC.CurrentTableIdx) : NULL;
if (window)
g.FontSize = g.DrawListSharedData.FontSize = window->CalcFont... | movq 0xcce25(%rip), %rax # 0x12f138
movq %rdi, 0x3fe0(%rax)
testq %rdi, %rdi
je 0x6234b
movl 0x1c8(%rdi), %ecx
movl $0xffffffff, %edx # imm = 0xFFFFFFFF
cmpq %rdx, %rcx
je 0x62357
testl %ecx, %ecx
js 0x6239d
cmpl %ecx, 0x44d8(%rax)
jle 0x6239d
imulq $0x218, %rcx, %rcx # imm = 0x218
addq 0x44e0(%rax), %rc... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FindBestWindowPosForPopup(ImGuiWindow*) | ImVec2 ImGui::FindBestWindowPosForPopup(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
ImRect r_outer = GetPopupAllowedExtentRect(window);
if (window->Flags & ImGuiWindowFlags_ChildMenu)
{
// Child menus typically request _any_ position within the parent menu item, and then we move the new m... | pushq %r14
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
movq 0xccd6a(%rip), %r14 # 0x12f138
callq 0x68888
movlhps %xmm1, %xmm0 # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, 0x28(%rsp)
movl 0xc(%rbx), %eax
btl $0x1c, %eax
jb 0x62463
btl $0x1a, %eax
jb 0x624a6
btl $0x19, %eax
jae 0x625a5
movss 0x39c0(%r14), %xmm0
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetViewportPlatformMonitor(ImGuiViewport*) | const ImGuiPlatformMonitor* ImGui::GetViewportPlatformMonitor(ImGuiViewport* viewport_p)
{
ImGuiContext& g = *GImGui;
ImGuiViewportP* viewport = (ImGuiViewportP*)(void*)viewport_p;
int monitor_idx = viewport->PlatformMonitor;
if (monitor_idx >= 0 && monitor_idx < g.PlatformIO.Monitors.Size)
retu... | movq 0xcc6fd(%rip), %rax # 0x12f138
movswl 0x7c(%rdi), %ecx
testl %ecx, %ecx
js 0x62a60
cmpl %ecx, 0x38c8(%rax)
jle 0x62a60
movl %ecx, %ecx
leaq (%rcx,%rcx,8), %rcx
shlq $0x2, %rcx
addq 0x38d0(%rax), %rcx
movq %rcx, %rax
retq
addq $0x423c, %rax # imm = 0x423C
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
CalcNextScrollFromScrollTargetAndClamp(ImGuiWindow*) | static ImVec2 CalcNextScrollFromScrollTargetAndClamp(ImGuiWindow* window)
{
ImVec2 scroll = window->Scroll;
if (window->ScrollTarget.x < FLT_MAX)
{
float decoration_total_width = window->ScrollbarSizes.x;
float center_x_ratio = window->ScrollTargetCenterRatio.x;
float scroll_target_x... | pushq %rbx
subq $0x20, %rsp
movq %rdi, %rbx
movsd 0x98(%rdi), %xmm7
movss 0xa8(%rdi), %xmm1
movss 0x7f986(%rip), %xmm0 # 0xe2530
ucomiss %xmm1, %xmm0
jbe 0x62c1f
movss 0xc0(%rbx), %xmm3
movss 0xb0(%rbx), %xmm2
movss 0xb8(%rbx), %xmm4
xorps %xmm5, %xmm5
ucomiss %xmm5, %xmm4
jbe 0x62c0a
ucomiss %xmm1, %xmm4
jae 0x62bf... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginDockableDragDropSource(ImGuiWindow*) | void ImGui::BeginDockableDragDropSource(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.ActiveId == window->MoveId);
IM_ASSERT(g.MovingWindow == window);
IM_ASSERT(g.CurrentWindow == window);
g.LastItemData.ID = window->MoveId;
window = window->RootWindowDockTree;
IM_ASSERT((w... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, (%rsp)
movq 0xcc3f2(%rip), %r14 # 0x12f138
movl 0x8c(%rdi), %eax
cmpl %eax, 0x4034(%r14)
jne 0x62e53
cmpq %rdi, 0x4000(%r14)
jne 0x62e72
cmpq %rdi, 0x3fe0(%r14)
jne 0x62e91
movl %eax, 0x40b0(%r14)
movq 0x3a8(%rdi), %rax
movq %rax, (%rsp)
testb $0x20,... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BeginDockableDragDropTarget(ImGuiWindow*) | void ImGui::BeginDockableDragDropTarget(ImGuiWindow* window)
{
ImGuiContext* ctx = GImGui;
ImGuiContext& g = *ctx;
//IM_ASSERT(window->RootWindowDockTree == window); // May also be a DockSpace
IM_ASSERT((window->Flags & ImGuiWindowFlags_NoDocking) == 0);
if (!g.DragDropActive)
return;
/... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x288, %rsp # imm = 0x288
testb $0x20, 0xe(%rdi)
jne 0x6320f
movq 0xcc247(%rip), %r14 # 0x12f138
cmpb $0x1, 0x43fc(%r14)
jne 0x631e5
movq %rdi, %rbx
movss 0x48(%rdi), %xmm0
movss 0x4c(%rdi), %xmm1
addss 0x50(%rdi), %xmm0
addss 0x54(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::LogFinish() | void ImGui::LogFinish()
{
ImGuiContext& g = *GImGui;
if (!g.LogEnabled)
return;
LogText(IM_NEWLINE);
switch (g.LogType)
{
case ImGuiLogType_TTY:
#ifndef IMGUI_DISABLE_TTY_FUNCTIONS
fflush(g.LogFile);
#endif
break;
case ImGuiLogType_File:
ImFileClose(g.LogFile... | pushq %rbx
movq 0xcbedb(%rip), %rbx # 0x12f138
cmpb $0x1, 0x55c4(%rbx)
jne 0x6329e
leaq 0x84d5d(%rip), %rdi # 0xe7fca
xorl %eax, %eax
callq 0x69d3e
movl 0x55c8(%rbx), %eax
cmpq $0x4, %rax
ja 0x632e8
leaq 0x7f411(%rip), %rcx # 0xe2698
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x55d0(%rbx), %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BringWindowToDisplayFront(ImGuiWindow*) | void ImGui::BringWindowToDisplayFront(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* current_front_window = g.Windows.back();
if (current_front_window == window || current_front_window->RootWindowDockTree == window) // Cheap early out (could be better)
return;
for (int i = g.Wind... | pushq %r14
pushq %rbx
pushq %rax
movq 0xcbabb(%rip), %r14 # 0x12f138
movslq 0x3f80(%r14), %rax
testq %rax, %rax
jle 0x6370d
movq %rdi, %rbx
movq 0x3f88(%r14), %rcx
movq -0x8(%rcx,%rax,8), %rdx
cmpq %rdi, %rdx
je 0x63705
cmpq %rbx, 0x3a8(%rdx)
je 0x63705
cmpl $0x1, %eax
je 0x63705
leal -0x1(%rax), %esi
xorl %edx, %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::BringWindowToDisplayBack(ImGuiWindow*) | void ImGui::BringWindowToDisplayBack(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
if (g.Windows[0] == window)
return;
for (int i = 0; i < g.Windows.Size; i++)
if (g.Windows[i] == window)
{
memmove(&g.Windows[1], &g.Windows[0], (size_t)i * sizeof(ImGuiWindow*));
... | pushq %r14
pushq %rbx
pushq %rax
movq 0xcb9e2(%rip), %r14 # 0x12f138
movl 0x3f80(%r14), %eax
testl %eax, %eax
jle 0x637b5
movq %rdi, %rbx
movq 0x3f88(%r14), %rsi
cmpq %rdi, (%rsi)
je 0x637ad
leaq (,%rax,8), %rcx
xorl %edx, %edx
cmpq %rbx, (%rsi,%rdx)
je 0x6378b
addq $0x8, %rdx
cmpq %rdx, %rcx
jne 0x6377a
jmp 0x637a... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NavRestoreLastChildNavWindow(ImGuiWindow*) | static ImGuiWindow* ImGui::NavRestoreLastChildNavWindow(ImGuiWindow* window)
{
if (window->NavLastChildNavWindow && window->NavLastChildNavWindow->WasActive)
return window->NavLastChildNavWindow;
if (window->DockNodeAsHost && window->DockNodeAsHost->TabBar)
if (ImGuiTabItem* tab = TabBarFindMost... | pushq %rbx
movq %rdi, %rbx
movq 0x3c0(%rdi), %rax
testq %rax, %rax
je 0x63880
cmpb $0x0, 0xcc(%rax)
jne 0x638b0
movq 0x420(%rbx), %rax
testq %rax, %rax
je 0x638ad
movq 0x40(%rax), %rdi
testq %rdi, %rdi
je 0x638ad
callq 0xb0a34
movq %rax, %rcx
testq %rax, %rax
je 0x638a8
movq 0x8(%rcx), %rax
jmp 0x638a8
testq %rcx, %rcx... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::EndDisabled() | void ImGui::EndDisabled()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.DisabledStackSize > 0);
g.DisabledStackSize--;
bool was_disabled = (g.CurrentItemFlags & ImGuiItemFlags_Disabled) != 0;
//PopItemFlag();
g.ItemFlagsStack.pop_back();
g.CurrentItemFlags = g.ItemFlagsStack.back();
if (was_d... | pushq %rax
movq 0xcb378(%rip), %rax # 0x12f138
movzwl 0x54dc(%rax), %ecx
testw %cx, %cx
jle 0x63e22
decl %ecx
movw %cx, 0x54dc(%rax)
movl 0x41c0(%rax), %edx
testl %edx, %edx
jle 0x63e41
movl 0x4098(%rax), %ecx
leal -0x1(%rdx), %esi
movl %esi, 0x41c0(%rax)
cmpl $0x1, %edx
je 0x63e60
movq 0x41c8(%rax), %rdx
movl %esi... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsWindowChildOf(ImGuiWindow*, ImGuiWindow*, bool, bool) | bool ImGui::IsWindowChildOf(ImGuiWindow* window, ImGuiWindow* potential_parent, bool popup_hierarchy, bool dock_hierarchy)
{
ImGuiWindow* window_root = GetCombinedRootWindow(window, popup_hierarchy, dock_hierarchy);
if (window_root == potential_parent)
return true;
while (window != NULL)
{
... | movq %rdi, %r8
testq %rdi, %rdi
je 0x64046
movq %rdi, %rax
movq 0x398(%rax), %r8
testb %dl, %dl
je 0x64033
movq 0x3a0(%r8), %r8
testb %cl, %cl
je 0x6403e
movq 0x3a8(%r8), %r8
cmpq %r8, %rax
movq %r8, %rax
jne 0x64021
cmpq %rsi, %r8
je 0x6406a
testq %rdi, %rdi
je 0x6406d
cmpq %rsi, %rdi
sete %al
je 0x64069
cmpq %r8, %rd... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsWindowHovered(int) | bool ImGui::IsWindowHovered(ImGuiHoveredFlags flags)
{
IM_ASSERT((flags & (ImGuiHoveredFlags_AllowWhenOverlapped | ImGuiHoveredFlags_AllowWhenDisabled)) == 0); // Flags not supported by this function
ImGuiContext& g = *GImGui;
ImGuiWindow* ref_window = g.HoveredWindow;
ImGuiWindow* cur_window = g.Curr... | pushq %rax
testl $0x300, %edi # imm = 0x300
jne 0x641db
movq 0xcb0b4(%rip), %rcx # 0x12f138
movq 0x3fe8(%rcx), %rax
testq %rax, %rax
je 0x641b3
testb $0x4, %dil
jne 0x64149
movq 0x3fe0(%rcx), %rsi
testq %rsi, %rsi
je 0x641fa
testb $0x2, %dil
jne 0x640b9
movq %rsi, %rdx
jmp 0x640e2
movq 0x398(%rsi), %rdx
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsWindowFocused(int) | bool ImGui::IsWindowFocused(ImGuiFocusedFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* ref_window = g.NavWindow;
ImGuiWindow* cur_window = g.CurrentWindow;
if (ref_window == NULL)
return false;
if (flags & ImGuiFocusedFlags_AnyWindow)
return true;
IM_ASSERT(cur_window);... | pushq %rax
movq 0xcaf17(%rip), %rdx # 0x12f138
movq 0x4268(%rdx), %rcx
testq %rcx, %rcx
je 0x642d9
movb $0x1, %al
testb $0x4, %dil
jne 0x642db
movq 0x3fe0(%rdx), %rsi
testq %rsi, %rsi
je 0x642dd
testb $0x2, %dil
jne 0x64258
movq %rsi, %rdx
jmp 0x64281
movq 0x398(%rsi), %rdx
testb $0x8, %dil
jne 0x6426c
movq 0x3a0(%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetWindowCollapsed(char const*, bool, int) | void ImGui::SetWindowCollapsed(const char* name, bool collapsed, ImGuiCond cond)
{
if (ImGuiWindow* window = FindWindowByName(name))
SetWindowCollapsed(window, collapsed, cond);
} | pushq %rbp
pushq %rbx
pushq %rax
movl %edx, %ebp
movl %esi, %ebx
xorl %esi, %esi
xorl %edx, %edx
callq 0x4a77b
movl $0x3fc0, %edi # imm = 0x3FC0
addq 0xcac07(%rip), %rdi # 0x12f138
movl %eax, %esi
callq 0x4b0fa
testq %rax, %rax
je 0x64559
testl %ebp, %ebp
je 0x6454c
movsbl 0xf2(%rax), %ecx
testl %ebp, %ec... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetNextWindowPos(ImVec2 const&, int, ImVec2 const&) | void ImGui::SetNextWindowPos(const ImVec2& pos, ImGuiCond cond, const ImVec2& pivot)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user doesn't attempt to combine multiple condition flags.
g.NextWindowData.Flags |= ImGuiNextWindowDataFlags_HasPos;
g.NextWind... | leal -0x1(%rsi), %eax
testl %eax, %esi
jne 0x645ec
movq 0xcab7b(%rip), %rax # 0x12f138
orl $0x1, 0x40f0(%rax)
movq (%rdi), %rcx
movq %rcx, 0x4104(%rax)
movq (%rdx), %rcx
movq %rcx, 0x410c(%rax)
cmpl $0x1, %esi
adcl $0x0, %esi
movl %esi, 0x40f4(%rax)
movb $0x1, 0x412c(%rax)
retq
pushq %rax
leaq 0x8068c(%rip), %rdi ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::PushFocusScope(unsigned int) | void ImGui::PushFocusScope(ImGuiID id)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
g.FocusScopeStack.push_back(window->DC.NavFocusScopeIdCurrent);
window->DC.NavFocusScopeIdCurrent = id;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edi, %ebx
movq 0xca875(%rip), %r15 # 0x12f138
movq 0x3fe0(%r15), %r12
movl 0x41b0(%r15), %ebp
movl 0x41b4(%r15), %eax
cmpl %eax, %ebp
jne 0x6497c
incl %ebp
testl %eax, %eax
je 0x648f3
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NavMoveRequestSubmit(int, int, int, int) | void ImGui::NavMoveRequestSubmit(ImGuiDir move_dir, ImGuiDir clip_dir, ImGuiNavMoveFlags move_flags, ImGuiScrollFlags scroll_flags)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.NavWindow != NULL);
if (move_flags & ImGuiNavMoveFlags_Tabbing)
move_flags |= ImGuiNavMoveFlags_AllowCurrentNavId;
g.NavM... | movq 0xca68b(%rip), %rax # 0x12f138
cmpq $0x0, 0x4268(%rax)
je 0x64b79
movl %edx, %r8d
shrl $0x6, %r8d
andl $0x10, %r8d
orl %edx, %r8d
movw $0x1, 0x42c5(%rax)
movb $0x1, %dl
movb %dl, 0x42c4(%rax)
movl %edi, 0x42d4(%rax)
movl %edi, 0x42d8(%rax)
movl %esi, 0x42dc(%rax)
movl %r8d, 0x42c8(%rax)
movl %ecx, 0x42cc(%rax)... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::NavMoveRequestResolveWithLastItem(ImGuiNavItemData*) | void ImGui::NavMoveRequestResolveWithLastItem(ImGuiNavItemData* result)
{
ImGuiContext& g = *GImGui;
g.NavMoveScoringItems = false; // Ensure request doesn't need more processing
NavApplyItemToResult(result);
NavUpdateAnyRequestFlag();
} | pushq %rax
movq 0xca597(%rip), %rax # 0x12f138
movb $0x0, 0x42c5(%rax)
callq 0x68b32
movq 0xca584(%rip), %rax # 0x12f138
cmpb $0x0, 0x42c5(%rax)
je 0x64bc6
movb $0x1, 0x42ac(%rax)
jmp 0x64bd6
movb 0x42ad(%rax), %cl
movb %cl, 0x42ac(%rax)
testb %cl, %cl
je 0x64be0
cmpq $0x0, 0x4268(%rax)
je 0x64be2
popq %rax
ret... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SetItemDefaultFocus() | void ImGui::SetItemDefaultFocus()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (!window->Appearing)
return;
if (g.NavWindow != window->RootWindowForNav || (!g.NavInitRequest && g.NavInitResultId == 0) || g.NavLayer != window->DC.NavLayerCurrent)
return;
g.N... | pushq %r14
pushq %rbx
pushq %rax
movq 0xca52c(%rip), %rbx # 0x12f138
movq 0x3fe0(%rbx), %r14
cmpb $0x1, 0xd1(%r14)
jne 0x64c2d
movq 0x4268(%rbx), %rax
cmpq 0x3b8(%r14), %rax
je 0x64c35
addq $0x8, %rsp
popq %rbx
popq %r14
retq
cmpb $0x0, 0x42ad(%rbx)
jne 0x64c47
cmpl $0x0, 0x42b0(%rbx)
je 0x64c2d
movl 0x42a4(%rbx), ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ScrollToRectEx(ImGuiWindow*, ImRect const&, int) | ImVec2 ImGui::ScrollToRectEx(ImGuiWindow* window, const ImRect& item_rect, ImGuiScrollFlags flags)
{
ImGuiContext& g = *GImGui;
ImRect window_rect(window->InnerRect.Min - ImVec2(1, 1), window->InnerRect.Max + ImVec2(1, 1));
//GetForegroundDrawList(window)->AddRect(window_rect.Min, window_rect.Max, IM_COL32_... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x38, %rsp
movl %edx, %eax
andl $0x15, %eax
leal -0x1(%rax), %ecx
testl %ecx, %eax
jne 0x650df
movl %edx, %ebp
movl %edx, %ecx
andl $0x2a, %ecx
leal -0x1(%rcx), %edx
testl %edx, %ecx
jne 0x650fe
movq %rsi, %rbx
movq %rdi, %r14
movss 0x210(%rdi), %xmm7
movss 0x214(%rdi),... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::IsKeyPressed(int, bool) | bool ImGui::IsKeyPressed(ImGuiKey key, bool repeat)
{
ImGuiContext& g = *GImGui;
const ImGuiKeyData* key_data = GetKeyData(key);
const float t = key_data->DownDuration;
if (t == 0.0f)
return true;
if (repeat && t > g.IO.KeyRepeatDelay)
return GetKeyPressedAmount(key, g.IO.KeyRepeatDe... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movl %edi, %ebx
movq 0xc977c(%rip), %r14 # 0x12f138
callq 0x491bf
movss 0x4(%rax), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
setnp %cl
sete %al
andb %cl, %al
xorb $0x1, %bpl
orb %al, %bpl
jne 0x65a30
movss 0x3c(%r14), %xmm1
ucomiss %xmm1, %xmm0
j... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetMouseDragDelta(int, float) | ImVec2 ImGui::GetMouseDragDelta(ImGuiMouseButton button, float lock_threshold)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(button >= 0 && button < IM_ARRAYSIZE(g.IO.MouseDown));
if (lock_threshold < 0.0f)
lock_threshold = g.IO.MouseDragThreshold;
if (g.IO.MouseDown[button] || g.IO.MouseReleased[butto... | pushq %r14
pushq %rbx
pushq %rax
cmpl $0x5, %edi
jae 0x65c99
movq 0xc9536(%rip), %r14 # 0x12f138
xorps %xmm1, %xmm1
ucomiss %xmm0, %xmm1
jbe 0x65c10
movss 0x38(%r14), %xmm0
movl %edi, %ebx
cmpb $0x0, 0xda4(%r14,%rbx)
jne 0x65c2b
xorps %xmm2, %xmm2
cmpb $0x1, 0x36de(%r14,%rbx)
jne 0x65c8e
movss 0x3740(%r14,%rbx,4), ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DebugCheckVersionAndDataLayout(char const*, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long, unsigned long) | bool ImGui::DebugCheckVersionAndDataLayout(const char* version, size_t sz_io, size_t sz_style, size_t sz_vec2, size_t sz_vec4, size_t sz_vert, size_t sz_idx)
{
bool error = false;
if (strcmp(version, IMGUI_VERSION) != 0) { error = true; IM_ASSERT(strcmp(version, IMGUI_VERSION) == 0 && "Mismatched version string... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %r9, %rbx
movq %r8, %r14
movq %rcx, %r15
movq %rdx, %r12
movq %rsi, %r13
leaq 0x7e259(%rip), %rsi # 0xe3fa6
callq 0xcd30
testl %eax, %eax
jne 0x65d9e
cmpq $0x3808, %r13 # imm = 0x3808
jne 0x65dbd
cmpq $0x438, %r12 # imm = 0x438
jne 0x6... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ErrorCheckEndFrameRecover(void (*)(void*, char const*, ...), void*) | void ImGui::ErrorCheckEndFrameRecover(ImGuiErrorLogCallback log_callback, void* user_data)
{
// PVS-Studio V1044 is "Loop break conditions do not depend on the number of iterations"
ImGuiContext& g = *GImGui;
while (g.CurrentWindowStack.Size > 0) //-V1044
{
ErrorCheckEndWindowRecover(log_call... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0xc92a9(%rip), %r13 # 0x12f138
leaq 0x7f7e4(%rip), %r15 # 0xe567a
leaq 0x7f7b2(%rip), %r12 # 0xe564f
cmpl $0x0, 0x3fb0(%r13)
jle 0x65f0d
movq %r14, %rdi
movq %rbx, %rsi
callq 0x65f3b
movq 0x3fe0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ErrorCheckEndWindowRecover(void (*)(void*, char const*, ...), void*) | void ImGui::ErrorCheckEndWindowRecover(ImGuiErrorLogCallback log_callback, void* user_data)
{
ImGuiContext& g = *GImGui;
while (g.CurrentTable && (g.CurrentTable->OuterWindow == g.CurrentWindow || g.CurrentTable->InnerWindow == g.CurrentWindow))
{
if (log_callback) log_callback(user_data, "Recove... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movq 0xc91e5(%rip), %r13 # 0x12f138
movq 0x44b8(%r13), %rax
testq %rax, %rax
je 0x65fa6
leaq 0x7f73a(%rip), %r15 # 0xe56a0
movq 0x180(%rax), %rcx
movq 0x3fe0(%r13), %rdx
cmpq %rdx, %rcx
je 0x65f82
cmpq %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::SameLine(float, float) | inline ImGuiWindow* GetCurrentWindow() { ImGuiContext& g = *GImGui; g.CurrentWindow->WriteAccessed = true; return g.CurrentWindow; } | movq 0xc8c1a(%rip), %rcx # 0x12f138
movq 0x3fe0(%rcx), %rax
movb $0x1, 0xcd(%rax)
cmpb $0x0, 0xd0(%rax)
jne 0x665b9
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
jne 0x66543
jnp 0x6656e
maxss %xmm1, %xmm2
movss 0x48(%rax), %xmm1
subss 0x98(%rax), %xmm1
addss %xmm0, %xmm1
addss %xmm2, %xmm1
addss 0x160(%rax), %xmm1
addss ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
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.