name stringlengths 1 473k | code stringlengths 7 647k | asm stringlengths 4 3.39M | file stringlengths 8 196 |
|---|---|---|---|
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)
{
g.NavInitRe... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x2bc391(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x94(%rax)
jne 0x69e64
jmp 0x69f57
movq -0x8(%rbp), %rax
movq 0x1dc8(%rax), %rax
movq -0x10(%rbp), %rcx
cmpq 0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetScrollHereY(float) | void ImGui::SetScrollHereY(float center_y_ratio)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
float spacing_y = ImMax(window->WindowPadding.y, g.Style.ItemSpacing.y);
float target_pos_y = ImLerp(window->DC.CursorPosPrevLine.y - spacing_y, window->DC.CursorPosPrevLine.y + window->D... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movss %xmm0, -0x4(%rbp)
movq 0x2bc25c(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movss 0x44(%rax), %xmm0
movq -0x10(%rbp), %rax
movss 0x15ac(%rax), %xmm1
callq 0x56a80
movss %xm... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::GetIDWithSeed(char const*, char const*, unsigned int) | ImGuiID ImGui::GetIDWithSeed(const char* str, const char* str_end, ImGuiID seed)
{
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, str, str_end);
#end... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x10(%rbp)
je 0x6a283
movq -0x10(%rbp), %rax
movq -0x8(%rbp), %rcx
subq %rcx, %rax
movq %rax, -0x28(%rbp)
jmp 0x6a28b
xorl %eax, %eax
movq %rax, -0x28(... | /tuket[P]gltf_viewer/libs/imgui/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 %rbp
movq %rsp, %rbp
subq $0x40, %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)
movb $0x0, -0x31(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x216b0c(%rip), %rsi # 0x280fdf
callq 0x118a0
cmpl $0x0, %eax
je 0... | /tuket[P]gltf_viewer/libs/imgui/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)
{
while (g.CurrentTable && (g.CurrentTable->Ou... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x2bbaa9(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
cmpl $0x0, 0x1be0(%rax)
jle 0x6aae3
jmp 0x6a73e
movq -0x18(%rbp), %rcx
xorl %eax, %eax
cmpq $0x0, 0x1ff0(%rcx)
movb %al, -0x21(%rbp)
je 0x6a79e
m... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::EndGroup() | void ImGui::EndGroup()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(g.GroupStack.Size > 0); // Mismatched BeginGroup()/EndGroup() calls
ImGuiGroupData& group_data = g.GroupStack.back();
IM_ASSERT(group_data.WindowID == window->ID); // EndGroup() in wrong window?
... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq 0x2bb6d1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
cmpl $0x0, 0x1d88(%rax)
jle 0x6ab21
jmp 0x6ab40
leaq 0x217d58(%rip), %rdi # 0x282880
leaq 0x215b3a(%rip), %rsi # 0x28... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SameLine(float, float) | void ImGui::SameLine(float offset_from_start_x, float spacing_w)
{
ImGuiWindow* window = GetCurrentWindow();
if (window->SkipItems)
return;
ImGuiContext& g = *GImGui;
if (offset_from_start_x != 0.0f)
{
if (spacing_w < 0.0f) spacing_w = 0.0f;
window->DC.CursorPos.x = window->... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movss %xmm0, -0x4(%rbp)
movss %xmm1, -0x8(%rbp)
callq 0x7b8e0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x93(%rax)
je 0x6aead
jmp 0x6afb1
movq 0x2bb31c(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movss -0x4(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavProcessItem(ImGuiWindow*, ImRect const&, unsigned int) | static void ImGui::NavProcessItem(ImGuiWindow* window, const ImRect& nav_bb, const ImGuiID id)
{
ImGuiContext& g = *GImGui;
//if (!g.IO.NavActive) // [2017/10/06] Removed this possibly redundant test but I am not sure of all the side-effects yet. Some of the feature here will need to work regardless of using a... | pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq 0x2bb1b3(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl 0x1c44(%rax), %eax
movl %eax, -0x24(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x10, %rsi
callq 0x51cc0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::PushItemWidth(float) | void ImGui::PushItemWidth(float item_width)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
window->DC.ItemWidthStack.push_back(window->DC.ItemWidth); // Backup current width
window->DC.ItemWidth = (item_width == 0.0f ? window->ItemWidthDefault : item_width);
g.NextItemData.Flags... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movss %xmm0, -0x4(%rbp)
movq 0x2baa0c(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0xd8, %rdi
addq $0xf8, %rdi
movq -0x18(%rbp), %rsi
addq $0xd8, %rsi
addq $0xec, %rsi
callq... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::PushMultiItemsWidths(int, float) | void ImGui::PushMultiItemsWidths(int components, float w_full)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
const ImGuiStyle& style = g.Style;
const float w_item_one = ImMax(1.0f, IM_FLOOR((w_full - (style.ItemInnerSpacing.x) * (components - 1)) / (float)components));
const f... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movss %xmm0, -0x8(%rbp)
movq 0x2ba959(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
addq $0x1560, %rax # imm = 0x1560
movq %rax, -0x20(%rbp)
movss -... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::CalcItemWidth() | float ImGui::CalcItemWidth()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
float w;
if (g.NextItemData.Flags & ImGuiNextItemDataFlags_HasWidth)
w = g.NextItemData.Width;
else
w = window->DC.ItemWidth;
if (w < 0.0f)
{
float region_max_x = GetConte... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2ba761(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movl 0x1d20(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x6baa7
movq -0x8(%rbp), %rax
movss 0x1d24(%rax), %xmm0
movss %x... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::GetContentRegionMaxAbs() | ImVec2 ImGui::GetContentRegionMaxAbs()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImVec2 mx = window->ContentRegionRect.Max;
if (window->DC.CurrentColumns || g.CurrentTable)
mx.x = window->WorkRect.Max.x;
return mx;
} | pushq %rbp
movq %rsp, %rbp
movq 0x2ba6a5(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movq 0x268(%rax), %rax
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rax
cmpq $0x0, 0x1a8(%rax)
jne 0x6bb69
movq -0x10(%rbp), %rax
cmpq $0x0, ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::CalcItemSize(ImVec2, float, float) | ImVec2 ImGui::CalcItemSize(ImVec2 size, float default_w, float default_h)
{
ImGuiWindow* window = GImGui->CurrentWindow;
ImVec2 region_max;
if (size.x < 0.0f || size.y < 0.0f)
region_max = GetContentRegionMaxAbs();
if (size.x == 0.0f)
size.x = default_w;
else if (size.x < 0.0f)
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movlpd %xmm0, -0x10(%rbp)
movss %xmm1, -0x14(%rbp)
movss %xmm2, -0x18(%rbp)
movq 0x2ba622(%rip), %rax # 0x3261d0
movq 0x1c10(%rax), %rax
movq %rax, -0x20(%rbp)
leaq -0x28(%rbp), %rdi
callq 0x78060
xorps %xmm0, %xmm0
ucomiss -0x10(%rbp), %xmm0
ja 0x6bbd4
xorps %xmm0, %xmm0
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::GetContentRegionMax() | ImVec2 ImGui::GetContentRegionMax()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImVec2 mx = window->ContentRegionRect.Max - window->Pos;
if (window->DC.CurrentColumns || g.CurrentTable)
mx.x = window->WorkRect.Max.x - window->Pos.x;
return mx;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2ba451(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rsi
movq %rsi, %rdi
addq $0x268, %rdi # imm = 0x268
addq $0x10, %rsi
callq 0x51cc0
movlpd %xmm0, -0x8(%rbp)
movq ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginGroup() | void ImGui::BeginGroup()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
g.GroupStack.resize(g.GroupStack.Size + 1);
ImGuiGroupData& group_data = g.GroupStack.back();
group_data.WindowID = window->ID;
group_data.BackupCursorPos = window->DC.CursorPos;
group_data.BackupCu... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2ba301(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rdi
addq $0x1d88, %rdi # imm = 0x1D88
movq -0x8(%rbp), %rax
movl 0x1d88(%rax), %esi
addl $0x1, %esi
callq 0x7afc0
mov... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetScrollFromPosY(ImGuiWindow*, float, float) | void ImGui::SetScrollFromPosY(ImGuiWindow* window, float local_y, float center_y_ratio)
{
IM_ASSERT(center_y_ratio >= 0.0f && center_y_ratio <= 1.0f);
const float decoration_up_height = window->TitleBarHeight() + window->MenuBarHeight(); // FIXME: Would be nice to have a more standardized access to our scrollab... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movss %xmm1, -0x10(%rbp)
movss -0x10(%rbp), %xmm0
xorl %eax, %eax
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
movb %al, -0x15(%rbp)
jb 0x6c43a
movss 0x1edd94(%rip), %xmm0 # 0x25a1c4
ucomiss -0x10(%rbp), %xmm0
setae %al
movb %al, -0x... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetScrollHereX(float) | void ImGui::SetScrollHereX(float center_x_ratio)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
float spacing_x = ImMax(window->WindowPadding.x, g.Style.ItemSpacing.x);
float target_pos_x = ImLerp(window->DC.LastItemRect.Min.x - spacing_x, window->DC.LastItemRect.Max.x + spacing_x, ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movss %xmm0, -0x4(%rbp)
movq 0x2b9a8c(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
movss 0x40(%rax), %xmm0
movq -0x10(%rbp), %rax
movss 0x15a8(%rax), %xmm1
callq 0x56a80
movss %xm... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginTooltipEx(int, int) | void ImGui::BeginTooltipEx(ImGuiWindowFlags extra_flags, ImGuiTooltipFlags tooltip_flags)
{
ImGuiContext& g = *GImGui;
if (g.DragDropWithinSource || g.DragDropWithinTarget)
{
// The default tooltip position is a little offset to give space to see the context menu (it's also clamped within the curre... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movq 0x2b997b(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x1f4d(%rax)
jne 0x6c877
movq -0x10(%rbp), %rax
testb $0x1, 0x1f4e(%rax)
je 0x6c90b
movq -0x10(%rbp), %rax
movq %rax, %rcx
addq $0x128... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::OpenPopupEx(unsigned int, int) | void ImGui::OpenPopupEx(ImGuiID id, ImGuiPopupFlags popup_flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* parent_window = g.CurrentWindow;
const int current_stack_size = g.BeginPopupStack.Size;
if (popup_flags & ImGuiPopupFlags_NoOpenOverExistingPopup)
if (IsPopupOpen(0u, ImGuiPopupFlags_AnyPo... | pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movq 0x2b968b(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movl 0x1da8(%rax), %eax
movl %eax, -0x1c(%rbp)
movl -0x8(%rbp), %eax
andl $0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginPopupEx(unsigned int, int) | bool ImGui::BeginPopupEx(ImGuiID id, ImGuiWindowFlags flags)
{
ImGuiContext& g = *GImGui;
if (!IsPopupOpen(id, ImGuiPopupFlags_None))
{
g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values
return false;
}
char name[20];
if (flags & ImGuiWindo... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x2b909b(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movl -0x8(%rbp), %edi
xorl %esi, %esi
callq 0x5a220
testb $0x1, %al
jne 0x6d15d
movq -0x18(%rbp), %rdi
addq $0x1cb0, %rdi # imm = 0x1CB0
callq 0x7c1d0
movb $0x... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::EndPopup() | void ImGui::EndPopup()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(window->Flags & ImGuiWindowFlags_Popup); // Mismatched BeginPopup()/EndPopup() calls
IM_ASSERT(g.BeginPopupStack.Size > 0);
// Make all menus and popups wrap around for now, may need to expose that... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2b8fd1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movl 0xc(%rax), %eax
andl $0x4000000, %eax # imm = 0x4000000
cmpl $0x0, %eax
je 0x6d225
jmp 0x6d244
leaq 0x215982(%... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginPopup(char const*, int) | bool ImGui::BeginPopup(const char* str_id, ImGuiWindowFlags flags)
{
ImGuiContext& g = *GImGui;
if (g.OpenPopupStack.Size <= g.BeginPopupStack.Size) // Early out for performance
{
g.NextWindowData.ClearFlags(); // We behave like Begin() and need to consume those values
return false;
}
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq 0x2b8eba(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movl 0x1d98(%rax), %eax
movq -0x20(%rbp), %rcx
cmpl 0x1da8(%rcx), %eax
jg 0x6d346
movq -0x20(%rbp), %rdi
addq $0x1cb0, %rdi # imm = 0x... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginPopupModal(char const*, bool*, int) | bool ImGui::BeginPopupModal(const char* name, bool* p_open, ImGuiWindowFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
const ImGuiID id = window->GetID(name);
if (!IsPopupOpen(id, ImGuiPopupFlags_None))
{
g.NextWindowData.ClearFlags(); // We behave like Begin... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movl %edx, -0x1c(%rbp)
movq 0x2b8e26(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
xorl %eax, %eax
movl %eax, %... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::OpenPopupOnItemClick(char const*, int) | void ImGui::OpenPopupOnItemClick(const char* str_id, ImGuiPopupFlags popup_flags)
{
ImGuiWindow* window = GImGui->CurrentWindow;
int mouse_button = (popup_flags & ImGuiPopupFlags_MouseButtonMask_);
if (IsMouseReleased(mouse_button) && IsItemHovered(ImGuiHoveredFlags_AllowWhenBlockedByPopup))
{
I... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x2b8cba(%rip), %rax # 0x3261d0
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movl -0xc(%rbp), %eax
andl $0x1f, %eax
movl %eax, -0x1c(%rbp)
movl -0x1c(%rbp), %edi
callq 0x639c0
testb $0x1, %al
jne 0x6d538
jmp 0x6d5aa
movl $... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginPopupContextItem(char const*, int) | bool ImGui::BeginPopupContextItem(const char* str_id, ImGuiPopupFlags popup_flags)
{
ImGuiWindow* window = GImGui->CurrentWindow;
if (window->SkipItems)
return false;
ImGuiID id = str_id ? window->GetID(str_id) : window->DC.LastItemId; // If user hasn't passed an ID, we can use the LastItemID. Using... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq 0x2b8c0a(%rip), %rax # 0x3261d0
movq 0x1c10(%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
testb $0x1, 0x93(%rax)
je 0x6d5e7
movb $0x0, -0x1(%rbp)
jmp 0x6d682
cmpq $0x0, -0x10(%rbp)
je 0x6d604
movq -0x20(%rbp), ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginPopupContextWindow(char const*, int) | bool ImGui::BeginPopupContextWindow(const char* str_id, ImGuiPopupFlags popup_flags)
{
ImGuiWindow* window = GImGui->CurrentWindow;
if (!str_id)
str_id = "window_context";
ImGuiID id = window->GetID(str_id);
int mouse_button = (popup_flags & ImGuiPopupFlags_MouseButtonMask_);
if (IsMouseRele... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x2b8b2a(%rip), %rax # 0x3261d0
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x8(%rbp)
jne 0x6d6c3
leaq 0x2155c9(%rip), %rax # 0x282c88
movq %rax, -0x8(%rbp)
movq -0x18(%rbp), %rdi
movq -0x8(%rbp), %rsi
xorl... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::FindBestWindowPosForPopupEx(ImVec2 const&, ImVec2 const&, int*, ImRect const&, ImRect const&, ImGuiPopupPositionPolicy) | ImVec2 ImGui::FindBestWindowPosForPopupEx(const ImVec2& ref_pos, const ImVec2& size, ImGuiDir* last_dir, const ImRect& r_outer, const ImRect& r_avoid, ImGuiPopupPositionPolicy policy)
{
ImVec2 base_pos_clamped = ImClamp(ref_pos, r_outer.Min, r_outer.Max - size);
//GetForegroundDrawList()->AddRect(r_avoid.Min, r... | pushq %rbp
movq %rsp, %rbp
subq $0x130, %rsp # imm = 0x130
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movl %r9d, -0x34(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0xd8(%rbp)
movq -0x28(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
addq $0x8, %rdi
movq ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::GetPopupAllowedExtentRect(ImGuiWindow*) | ImRect ImGui::GetPopupAllowedExtentRect(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
IM_UNUSED(window);
ImRect r_screen = ((ImGuiViewportP*)(void*)GetMainViewport())->GetMainRect();
ImVec2 padding = g.Style.DisplaySafeAreaPadding;
r_screen.Expand(ImVec2((r_screen.GetWidth() > padding.x * 2) ? -... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x18(%rbp)
movq 0x2b829d(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
callq 0x66620
movq %rax, %rdi
callq 0x7ac00
movlpd %xmm0, -0x10(%rbp)
movlpd %xmm1, -0x8(%rbp)
movq -0x20(%rbp), %rax
movq 0x160c(%rax), %rax
movq %rax, -0x28(%rbp)
leaq -0x10(%rbp), %rdi
ca... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetNavID(unsigned int, ImGuiNavLayer, unsigned int, ImRect const&) | void ImGui::SetNavID(ImGuiID id, ImGuiNavLayer nav_layer, ImGuiID focus_scope_id, const ImRect& rect_rel)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.NavWindow != NULL);
IM_ASSERT(nav_layer == ImGuiNavLayer_Main || nav_layer == ImGuiNavLayer_Menu);
g.NavId = id;
g.NavLayer = nav_layer;
g.NavFocusSc... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movl %edx, -0xc(%rbp)
movq %rcx, -0x18(%rbp)
movq 0x2b8194(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq $0x0, 0x1dc8(%rax)
je 0x6e050
jmp 0x6e06f
leaq 0x214c9e(%rip), %rdi # 0x282cf5
leaq 0x21260b(... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetFocusID(unsigned int, ImGuiWindow*) | void ImGui::SetFocusID(ImGuiID id, ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(id != 0);
// Assume that SetFocusID() is called in the context where its window->DC.NavLayerCurrent and window->DC.NavFocusScopeIdCurrent are valid.
// Note that window may be != g.CurrentWindow (e.g. SetFocu... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x2b809a(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
cmpl $0x0, -0x4(%rbp)
je 0x6e142
jmp 0x6e161
leaq 0x214d91(%rip), %rdi # 0x282eda
leaq 0x212519(%rip), %rsi # 0x280669
movl $0x219c, %edx # imm = 0x219C... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::GetNavInputAmount2d(int, ImGuiInputReadMode, float, float) | ImVec2 ImGui::GetNavInputAmount2d(ImGuiNavDirSourceFlags dir_sources, ImGuiInputReadMode mode, float slow_factor, float fast_factor)
{
ImVec2 delta(0.0f, 0.0f);
if (dir_sources & ImGuiNavDirSourceFlags_Keyboard)
delta += ImVec2(GetNavInputAmount(ImGuiNavInput_KeyRight_, mode) - GetNavInputAmount(ImGui... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movl %edi, -0xc(%rbp)
movl %esi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movss %xmm1, -0x18(%rbp)
leaq -0x8(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x1e140
movl -0xc(%rbp), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x6e6d8
movl -0x10(%rbp), %esi
movl $0x12, %edi
c... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginDragDropSource(int) | bool ImGui::BeginDragDropSource(ImGuiDragDropFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
// FIXME-DRAGDROP: While in the common-most "drag from non-zero active id" case we can tell the mouse button,
// in both SourceExtern and id==0 cases we may requires something e... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl %edi, -0x8(%rbp)
movq 0x2b792e(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movl $0x0, -0x1c(%rbp)
movb $0x0, -0x1d(%rbp)
movl $0x0, -0x24(%rbp)
movl $0x0, -0x28(%rbp)
movl -0x8(%rbp), %eax
andl $0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::EndDragDropSource() | void ImGui::EndDragDropSource()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.DragDropActive);
IM_ASSERT(g.DragDropWithinSource && "Not after a BeginDragDropSource()?");
if (!(g.DragDropSourceFlags & ImGuiDragDropFlags_SourceNoPreviewTooltip))
EndTooltip();
// Discard the drag if have not calle... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2b7561(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
testb $0x1, 0x1f4c(%rax)
je 0x6ec82
jmp 0x6eca1
leaq 0x21224c(%rip), %rdi # 0x280ed5
leaq 0x2119d9(%rip), %rsi # 0x280669
movl $0x26ab, %edx # imm = 0x26AB
leaq 0x214246(%rip),... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SetDragDropPayload(char const*, void const*, unsigned long, int) | bool ImGui::SetDragDropPayload(const char* type, const void* data, size_t data_size, ImGuiCond cond)
{
ImGuiContext& g = *GImGui;
ImGuiPayload& payload = g.DragDropPayload;
if (cond == 0)
cond = ImGuiCond_Always;
IM_ASSERT(type != NULL);
IM_ASSERT(strlen(type) < IM_ARRAYSIZE(payload.DataTyp... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq 0x2b7492(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
addq $0x1f60, %rax # imm = 0x1F60
movq %rax, -0x30(%rbp)
cmpl $0x0, -0x1c(%rbp)
jne 0x6ed... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::BeginDragDropTargetCustom(ImRect const&, unsigned int) | bool ImGui::BeginDragDropTargetCustom(const ImRect& bb, ImGuiID id)
{
ImGuiContext& g = *GImGui;
if (!g.DragDropActive)
return false;
ImGuiWindow* window = g.CurrentWindow;
ImGuiWindow* hovered_window = g.HoveredWindowUnderMovingWindow;
if (hovered_window == NULL || window->RootWindow != ho... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq 0x2b71ea(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
testb $0x1, 0x1f4c(%rax)
jne 0x6f000
movb $0x0, -0x1(%rbp)
jmp 0x6f122
movq -0x20(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x28(%rbp)
mov... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::AcceptDragDropPayload(char const*, int) | const ImGuiPayload* ImGui::AcceptDragDropPayload(const char* type, ImGuiDragDropFlags flags)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImGuiPayload& payload = g.DragDropPayload;
IM_ASSERT(g.DragDropActive); // Not called between BeginDragDropTarget() and ... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x10(%rbp)
movl %esi, -0x14(%rbp)
movq 0x2b6ec7(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
addq $0x1f60, %rax # imm = 0x1F60
movq %rax, -0x30(%rbp)
movq -0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LogText(char const*, ...) | void ImGui::LogText(const char* fmt, ...)
{
ImGuiContext& g = *GImGui;
if (!g.LogEnabled)
return;
va_list args;
va_start(args, fmt);
LogTextV(g, fmt, args);
va_end(args);
} | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
testb %al, %al
je 0x6f758
movaps %xmm0, -0xb0(%rbp)
movaps %xmm1, -0xa0(%rbp)
movaps %xmm2, -0x90(%rbp)
movaps %xmm3, -0x80(%rbp)
movaps %xmm4, -0x70(%rbp)
movaps %xmm5, -0x60(%rbp)
movaps %xmm6, -0x50(%rbp)
movaps %xmm7, -0x40(%rbp)
movq %r9, -0xb8(%rbp)
movq %r8, -0xc0(%rbp... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
LogTextV(ImGuiContext&, char const*, __va_list_tag*) | static inline void LogTextV(ImGuiContext& g, const char* fmt, va_list args)
{
if (g.LogFile)
{
g.LogBuffer.Buf.resize(0);
g.LogBuffer.appendfv(fmt, args);
ImFileWrite(g.LogBuffer.c_str(), sizeof(char), (ImU64)g.LogBuffer.size(), g.LogFile);
}
else
{
g.LogBuffer.append... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x3098(%rax)
je 0x6f86e
movq -0x8(%rbp), %rdi
addq $0x30a0, %rdi # imm = 0x30A0
xorl %esi, %esi
callq 0x78740
movq -0x8(%rbp), %rdi
addq $0x30a0, %rdi # im... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LogBegin(ImGuiLogType, int) | void ImGui::LogBegin(ImGuiLogType type, int auto_open_depth)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(g.LogEnabled == false);
IM_ASSERT(g.LogFile == NULL);
IM_ASSERT(g.LogBuffer.empty());
g.LogEnabled = true;
g.LogType = type;
g.LogNextPrefix = g.LogN... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movl %esi, -0x8(%rbp)
movq 0x2b68db(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
movb 0x308c(%rax), %al
andb $0x1, %al
movzbl %al, %eax
cmpl $0x0, %eax
jne 0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LogToTTY(int) | void ImGui::LogToTTY(int auto_open_depth)
{
ImGuiContext& g = *GImGui;
if (g.LogEnabled)
return;
IM_UNUSED(auto_open_depth);
#ifndef IMGUI_DISABLE_TTY_FUNCTIONS
LogBegin(ImGuiLogType_TTY, auto_open_depth);
g.LogFile = stdout;
#endif
} | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movl %edi, -0x4(%rbp)
movq 0x2b673e(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
testb $0x1, 0x308c(%rax)
je 0x6faa5
jmp 0x6fac7
movl -0x4(%rbp), %esi
movl $0x1, %edi
callq 0x6f8e0
movq 0x28150f(%rip), %rax # 0x2f0fc8
movq (%rax), %rcx
movq -0x10... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LogToFile(int, char const*) | void ImGui::LogToFile(int auto_open_depth, const char* filename)
{
ImGuiContext& g = *GImGui;
if (g.LogEnabled)
return;
// FIXME: We could probably open the file in text mode "at", however note that clipboard/buffer logging will still
// be subject to outputting OS-incompatible carriage return ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x2b66ea(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
testb $0x1, 0x308c(%rax)
je 0x6faf9
jmp 0x6fb74
cmpq $0x0, -0x10(%rbp)
jne 0x6fb0c
movq -0x18(%rbp), %rax
movq 0x28(%rax), %rax
movq %rax, -0x10(... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LogButtons() | void ImGui::LogButtons()
{
ImGuiContext& g = *GImGui;
PushID("LogButtons");
#ifndef IMGUI_DISABLE_TTY_FUNCTIONS
const bool log_to_tty = Button("Log To TTY"); SameLine();
#else
const bool log_to_tty = false;
#endif
const bool log_to_file = Button("Log To File"); SameLine();
const bool log_to_cli... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq 0x2b65c1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
leaq 0x2136c1(%rip), %rdi # 0x2832db
callq 0x6a0b0
leaq -0x14(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x1e140
leaq 0x2136b1(%rip), %rdi # 0x2832e6
leaq -0x14(%rbp), %rsi
callq 0xa0820
andb $0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::FindWindowSettings(unsigned int) | ImGuiWindowSettings* ImGui::FindWindowSettings(ImGuiID id)
{
ImGuiContext& g = *GImGui;
for (ImGuiWindowSettings* settings = g.SettingsWindows.begin(); settings != NULL; settings = g.SettingsWindows.next_chunk(settings))
if (settings->ID == id)
return settings;
return NULL;
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0xc(%rbp)
movq 0x2b634e(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x3058, %rdi # imm = 0x3058
callq 0x7ca30
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
je 0x6fed2
movq -0x20(%rbp), %rax
movl (%rax), %eax
cmpl -0xc(%r... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ClearIniSettings() | void ImGui::ClearIniSettings()
{
ImGuiContext& g = *GImGui;
g.SettingsIniData.clear();
for (int handler_n = 0; handler_n < g.SettingsHandlers.Size; handler_n++)
if (g.SettingsHandlers[handler_n].ClearAllFn)
g.SettingsHandlers[handler_n].ClearAllFn(&g, &g.SettingsHandlers[handler_n]);
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq 0x2b61e1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rdi
addq $0x3038, %rdi # imm = 0x3038
callq 0x7b7d0
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x3048(%rcx), %eax
jge 0x70083
movq -0x8(%rbp), %rdi
addq $0x30... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LoadIniSettingsFromDisk(char const*) | void ImGui::LoadIniSettingsFromDisk(const char* ini_filename)
{
size_t file_data_size = 0;
char* file_data = (char*)ImFileLoadToMemory(ini_filename, "rb", &file_data_size);
if (!file_data)
return;
LoadIniSettingsFromMemory(file_data, (size_t)file_data_size);
IM_FREE(file_data);
} | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
movq -0x8(%rbp), %rdi
leaq 0x213271(%rip), %rsi # 0x283320
leaq -0x10(%rbp), %rdx
xorl %ecx, %ecx
callq 0x53280
movq %rax, -0x18(%rbp)
cmpq $0x0, -0x18(%rbp)
jne 0x700c7
jmp 0x700dd
movq -0x18(%rbp), %rdi
movq -0x10(%rbp), %rsi
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::LoadIniSettingsFromMemory(char const*, unsigned long) | void ImGui::LoadIniSettingsFromMemory(const char* ini_data, size_t ini_size)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.Initialized);
//IM_ASSERT(!g.WithinFrameScope && "Cannot be called between NewFrame() and EndFrame()");
//IM_ASSERT(g.SettingsLoaded == false && g.FrameCount == 0);
// For user conv... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq 0x2b60c6(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rax
testb $0x1, (%rax)
je 0x70119
jmp 0x70138
leaq 0x21111e(%rip), %rdi # 0x28123e
leaq 0x210542(%rip), %rsi # 0x280669
movl $0x28d3, %edx ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::SaveIniSettingsToMemory(unsigned long*) | const char* ImGui::SaveIniSettingsToMemory(size_t* out_size)
{
ImGuiContext& g = *GImGui;
g.SettingsDirtyTimer = 0.0f;
g.SettingsIniData.Buf.resize(0);
g.SettingsIniData.Buf.push_back(0);
for (int handler_n = 0; handler_n < g.SettingsHandlers.Size; handler_n++)
{
ImGuiSettingsHandler* ha... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq 0x2b5cad(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
xorps %xmm0, %xmm0
movss %xmm0, 0x3034(%rax)
movq -0x10(%rbp), %rdi
addq $0x3038, %rdi # imm = 0x3038
xorl %esi, %esi
callq 0x78740
movq -0x10(%rbp), %rdi
add... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugRenderViewportThumbnail(ImDrawList*, ImGuiViewportP*, ImRect const&) | void ImGui::DebugRenderViewportThumbnail(ImDrawList* draw_list, ImGuiViewportP* viewport, const ImRect& bb)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImVec2 scale = bb.GetSize() / viewport->Size;
ImVec2 off = bb.Min - viewport->Pos * scale;
float alpha_mul = 1.0f;
wind... | pushq %rbp
movq %rsp, %rbp
subq $0x210, %rsp # imm = 0x210
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq 0x2b5bc2(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x18(%rbp), %rdi
callq 0x7bbb0
movlpd %xmm0... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ShowMetricsWindow(bool*) | void ImGui::ShowMetricsWindow(bool* p_open)
{
if (!Begin("Dear ImGui Metrics/Debugger", p_open))
{
End();
return;
}
ImGuiContext& g = *GImGui;
ImGuiIO& io = g.IO;
ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;
// Basic info
Text("Dear ImGui %s", GetVersion());
Tex... | pushq %rbp
movq %rsp, %rbp
subq $0x540, %rsp # imm = 0x540
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rsi
leaq 0x2126e8(%rip), %rdi # 0x283362
xorl %edx, %edx
callq 0x5ec00
testb $0x1, %al
jne 0x70c8f
callq 0x62650
jmp 0x72892
movq 0x2b553a(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ShowMetricsWindow(bool*)::Funcs::GetWindowRect(ImGuiWindow*, int) | static ImRect GetWindowRect(ImGuiWindow* window, int rect_type)
{
if (rect_type == WRT_OuterRect) { return window->Rect(); }
else if (rect_type == WRT_OuterRectClipped) { return window->OuterRectClipped; }
else if (rect_type == WRT_InnerRect) { ... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x18(%rbp)
movl %esi, -0x1c(%rbp)
cmpl $0x0, -0x1c(%rbp)
jne 0x7292d
movq -0x18(%rbp), %rdi
callq 0x7bf20
movlpd %xmm0, -0x10(%rbp)
movlpd %xmm1, -0x8(%rbp)
jmp 0x72ad5
cmpl $0x1, -0x1c(%rbp)
jne 0x72952
movq -0x18(%rbp), %rax
movq 0x200(%rax), %rcx
movq %rcx, -0x... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ShowMetricsWindow(bool*)::Funcs::GetTableRect(ImGuiTable*, int, int) | static ImRect GetTableRect(ImGuiTable* table, int rect_type, int n)
{
if (rect_type == TRT_OuterRect) { return table->OuterRect; }
else if (rect_type == TRT_InnerRect) { return table->InnerRect; }
else if (rect_type == TRT_WorkRect) ... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x18(%rbp)
movl %esi, -0x1c(%rbp)
movl %edx, -0x20(%rbp)
cmpl $0x0, -0x1c(%rbp)
jne 0x72b27
movq -0x18(%rbp), %rax
movq 0xf4(%rax), %rcx
movq %rcx, -0x10(%rbp)
movq 0xfc(%rax), %rax
movq %rax, -0x8(%rbp)
jmp 0x72e6f
cmpl $0x1, -0x1c(%rbp)
jne 0x72b4c
movq -0x18(%r... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeWindowsList(ImVector<ImGuiWindow*>*, char const*) | void ImGui::DebugNodeWindowsList(ImVector<ImGuiWindow*>* windows, const char* label)
{
if (!TreeNode(label, "%s (%d)", label, windows->Size))
return;
Text("(In front-to-back order:)");
for (int i = windows->Size - 1; i >= 0; i--) // Iterate front to back
{
PushID((*windows)[i]);
... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rdi
movq -0x10(%rbp), %rdx
movq -0x8(%rbp), %rax
movl (%rax), %ecx
leaq 0x222e8f(%rip), %rsi # 0x295d34
movb $0x0, %al
callq 0xb6fb0
testb $0x1, %al
jne 0x72eb2
jmp 0x72f16
leaq 0x211608(%rip), %rdi # 0x284... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeDrawList(ImGuiWindow*, ImDrawList const*, char const*) | void ImGui::DebugNodeDrawList(ImGuiWindow* window, const ImDrawList* draw_list, const char* label)
{
ImGuiContext& g = *GImGui;
ImGuiMetricsConfig* cfg = &g.DebugMetricsConfig;
int cmd_count = draw_list->CmdBuffer.Size;
if (cmd_count > 0 && draw_list->CmdBuffer.back().ElemCount == 0 && draw_list->CmdBuf... | pushq %rbp
movq %rsp, %rbp
subq $0x340, %rsp # imm = 0x340
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq 0x2b3292(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
addq $0x30dc, %rax # imm = 0x30DC
movq %rax, -0x28(%rbp)
movq -0x10(%rbp), %rax
movl (... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
RenderViewportsThumbnails() | static void RenderViewportsThumbnails()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
// We don't display full monitor bounds (we could, but it often looks awkward), instead we display just enough to cover all of our viewports.
float SCALE = 1.0f / 8.0f;
ImRect bb_full(FLT_MAX... | pushq %rbp
movq %rsp, %rbp
subq $0xb0, %rsp
movq 0x2b292e(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x10(%rbp)
movss 0x20c68b(%rip), %xmm0 # 0x27ff48
movss %xmm0, -0x14(%rbp)
leaq -0x24(%rbp), %rdi
movss 0x207de2(%rip), %xmm1 # 0x27b6b0
movss 0x20c5e2(... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeViewport(ImGuiViewportP*) | void ImGui::DebugNodeViewport(ImGuiViewportP* viewport)
{
SetNextItemOpen(true, ImGuiCond_Once);
if (TreeNode("viewport0", "Viewport #%d", 0))
{
ImGuiWindowFlags flags = viewport->Flags;
BulletText("Main Pos: (%.0f,%.0f), Size: (%.0f,%.0f)\nWorkArea Offset Left: %.0f Top: %.0f, Right: %.0f, ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movl $0x1, %edi
movl $0x2, %esi
callq 0xb8660
leaq 0x21069f(%rip), %rdi # 0x284161
leaq 0x2106a2(%rip), %rsi # 0x28416b
xorl %edx, %edx
movb $0x0, %al
callq 0xb6fb0
testb $0x1, %al
jne 0x73adb
jmp 0x73c44
movq -0x8(%rbp), %rax
movl (%rax), %eax
mov... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeTabBar(ImGuiTabBar*, char const*) | void ImGui::DebugNodeTabBar(ImGuiTabBar* tab_bar, const char* label)
{
// Standalone tab bars (not associated to docking/windows functionality) currently hold no discernible strings.
char buf[256];
char* p = buf;
const char* buf_end = buf + IM_ARRAYSIZE(buf);
const bool is_active = (tab_bar->PrevFra... | pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp # imm = 0x1A0
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
leaq -0x110(%rbp), %rax
movq %rax, -0x118(%rbp)
leaq -0x110(%rbp), %rax
addq $0x100, %rax # imm = 0x100
movq %rax, -0x120(%rbp)
movq -0x8(%rbp), %rax
movl 0x28(%rax), %eax
movl %eax, -0x164(%rbp... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::ShowFontAtlas(ImFontAtlas*) | void ImGui::ShowFontAtlas(ImFontAtlas* atlas)
{
for (int i = 0; i < atlas->Fonts.Size; i++)
{
ImFont* font = atlas->Fonts[i];
PushID(font);
DebugNodeFont(font);
PopID();
}
if (TreeNode("Atlas texture", "Atlas texture (%dx%d pixels)", atlas->TexWidth, atlas->TexHeight))
... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movl $0x0, -0xc(%rbp)
movl -0xc(%rbp), %eax
movq -0x8(%rbp), %rcx
cmpl 0x48(%rcx), %eax
jge 0x740d8
movq -0x8(%rbp), %rdi
addq $0x48, %rdi
movl -0xc(%rbp), %esi
callq 0x7d0b0
movq (%rax), %rax
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
callq 0x6a170
m... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeFont(ImFont*) | void ImGui::DebugNodeFont(ImFont* font)
{
bool opened = TreeNode(font, "Font: \"%s\"\n%.2f px, %d glyphs, %d file(s)",
font->ConfigData ? font->ConfigData[0].Name : "", font->FontSize, font->Glyphs.Size, font->ConfigDataCount);
SameLine();
if (SmallButton("Set as default"))
GetIO().FontDefau... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x80(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x48(%rax)
je 0x74257
movq -0x8(%rbp), %rax
movq 0x48(%rax), %rax
addq $0x56, %rax
movq %rax, -0x88(%rbp)
jmp 0x74267
leaq 0x22720a(%rip), %rax # 0x29b468
movq %rax, -0x88(%... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeColumns(ImGuiOldColumns*) | void ImGui::DebugNodeColumns(ImGuiOldColumns* columns)
{
if (!TreeNode((void*)(uintptr_t)columns->ID, "Columns Id: 0x%08X, Count: %d, Flags: 0x%04X", columns->ID, columns->Count, columns->Flags))
return;
BulletText("Width: %.1f (MinX: %.1f, MaxX: %.1f)", columns->OffMaxX - columns->OffMinX, columns->Off... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, %edi
movq -0x8(%rbp), %rax
movl (%rax), %edx
movq -0x8(%rbp), %rax
movl 0x10(%rax), %ecx
movq -0x8(%rbp), %rax
movl 0x4(%rax), %r8d
leaq 0x20f264(%rip), %rsi # 0x283b34
movb $0x0, %al
callq 0xb7120
te... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList*, ImDrawList const*, ImDrawCmd const*, bool, bool) | void ImGui::DebugNodeDrawCmdShowMeshAndBoundingBox(ImDrawList* out_draw_list, const ImDrawList* draw_list, const ImDrawCmd* draw_cmd, bool show_mesh, bool show_aabb)
{
IM_ASSERT(show_mesh || show_aabb);
ImDrawIdx* idx_buffer = (draw_list->IdxBuffer.Size > 0) ? draw_list->IdxBuffer.Data : NULL;
ImDrawVert* v... | pushq %rbp
movq %rsp, %rbp
subq $0xe0, %rsp
movb %r8b, %al
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
andb $0x1, %cl
movb %cl, -0x19(%rbp)
andb $0x1, %al
movb %al, -0x1a(%rbp)
movb $0x1, %al
testb $0x1, -0x19(%rbp)
movb %al, -0x95(%rbp)
jne 0x749ec
movb -0x1a(%rbp), %al
movb %al, -0x95(%rbp)
mo... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::DebugNodeStorage(ImGuiStorage*, char const*) | void ImGui::DebugNodeStorage(ImGuiStorage* storage, const char* label)
{
if (!TreeNode(label, "%s: %d entries, %d bytes", label, storage->Data.Size, storage->Data.size_in_bytes()))
return;
for (int n = 0; n < storage->Data.Size; n++)
{
const ImGuiStorage::ImGuiStoragePair& p = storage->Data[... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x30(%rbp)
movq -0x8(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x24(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7d370
movq -0x38(%rbp), %rdi
movq -0x30(%rbp),... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
StartLockWheelingWindow(ImGuiWindow*) | static void StartLockWheelingWindow(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
if (g.WheelingWindow == window)
return;
g.WheelingWindow = window;
g.WheelingWindowRefMousePos = g.IO.MousePos;
g.WheelingWindowTimer = WINDOWS_MOUSE_WHEEL_SCROLL_LOCK_TIMER;
} | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq 0x2b0c41(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
movq 0x1c30(%rax), %rax
cmpq -0x8(%rbp), %rax
jne 0x755a6
jmp 0x755df
movq -0x8(%rbp), %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x1c30(%rax)
movq -0x10(%rbp), %rcx
movq -0x10(%rbp), %rax
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ChildWindowComparer(void const*, void const*) | static int IMGUI_CDECL ChildWindowComparer(const void* lhs, const void* rhs)
{
const ImGuiWindow* const a = *(const ImGuiWindow* const *)lhs;
const ImGuiWindow* const b = *(const ImGuiWindow* const *)rhs;
if (int d = (a->Flags & ImGuiWindowFlags_Popup) - (b->Flags & ImGuiWindowFlags_Popup))
return d... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq -0x10(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movq (%rax), %rax
movq %rax, -0x28(%rbp)
movq -0x20(%rbp), %rax
movl 0xc(%rax), %eax
andl $0x4000000, %eax # imm = 0x4000000
movq -0x28(%rbp), %rcx
movl ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
AddWindowToDrawData(ImGuiWindow*, int) | static void AddWindowToDrawData(ImGuiWindow* window, int layer)
{
ImGuiContext& g = *GImGui;
ImGuiViewportP* viewport = g.Viewports[0];
g.IO.MetricsRenderWindows++;
AddDrawListToDrawData(&viewport->DrawDataBuilder.Layers[layer], window->DrawList);
for (int i = 0; i < window->DC.ChildWindows.Size; i+... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movl %esi, -0xc(%rbp)
movq 0x2b0aaa(%rip), %rax # 0x3261d0
movq %rax, -0x18(%rbp)
movq -0x18(%rbp), %rdi
addq $0x1db8, %rdi # imm = 0x1DB8
xorl %esi, %esi
callq 0x7a870
movq (%rax), %rax
movq %rax, -0x20(%rbp)
movq -0x18(%rbp), %rax
movl 0x3... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
CalcResizePosSizeFromAnyCorner(ImGuiWindow*, ImVec2 const&, ImVec2 const&, ImVec2*, ImVec2*) | static void CalcResizePosSizeFromAnyCorner(ImGuiWindow* window, const ImVec2& corner_target, const ImVec2& corner_norm, ImVec2* out_pos, ImVec2* out_size)
{
ImVec2 pos_min = ImLerp(corner_target, window->Pos, corner_norm); // Expected window upper-left
ImVec2 pos_max = ImLerp(window->Pos + window... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq -0x10(%rbp), %rdi
movq -0x8(%rbp), %rsi
addq $0x10, %rsi
movq -0x18(%rbp), %rdx
callq 0x758b0
movlpd %xmm0, -0x30(%rbp)
movq -0x8(%rbp), %rsi
movq %rsi, %rdi
... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
GetResizeBorderRect(ImGuiWindow*, int, float, float) | static ImRect GetResizeBorderRect(ImGuiWindow* window, int border_n, float perp_padding, float thickness)
{
ImRect rect = window->Rect();
if (thickness == 0.0f)
rect.Max -= ImVec2(1, 1);
if (border_n == ImGuiDir_Left) { return ImRect(rect.Min.x - thickness, rect.Min.y + perp_padding, rect.Min.x ... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x18(%rbp)
movl %esi, -0x1c(%rbp)
movss %xmm0, -0x20(%rbp)
movss %xmm1, -0x24(%rbp)
movq -0x18(%rbp), %rdi
callq 0x7bf20
movlpd %xmm0, -0x34(%rbp)
movlpd %xmm1, -0x2c(%rbp)
movss -0x24(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x75a80
jp 0x75a80
lea... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::RenderWindowOuterBorders(ImGuiWindow*) | static void ImGui::RenderWindowOuterBorders(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
float rounding = window->WindowRounding;
float border_size = window->WindowBorderSize;
if (border_size > 0.0f && !(window->Flags & ImGuiWindowFlags_NoBackground))
window->DrawList->AddRect(window->Pos, ... | pushq %rbp
movq %rsp, %rbp
subq $0x110, %rsp # imm = 0x110
movq %rdi, -0x8(%rbp)
movq 0x2b058a(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x8(%rbp), %rax
movss 0x48(%rax), %xmm0
movss %xmm0, -0x14(%rbp)
movq -0x8(%rbp), %rax
movss 0x4c(%rax), %xmm0
movss %xmm0, -0x18(%rbp)
movss -0x18(%rbp), %xmm... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavScoreItem(ImGuiNavItemData*, ImRect) | static bool ImGui::NavScoreItem(ImGuiNavItemData* result, ImRect cand)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (g.NavLayer != window->DC.NavLayerCurrent)
return false;
const ImRect& curr = g.NavScoringRect; // Current modified source rect (NB: we've applied Max.x ... | pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movlpd %xmm0, -0x14(%rbp)
movlpd %xmm1, -0xc(%rbp)
movq %rdi, -0x20(%rbp)
movq 0x2b00f0(%rip), %rax # 0x3261d0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
movq 0x1c10(%rax), %rax
movq %rax, -0x30(%rbp)
movq -0x28(%rbp), %rax
movl 0x1e14(%rax), %eax
movq -0x30(%rbp), %rcx... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
NavClampRectToVisibleAreaForMoveDir(int, ImRect&, ImRect const&) | static void inline NavClampRectToVisibleAreaForMoveDir(ImGuiDir move_dir, ImRect& r, const ImRect& clip_rect)
{
if (move_dir == ImGuiDir_Left || move_dir == ImGuiDir_Right)
{
r.Min.y = ImClamp(r.Min.y, clip_rect.Min.y, clip_rect.Max.y);
r.Max.y = ImClamp(r.Max.y, clip_rect.Min.y, clip_rect.Max.y... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
cmpl $0x0, -0x4(%rbp)
je 0x766cf
cmpl $0x1, -0x4(%rbp)
jne 0x76723
movq -0x10(%rbp), %rax
movss 0x4(%rax), %xmm0
movq -0x18(%rbp), %rax
movss 0x4(%rax), %xmm1
movq -0x18(%rbp), %rax
movss 0xc(%rax), %xmm2
cal... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavUpdateInitResult() | static void ImGui::NavUpdateInitResult()
{
// In very rare cases g.NavWindow may be null (e.g. clearing focus after requesting an init request, which does happen when releasing Alt while clicking on void)
ImGuiContext& g = *GImGui;
if (!g.NavWindow)
return;
// Apply result from previous navigat... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq 0x2af9d1(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1dc8(%rax)
jne 0x76813
jmp 0x76867
movq -0x8(%rbp), %rax
movl 0x1e24(%rax), %edi
movq -0x8(%rbp), %rax
movl 0x1e14(%rax), %esi
movq -0x8(%rbp), %rcx
addq $0x1e28, %rcx #... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavSaveLastChildNavWindowIntoParent(ImGuiWindow*) | static void ImGui::NavSaveLastChildNavWindowIntoParent(ImGuiWindow* nav_window)
{
ImGuiWindow* parent = nav_window;
while (parent && parent->RootWindow != parent && (parent->Flags & (ImGuiWindowFlags_Popup | ImGuiWindowFlags_ChildMenu)) == 0)
parent = parent->ParentWindow;
if (parent && parent != na... | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
xorl %eax, %eax
cmpq $0x0, -0x10(%rbp)
movb %al, -0x11(%rbp)
je 0x76c57
movq -0x10(%rbp), %rax
movq 0x388(%rax), %rcx
xorl %eax, %eax
cmpq -0x10(%rbp), %rcx
movb %al, -0x11(%rbp)
je 0x76c57
movq -0x10(%rbp), %rax
movl 0xc(%rax... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavUpdateWindowing() | static void ImGui::NavUpdateWindowing()
{
ImGuiContext& g = *GImGui;
ImGuiWindow* apply_focus_window = NULL;
bool apply_toggle_layer = false;
ImGuiWindow* modal_window = GetTopMostPopupModal();
bool allow_windowing = (modal_window == NULL);
if (!allow_windowing)
g.NavWindowingTarget = N... | pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq 0x2af51e(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq $0x0, -0x10(%rbp)
movb $0x0, -0x11(%rbp)
callq 0x5a360
movq %rax, -0x20(%rbp)
cmpq $0x0, -0x20(%rbp)
sete %al
andb $0x1, %al
movb %al, -0x21(%rbp)
testb $0x1, -0x21(%rbp)
jne 0x76ced
movq -0x8(%rbp), %rax
movq... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavRestoreLayer(ImGuiNavLayer) | void ImGui::NavRestoreLayer(ImGuiNavLayer layer)
{
ImGuiContext& g = *GImGui;
if (layer == ImGuiNavLayer_Main)
g.NavWindow = NavRestoreLastChildNavWindow(g.NavWindow);
ImGuiWindow* window = g.NavWindow;
if (window->NavLastIds[layer] != 0)
{
SetNavID(window->NavLastIds[layer], layer, ... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movl %edi, -0x4(%rbp)
movq 0x2aebce(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
cmpl $0x0, -0x4(%rbp)
jne 0x7762a
movq -0x10(%rbp), %rax
movq 0x1dc8(%rax), %rdi
callq 0x68d20
movq %rax, %rcx
movq -0x10(%rbp), %rax
movq %rcx, 0x1dc8(%rax)
movq -0x10(%rbp), %rax
movq 0x1dc... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavUpdatePageUpPageDown() | static float ImGui::NavUpdatePageUpPageDown()
{
ImGuiContext& g = *GImGui;
ImGuiIO& io = g.IO;
if (g.NavMoveDir != ImGuiDir_None || g.NavWindow == NULL)
return 0.0f;
if ((g.NavWindow->Flags & ImGuiWindowFlags_NoNavInputs) || g.NavWindowingTarget != NULL || g.NavLayer != ImGuiNavLayer_Main)
... | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq 0x2aeb01(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0x8, %rax
movq %rax, -0x18(%rbp)
movq -0x10(%rbp), %rax
cmpl $-0x1, 0x1e48(%rax)
jne 0x776fa
movq -0x10(%rbp), %rax
cmpq $0x0, 0x1dc8(%rax)
jne 0x77707
xorps %xmm0, %xmm0
movss %xmm0, ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
FindWindowNavFocusable(int, int, int) | static ImGuiWindow* FindWindowNavFocusable(int i_start, int i_stop, int dir) // FIXME-OPT O(N)
{
ImGuiContext& g = *GImGui;
for (int i = i_start; i >= 0 && i < g.WindowsFocusOrder.Size && i != i_stop; i += dir)
if (ImGui::IsWindowNavFocusable(g.WindowsFocusOrder[i]))
return g.WindowsFocusOrd... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0xc(%rbp)
movl %esi, -0x10(%rbp)
movl %edx, -0x14(%rbp)
movq 0x2ae618(%rip), %rax # 0x3261d0
movq %rax, -0x20(%rbp)
movl -0xc(%rbp), %eax
movl %eax, -0x24(%rbp)
xorl %eax, %eax
cmpl $0x0, -0x24(%rbp)
movb %al, -0x25(%rbp)
jl 0x77bed
movl -0x24(%rbp), %ecx
movq ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
NavUpdateWindowingHighlightWindow(int) | static void NavUpdateWindowingHighlightWindow(int focus_change_dir)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.NavWindowingTarget);
if (g.NavWindowingTarget->Flags & ImGuiWindowFlags_Modal)
return;
const int i_current = ImGui::FindWindowFocusIndex(g.NavWindowingTarget);
ImGuiWindow* window_ta... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movl %edi, -0x4(%rbp)
movq 0x2ae55e(%rip), %rax # 0x3261d0
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpq $0x0, 0x1ef8(%rax)
je 0x77c86
jmp 0x77ca5
leaq 0x20da5c(%rip), %rdi # 0x2856e9
leaq 0x2089d5(%rip), %rsi # 0x280669
movl $0x254d, %edx # imm = 0x25... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImGui::NavUpdateWindowingOverlay() | void ImGui::NavUpdateWindowingOverlay()
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.NavWindowingTarget != NULL);
if (g.NavWindowingTimer < NAV_WINDOWING_LIST_APPEAR_DELAY)
return;
if (g.NavWindowingListWindow == NULL)
g.NavWindowingListWindow = FindWindowByName("###NavWindowingList");
... | pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq 0x2ae45e(%rip), %rax # 0x3261d0
movq %rax, -0x8(%rbp)
movq -0x8(%rbp), %rax
cmpq $0x0, 0x1ef8(%rax)
je 0x77d86
jmp 0x77da5
leaq 0x20d9c7(%rip), %rdi # 0x285754
leaq 0x2088d5(%rip), %rsi # 0x280669
movl $0x2601, %edx # imm = 0x2601
leaq 0x20d9d3(%rip), ... | /tuket[P]gltf_viewer/libs/imgui/imgui.cpp |
ImVector<ImGuiStorage::ImGuiStoragePair>::insert(ImGuiStorage::ImGuiStoragePair const*, ImGuiStorage::ImGuiStoragePair const&) | inline T* insert(const T* it, const T& v) { IM_ASSERT(it >= Data && it <= Data + Size); const ptrdiff_t off = it - Data; if (Size == Capacity) reserve(_grow_capacity(Size + 1)); if (off < (int)Size) memmove(Data + off + 1, Data + off, ((size_t)Size - (size_t)off) * sizeof(T)); memcpy(&Data[off], &v, sizeo... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdx
movq %rdx, -0x30(%rbp)
movq -0x10(%rbp), %rcx
xorl %eax, %eax
cmpq 0x8(%rdx), %rcx
movb %al, -0x21(%rbp)
jb 0x7822a
movq -0x30(%rbp), %rdx
movq -0x10(%rbp), %rax
movq 0x8(%rdx), %rcx
mov... | /tuket[P]gltf_viewer/libs/imgui/imgui.h |
ImRect::Add(ImRect const&) | void Add(const ImRect& r) { if (Min.x > r.Min.x) Min.x = r.Min.x; if (Min.y > r.Min.y) Min.y = r.Min.y; if (Max.x < r.Max.x) Max.x = r.Max.x; if (Max.y < r.Max.y) Max.y = r.Max.y; } | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movss (%rax), %xmm0
movq -0x10(%rbp), %rax
ucomiss (%rax), %xmm0
jbe 0x78831
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movss (%rcx), %xmm0
movss %xmm0, (%rax)
movq -0x18(%rbp), %rax
movss 0x4(%rax), ... | /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImDrawList::ImDrawList(ImDrawListSharedData const*) | ImDrawList(const ImDrawListSharedData* shared_data) { memset(this, 0, sizeof(*this)); _Data = shared_data; } | pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
movq %rdi, %rax
movq %rax, -0x38(%rbp)
callq 0x7d630
movq -0x30(%rbp), %rdi
addq $0x10, %rdi
movq %rdi, -0x28(%rbp)
callq 0x78080
jmp 0x78f57
movq -0x38(%rbp), %rdi
addq $0x20, %rdi
movq... | /tuket[P]gltf_viewer/libs/imgui/imgui.h |
ImGuiContext::ImGuiContext(ImFontAtlas*) | ImGuiContext(ImFontAtlas* shared_font_atlas)
{
Initialized = false;
FontAtlasOwnedByContext = shared_font_atlas ? false : true;
Font = NULL;
FontSize = FontBaseSize = 0.0f;
IO.Fonts = shared_font_atlas ? shared_font_atlas : IM_NEW(ImFontAtlas)();
Time = 0.0f;
... | pushq %rbp
movq %rsp, %rbp
subq $0x190, %rsp # imm = 0x190
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x68(%rbp)
addq $0x8, %rdi
movq %rdi, -0x70(%rbp)
callq 0x51070
movq -0x68(%rbp), %rdi
addq $0x1560, %rdi # imm = 0x1560
callq 0x50800
jmp 0x7977a
movq -0x68(%rb... | /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImGuiViewportP::ImGuiViewportP() | ImGuiViewportP() { DrawListsLastFrame[0] = DrawListsLastFrame[1] = -1; DrawLists[0] = DrawLists[1] = NULL; } | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
callq 0x7e630
movq -0x20(%rbp), %rdi
addq $0x40, %rdi
callq 0x7e690
movq -0x20(%rbp), %rdi
addq $0x70, %rdi
movq %rdi, -0x28(%rbp)
callq 0x7e6e0
movq -0x20(%rbp), %rdi
addq $0x90, %rdi
callq 0x78060
jmp 0x7b0f... | /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImRect::Add(ImVec2 const&) | void Add(const ImVec2& p) { if (Min.x > p.x) Min.x = p.x; if (Min.y > p.y) Min.y = p.y; if (Max.x < p.x) Max.x = p.x; if (Max.y < p.y) Max.y = p.y; } | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x18(%rbp)
movss (%rax), %xmm0
movq -0x10(%rbp), %rax
ucomiss (%rax), %xmm0
jbe 0x7d2f1
movq -0x18(%rbp), %rax
movq -0x10(%rbp), %rcx
movss (%rcx), %xmm0
movss %xmm0, (%rax)
movq -0x18(%rbp), %rax
movss 0x4(%rax), ... | /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImGuiInputTextState::ImGuiInputTextState() | ImGuiInputTextState() { memset(this, 0, sizeof(*this)); } | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x28(%rbp)
addq $0x10, %rdi
movq %rdi, -0x30(%rbp)
callq 0x78080
movq -0x28(%rbp), %rdi
addq $0x20, %rdi
movq %rdi, -0x20(%rbp)
callq 0x7de80
jmp 0x7de24
movq -0x28(%rbp), %rdi
addq $0x30, %rdi
callq 0x7de80
jmp 0x7de33
... | /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImChunkStream<ImGuiWindowSettings>::ImChunkStream() | struct IMGUI_API ImChunkStream
{
ImVector<char> Buf;
void clear() { Buf.clear(); }
bool empty() const { return Buf.Size == 0; }
int size() const { return Buf.Size; }
T* alloc_chunk(size_t sz) { size_t HDR_SZ = 4; sz = IM_MEMALIGN... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7de80
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImChunkStream<ImGuiTableSettings>::ImChunkStream() | struct IMGUI_API ImChunkStream
{
ImVector<char> Buf;
void clear() { Buf.clear(); }
bool empty() const { return Buf.Size == 0; }
int size() const { return Buf.Size; }
T* alloc_chunk(size_t sz) { size_t HDR_SZ = 4; sz = IM_MEMALIGN... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7de80
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImGuiMetricsConfig::ImGuiMetricsConfig() | ImGuiMetricsConfig()
{
ShowWindowsRects = false;
ShowWindowsBeginOrder = false;
ShowTablesRects = false;
ShowDrawCmdMesh = true;
ShowDrawCmdBoundingBoxes = true;
ShowWindowsRectsType = -1;
ShowTablesRectsType = -1;
} | pushq %rbp
movq %rsp, %rbp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movb $0x0, (%rax)
movb $0x0, 0x1(%rax)
movb $0x0, 0x2(%rax)
movb $0x1, 0x3(%rax)
movb $0x1, 0x4(%rax)
movl $0xffffffff, 0x8(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0xc(%rax) # imm = 0xFFFFFFFF
popq %rbp
retq
nop
| /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImChunkStream<ImGuiTableSettings>::~ImChunkStream() | struct IMGUI_API ImChunkStream
{
ImVector<char> Buf;
void clear() { Buf.clear(); }
bool empty() const { return Buf.Size == 0; }
int size() const { return Buf.Size; }
T* alloc_chunk(size_t sz) { size_t HDR_SZ = 4; sz = IM_MEMALIGN... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
callq 0x7e080
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax,%rax)
| /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImGuiInputTextState::~ImGuiInputTextState() | struct IMGUI_API ImGuiInputTextState
{
ImGuiID ID; // widget id owning the text state
int CurLenW, CurLenA; // we need to maintain our buffer length in both UTF-8 and wchar format. UTF-8 length is valid even if TextA is not.
ImVector<ImWchar> ... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
addq $0x30, %rdi
callq 0x7e080
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x7e080
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0x780b0
addq $0x10, %rsp
popq %rbp
retq
nopl (%rax)
| /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImGuiViewportP::~ImGuiViewportP() | ~ImGuiViewportP() { if (DrawLists[0]) IM_DELETE(DrawLists[0]); if (DrawLists[1]) IM_DELETE(DrawLists[1]); } | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x10(%rbp)
cmpq $0x0, 0x30(%rax)
je 0x8038c
movq -0x10(%rbp), %rax
movq 0x30(%rax), %rdi
callq 0x803d0
jmp 0x8038a
jmp 0x8038c
movq -0x10(%rbp), %rax
cmpq $0x0, 0x38(%rax)
je 0x803a8
movq -0x10(%rbp), %rax
movq 0x38(%rax... | /tuket[P]gltf_viewer/libs/imgui/imgui_internal.h |
ImGui::StyleColorsDark(ImGuiStyle*) | void ImGui::StyleColorsDark(ImGuiStyle* dst)
{
ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
ImVec4* colors = style->Colors;
colors[ImGuiCol_Text] = ImVec4(1.00f, 1.00f, 1.00f, 1.00f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.50f, 0.50f, 0.50f, 1.00f);
colors[ImGui... | pushq %rbp
movq %rsp, %rbp
subq $0x3a0, %rsp # imm = 0x3A0
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x80953
movq -0x8(%rbp), %rax
movq %rax, -0x350(%rbp)
jmp 0x8095f
callq 0x55780
movq %rax, -0x350(%rbp)
movq -0x350(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0xc4, %rax
movq %rax, -... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImGui::StyleColorsClassic(ImGuiStyle*) | void ImGui::StyleColorsClassic(ImGuiStyle* dst)
{
ImGuiStyle* style = dst ? dst : &ImGui::GetStyle();
ImVec4* colors = style->Colors;
colors[ImGuiCol_Text] = ImVec4(0.90f, 0.90f, 0.90f, 1.00f);
colors[ImGuiCol_TextDisabled] = ImVec4(0.60f, 0.60f, 0.60f, 1.00f);
colors[Im... | pushq %rbp
movq %rsp, %rbp
subq $0x3a0, %rsp # imm = 0x3A0
movq %rdi, -0x8(%rbp)
cmpq $0x0, -0x8(%rbp)
je 0x81713
movq -0x8(%rbp), %rax
movq %rax, -0x350(%rbp)
jmp 0x8171f
callq 0x55780
movq %rax, -0x350(%rbp)
movq -0x350(%rbp), %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
addq $0xc4, %rax
movq %rax, -... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawListSharedData::ImDrawListSharedData() | ImDrawListSharedData::ImDrawListSharedData()
{
memset(this, 0, sizeof(*this));
for (int i = 0; i < IM_ARRAYSIZE(ArcFastVtx); i++)
{
const float a = ((float)i * 2 * IM_PI) / (float)IM_ARRAYSIZE(ArcFastVtx);
ArcFastVtx[i] = ImVec2(ImCos(a), ImSin(a));
}
ArcFastRadiusCutoff = IM_DRAWLIS... | pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x30(%rbp)
callq 0x78060
movq -0x30(%rbp), %rdi
addq $0x1c, %rdi
callq 0x224a0
movq -0x30(%rbp), %rax
addq $0x30, %rax
movq %rax, %rcx
addq $0x180, %rcx # imm = 0x180
movq %rcx, -0x28(%rbp)
movq %rax, -0x20(%r... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawListSharedData::SetCircleTessellationMaxError(float) | void ImDrawListSharedData::SetCircleTessellationMaxError(float max_error)
{
if (CircleSegmentMaxError == max_error)
return;
IM_ASSERT(max_error > 0.0f);
CircleSegmentMaxError = max_error;
for (int i = 0; i < IM_ARRAYSIZE(CircleSegmentCounts); i++)
{
const float radius = (float)i;
... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movss %xmm0, -0xc(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x20(%rbp)
movss 0x18(%rax), %xmm0
ucomiss -0xc(%rbp), %xmm0
jne 0x8327b
jp 0x8327b
jmp 0x833c3
movss -0xc(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x8328a
jmp 0x832a9
leaq 0x209cf... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawList::_ResetForNewFrame() | void ImDrawList::_ResetForNewFrame()
{
// Verify that the ImDrawCmd fields we want to memcmp() are contiguous in memory.
// (those should be IM_STATIC_ASSERT() in theory but with our pre C++11 setup the whole check doesn't compile with GCC)
IM_ASSERT(IM_OFFSETOF(ImDrawCmd, ClipRect) == 0);
IM_ASSERT(IM_... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x48(%rbp)
xorl %esi, %esi
callq 0x9bf10
movq -0x48(%rbp), %rdi
addq $0x10, %rdi
xorl %esi, %esi
callq 0x78150
movq -0x48(%rbp), %rdi
addq $0x20, %rdi
xorl %esi, %esi
callq 0x9bf60
movq -0x48(%rbp), %rdi
movq 0x38(%rdi),... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawList::_ClearFreeMemory() | void ImDrawList::_ClearFreeMemory()
{
CmdBuffer.clear();
IdxBuffer.clear();
VtxBuffer.clear();
Flags = ImDrawListFlags_None;
_VtxCurrentIdx = 0;
_VtxWritePtr = NULL;
_IdxWritePtr = NULL;
_ClipRectStack.clear();
_TextureIdStack.clear();
_Path.clear();
_Splitter.ClearFreeMemory... | pushq %rbp
movq %rsp, %rbp
subq $0x10, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x10(%rbp)
callq 0x9c160
movq -0x10(%rbp), %rdi
addq $0x10, %rdi
callq 0x7e8d0
movq -0x10(%rbp), %rdi
addq $0x20, %rdi
callq 0x9c1b0
movq -0x10(%rbp), %rdi
movl $0x0, 0x30(%rdi)
movl $0x0, 0x34(%rdi)
movq $0x0, 0x48(%rdi... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawList::CloneOutput() const | ImDrawList* ImDrawList::CloneOutput() const
{
ImDrawList* dst = IM_NEW(ImDrawList(_Data));
dst->CmdBuffer = CmdBuffer;
dst->IdxBuffer = IdxBuffer;
dst->VtxBuffer = VtxBuffer;
dst->Flags = Flags;
return dst;
} | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl $0xc8, %edi
movq %rdi, -0x48(%rbp)
callq 0x528e0
movq -0x48(%rbp), %rdi
movq %rax, %rsi
movq %rsi, %rax
movq %rax, -0x40(%rbp)
callq 0x79720
movq %rax, %rdi
movq -0x38(%rbp), %rax
movq %rdi, %rcx
movq %rc... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawList::AddDrawCmd() | void ImDrawList::AddDrawCmd()
{
ImDrawCmd draw_cmd;
draw_cmd.ClipRect = _CmdHeader.ClipRect; // Same as calling ImDrawCmd_HeaderCopy()
draw_cmd.TextureId = _CmdHeader.TextureId;
draw_cmd.VtxOffset = _CmdHeader.VtxOffset;
draw_cmd.IdxOffset = IdxBuffer.Size;
IM_ASSERT(draw_cmd.ClipRect.x <= d... | pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x50(%rbp)
leaq -0x40(%rbp), %rdi
callq 0x9c130
movq -0x50(%rbp), %rax
movq 0x88(%rax), %rcx
movq %rcx, -0x40(%rbp)
movq 0x90(%rax), %rcx
movq %rcx, -0x38(%rbp)
movq 0x98(%rax), %rcx
movq %rcx, -0x30(%rbp)
movl 0xa0(%rax... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawList::AddCallback(void (*)(ImDrawList const*, ImDrawCmd const*), void*) | void ImDrawList::AddCallback(ImDrawCallback callback, void* callback_data)
{
ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1];
IM_ASSERT(curr_cmd->UserCallback == NULL);
if (curr_cmd->ElemCount != 0)
{
AddDrawCmd();
curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1];
}
curr_... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x28(%rbp)
movq 0x8(%rcx), %rax
movl (%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
imulq $0x38, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
cmpq... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
ImDrawList::_OnChangedClipRect() | void ImDrawList::_OnChangedClipRect()
{
// If current command is used with different settings we need to add a new command
ImDrawCmd* curr_cmd = &CmdBuffer.Data[CmdBuffer.Size - 1];
if (curr_cmd->ElemCount != 0 && memcmp(&curr_cmd->ClipRect, &_CmdHeader.ClipRect, sizeof(ImVec4)) != 0)
{
AddDrawC... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x20(%rbp)
movq 0x8(%rcx), %rax
movl (%rcx), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
imulq $0x38, %rcx, %rcx
addq %rcx, %rax
movq %rax, -0x10(%rbp)
movq -0x10(%rbp), %rax
cmpl $0x0, 0x20(%rax)
je 0x83990
movq -0x20(%rbp),... | /tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.