name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
ImGui::GetStyleColorName(int) | const char* ImGui::GetStyleColorName(ImGuiCol idx)
{
// Create switch-case from enum with regexp: ImGuiCol_{.*}, --> case ImGuiCol_\1: return "\1";
switch (idx)
{
case ImGuiCol_Text: return "Text";
case ImGuiCol_TextDisabled: return "TextDisabled";
case ImGuiCol_WindowBg: return "WindowBg";
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq %rax, -0x18(%rbp)
subq $0x34, %rax
ja 0x56158
movq -0x18(%rbp), %rax
leaq 0x22a181(%rip), %rcx # 0x27ff98
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
leaq 0x241885(%rip), %rax # 0x2976ac
movq %rax, -0x8(%rbp)
jm... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::FindRenderedTextEnd(char const*, char const*) | const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end)
{
const char* text_display_end = text;
if (!text_end)
text_end = (const char*)-1;
while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || text_display_end[1] != '#'))
tex... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x10(%rbp)
jne 0x561b6
movq $-0x1, %rax
movq %rax, -0x10(%rbp)
jmp 0x561b8
movq -0x18(%rbp), %rcx
xorl %eax, %eax
cmpq -0x10(%rbp), %rcx
movb %al, -0x19(%rbp)
jae 0x56200
movq -0x18(%rbp), %r... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderText(ImVec2, char const*, char const*, bool) | void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_hash)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
// Hide anything after a '##' string
const char* text_display_end;
if (hide_text_after_hash)
{
text_display_end = Fin... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %dl, %al
movlpd %xmm0, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq 0x2cff8d(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x30(%rbp)
testb $0x1, -0x19(%rb... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderTextWrapped(ImVec2, char const*, char const*, float) | void ImGui::RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (!text_end)
text_end = text + strlen(text); // FIXME-OPT
if (text != text_end)
{
window->DrawList->AddText(g.Fo... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movlpd %xmm0, -0x8(%rbp)
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movss %xmm1, -0x1c(%rbp)
movq 0x2cfb9f(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x30(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x5666a
movq -0x10(%... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderTextClipped(ImVec2 const&, ImVec2 const&, char const*, char const*, ImVec2 const*, ImVec2 const&, ImRect const*) | void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
{
// Hide anything after a '##' string
const char* text_display_end = FindRenderedTextEnd(text, text_end);
const... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x18(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0x56190
movq %rax, -0x38(%rbp)
movq -0x38(%rbp), %rax
movq -0x18(%r... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderTextEllipsis(ImDrawList*, ImVec2 const&, ImVec2 const&, float, float, char const*, char const*, ImVec2 const*) | void ImGui::RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, float clip_max_x, float ellipsis_max_x, const char* text, const char* text_end_full, const ImVec2* text_size_if_known)
{
ImGuiContext& g = *GImGui;
if (text_end_full == NULL)
text_end_full = FindRenderedT... | pushq %rbp
movq %rsp, %rbp
subq $0x150, %rsp # imm = 0x150
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movss %xmm0, -0x1c(%rbp)
movss %xmm1, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq 0x2cf61c(%rip), %rax # 0x3261d0
movq %rax, -0x40(%rbp)
cm... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderFrame(ImVec2, ImVec2, unsigned int, bool, float) | void ImGui::RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border, float rounding)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
window->DrawList->AddRectFilled(p_min, p_max, fill_col, rounding);
const float border_size = g.Style.FrameBorderSize;
if (border && bor... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movb %sil, %al
movlpd %xmm0, -0x8(%rbp)
movlpd %xmm1, -0x10(%rbp)
movl %edi, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movss %xmm2, -0x1c(%rbp)
movq 0x2cf0c4(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x3... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderFrameBorder(ImVec2, ImVec2, float) | void ImGui::RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
const float border_size = g.Style.FrameBorderSize;
if (border_size > 0.0f)
{
window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), Get... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movlpd %xmm0, -0x8(%rbp)
movlpd %xmm1, -0x10(%rbp)
movss %xmm2, -0x14(%rbp)
movq 0x2cef5f(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movss 0x15a4(%rax), %xmm0
movss %xmm0, -0x2c... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderNavHighlight(ImRect const&, unsigned int, int) | void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags)
{
ImGuiContext& g = *GImGui;
if (id != g.NavId)
return;
if (g.NavDisableHighlight && !(flags & ImGuiNavHighlightFlags_AlwaysDraw))
return;
ImGuiWindow* window = g.CurrentWindow;
if (window->DC.... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movl %edx, -0x10(%rbp)
movq 0x2cee24(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x1dd0(%rcx), %eax
je 0x573c4
jmp 0x5763b
movq -0x18(%rbp), %rax
testb $0x1, 0x1e1e(%rax)
je 0x5... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::ImGuiWindow(ImGuiContext*, char const*) | ImGuiWindow::ImGuiWindow(ImGuiContext* context, const char* name) : DrawListInst(NULL)
{
memset(this, 0, sizeof(*this));
Name = ImStrdup(name);
NameBufLen = (int)strlen(name) + 1;
ID = ImHashStr(name);
IDStack.push_back(ID);
MoveId = GetID("#MOVE");
ScrollTarget = ImVec2(FLT_MAX, FLT_MAX);
... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x50(%rbp)
addq $0x10, %rdi
callq 0x78060
movq -0x50(%rbp), %rdi
addq $0x18, %rdi
callq 0x78060
movq -0x50(%rbp), %rdi
addq $0x20, %rdi
callq 0x78060
movq -0x50(%rbp), %rdi
a... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::GetID(char const*, char const*) | ImGuiID ImGuiWindow::GetID(const char* str, const char* str_end)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed);
ImGui::KeepAliveID(id);
#ifdef IMGUI_ENABLE_TEST_ENGINE
ImGuiContext& g = *GImGui;
IMGUI_TEST_ENGINE_ID_INFO2(id, ImGuiDataType_String, ... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
addq $0xc8, %rdi
callq 0x79340
movl (%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x57b09
movq -0x18(%rbp), %rax
movq -0x10(... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::~ImGuiWindow() | ImGuiWindow::~ImGuiWindow()
{
IM_ASSERT(DrawList == &DrawListInst);
IM_DELETE(Name);
for (int i = 0; i != ColumnsStorage.Size; i++)
ColumnsStorage[i].~ImGuiOldColumns();
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x18(%rbp)
movq 0x2b0(%rcx), %rax
addq $0x2b8, %rcx # imm = 0x2B8
cmpq %rcx, %rax
jne 0x57b69
jmp 0x57b88
leaq 0x229308(%rip), %rdi # 0x280e78
leaq 0x228af2(%rip), %rsi # 0x280669
movl $0xb70, %edx ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::GetID(void const*) | ImGuiID ImGuiWindow::GetID(const void* ptr)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&ptr, sizeof(void*), seed);
ImGui::KeepAliveID(id);
#ifdef IMGUI_ENABLE_TEST_ENGINE
ImGuiContext& g = *GImGui;
IMGUI_TEST_ENGINE_ID_INFO(id, ImGuiDataType_Pointer, ptr);
#endif
return id;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
addq $0xc8, %rdi
callq 0x79340
movl (%rax), %eax
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %edx
leaq -0x10(%rbp), %rdi
movl $0x8, %esi
callq 0x52f60
movl %eax, -0x18(%rbp)
movl -0x18(%rbp), %edi
callq 0x57c40
m... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::GetID(int) | ImGuiID ImGuiWindow::GetID(int n)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&n, sizeof(n), seed);
ImGui::KeepAliveID(id);
#ifdef IMGUI_ENABLE_TEST_ENGINE
ImGuiContext& g = *GImGui;
IMGUI_TEST_ENGINE_ID_INFO(id, ImGuiDataType_S32, (intptr_t)n);
#endif
return id;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
addq $0xc8, %rdi
callq 0x79340
movl (%rax), %eax
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %edx
leaq -0xc(%rbp), %rdi
movl $0x4, %esi
callq 0x52f60
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %edi
callq 0x57c40
mov... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::GetIDNoKeepAlive(char const*, char const*) | ImGuiID ImGuiWindow::GetIDNoKeepAlive(const char* str, const char* str_end)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashStr(str, str_end ? (str_end - str) : 0, seed);
#ifdef IMGUI_ENABLE_TEST_ENGINE
ImGuiContext& g = *GImGui;
IMGUI_TEST_ENGINE_ID_INFO2(id, ImGuiDataType_String, str, str_end);
#e... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
addq $0xc8, %rdi
callq 0x79340
movl (%rax), %eax
movl %eax, -0x1c(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x28(%rbp)
cmpq $0x0, -0x18(%rbp)
je 0x57d79
movq -0x18(%rbp), %rax
movq -0x10(... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiWindow::GetIDNoKeepAlive(int) | ImGuiID ImGuiWindow::GetIDNoKeepAlive(int n)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&n, sizeof(n), seed);
#ifdef IMGUI_ENABLE_TEST_ENGINE
ImGuiContext& g = *GImGui;
IMGUI_TEST_ENGINE_ID_INFO(id, ImGuiDataType_S32, (intptr_t)n);
#endif
return id;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rdi
addq $0xc8, %rdi
callq 0x79340
movl (%rax), %eax
movl %eax, -0x10(%rbp)
movl -0x10(%rbp), %edx
leaq -0xc(%rbp), %rdi
movl $0x4, %esi
callq 0x52f60
movl %eax, -0x14(%rbp)
movl -0x14(%rbp), %eax
addq $0x20, %rsp
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow*) | void ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow* window)
{
// We stored capacity of the ImDrawList buffer to reduce growth-caused allocation/copy when awakening.
// The other buffers tends to amortize much faster.
window->MemoryCompacted = false;
window->DrawList->IdxBuffer.reserve(window->MemoryD... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movb $0x0, 0x3d8(%rax)
movq -0x8(%rbp), %rax
movq 0x2b0(%rax), %rdi
addq $0x10, %rdi
movq -0x8(%rbp), %rax
movl 0x3d0(%rax), %esi
callq 0x79530
movq -0x8(%rbp), %rax
movq 0x2b0(%rax), %rdi
addq $0x20, %rdi
movq -0x8(%rbp), %rax
movl... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
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.... | pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x2ce14e(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movl 0x1c5c(%rax), %eax
cmpl -0x4(%rbp), %eax
setne %cl
movq -0x18(%rbp), %rax
andb $0x1, %cl
movb %cl, 0x1c68(%rax)
movq -0x18(%rbp), %rax
testb $0x1, 0x1c68(%ra... | /tuket[P]gltf_viewer/libs/imgui/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;
} | pushq %rbp
movq %rsp, %rbp
movl %edi, -0x4(%rbp)
movq 0x2cdfa2(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movl -0x4(%rbp), %ecx
movq -0x10(%rbp), %rax
movl %ecx, 0x1c48(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x1c50(%rax)
movq -0x10(%rbp), %rax
movb $0x0, 0x1c51(%rax)
cmpl $0x0, -0x4(%rbp)
je 0x58288
movq -0x10(%... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::MarkItemEdited(unsigned int) | void ImGui::MarkItemEdited(ImGuiID id)
{
// This marking is solely to be able to provide info for IsItemDeactivatedAfterEdit().
// ActiveId might have been released by the time we call this (as in the typical press/release button behavior) but still need need to fill the data.
ImGuiContext& g = *GImGui;
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq 0x2cdeee(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl 0x1c5c(%rax), %ecx
movb $0x1, %al
cmpl -0x4(%rbp), %ecx
movb %al, -0x11(%rbp)
je 0x58319
movq -0x10(%rbp), %rcx
movb $0x1, %al
cmpl $0x0, 0x1c5c(%rcx)
movb %al, -0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsItemHovered(int) | bool ImGui::IsItemHovered(ImGuiHoveredFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (g.NavDisableMouseHover && !g.NavDisableHighlight)
return IsItemFocused();
// Test for bounding box overlap, as updated as ItemAdd()
ImGuiItemStatusFlags status_flags = ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movq 0x2cde3e(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x1e1f(%rax)
je 0x583ce
movq -0x10(%rbp), %rax
testb $0x1, 0x1e1e(%rax)
jne 0x583ce
ca... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq 0x2cdb8a(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpl $0x0, 0x1c48(%rax)
je 0x5867c
movq -0x20(%rbp), %rax
movl 0x1c48(%rax), %eax
cmpl -0x14(%rbp), %eax
je 0x5867c
movq -0x20(%rbp), %rax
testb... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movb %dl, %al
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movq 0x2cd9f2(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
leaq -0x38(%rbp), %rdi
callq 0x788b0
testb $0x1, -0x19(%rbp)
je 0x5881... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsClippedEx(ImRect const&, unsigned int, bool) | bool ImGui::IsClippedEx(const ImRect& bb, ImGuiID id, bool clip_even_when_logged)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (!bb.Overlaps(window->ClipRect))
if (id == 0 || (id != g.ActiveId && id != g.NavId))
if (clip_even_when_logged || !g.LogEnabled)
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %dl, %al
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
andb $0x1, %al
movb %al, -0x15(%rbp)
movq 0x2cd8e3(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq -0x28(%rbp), %rsi
... | /tuket[P]gltf_viewer/libs/imgui/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,... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
xorps %xmm0, %xmm0
ucomiss -0x14(%rbp), %xmm0
jbe 0x58be7
xorps %xmm0, %xmm0
movss %xmm0, -0x4(%rbp)
jmp 0x58c6d
movq 0x2cd5e2(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x1c10(%rax), %rax
movq ... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rcx
xorl %eax, %eax
testb $0x1, (%rcx)
movb %al, -0x75(%rbp)
jne 0x58ec4
movq -0x10(%rbp), %rax
movb 0x3031(%rax), %al
xorb $-0x1, %al
movb %al, -0x75(%rbp)
movb -0x75(%rbp), %al
testb $0x1,... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x5901e
movq 0x2cd1b6(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x59050
movq 0x2cd1a2(%rip), %rax # 0x3261d0
cmpq -0x8(%rbp), %rax
jne 0x5903d
xorl %eax, %eax
movl %eax, %edi
callq 0x58d50
mo... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0xa8(%rax)
je 0x5909b
movq -0x10(%rbp), %rax
testb $0x1, 0x1(%rax)
je 0x5909b
movq -0x10(%rbp), %rax
movq 0xa8(%rax), %rax
movb $0x0, 0x18(%rax)
movq -0x10(%rbp), %rax
movq 0x... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x10(%rcx)
movb %al, -0x19(%rbp)
je 0x59434
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpl $0x0, (%rcx)
movb %al, -0x19(%rbp)
jne 0x59434
m... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::CallContextHooks(ImGuiContext*, ImGuiContextHookType) | void ImGui::CallContextHooks(ImGuiContext* ctx, ImGuiContextHookType hook_type)
{
ImGuiContext& g = *ctx;
for (int n = 0; n < g.Hooks.Size; n++)
if (g.Hooks[n].Type == hook_type)
g.Hooks[n].Callback(&g, &g.Hooks[n]);
} | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movl -0x1c(%rbp), %eax
movq -0x18(%rbp), %rcx
cmpl 0x3078(%rcx), %eax
jge 0x595e8
movq -0x18(%rbp), %rdi
addq $0x3078, %rdi # imm = 0x3078
movl -0x1c(%rbp... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq 0x2cca95(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
cmpq $0x2, -0x10(%rbp)
jae 0x59748
jmp 0x59767
leaq 0x22ae83(%rip), %rdi # 0x2845d2
leaq 0x226f13(%rip), %rsi # 0x280669
movl $0xd92, %edx ... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2cc87d(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
callq 0x59a00
movq -0x8(%rbp), %rsi
movl 0x54(%rsi), %edi
callq 0x58070
movq -0x10(%rbp), %rax
movb $0x1, 0x1e1e(%rax)
movq -0x10(%rbp), %rax
movb $0x1, 0x1c6a(%rax)
mov... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2cc5d1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1c28(%rax)
je 0x59d41
movq -0x8(%rbp), %rax
movl 0x1c5c(%rax), %edi
callq 0x57c40
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x1c28(%rcx)
movb %al, -0x19(%rbp)
je 0x59c50
mo... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
cmpq $0x0, 0x2cc41c(%rip) # 0x3261d0
je 0x59db8
jmp 0x59dd7
leaq 0x227861(%rip), %rdi # 0x281620
leaq 0x2268a3(%rip), %rsi # 0x280669
movl $0x12ab, %edx # imm = 0x12AB
leaq 0x22785f(%rip), %rcx # 0x281631
callq 0x11410
movss 0x2260f... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x59ed6
movq -0x8(%rbp), %rax
movl 0xb4(%rax), %eax
shll $0x18, %eax
sarl $0x18, %eax
andl -0x14(%rbp), %eax
cmpl $0x0, %eax
jne 0x59ed6
jmp 0x59fe4
movb $0x1, %al
cmpl $0x0, -0x14(%... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x2cbf9b(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
andl $0x80, %eax
cmpl $0x0, %eax
je 0x5a2b3
cmpl $0x0, -0x8(%rbp)
jne 0x5a24e
jmp 0x5a26d
leaq 0x2287b3(%rip), %rdi # 0x282a08
leaq 0x22640d(%ri... | /tuket[P]gltf_viewer/libs/imgui/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;
} | pushq %rbp
movq %rsp, %rbp
movq 0x2cbe65(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl 0x1d98(%rax), %eax
subl $0x1, %eax
movl %eax, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
jl 0x5a3d4
movq -0x10(%rbp), %rax
movq 0x1da0(%rax), %rax
movslq -0x14(%rbp), %rcx
imulq $0x30, %rcx, %rcx
addq %rcx, %ra... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsWindowAbove(ImGuiWindow*, ImGuiWindow*) | bool ImGui::IsWindowAbove(ImGuiWindow* potential_above, ImGuiWindow* potential_below)
{
ImGuiContext& g = *GImGui;
for (int i = g.Windows.Size - 1; i >= 0; i--)
{
ImGuiWindow* candidate_window = g.Windows[i];
if (candidate_window == potential_above)
return true;
if (candi... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq 0x2cbdc9(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl 0x1bb0(%rax), %eax
subl $0x1, %eax
movl %eax, -0x24(%rbp)
cmpl $0x0, -0x24(%rbp)
jl 0x5a468
movq -0x20(%rbp), %rdi
addq $0x1bb0, %rdi ... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq 0x2cbd35(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, 0x1d98(%rax)
jne 0x5a4b1
jmp 0x5a5ed
movl $0x0, -0x1c(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x5a5ce
jmp 0x5a4c5
m... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateHoveredWindowAndCaptureFlags() | void ImGui::UpdateHoveredWindowAndCaptureFlags()
{
ImGuiContext& g = *GImGui;
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 their parent so we need to... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq 0x2cbbc1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
addq $0x15c0, %rax # imm = 0x15C0
movq %rax, -0x48(%rbp)
leaq -0x18(%rbp), %rdi
movq %rdi, -0x40(%rbp)
movss 0x1ffbbf(%rip), %xmm1 # 0x25a1f0
movaps %xmm1, %xmm0
callq 0x1e140
movq... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
FindHoveredWindow() | static void FindHoveredWindow()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* hovered_window = NULL;
ImGuiWindow* hovered_window_ignoring_moving_window = NULL;
if (g.MovingWindow && !(g.MovingWindow->Flags & ImGuiWindowFlags_NoMouseInputs))
hovered_window = g.MovingWindow;
ImVec2 padding_regul... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq 0x2cb7ae(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
movq $0x0, -0x18(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1c28(%rax)
je 0x5aa6b
movq -0x8(%rbp), %rax
movq 0x1c28(%rax), %rax
movl 0xc(%rax), %eax
andl $0x200, %eax # imm = 0x200
c... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0xa0, %rsp
xorl %eax, %eax
cmpq $0x0, 0x2cb40b(%rip) # 0x3261d0
movb %al, -0x85(%rbp)
je 0x5add7
movb $0x1, %al
movb %al, -0x85(%rbp)
jmp 0x5add7
movb -0x85(%rbp), %al
testb $0x1, %al
jne 0x5ade3
jmp 0x5ade5
jmp 0x5ae04
leaq 0x225c2b(%rip), %rdi # 0x280a17
leaq 0x225876(%rip), %rs... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ErrorCheckNewFrameSanityChecks() | static void ImGui::ErrorCheckNewFrameSanityChecks()
{
ImGuiContext& g = *GImGui;
// Check user IM_ASSERT macro
// (IF YOU GET A WARNING OR COMPILE ERROR HERE: it means your assert macro is incorrectly defined!
// If your macro uses multiple statements, it NEEDS to be surrounded by a 'do { ... } while ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2ca6d1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, (%rax)
je 0x5bb0e
jmp 0x5bb2d
leaq 0x225729(%rip), %rdi # 0x28123e
leaq 0x224b4d(%rip), %rsi # 0x280669
movl $0x1bf1, %edx # imm = 0x1BF1
leaq 0x228fe9(%rip), %rcx ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateSettings() | void ImGui::UpdateSettings()
{
// Load settings on first frame (if not explicitly loaded manually before)
ImGuiContext& g = *GImGui;
if (!g.SettingsLoaded)
{
IM_ASSERT(g.SettingsWindows.empty());
if (g.IO.IniFilename)
LoadIniSettingsFromDisk(g.IO.IniFilename);
g.Setti... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2ca221(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, 0x3031(%rax)
jne 0x5c01a
movq -0x8(%rbp), %rdi
addq $0x3058, %rdi # imm = 0x3058
callq 0x7f270
testb $0x1, %al
jne 0x5bfd6
jmp 0x5bfd8
jmp 0x5bff7
leaq 0x229887(%rip), %r... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateViewportsNewFrame() | static void ImGui::UpdateViewportsNewFrame()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.Viewports.Size == 1);
// Update main viewport with current platform position.
// FIXME-VIEWPORT: Size is driven by backend/user code for backward-compatibility but we should aim to make this more consistent.
ImGui... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x2ca121(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x1db8(%rax)
jne 0x5c0c2
jmp 0x5c0e1
leaq 0x229903(%rip), %rdi # 0x2859cc
leaq 0x224599(%rip), %rsi # 0x280669
movl $0x2997, %edx # imm = 0x2997
leaq 0x229906(%rip),... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2c9fdd(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x8(%rbp)
movb %al, -0x19(%rbp)
je 0x5c20f
movq -0x8(%rbp), %rdi
callq 0x7ab80
movb %al, -0x19(%rbp)
movb -0x19(%rbp), %al
testb $0x1, %al
jne 0x5c218
jmp 0x5c21a
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateMouseInputs() | static void ImGui::UpdateMouseInputs()
{
ImGuiContext& g = *GImGui;
// Round mouse position to avoid spreading non-rounded position (e.g. UpdateManualResize doesn't support them well)
if (IsMousePosValid(&g.IO.MousePos))
g.IO.MousePos = g.LastValidMousePos = ImFloor(g.IO.MousePos);
// If mouse... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq 0x2c87f1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
addq $0x8, %rdi
addq $0x120, %rdi # imm = 0x120
callq 0x59da0
testb $0x1, %al
jne 0x5d9fd
jmp 0x5da33
movq -0x8(%rbp), %rdi
addq $0x128, %rdi # imm = 0x128
callq 0x50fd0
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateMouseWheel() | void ImGui::UpdateMouseWheel()
{
ImGuiContext& g = *GImGui;
// Reset the locked window if we move the mouse or after the timer elapses
if (g.WheelingWindow != NULL)
{
g.WheelingWindowTimer -= g.IO.DeltaTime;
if (IsMousePosValid() && ImLengthSqr(g.IO.MousePos - g.WheelingWindowRefMousePo... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq 0x2c81fe(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1c30(%rax)
je 0x5e0b4
movq -0x8(%rbp), %rax
movss 0x18(%rax), %xmm1
movq -0x8(%rbp), %rax
movss 0x1c40(%rax), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x1c40(%rax)
xorl %eax, %eax
mo... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateTabFocus() | void ImGui::UpdateTabFocus()
{
ImGuiContext& g = *GImGui;
// Pressing TAB activate widget focus
g.TabFocusPressed = (g.NavWindow && g.NavWindow->Active && !(g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs) && !g.IO.KeyCtrl && IsKeyPressedMap(ImGuiKey_Tab));
if (g.ActiveId == 0 && g.TabFocusPressed)
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2c7af1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x1dc8(%rcx)
movb %al, -0x11(%rbp)
je 0x5e74e
movq -0x8(%rbp), %rax
movq 0x1dc8(%rax), %rcx
xorl %eax, %eax
testb $0x1, 0x8e(%rcx)
movb %al, -0x11(%rbp)
je 0x5e74e
m... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateDebugToolItemPicker() | void ImGui::UpdateDebugToolItemPicker()
{
ImGuiContext& g = *GImGui;
g.DebugItemPickerBreakId = 0;
if (g.DebugItemPickerActive)
{
const ImGuiID hovered_id = g.HoveredIdPreviousFrame;
SetMouseCursor(ImGuiMouseCursor_Hand);
if (IsKeyPressedMap(ImGuiKey_Escape))
g.DebugI... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2c7771(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl $0x0, 0x30d8(%rax)
movq -0x8(%rbp), %rax
testb $0x1, 0x30d4(%rax)
je 0x5eb42
movq -0x8(%rbp), %rax
movl 0x1c4c(%rax), %eax
movl %eax, -0xc(%rbp)
movl $0x7, %edi
callq 0x63ea0
movl $0xe, %... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6fef0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x24(%rbp)
leaq -0x34(%rbp), %rdi
callq 0x7c9d0
movq -0x20(%rbp), %rax
movq -0x34(%rbp), %rcx
m... | /tuket[P]gltf_viewer/libs/imgui/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;
if (sscanf(line, "Pos=%i,%i", &x, &y) == 2) { settings->Pos = ImVec2ih((short)x, (short)y); }
else i... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rdi
leaq 0x223e62(%rip), %rsi # 0x28589d
leaq -0x2c(%rbp), %rdx
leaq -0x30(%rbp), %rcx
movb $0x0, %al
callq 0x11670
c... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
WindowSettingsHandler_ApplyAll(ImGuiContext*, ImGuiSettingsHandler*) | static void WindowSettingsHandler_ApplyAll(ImGuiContext* ctx, ImGuiSettingsHandler*)
{
ImGuiContext& g = *ctx;
for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings))
if (settings->WantApply)
{
if (ImGuiWind... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x3058, %rdi # imm = 0x3058
callq 0x7ca30
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x61b74
movq -0x20(%rbp), %rax
testb $0x1, 0xd(%rax)
je ... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq -0x20(%rbp), %rcx
cmpl 0x1bb0(%rcx), %eax
je 0x61d06
movq -0x20(%rbp), %rdi
addq $0x1bb0, %rdi # imm =... | /tuket[P]gltf_viewer/libs/imgui/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");
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2c439d(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x3034(%rax)
cmpq $0x0, -0x8(%rbp)
jne 0x61e4f
jmp 0x61ea0
movq $0x0, -0x18(%rbp)
leaq -0x18(%rbp), %rdi
callq 0x70510
movq %rax, -0x20(... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movl (%rax), %eax
movl %eax, -0xc(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x10(%rbp)
movl $0x1, -0x14(%rbp)
cmpl $0x2, -0x14(%rbp)
jge 0x61efe
movq -0x28(%rbp), %rax
movslq -0x14(%rbp), %rcx
shlq $0x4, %rcx
ad... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x2c4111(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, (%rax)
je 0x620ce
jmp 0x620ed
leaq 0x21f169(%rip), %rdi # 0x28123e
leaq 0x21e58d(%rip), %rsi # 0x280669
movl $0x1126, %edx # imm = 0x1126
leaq 0x21f164(%rip), %rcx ... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2c3b71(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x1, 0x1be0(%rax)
jg 0x626d4
movq -0x8(%rbp), %rax
testb $0x1, 0x1b9d(%rax)
je 0x626d4
movq -0x8(%rbp), %rcx
xorl %ea... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavEndFrame() | static void ImGui::NavEndFrame()
{
ImGuiContext& g = *GImGui;
// Show CTRL+TAB list window
if (g.NavWindowingTarget != NULL)
NavUpdateWindowingOverlay();
// Perform wrap-around in menus
ImGuiWindow* window = g.NavWrapRequestWindow;
ImGuiNavMoveFlags move_flags = g.NavWrapRequestFlags;
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x2c39a1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1ef8(%rax)
je 0x62846
callq 0x77d60
movq -0x8(%rbp), %rax
movq 0x1ee8(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x1ef0(%rax), %eax
movl %eax, -0x14(%rbp)
cmpq ... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2c3611(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movb $0x0, 0x1f4c(%rax)
movq -0x8(%rbp), %rdi
addq $0x1f60, %rdi # imm = 0x1F60
callq 0x7c790
movq -0x8(%rbp), %rax
movl $0x0, 0x1fb4(%rax)
movq -0x8(%rbp), %rax
movl $0x0, 0x1fc0(%r... | /tuket[P]gltf_viewer/libs/imgui/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;
if (count > 1)
ImQsort(window->DC.ChildWindows.Data, (size_t)count, sizeof(I... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq -0x10(%rbp), %rsi
callq 0x7bc70
movq -0x10(%rbp), %rax
testb $0x1, 0x8e(%rax)
je 0x62dba
movq -0x10(%rbp), %rax
movl 0x190(%rax), %eax
movl %eax, -0x14(%rbp)
cmpl $0x1, -0x14(%rbp)
jle 0x62d61
movq -0x10(... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::Render() | void ImGui::Render()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.Initialized);
if (g.FrameCountEnded != g.FrameCount)
EndFrame();
g.FrameCountRendered = g.FrameCount;
g.IO.MetricsRenderWindows = 0;
CallContextHooks(&g, ImGuiContextHookType_RenderPre);
// Add background ImDrawList (fo... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq 0x2c33fe(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, (%rax)
je 0x62de1
jmp 0x62e00
leaq 0x21e456(%rip), %rdi # 0x28123e
leaq 0x21d87a(%rip), %rsi # 0x280669
movl $0x1178, %edx # imm = 0x1178
leaq 0x21e4f3(%rip), %rcx ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsKeyDown(int) | bool ImGui::IsKeyDown(int user_key_index)
{
if (user_key_index < 0)
return false;
ImGuiContext& g = *GImGui;
IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown));
return g.IO.KeysDown[user_key_index];
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
cmpl $0x0, -0x8(%rbp)
jge 0x634d7
movb $0x0, -0x1(%rbp)
jmp 0x63538
movq 0x2c2cf2(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x8(%rbp)
movb %al, -0x11(%rbp)
jl 0x634fa
cmpl $0x200, -0x8(%rbp) # imm = 0x200
setl %al
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::CalcTypematicRepeatAmount(float, float, float, float) | int ImGui::CalcTypematicRepeatAmount(float t0, float t1, float repeat_delay, float repeat_rate)
{
if (t1 == 0.0f)
return 1;
if (t0 >= t1)
return 0;
if (repeat_rate <= 0.0f)
return (t0 < repeat_delay) && (t1 >= repeat_delay);
const int count_t0 = (t0 < repeat_delay) ? -1 : (int)((... | pushq %rbp
movq %rsp, %rbp
movss %xmm0, -0x8(%rbp)
movss %xmm1, -0xc(%rbp)
movss %xmm2, -0x10(%rbp)
movss %xmm3, -0x14(%rbp)
movss -0xc(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x63583
jp 0x63583
movl $0x1, -0x4(%rbp)
jmp 0x6364c
movss -0x8(%rbp), %xmm0
ucomiss -0xc(%rbp), %xmm0
jb 0x6359a
movl $0x0, -0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsKeyPressed(int, bool) | bool ImGui::IsKeyPressed(int user_key_index, bool repeat)
{
ImGuiContext& g = *GImGui;
if (user_key_index < 0)
return false;
IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown));
const float t = g.IO.KeysDownDuration[user_key_index];
if (t == 0.0f)
return tr... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movl %edi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq 0x2c2a96(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
cmpl $0x0, -0x8(%rbp)
jge 0x6374d
movb $0x0, -0x1(%rbp)
jmp 0x63803
xorl %eax, %eax
cmpl $0x0, -0x8(%rbp)
movb %al, -0x1d(%rbp)
jl 0x63765
c... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsKeyReleased(int) | bool ImGui::IsKeyReleased(int user_key_index)
{
ImGuiContext& g = *GImGui;
if (user_key_index < 0) return false;
IM_ASSERT(user_key_index >= 0 && user_key_index < IM_ARRAYSIZE(g.IO.KeysDown));
return g.IO.KeysDownDurationPrev[user_key_index] >= 0.0f && !g.IO.KeysDown[user_key_index];
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movq 0x2c29ae(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
cmpl $0x0, -0x8(%rbp)
jge 0x63832
movb $0x0, -0x1(%rbp)
jmp 0x638ae
xorl %eax, %eax
cmpl $0x0, -0x8(%rbp)
movb %al, -0x11(%rbp)
jl 0x6384a
cmpl $0x200, -0x8(%rbp) # imm = 0x200
setl %al
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsAnyMouseDown() | bool ImGui::IsAnyMouseDown()
{
ImGuiContext& g = *GImGui;
for (int n = 0; n < IM_ARRAYSIZE(g.IO.MouseDown); n++)
if (g.IO.MouseDown[n])
return true;
return false;
} | pushq %rbp
movq %rsp, %rbp
movq 0x2c2555(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movl $0x0, -0x14(%rbp)
cmpl $0x5, -0x14(%rbp)
jge 0x63cb1
movq -0x10(%rbp), %rax
movslq -0x14(%rbp), %rcx
testb $0x1, 0x130(%rax,%rcx)
je 0x63ca4
movb $0x1, -0x1(%rbp)
jmp 0x63cb5
jmp 0x63ca6
movl -0x14(%rbp), %eax
addl $0x1, %eax... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetItemAllowOverlap() | void ImGui::SetItemAllowOverlap()
{
ImGuiContext& g = *GImGui;
ImGuiID id = g.CurrentWindow->DC.LastItemId;
if (g.HoveredId == id)
g.HoveredIdAllowOverlap = true;
if (g.ActiveId == id)
g.ActiveIdAllowOverlap = true;
} | pushq %rbp
movq %rsp, %rbp
movq 0x2c1f05(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movl 0x124(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x1c48(%rax), %eax
cmpl -0xc(%rbp), %eax
jne 0x642fd
movq -0x8(%rbp), %rax
movb $0x1, 0x1c50(%rax)
movq -0x8(%rbp... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetItemUsingMouseWheel() | void ImGui::SetItemUsingMouseWheel()
{
ImGuiContext& g = *GImGui;
ImGuiID id = g.CurrentWindow->DC.LastItemId;
if (g.HoveredId == id)
g.HoveredIdUsingMouseWheel = true;
if (g.ActiveId == id)
g.ActiveIdUsingMouseWheel = true;
} | pushq %rbp
movq %rsp, %rbp
movq 0x2c1ea5(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movl 0x124(%rax), %eax
movl %eax, -0xc(%rbp)
movq -0x8(%rbp), %rax
movl 0x1c48(%rax), %eax
cmpl -0xc(%rbp), %eax
jne 0x6435d
movq -0x8(%rbp), %rax
movb $0x1, 0x1c51(%rax)
movq -0x8(%rbp... | /tuket[P]gltf_viewer/libs/imgui/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
movq %rsp, %rbp
subq $0x60, %rsp
movb %cl, %al
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %al
movb %al, -0x19(%rbp)
movl %r8d, -0x20(%rbp)
movq 0x2c1d8b(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x30(%rbp)
mo... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavInitWindow(ImGuiWindow*, bool) | void ImGui::NavInitWindow(ImGuiWindow* window, bool force_reinit)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(window == g.NavWindow);
if (window->Flags & ImGuiWindowFlags_NoNavInputs)
{
g.NavId = g.NavFocusScopeId = 0;
return;
}
bool init_for_nav = false;
if (window == window->R... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movq 0x2c1ac5(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq -0x18(%rbp), %rcx
cmpq 0x1dc8(%rcx), %rax
jne 0x64722
jmp 0x64741
leaq 0x21e723(%rip), %rdi # 0x282e4c
leaq 0x... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq 0x2c188e(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movb 0x1b9e(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0x6496b
jmp 0x6498a
leaq 0x21cdb1(%rip), %rdi ... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movq 0x2c1598(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
testb $0x1, 0x93(%rax)
je 0x64c5d
jmp 0x64e2c
movss -0xc(%rbp), %xmm0
xorp... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ItemAdd(ImRect const&, unsigned int, ImRect const*, int) | bool ImGui::ItemAdd(const ImRect& bb, ImGuiID id, const ImRect* nav_bb_arg, ImGuiItemAddFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (id != 0)
{
// Navigation processing runs prior to clipping early-out
// (a) So that NavInitRequest can be honored... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq 0x2c1373(%rip), %rax # 0x3261d0
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x38(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x64f45
movq -0x38(%rbp),... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
leaq -0x18(%rbp), %rdi
movq %rdi, -0x38(%rbp)
callq 0x78060
leaq -0x20(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x78060
movq -0x38(%rbp), %rsi
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rdi
callq 0x651a0
movq -0x30(%rbp), %rsi
movq -0x10(%rbp), %rdi
call... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movb $0x0, -0x19(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, 0x91(%rax)
je 0x651eb
movq -0x8(%rbp), %rax
movsbl 0xa8(%rax), %eax
cmpl $0x0, %eax
jg 0x651eb
movq -0x8(%rbp), %rax
movsbl 0xa9(%rax), %eax
cmpl $0x0,... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq 0x2c0de6(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $0x1560, %rax # imm = 0x1560
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rdi
callq 0x7bd40
movss %xmm0, -0xa4(%rbp)
movq -0x10(%rbp... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq 0x2c0af6(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x20(%rbp), %rax
movl 0x1cb0(%rax), %eax
andl $0x10, %eax
cmpl $0x0, %eax
je 0x6582b
movq -0x20(%r... | /tuket[P]gltf_viewer/libs/imgui/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->ID;
id = ImHashStr("#RESIZE", 0, id);
id = ImHashData(&n, sizeof(int), id);
return id;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
xorl %eax, %eax
cmpl $0x0, -0xc(%rbp)
movb %al, -0x15(%rbp)
jl 0x659a4
cmpl $0x4, -0xc(%rbp)
setl %al
movb %al, -0x15(%rbp)
movb -0x15(%rbp), %al
testb $0x1, %al
jne 0x659ad
jmp 0x659af
jmp 0x659ce
leaq 0x21be1e(%rip), %rdi # 0x2... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateWindowParentAndRootLinks(ImGuiWindow*, int, ImGuiWindow*) | void ImGui::UpdateWindowParentAndRootLinks(ImGuiWindow* window, ImGuiWindowFlags flags, ImGuiWindow* parent_window)
{
window->ParentWindow = parent_window;
window->RootWindow = window->RootWindowForTitleBarHighlight = window->RootWindowForNav = window;
if (parent_window && (flags & ImGuiWindowFlags_ChildWin... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x18(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x380(%rax)
movq -0x8(%rbp), %rcx
movq -0x8(%rbp), %rax
movq %rcx, 0x398(%rax)
movq -0x8(%rbp), %rax
movq %rcx, 0x390(%rax)
movq -0x8(%rbp), %rax
movq %r... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
CreateNewWindow(char const*, int) | static ImGuiWindow* CreateNewWindow(const char* name, ImGuiWindowFlags flags)
{
ImGuiContext& g = *GImGui;
//IMGUI_DEBUG_LOG("CreateNewWindow '%s', flags = 0x%08X\n", name, flags);
// Create window the first time
ImGuiWindow* window = IM_NEW(ImGuiWindow)(&g, name);
window->Flags = flags;
g.Wind... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x2c0667(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movl $0x3e0, %edi # imm = 0x3E0
movq %rdi, -0x70(%rbp)
callq 0x528e0
movq -0x70(%rbp), %rdi
movq %rax, %rsi
movq %rsi, %rax
movq %rax, -0x68(%rbp)
callq 0x797... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
SetWindowConditionAllowFlags(ImGuiWindow*, int, bool) | static void SetWindowConditionAllowFlags(ImGuiWindow* window, ImGuiCond flags, bool enabled)
{
window->SetWindowPosAllowFlags = enabled ? (window->SetWindowPosAllowFlags | flags) : (window->SetWindowPosAllowFlags & ~flags);
window->SetWindowSizeAllowFlags = enabled ? (window->SetWindowSiz... | pushq %rbp
movq %rsp, %rbp
movb %dl, %al
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
andb $0x1, %al
movb %al, -0xd(%rbp)
testb $0x1, -0xd(%rbp)
je 0x65e20
movq -0x8(%rbp), %rax
movl 0xb4(%rax), %eax
shll $0x18, %eax
sarl $0x18, %eax
orl -0xc(%rbp), %eax
movl %eax, -0x14(%rbp)
jmp 0x65e3b
movq -0x8(%rbp), %rax
movl 0xb4... | /tuket[P]gltf_viewer/libs/imgui/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;
... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x2c029d(%rip), %rcx # 0x3261d0
movq %rcx, -0x10(%rbp)
movq -0x10(%rbp), %rcx
movq 0x1c10(%rcx), %rcx
movq %rcx, -0x18(%rbp)
movq -0x18(%rbp), %rcx
movl 0xc8(%rcx), %ecx
movw %cx, (%rax)
movq -0x10(%rbp), %rcx
movl 0x1d38(%rcx), %ecx
movw %c... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetWindowSize(ImGuiWindow*, ImVec2 const&, int) | void ImGui::SetWindowSize(ImGuiWindow* window, const ImVec2& size, ImGuiCond cond)
{
// Test condition (NB: bit 0 is always true) and clear flags for next time
if (cond && (window->SetWindowSizeAllowFlags & cond) == 0)
return;
IM_ASSERT(cond == 0 || ImIsPowerOfTwo(cond)); // Make sure the user does... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
cmpl $0x0, -0x14(%rbp)
je 0x65fe6
movq -0x8(%rbp), %rax
movl 0xb4(%rax), %eax
shll $0x10, %eax
sarl $0x18, %eax
andl -0x14(%rbp), %eax
cmpl $0x0, %eax
jne 0x65fe6
jmp 0x660e8
movb $0x1, %al
cmpl $0x0, -0x14(%... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
movb %sil, %al
movq %rdi, -0x8(%rbp)
andb $0x1, %al
movb %al, -0x9(%rbp)
movl %edx, -0x10(%rbp)
cmpl $0x0, -0x10(%rbp)
je 0x66123
movq -0x8(%rbp), %rax
movl 0xb4(%rax), %eax
shll $0x8, %eax
sarl $0x18, %eax
andl -0x10(%rbp), %eax
cmpl $0x0, %eax
jne 0x66123
jmp 0x66163
movq -0x8(%rbp), %rax
m... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2c004d(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x1c10(%rax)
cmpq $0x0, -0x8(%rbp)
je 0x661ca
movq -0x8(%rbp), %rax
cmpl $-0x1, 0x1b0(%rax)
je 0x661ca
movq -0x10(%rbp), %rdi
addq $0x2... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movq 0x2bff5a(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rdi
callq 0x6df20
movlpd %xmm0, -0x28(%rbp)
movlpd %xmm1, -0x20(%rbp)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %eax
andl $0x10000000, %eax # imm = 0x10000000
cmpl $0x0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::UpdateWindowManualResize(ImGuiWindow*, ImVec2 const&, int*, int, unsigned int*, ImRect const&) | static bool ImGui::UpdateWindowManualResize(ImGuiWindow* window, const ImVec2& size_auto_fit, int* border_held, int resize_grip_count, ImU32 resize_grip_col[4], const ImRect& visibility_rect)
{
ImGuiContext& g = *GImGui;
ImGuiWindowFlags flags = window->Flags;
if ((flags & ImGuiWindowFlags_NoResize) || (fl... | pushq %rbp
movq %rsp, %rbp
subq $0x240, %rsp # imm = 0x240
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movl %ecx, -0x24(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq 0x2bfaa7(%rip), %rax # 0x3261d0
movq %rax, -0x40(%rbp)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %eax
movl %e... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x5c(%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x10(%rbp), %rax
movss 0x2142ec(%rip), %xmm0 # 0x27b6b0
ucomiss 0x6c(%rax), %xmm0
jbe 0x67489
movq -0x10(%rbp), %rax
movss 0x84(%rax), %xmm0
movss %xmm0, -0x14(%rbp)
movq -0x10(%... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderWindowTitleBarContents(ImGuiWindow*, ImRect const&, char const*, bool*) | void ImGui::RenderWindowTitleBarContents(ImGuiWindow* window, const ImRect& title_bar_rect, const char* name, bool* p_open)
{
ImGuiContext& g = *GImGui;
ImGuiStyle& style = g.Style;
ImGuiWindowFlags flags = window->Flags;
const bool has_close_button = (p_open != NULL);
const bool has_collapse_butto... | pushq %rbp
movq %rsp, %rbp
subq $0x160, %rsp # imm = 0x160
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq 0x2be38e(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
addq $0x1560, %rax # imm = 0x1560
movq %rax, -0x30(%rbp)
movq -... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2bdcd1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, 0x308c(%rax)
jne 0x68515
jmp 0x685fa
leaq 0x232f4b(%rip), %rdi # 0x29b467
xorl %eax, %eax
callq 0x6f720
movq -0x8(%rbp), %rax
movl 0x3090(%rax), %eax
movq %rax, -0x10(%rbp)
subq... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGuiStackSizes::CompareWithCurrentState() | void ImGuiStackSizes::CompareWithCurrentState()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_UNUSED(window);
// Window stacks
// NOT checking: DC.ItemWidth, DC.TextWrapPos (per window) to allow user to conveniently push once and not pop (they are cleared on Begin)
IM_A... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movq 0x2bdbb5(%rip), %rcx # 0x3261d0
movq %rcx, -0x10(%rbp)
movq -0x10(%rbp), %rcx
movq 0x1c10(%rcx), %rcx
movq %rcx, -0x18(%rbp)
movswl (%rax), %ecx
movq -0x18(%rbp), %rdx
xorl %eax, %eax
cmpl 0xc8(%rdx), ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BringWindowToFocusFront(ImGuiWindow*) | void ImGui::BringWindowToFocusFront(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(window == window->RootWindow);
const int cur_order = window->FocusOrder;
IM_ASSERT(g.WindowsFocusOrder[cur_order] == window);
if (g.WindowsFocusOrder.back() == window)
return;
const int new_... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2bd97d(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq -0x8(%rbp), %rcx
cmpq 0x388(%rcx), %rax
jne 0x6886a
jmp 0x68889
leaq 0x2192d6(%rip), %rdi # 0x281b47
leaq 0x217df1(%rip), %rsi # 0x280669
movl $0x190a, %edx ... | /tuket[P]gltf_viewer/libs/imgui/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->RootWindow == window) // Cheap early out (could be better)
return;
for (int i = g.Windows.Size... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2bd7bd(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
addq $0x1bb0, %rdi # imm = 0x1BB0
callq 0x7bc10
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpq -0x8(%rbp), %rax
je 0x68a49
movq -0x18(%r... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2bd69d(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rdi
addq $0x1bb0, %rdi # imm = 0x1BB0
xorl %esi, %esi
callq 0x7acc0
movq (%rax), %rax
cmpq -0x8(%rbp), %rax
jne 0x68b57
jmp 0x68bff
movl $0x0, -0x14(%rbp)
movl -0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::PushFont(ImFont*) | void ImGui::PushFont(ImFont* font)
{
ImGuiContext& g = *GImGui;
if (!font)
font = GetDefaultFont();
SetCurrentFont(font);
g.FontStack.push_back(font);
g.CurrentWindow->DrawList->PushTextureID(font->ContainerAtlas->TexID);
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2bd44d(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x68d97
callq 0x7ab20
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x5c1e0
movq -0x10(%rbp), %rdi
addq $0x1d58, %rdi # imm = 0x1D58
leaq -0x8(%rbp), %... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::IsWindowFocused(int) | bool ImGui::IsWindowFocused(ImGuiFocusedFlags flags)
{
ImGuiContext& g = *GImGui;
if (flags & ImGuiFocusedFlags_AnyWindow)
return g.NavWindow != NULL;
IM_ASSERT(g.CurrentWindow); // Not inside a Begin()/End()
switch (flags & (ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows))
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x8(%rbp)
movq 0x2bcf3e(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movl -0x8(%rbp), %eax
andl $0x4, %eax
cmpl $0x0, %eax
je 0x692ba
movq -0x10(%rbp), %rax
cmpq $0x0, 0x1dc8(%rax)
setne %al
andb $0x1, %al
movb %al, -0x1(%rbp)
jmp 0x693df
movq -0x10(%rbp), %ra... | /tuket[P]gltf_viewer/libs/imgui/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... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq %rdx, -0x18(%rbp)
movq 0x2bc956(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movb $0x1, %al
cmpl $0x0, -0xc(%rbp)
movb %al, -0x21(%rbp)
je 0x69894
movl -0xc(%rbp), %edi
callq 0x694e0
movb %al, -0x21(%rbp)
movb -0x21(%rbp), ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetNextWindowCollapsed(bool, int) | void ImGui::SetNextWindowCollapsed(bool collapsed, 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_HasCollapsed;
g.NextWindowData.Colla... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %dil, %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movl %esi, -0x8(%rbp)
movq 0x2bc776(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movb $0x1, %al
cmpl $0x0, -0x8(%rbp)
movb %al, -0x11(%rbp)
je 0x69a74
movl -0x8(%rbp), %edi
callq 0x694e0
movb %al, -0x11(%rbp)
movb -0x11(%... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetKeyboardFocusHere(int) | void ImGui::SetKeyboardFocusHere(int offset)
{
IM_ASSERT(offset >= -1); // -1 is allowed but not below
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
g.TabFocusRequestNextWindow = window;
g.TabFocusRequestNextCounterRegular = window->DC.FocusCounterRegular + 1 + offset;
g.T... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
cmpl $-0x1, -0x4(%rbp)
jl 0x69db3
jmp 0x69dd2
leaq 0x21826f(%rip), %rdi # 0x282029
leaq 0x2168a8(%rip), %rsi # 0x280669
movl $0x1b4c, %edx # imm = 0x1B4C
leaq 0x218269(%rip), %rcx # 0x282036
callq 0x11410
movq 0x2bc3f7(%rip), %rax #... | /tuket[P]gltf_viewer/libs/imgui/imgui.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.