name string | code string | asm string | file string |
|---|---|---|---|
ImGui::TableUpdateLayout(ImGuiTable*) | void ImGui::TableUpdateLayout(ImGuiTable* table)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(table->IsLayoutLocked == false);
table->HoveredColumnBody = -1;
table->HoveredColumnBorder = -1;
// Compute offset, clip rect for the frame
// (can't make auto padding larger than what WorkRect knows abo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x88, %rsp
movq %rdi, %rbx
leaq 0xfe7d3(%rip), %r14 # 0x1ee7b0
movq (%r14), %rax
movq %rax, 0x48(%rsp)
cmpb $0x0, 0x1d2(%rdi)
je 0xf0016
leaq 0x95973(%rip), %rdi # 0x185968
leaq 0x96c46(%rip), %rdx # 0x186c42
leaq 0x94586(%rip), %rcx ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
TableFixColumnFlags(ImGuiTable*, int) | static ImGuiTableColumnFlags TableFixColumnFlags(ImGuiTable* table, ImGuiTableColumnFlags flags)
{
// Sizing Policy
if ((flags & ImGuiTableColumnFlags_WidthMask_) == 0)
{
// FIXME-TABLE: Inconsistent to promote columns to WidthAlwaysAutoResize
if (table->Flags & ImGuiTableFlags_SizingPolicyF... | pushq %rbx
movl %esi, %ebx
testb $0x1c, %bl
jne 0xf0be4
movl 0x4(%rdi), %eax
testw %ax, %ax
js 0xf0bcd
orl $0x8, %ebx
jmp 0xf0be4
testb $0x1, %al
movl $0x4, %eax
movl $0x10, %ecx
cmovel %ecx, %eax
testb $0x20, %bl
cmovnel %ecx, %eax
orl %eax, %ebx
movl %ebx, %eax
andl $0x1c, %eax
leal -0x1(%rax), %ecx
xorl %ecx, %eax
c... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableUpdateBorders(ImGuiTable*) | void ImGui::TableUpdateBorders(ImGuiTable* table)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(table->Flags & ImGuiTableFlags_Resizable);
// At this point OuterRect height may be zero or under actual final height, so we rely on temporal coherency and
// use the final height from last frame. Because this i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rdi, %rbx
leaq 0xfdb2a(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq %rax, 0x18(%rsp)
testb $0x1, 0x4(%rdi)
jne 0xf0cbc
leaq 0x94ccd(%rip), %rdi # 0x185968
leaq 0x96012(%rip), %rdx # 0x186cb4
leaq 0x938e0(%rip), %rcx ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableSortSpecsBuild(ImGuiTable*) | void ImGui::TableSortSpecsBuild(ImGuiTable* table)
{
IM_ASSERT(table->IsSortSpecsDirty);
TableSortSpecsSanitize(table);
// Write output
table->SortSpecsData.resize(table->SortSpecsCount);
table->SortSpecs.ColumnsMask = 0x00;
for (int column_n = 0; column_n < table->ColumnsCount; column_n++)
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
cmpb $0x0, 0x1d5(%rdi)
jne 0xf11be
leaq 0x947cb(%rip), %rdi # 0x185968
leaq 0x96216(%rip), %rdx # 0x1873ba
leaq 0x933de(%rip), %rcx # 0x184589
leaq 0x9621c(%rip), %r8 # 0x1873ce
movl $0x2811, %esi # i... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableEndRow(ImGuiTable*) | void ImGui::TableEndRow(ImGuiTable* table)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
IM_ASSERT(window == table->InnerWindow);
IM_ASSERT(table->IsInsideRow);
TableEndCell(table);
// Position cursor at the bottom of our row so it can be used for e.g. clipping calcula... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdi, %rbx
leaq 0xfcc1f(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq 0x1ae0(%rax), %r13
cmpq 0x168(%rdi), %r13
je 0xf1bcc
leaq 0x93dbd(%rip), %rdi # 0x185968
leaq 0x95575(%rip), %rdx # 0x187127
leaq 0x929d0(%rip), %rcx ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableReorderDrawChannelsForMerge(ImGuiTable*) | void ImGui::TableReorderDrawChannelsForMerge(ImGuiTable* table)
{
ImGuiContext& g = *GImGui;
ImDrawListSplitter* splitter = &table->DrawSplitter;
const bool is_frozen_v = (table->FreezeRowsCount > 0);
const bool is_frozen_h = (table->FreezeColumnsCount > 0);
// Track which groups we are going to... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x158, %rsp # imm = 0x158
movq %rdi, %rbx
leaq 0xfc053(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq %rax, 0x10(%rsp)
movb 0x1ce(%rdi), %r15b
movb 0x1d0(%rdi), %al
movb %al, 0x60(%rsp)
xorl %eax, %eax
xorps %xmm0, %xmm0
movups %xmm0,... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableBeginCell(ImGuiTable*, int) | void ImGui::TableBeginCell(ImGuiTable* table, int column_n)
{
table->CurrentColumn = column_n;
ImGuiTableColumn* column = &table->Columns[column_n];
ImGuiWindow* window = table->InnerWindow;
// Start position is roughly ~~ CellRect.Min + CellPadding + Indent
float start_x = (table->RowFlags & Im... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl %esi, 0x74(%rdi)
movslq %esi, %rax
imulq $0x68, %rax, %r14
addq 0x18(%rdi), %r14
cmpq 0x20(%rdi), %r14
jb 0xf368f
leaq 0x918ea(%rip), %rdi # 0x184f58
leaq 0x91e34(%rip), %rdx # 0x1854a9
leaq 0x90f0d(%rip), %rcx # 0x184589
leaq 0x9433f(%rip), %r8 # 0... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableSetBgColor(int, unsigned int, int) | void ImGui::TableSetBgColor(ImGuiTableBgTarget bg_target, ImU32 color, int column_n)
{
ImGuiContext& g = *GImGui;
ImGuiTable* table = g.CurrentTable;
IM_ASSERT(bg_target != ImGuiTableBgTarget_None);
if (color == IM_COL32_DISABLE)
color = 0;
// We cannot draw neither the cell or row backgro... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %edx, %ebx
movl %esi, %ebp
movl %edi, %r14d
leaq 0xfafb2(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq 0x20a0(%rax), %r15
testl %edi, %edi
jne 0xf3834
leaq 0x92155(%rip), %rdi # 0x185968
leaq 0x93ac3(%rip), %rdx # 0x1872dd
leaq 0x90d68(%rip), %rcx ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableGetColumnName(int) | const char* ImGui::TableGetColumnName(int column_n)
{
ImGuiContext& g = *GImGui;
ImGuiTable* table = g.CurrentTable;
if (!table)
return NULL;
if (column_n < 0)
column_n = table->CurrentColumn;
return TableGetColumnName(table, column_n);
} | movl %edi, %esi
leaq 0xfad10(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq 0x20a0(%rax), %rdi
testq %rdi, %rdi
je 0xf3abf
testl %esi, %esi
jns 0xf3ac2
movl 0x74(%rdi), %esi
jmp 0xf3ac2
xorl %eax, %eax
retq
| /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableGetColumnIsVisible(int) | bool ImGui::TableGetColumnIsVisible(int column_n)
{
ImGuiContext& g = *GImGui;
ImGuiTable* table = g.CurrentTable;
if (!table)
return false;
if (column_n < 0)
column_n = table->CurrentColumn;
return (table->VisibleUnclippedMaskByIndex & ((ImU64)1 << column_n)) != 0;
} | leaq 0xfac5a(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq 0x20a0(%rax), %rax
testq %rax, %rax
je 0xf3b78
testl %edi, %edi
jns 0xf3b6c
movl 0x74(%rax), %edi
movq 0x58(%rax), %rax
btq %rdi, %rax
setb %al
retq
xorl %eax, %eax
retq
| /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableGetColumnIsSorted(int) | bool ImGui::TableGetColumnIsSorted(int column_n)
{
ImGuiContext& g = *GImGui;
ImGuiTable* table = g.CurrentTable;
if (!table)
return false;
if (column_n < 0)
column_n = table->CurrentColumn;
ImGuiTableColumn* column = &table->Columns[column_n];
return (column->SortOrder != -1);
} | leaq 0xf9f10(%rip), %rax # 0x1ee7b0
movq (%rax), %rax
movq 0x20a0(%rax), %rax
testq %rax, %rax
je 0xf48f9
testl %edi, %edi
jns 0xf48b6
movl 0x74(%rax), %edi
pushq %rbx
movslq %edi, %rcx
imulq $0x68, %rcx, %rbx
addq 0x18(%rax), %rbx
cmpq 0x20(%rax), %rbx
jb 0xf48f0
leaq 0x90689(%rip), %rdi # 0x184f58
leaq 0x90bd... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGui::TableGetBoundSettings(ImGuiTable*) | ImGuiTableSettings* ImGui::TableGetBoundSettings(ImGuiTable* table)
{
if (table->SettingsOffset != -1)
{
ImGuiContext& g = *GImGui;
ImGuiTableSettings* settings = g.SettingsTables.ptr_from_offset(table->SettingsOffset);
IM_ASSERT(settings->ID == table->ID);
if (settings->ColumnsC... | pushq %r14
pushq %rbx
pushq %rax
movl 0x64(%rdi), %esi
cmpl $-0x1, %esi
je 0xf4e70
movq %rdi, %r14
leaq 0xf998f(%rip), %rax # 0x1ee7b0
movl $0x30f8, %edi # imm = 0x30F8
addq (%rax), %rdi
callq 0xfb29e
movq %rax, %rbx
movl (%rax), %eax
cmpl (%r14), %eax
je 0xf4e60
leaq 0x90b29(%rip), %rdi # 0x185968
le... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
TableSettingsHandler_ApplyAll(ImGuiContext*, ImGuiSettingsHandler*) | int GetSize() const { return Buf.Size; } | movl 0x20a8(%rdi), %eax
testl %eax, %eax
je 0xf540f
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl $0x1d9, %ebp # imm = 0x1D9
leaq 0x90107(%rip), %r15 # 0x1854a9
leaq 0x8f1e0(%rip), %r12 # 0x184589
leaq 0x90104(%rip), %r13 # 0x1854b4
xorl %r14d, ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
ImStb::STB_TEXTEDIT_DELETECHARS(ImGuiInputTextState*, int, int) | static void STB_TEXTEDIT_DELETECHARS(STB_TEXTEDIT_STRING* obj, int pos, int n)
{
ImWchar* dst = obj->TextW.Data + pos;
// We maintain our buffer length in both UTF-8 and wchar formats
obj->CurLenA -= ImTextCountUtf8BytesFromStr(dst, dst + n);
obj->CurLenW -= n;
// Offset remaining text (FIXME-OPT:... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r14
movslq %esi, %r15
addq %r15, %r15
movq 0x18(%rdi), %rbx
addq %r15, %rbx
movslq %edx, %r12
leaq (%rbx,%r12,2), %rsi
movq %rbx, %rdi
callq 0xfe441
subl %eax, 0x8(%r14)
subl %r12d, 0x4(%r14)
addq 0x18(%r14), %r15
leaq (%r15,%r12,2), %rax
movzwl (%rax),... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImStb::stb_textedit_move_to_last(ImGuiInputTextState*, ImStb::STB_TexteditState*) | static void stb_textedit_move_to_last(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
{
if (STB_TEXT_HAS_SELECTION(state)) {
stb_textedit_sortselection(state);
stb_textedit_clamp(str, state);
state->cursor = state->select_end;
state->select_start = state->select_end;
state->has_pref... | movl 0x4(%rsi), %eax
movl 0x8(%rsi), %ecx
cmpl %ecx, %eax
je 0xf59ea
pushq %rbx
movq %rsi, %rbx
jle 0xf59d5
movl %eax, 0x8(%rbx)
movl %ecx, 0x4(%rbx)
movq %rbx, %rsi
callq 0xf59eb
movl 0x8(%rbx), %eax
movl %eax, (%rbx)
movl %eax, 0x4(%rbx)
movb $0x0, 0xf(%rbx)
popq %rbx
retq
| /TwinFan[P]LiveTraffic/Lib/ImGui/imstb_textedit.h |
ImStb::stb_textedit_clamp(ImGuiInputTextState*, ImStb::STB_TexteditState*) | static int STB_TEXTEDIT_STRINGLEN(const STB_TEXTEDIT_STRING* obj) { return obj->CurLenW; } | movl 0x4(%rdi), %eax
movl 0x4(%rsi), %edx
movl 0x8(%rsi), %ecx
cmpl %ecx, %edx
je 0xf5a10
cmpl %eax, %edx
jle 0xf59ff
movl %eax, 0x4(%rsi)
cmpl %eax, %ecx
jle 0xf5a06
movl %eax, 0x8(%rsi)
movl 0x4(%rsi), %ecx
cmpl 0x8(%rsi), %ecx
jne 0xf5a10
movl %ecx, (%rsi)
cmpl %eax, (%rsi)
jle 0xf5a16
movl %eax, (%rsi)
retq
| /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImStb::is_word_boundary_from_right(ImGuiInputTextState*, int) | static int is_word_boundary_from_right(STB_TEXTEDIT_STRING* obj, int idx) { return idx > 0 ? (is_separator(obj->TextW[idx - 1]) && !is_separator(obj->TextW[idx]) ) : 1; } | testl %esi, %esi
jle 0xf5efd
pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
cmpl %esi, 0x10(%rdi)
jge 0xf5e9e
leaq 0x8eefe(%rip), %rdi # 0x184d7b
leaq 0x8f625(%rip), %rdx # 0x1854a9
leaq 0x8e6fe(%rip), %rcx # 0x184589
leaq 0x8f622(%rip), %r8 # 0x1854b4
movl $0x604, %esi # i... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImStb::stb_text_locate_coord(ImGuiInputTextState*, float, float) | static int stb_text_locate_coord(STB_TEXTEDIT_STRING *str, float x, float y)
{
StbTexteditRow r;
int n = STB_TEXTEDIT_STRINGLEN(str);
float base_y = 0, prev_x;
int i=0, k;
r.x0 = r.x1 = 0;
r.ymin = r.ymax = 0;
r.num_chars = 0;
// search rows to find one that straddles 'y'
while (i < n) {
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movaps %xmm0, %xmm3
movq %rdi, %rbx
movl 0x4(%rdi), %ebp
testl %ebp, %ebp
setg %r15b
jle 0xf5ffb
movss %xmm3, 0x4(%rsp)
xorps %xmm3, %xmm3
xorl %r14d, %r14d
movss %xmm1, 0xc(%rsp)
movss %xmm3, 0x8(%rsp)
movq 0x18(%rbx), %rax
movq $0x0, 0... | /TwinFan[P]LiveTraffic/Lib/ImGui/imstb_textedit.h |
bool ImGui::SliderBehaviorT<long long, long long, double>(ImRect const&, unsigned int, int, long long*, long long, long long, char const*, float, int, ImRect*) | bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, TYPE* v, const TYPE v_min, const TYPE v_max, const char* format, float power, ImGuiSliderFlags flags, ImRect* out_grab_bb)
{
ImGuiContext& g = *GImGui;
const ImGuiStyle& style = g.Style;
const ImGuiAxis axis = (flags & ImGui... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, 0x68(%rsp)
movl %edx, %ebp
movl %esi, %r13d
movl 0xd8(%rsp), %r12d
andl $0x1, %r12d
movl %edx, 0x3c(%rsp)
andl $-0x2, %ebp
cmpl $0x8, %ebp
sete %al
movss %xmm0, 0x14(%rsp)
ucomiss 0x50467(%rip), %xmm0 # 0x149000
setp %cl
se... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
bool ImGui::SliderBehaviorT<double, double, double>(ImRect const&, unsigned int, int, double*, double, double, char const*, float, int, ImRect*) | bool ImGui::SliderBehaviorT(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, TYPE* v, const TYPE v_min, const TYPE v_max, const char* format, float power, ImGuiSliderFlags flags, ImRect* out_grab_bb)
{
ImGuiContext& g = *GImGui;
const ImGuiStyle& style = g.Style;
const ImGuiAxis axis = (flags & ImGui... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %r9d, %r14d
movq %r8, 0x88(%rsp)
movapd %xmm1, %xmm5
movapd %xmm0, %xmm6
movq %rcx, 0x68(%rsp)
movl %edx, %ebp
movl %esi, %r13d
andl $0x1, %r14d
movl %edx, 0x1c(%rsp)
andl $-0x2, %ebp
cmpl $0x8, %ebp
sete %al
movss %xmm2, 0x14(%rsp)... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImGuiColumns::ImGuiColumns() | ImGuiColumns() { Clear(); } | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %r14
leaq 0x60(%rdi), %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x78(%rdi)
movups %xmm0, 0x2c(%rdi)
movups %xmm0, 0x3c(%rdi)
movups %xmm0, 0x4c(%rdi)
movups %xmm0, 0x60(%rdi)
movabsq $0x100000000, %rax # imm = 0x100000000
movq %rax, 0x70(%rdi)
callq 0xfb454
popq %rbx
popq %r... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
ImChunkStream<ImGuiTableSettings>::alloc_chunk(unsigned long) | T* alloc_chunk(size_t sz) { size_t HDR_SZ = 4; sz = ((HDR_SZ + sz) + 3u) & ~3u; int off = Buf.Size; Buf.resize(off + (int)sz); ((int*)(void*)(Buf.Data + off))[0] = (int)sz; return (T*)(void*)(Buf.Data + off + (int)HDR_SZ); } | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
movslq (%rdi), %r12
addl $0x7, %ebx
andl $-0x4, %ebx
leal (%r12,%rbx), %ebp
movl 0x4(%rdi), %eax
cmpl %ebp, %eax
jge 0xfb1cb
testl %eax, %eax
je 0xfb189
movl %eax, %r13d
shrl $0x1f, %r13d
addl %eax, %r13d
sarl %... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
int ImGui::RoundScalarWithFormatT<int, int>(char const*, int, int) | TYPE ImGui::RoundScalarWithFormatT(const char* format, ImGuiDataType data_type, TYPE v)
{
const char* fmt_start = ImParseFormatFindStart(format);
if (fmt_start[0] != '%' || fmt_start[1] == '%') // Don't apply if the value is not visible in the format string
return v;
char v_str[64];
ImFormatStri... | pushq %rbx
subq $0x50, %rsp
movl %edx, %eax
movl %esi, %ebx
movq %rdi, %rdx
movl %eax, 0xc(%rsp)
movb (%rdx), %dil
testb %dil, %dil
je 0xfb560
cmpb $0x25, %dil
jne 0xfb54c
movl $0x1, %esi
cmpb $0x25, 0x1(%rdx)
jne 0xfb567
xorl %esi, %esi
cmpb $0x25, %dil
sete %sil
addq %rsi, %rdx
incq %rdx
xorl %esi, %esi
jmp 0xfb56a
m... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
float ImGui::SliderCalcRatioFromValueT<double, double>(int, double, double, double, float, float) | float ImGui::SliderCalcRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, float power, float linear_zero_pos)
{
if (v_min == v_max)
return 0.0f;
const bool is_power = (power != 1.0f) && (data_type == ImGuiDataType_Float || data_type == ImGuiDataType_Double);
const TYPE v_clamp... | pushq %rax
xorps %xmm5, %xmm5
ucomisd %xmm2, %xmm1
jne 0xfbe71
jnp 0xfbf12
andl $-0x2, %edi
movapd %xmm1, %xmm6
minsd %xmm2, %xmm6
movapd %xmm2, %xmm5
maxsd %xmm1, %xmm5
minsd %xmm0, %xmm5
cmpltsd %xmm6, %xmm0
andpd %xmm0, %xmm6
andnpd %xmm5, %xmm0
orpd %xmm6, %xmm0
cmpl $0x8, %edi
jne 0xfbeff
ucomiss 0x4d15b(%rip), %x... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_widgets.cpp |
ImPool<ImGuiTable>::Add() | T* Add() { int idx = FreeIdx; if (idx == Buf.Size) { Buf.resize(Buf.Size + 1); FreeIdx++; } else { FreeIdx = *(int*)&Buf[idx]; } IM_PLACEMENT_NEW(&Buf[idx]) T(); return &Buf[idx]; } | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rdi, %rbx
movslq 0x20(%rdi), %r15
movl (%rdi), %ecx
cmpl %ecx, %r15d
jne 0xfc122
leal 0x1(%rcx), %ebp
movl 0x4(%rbx), %eax
cmpl %ecx, %eax
jg 0xfc1af
testl %eax, %eax
je 0xfc15f
movl %eax, %r12d
shrl $0x1f, %r12d
addl %eax, %r12d
sarl %r12d
addl %eax, %r12d
j... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
SetClipboardTextFn_DefaultImpl(void*, char const*) | static void SetClipboardTextFn_DefaultImpl(void*, const char* text)
{
ImGuiContext& g = *GImGui;
g.ClipboardHandlerData.clear();
const char* text_end = text + strlen(text);
g.ClipboardHandlerData.resize((int)(text_end - text) + 1);
memcpy(&g.ClipboardHandlerData[0], text, (size_t)(text_end - text));... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq 0xf1f4f(%rip), %r12 # 0x1ee7b0
movq 0x3098(%r12), %rdi
testq %rdi, %rdi
je 0xfc8a0
movq $0x0, 0x3090(%r12)
testq %r12, %r12
je 0xfc887
decl 0x3bc(%r12)
movq 0xf1f32(%rip), %rsi # 0x1ee7c0
callq *0xe60ac(%rip) ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGuiIO::AddInputCharacterUTF16(unsigned short) | void ImGuiIO::AddInputCharacterUTF16(ImWchar16 c)
{
if (c == 0 && InputQueueSurrogate == 0)
return;
if ((c & 0xFC00) == 0xD800) // High surrogate, must save
{
if (InputQueueSurrogate != 0)
InputQueueCharacters.push_back(IM_UNICODE_CODEPOINT_INVALID);
InputQueueSurrogate ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movzwl 0x154c(%rdi), %eax
movl %ebp, %ecx
orw %ax, %cx
je 0xfcde9
movq %rdi, %rbx
movl %ebp, %ecx
andl $0xfc00, %ecx # imm = 0xFC00
cmpl $0xd800, %ecx # imm = 0xD800
jne 0xfcb5d
testw %ax, %ax
je 0xfcc54
movl 0x1550(%rbx), %r15d
... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImStrdup(char const*) | char* ImStrdup(const char* str)
{
size_t len = strlen(str);
void* buf = IM_ALLOC(len + 1);
return (char*)memcpy(buf, (const void*)str, len + 1);
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
callq 0x145e0
movq %rax, %r14
movq 0xf0b97(%rip), %rax # 0x1ee7b0
testq %rax, %rax
je 0xfdc24
incl 0x3bc(%rax)
incq %r14
movq 0xf0b92(%rip), %rsi # 0x1ee7c0
movq %r14, %rdi
callq *0xe4d01(%rip) # 0x1e2938
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
a... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImFileOpen(char const*, char const*) | ImFileHandle ImFileOpen(const char* filename, const char* mode)
{
#if defined(_WIN32) && !defined(IMGUI_DISABLE_WIN32_FUNCTIONS) && !defined(__CYGWIN__) && !defined(__GNUC__)
// We need a fopen() wrapper because MSVC/Windows fopen doesn't handle UTF-8 filenames.
// Previously we used ImTextCountCharsFromUtf8/Im... | jmp 0x150a0
| /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImTextCountUtf8BytesFromStr(unsigned short const*, unsigned short const*) | int ImTextCountUtf8BytesFromStr(const ImWchar* in_text, const ImWchar* in_text_end)
{
int bytes_count = 0;
while ((!in_text_end || in_text < in_text_end) && *in_text)
{
unsigned int c = (unsigned int)(*in_text++);
if (c < 0x80)
bytes_count++;
else
bytes_count ... | testq %rsi, %rsi
setne %cl
cmpq %rsi, %rdi
setae %dl
xorl %eax, %eax
testb %dl, %cl
jne 0xfe49f
addq $0x2, %rdi
xorl %eax, %eax
movl $0x1, %ecx
movzwl -0x2(%rdi), %edx
testw %dx, %dx
je 0xfe49f
testq %rsi, %rsi
sete %r8b
movzwl %dx, %edx
cmpl $0x800, %edx # imm = 0x800
movl $0x3, %r9d
sbbl $0x0, %r9d
cmpl $0... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImAlphaBlendColors(unsigned int, unsigned int) | IMGUI_API ImU32 ImAlphaBlendColors(ImU32 col_a, ImU32 col_b)
{
float t = ((col_b >> IM_COL32_A_SHIFT) & 0xFF) / 255.f;
int r = ImLerp((int)(col_a >> IM_COL32_R_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_R_SHIFT) & 0xFF, t);
int g = ImLerp((int)(col_a >> IM_COL32_G_SHIFT) & 0xFF, (int)(col_b >> IM_COL32_G_SHIFT)... | movl %esi, %eax
shrl $0x18, %eax
cvtsi2ss %eax, %xmm0
movl $0xff, %eax
movl %edi, %ecx
andl %eax, %ecx
movl %esi, %edx
andl %eax, %edx
cvtsi2ss %ecx, %xmm1
subl %ecx, %edx
cvtsi2ss %edx, %xmm2
divss 0x4b698(%rip), %xmm0 # 0x149b60
mulss %xmm0, %xmm2
addss %xmm1, %xmm2
cvttss2si %xmm2, %ecx
movl %edi, %edx
shrl $0x8,... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::ColorConvertRGBtoHSV(float, float, float, float&, float&, float&) | void ImGui::ColorConvertRGBtoHSV(float r, float g, float b, float& out_h, float& out_s, float& out_v)
{
float K = 0.f;
if (g < b)
{
ImSwap(g, b);
K = -1.f;
}
if (r < g)
{
ImSwap(r, g);
K = -2.f / 6.f - K;
}
const float chroma = r - (g < b ? g : b);
ou... | movaps %xmm2, %xmm3
maxss %xmm1, %xmm3
movaps %xmm1, %xmm4
minss %xmm2, %xmm4
cmpltss %xmm2, %xmm1
movss 0x4a9c4(%rip), %xmm2 # 0x149004
andps %xmm1, %xmm2
movss 0x89695(%rip), %xmm5 # 0x187ce0
subss %xmm2, %xmm5
movaps %xmm3, %xmm1
maxss %xmm0, %xmm1
movaps %xmm0, %xmm6
minss %xmm3, %xmm6
cmpltss %xmm3, %xmm0
mo... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGuiStorage::GetInt(unsigned int, int) const | int ImGuiStorage::GetInt(ImGuiID key, int default_val) const
{
ImGuiStoragePair* it = LowerBound(const_cast<ImVector<ImGuiStoragePair>&>(Data), key);
if (it == Data.end() || it->key != key)
return default_val;
return it->val_i;
} | movl %edx, %eax
movq 0x8(%rdi), %rdx
movslq (%rdi), %rdi
movq %rdx, %rcx
testq %rdi, %rdi
je 0xfe855
movq %rdx, %rcx
movq %rdi, %r9
movq %rdi, %r8
shrq %r8
movq %r8, %r10
shlq $0x4, %r10
cmpl %esi, (%rcx,%r10)
jae 0xfe84d
notq %r8
addq %r9, %r8
addq %r10, %rcx
addq $0x10, %rcx
movq %r8, %r9
testq %r8, %r8
jne 0xfe830
s... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGuiStorage::GetFloatRef(unsigned int, float) | float* ImGuiStorage::GetFloatRef(ImGuiID key, float default_val)
{
ImGuiStoragePair* it = LowerBound(Data, key);
if (it == Data.end() || it->key != key)
it = Data.insert(it, ImGuiStoragePair(key, default_val));
return &it->val_f;
} | subq $0x18, %rsp
movq 0x8(%rdi), %rcx
movslq (%rdi), %rdx
movq %rcx, %rax
testq %rdx, %rdx
je 0xfe9d9
movq %rcx, %rax
movq %rdx, %r9
movq %rdx, %r8
shrq %r8
movq %r8, %r10
shlq $0x4, %r10
cmpl %esi, (%rax,%r10)
jae 0xfe9d1
notq %r8
addq %r9, %r8
addq %r10, %rax
addq $0x10, %rax
movq %r8, %r9
testq %r8, %r8
jne 0xfe9b4
... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGuiTextFilter::PassFilter(char const*, char const*) const | bool ImGuiTextFilter::PassFilter(const char* text, const char* text_end) const
{
if (Filters.empty())
return true;
if (text == NULL)
text = "";
for (int i = 0; i != Filters.Size; i++)
{
const ImGuiTextRange& f = Filters[i];
if (f.empty())
continue;
i... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, (%rsp)
cmpl $0x0, 0x100(%rdi)
je 0xff21a
movq %rdi, %rbx
testq %rsi, %rsi
leaq 0x51fc4(%rip), %r15 # 0x151115
cmovneq %rsi, %r15
movl 0x100(%rdi), %eax
testl %eax, %eax
sete %r12b
je 0xff21f
movl $0x8, %r13d
xorl %r14d, %r14d
cl... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGuiListClipper::Begin(int, float) | void ImGuiListClipper::Begin(int count, float items_height)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (ImGuiTable* table = g.CurrentTable)
if (table->IsInsideRow)
ImGui::TableEndRow(table);
StartPosY = window->DC.CursorPos.y;
ItemsHeight = items_hei... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq 0xeefde(%rip), %rax # 0x1ee7b0
movq 0x1ae0(%rax), %r14
movq 0x20a0(%rax), %rdi
testq %rdi, %rdi
je 0xff7ff
cmpb $0x1, 0x1d3(%rdi)
jne 0xff7ff
movss %xmm0, 0xc(%rsp)
callq 0xf1b79
movss 0xc(%rsp), %xmm0
movss 0xd4(%r14), %xmm1
mov... | /TwinFan[P]LiveTraffic/Lib/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 %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xa8(%rdi), %rdi
testq %rdi, %rdi
je 0x102adb
cmpb $0x1, 0x1(%rbx)
jne 0x102adb
movb $0x0, (%rdi)
callq 0x119521
movq $0x0, 0xa8(%rbx)
cmpb $0x1, (%rbx)
jne 0x103020
cmpb $0x1, 0x30c0(%rbx)
jne 0x102b1b
movq 0x20(%rbx), %rdi
testq %rdi, %rdi
je 0x102b1b
movq 0xebca8... | /TwinFan[P]LiveTraffic/Lib/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;
#ifdef IMGUI_ENABLE_TEST_ENGINE
ImGuiTestEngineHook_PreNewFrame(&g);
#endif
// Check and assert for various common IO and Configu... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
cmpq $0x0, 0xeaa52(%rip) # 0x1ee7b0
jne 0x103d88
leaq 0x847a5(%rip), %rdi # 0x18850c
leaq 0x84d6c(%rip), %rdx # 0x188ada
leaq 0x80814(%rip), %rcx # 0x184589
leaq 0x848ab(%rip), %r8 # 0x188627
movl $0xe75, %esi ... | /TwinFan[P]LiveTraffic/Lib/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 if (s... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r14
movq %rdx, %rbx
leaq 0x7fc00(%rip), %rsi # 0x18aebf
leaq 0x10(%rsp), %rdx
leaq 0xc(%rsp), %rcx
movq %r14, %rdi
xorl %eax, %eax
callq 0x14da0
cmpl $0x2, %eax
jne 0x10b2eb
movzwl 0x10(%rsp), %eax
movl 0xc(%rsp), %ecx
shll $0x10, %ecx
orl %eax, %ecx
movl %ecx, 0x4... | /TwinFan[P]LiveTraffic/Lib/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()?");
ErrorCheckEndFrameSanityChecks();
// Notif... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq 0xe2e37(%rip), %rbp # 0x1ee7b0
cmpb $0x0, (%rbp)
jne 0x10b9a7
leaq 0x7cb86(%rip), %rdi # 0x18850c
leaq 0x7f4b9(%rip), %rdx # 0x18ae46
leaq 0x78bf5(%rip), %rcx # 0x184589
leaq 0x7d210(%rip), %r8 # 0x188bab
movl $... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::GetWindowResizeID(ImGuiWindow*, int) | ImGuiID ImGui::GetWindowResizeID(ImGuiWindow* window, int n)
{
IM_ASSERT(n >= 0 && n <= 7);
ImGuiID id = window->ID;
id = ImHashStr("#RESIZE", 0, id);
id = ImHashData(&n, sizeof(int), id);
return id;
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movl %esi, 0xc(%rsp)
cmpl $0x8, %esi
jb 0x10e811
leaq 0x79d1c(%rip), %rdi # 0x18850c
leaq 0x7a673(%rip), %rdx # 0x188e6a
leaq 0x75d8b(%rip), %rcx # 0x184589
leaq 0x7a677(%rip), %r8 # 0x188e7c
movl $0x13c6, %esi # imm = 0x13C6
xorl %eax, %eax
callq 0... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::BringWindowToFocusFront(ImGuiWindow*) | void ImGui::BringWindowToFocusFront(ImGuiWindow* window)
{
ImGuiContext& g = *GImGui;
if (g.WindowsFocusOrder.back() == window)
return;
for (int i = g.WindowsFocusOrder.Size - 2; i >= 0; i--) // We can ignore the top-most window
if (g.WindowsFocusOrder[i] == window)
{
mem... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xdf7b0(%rip), %r15 # 0x1ee7b0
cmpl $0x0, 0x1a98(%r15)
jg 0x10f032
leaq 0x75d6a(%rip), %rdi # 0x184d7b
leaq 0x7652b(%rip), %rdx # 0x185543
leaq 0x7556a(%rip), %rcx # 0x184589
leaq 0x75a0b(%rip), %r8 # ... | /TwinFan[P]LiveTraffic/Lib/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
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0xdf2b6(%rip), %r15 # 0x1ee7b0
testq %rdi, %rdi
jne 0x10f547
movq 0xb8(%r15), %rbx
testq %rbx, %rbx
jne 0x10f547
movq 0xa8(%r15), %rbx
cmpl $0x0, 0x40(%rbx)
jg 0x10f540
leaq 0x7585c(%rip), %rdi # 0x184d7b
leaq 0x75f83(%rip), %rdx # ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::NavCalcPreferredRefPos() | static ImVec2 ImGui::NavCalcPreferredRefPos()
{
ImGuiContext& g = *GImGui;
if (g.NavDisableHighlight || !g.NavDisableMouseHover || !g.NavWindow)
{
// Mouse (we need a fallback in case the mouse becomes invalid after being used)
if (IsMousePosValid(&g.IO.MousePos))
return g.IO.Mou... | pushq %r14
pushq %rbx
pushq %rax
movq 0xdc393(%rip), %r14 # 0x1ee7b0
cmpb $0x0, 0x1cae(%r14)
jne 0x1124ba
cmpb $0x1, 0x1caf(%r14)
jne 0x1124ba
movq 0x1c58(%r14), %rax
testq %rax, %rax
je 0x1124ba
movl 0x1ca4(%r14), %ecx
shlq $0x4, %rcx
movss 0x15a0(%r14), %xmm0
mulss 0x657ff(%rip), %xmm0 # 0x177c60
movsd 0x3d0(%... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::CloseCurrentPopup() | void ImGui::CloseCurrentPopup()
{
ImGuiContext& g = *GImGui;
int popup_idx = g.BeginPopupStack.Size - 1;
if (popup_idx < 0 || popup_idx >= g.OpenPopupStack.Size || g.BeginPopupStack[popup_idx].PopupId != g.OpenPopupStack[popup_idx].PopupId)
return;
// Closing a menu closes its top-most parent p... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq 0xdc0ab(%rip), %r13 # 0x1ee7b0
movslq 0x1c48(%r13), %rax
testq %rax, %rax
jle 0x112864
cmpl 0x1c38(%r13), %eax
jg 0x112864
movq %rax, %rbp
decq %rbp
movq 0x1c50(%r13), %rcx
leaq (,%rbp,2), %rbx
addq %rbp, %rbx
shlq $0x4, %rbx
movl (%r... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::OpenPopupContextItem(char const*, int) | bool ImGui::OpenPopupContextItem(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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movq 0xdbc56(%rip), %r12 # 0x1ee7b0
movq 0x1ae0(%r12), %r15
movl %esi, %r13d
andl $0x1f, %r13d
cmpl $0x5, %r13d
jb 0x112b97
leaq 0x75996(%rip), %rdi # 0x18850c
leaq 0x761ec(%rip), %rdx # 0x188d69
lea... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.cpp |
ImGui::SetNavID(unsigned int, int, unsigned int) | void ImGui::SetNavID(ImGuiID id, int nav_layer, ImGuiID focus_scope_id)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(g.NavWindow);
IM_ASSERT(nav_layer == 0 || nav_layer == 1);
g.NavId = id;
g.NavFocusScopeId = focus_scope_id;
g.NavWindow->NavLastIds[nav_layer] = id;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %edx, %r14d
movl %esi, %ebp
movl %edi, %ebx
movq 0xdb641(%rip), %r15 # 0x1ee7b0
cmpq $0x0, 0x1c58(%r15)
jne 0x1131a1
leaq 0x7538c(%rip), %rdi # 0x18850c
leaq 0x7657a(%rip), %rdx # 0x189701
leaq 0x713fb(%rip), %rcx # 0x184589
leaq 0x765ff(%rip),... | /TwinFan[P]LiveTraffic/Lib/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
pushq %rbx
subq $0x68, %rsp
movaps %xmm1, 0x50(%rsp)
movaps %xmm0, 0x40(%rsp)
movl %esi, %ebx
movl %edi, %ebp
xorps %xmm2, %xmm2
testb $0x1, %bpl
je 0x1135d1
movl $0x12, %edi
movl %ebx, %esi
callq 0x11344d
movaps %xmm0, 0x20(%rsp)
movl $0x11, %edi
movl %ebx, %esi
callq 0x11344d
movaps %xmm0, 0x10(%rsp)
movl ... | /TwinFan[P]LiveTraffic/Lib/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;
if (g.HoveredWindow == NULL || window->RootWindow != g.HoveredWindow->RootWindow)
return false;
IM_ASSERT(id !... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq 0xdaa3e(%rip), %r15 # 0x1ee7b0
cmpb $0x1, 0x1ffc(%r15)
jne 0x113dfa
movq 0x1ae8(%r15), %rax
testq %rax, %rax
je 0x113dfa
movq 0x1ae0(%r15), %r12
movq 0x3a8(%r12), %rcx
cmpq 0x3a8(%rax), %rcx
jne 0x113dfa
movl %esi, %ebx
movq %rdi, %r14
testl %esi, %esi
jne... | /TwinFan[P]LiveTraffic/Lib/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, %ebp
movq %rdi, %r14
movq 0xda855(%rip), %rbx # 0x1ee7b0
movq 0x1ae0(%rbx), %r12
cmpb $0x0, 0x1ffc(%rbx)
jne 0x113f93
leaq 0x7459a(%rip), %rdi # 0x18850c
leaq 0x75a06(%rip), %rdx # 0x18997f
leaq 0x70609(%rip), %rcx... | /TwinFan[P]LiveTraffic/Lib/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
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
movq 0x8(%rdi), %rax
cmpq %rsi, %rax
ja 0x118714
movslq (%r14), %rcx
shlq $0x4, %rcx
addq %rcx, %rax
cmpq %rbx, %rax
jae 0x11873c
leaq 0x6c660(%rip), %rdi # 0x184d7b
leaq 0x30f25(%rip), %rdx ... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.h |
ImGuiStorage::Clear() | void Clear() { Data.clear(); } | pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x1195c7
movq $0x0, (%rbx)
movq 0xd5209(%rip), %rax # 0x1ee7b0
testq %rax, %rax
je 0x1195b2
decl 0x3bc(%rax)
movq 0xd5207(%rip), %rsi # 0x1ee7c0
callq *0xc9381(%rip) # 0x1e2940
movq $0x0, 0x8(%rbx)
popq %rbx
retq
nop
| /TwinFan[P]LiveTraffic/Lib/ImGui/imgui.h |
ImChunkStream<ImGuiWindowSettings>::clear() | void clear() { Buf.clear(); } | pushq %rbx
movq %rdi, %rbx
movq 0x8(%rdi), %rdi
testq %rdi, %rdi
je 0x119911
movq $0x0, (%rbx)
movq 0xd4ebf(%rip), %rax # 0x1ee7b0
testq %rax, %rax
je 0x1198fc
decl 0x3bc(%rax)
movq 0xd4ebd(%rip), %rsi # 0x1ee7c0
callq *0xc9037(%rip) # 0x1e2940
movq $0x0, 0x8(%rbx)
popq %rbx
retq
nop
| /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
ImDrawDataBuilder::Clear() | void Clear() { for (int n = 0; n < IM_ARRAYSIZE(Layers); n++) Layers[n].resize(0); } | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdi, %rbx
xorl %r15d, %r15d
xorl %r12d, %r12d
movl 0x4(%rbx,%r12), %eax
testl %eax, %eax
jns 0x1199ff
movl %eax, %r13d
shrl $0x1f, %r13d
addl %eax, %r13d
sarl %r13d
addl %eax, %r13d
testl %r13d, %r13d
cmovlel %r15d, %r13d
movq 0xd4e21(%rip), %rax # 0x1ee7... | /TwinFan[P]LiveTraffic/Lib/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 %rbx
movq %rdi, %rbx
movq 0x38(%rdi), %rdi
testq %rdi, %rdi
je 0x119d8a
movq 0xd4a3e(%rip), %rax # 0x1ee7b0
testq %rax, %rax
je 0x119d7d
decl 0x3bc(%rax)
movq 0xd4a3c(%rip), %rsi # 0x1ee7c0
callq *0xc8bb6(%rip) # 0x1e2940
movq 0x28(%rbx), %rdi
testq %rdi, %rdi
je 0x119db2
movq 0xd4a16(%rip), %rax... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
ImPool<ImGuiTable>::~ImPool() | ~ImPool() { Clear(); } | pushq %rbx
movq %rdi, %rbx
callq 0x119754
movq 0x18(%rbx), %rdi
testq %rdi, %rdi
je 0x119ee9
movq 0xd48df(%rip), %rax # 0x1ee7b0
testq %rax, %rax
je 0x119edc
decl 0x3bc(%rax)
movq 0xd48dd(%rip), %rsi # 0x1ee7c0
callq *0xc8a57(%rip) # 0x1e2940
movq 0x8(%rbx), %rdi
testq %rdi, %rdi
je 0x119f11
movq 0xd48... | /TwinFan[P]LiveTraffic/Lib/ImGui/imgui_internal.h |
ImGui::InputTextMultiline(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, ImVec2 const&, int, int (*)(ImGuiInputTextCallbackData*), void*) | bool ImGui::InputTextMultiline(const char* label, std::string* str, const ImVec2& size, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data)
{
IM_ASSERT((flags & ImGuiInputTextFlags_CallbackResize) == 0);
flags |= ImGuiInputTextFlags_CallbackResize;
InputTextCallback_UserData cb_use... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r12
movq %r8, %rbp
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r13
movq %rdi, %r15
btl $0x12, %ecx
jae 0x11aa0a
leaq 0x70dc7(%rip), %rdi # 0x18b7b0
leaq 0x70e5e(%rip), %rdx # 0x18b84e
leaq 0x69b92(%rip), %rcx # 0x1... | /TwinFan[P]LiveTraffic/Lib/ImGui/misc/cpp/imgui_stdlib.cpp |
ImGui::InputTextWithHint(char const*, char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, int, int (*)(ImGuiInputTextCallbackData*), void*) | bool ImGui::InputTextWithHint(const char* label, const char* hint, std::string* str, ImGuiInputTextFlags flags, ImGuiInputTextCallback callback, void* user_data)
{
IM_ASSERT((flags & ImGuiInputTextFlags_CallbackResize) == 0);
flags |= ImGuiInputTextFlags_CallbackResize;
InputTextCallback_UserData cb_user_d... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r9, %r13
movq %r8, %rbp
movl %ecx, %ebx
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
btl $0x12, %ecx
jae 0x11aab0
leaq 0x70d21(%rip), %rdi # 0x18b7b0
leaq 0x6b4ec(%rip), %rdx # 0x185f82
leaq 0x69aec(%rip), %rcx # 0x1... | /TwinFan[P]LiveTraffic/Lib/ImGui/misc/cpp/imgui_stdlib.cpp |
ImgWindow::translateToImguiSpace(int, int, float&, float&) | void
ImgWindow::translateToImguiSpace(int inX, int inY, float &outX, float &outY)
{
outX = static_cast<float>(inX - mLeft);
if (outX < 0.0f || outX > (float)(mRight - mLeft)) {
outX = -FLT_MAX;
outY = -FLT_MAX;
return;
}
outY = static_cast<float>(mTop-inY);
if (outY < 0.0f || outY > (float)(mTop - mBottom)) ... | movl 0xec(%rdi), %eax
subl %eax, %esi
cvtsi2ss %esi, %xmm0
movss %xmm0, (%rcx)
js 0x11ba23
movl 0xf0(%rdi), %esi
subl %eax, %esi
cvtsi2ss %esi, %xmm1
ucomiss %xmm1, %xmm0
ja 0x11ba23
movl 0xe4(%rdi), %eax
movl %eax, %esi
subl %edx, %esi
xorps %xmm0, %xmm0
cvtsi2ss %esi, %xmm0
movss %xmm0, (%r8)
js 0x11ba23
subl 0xe8(%r... | /TwinFan[P]LiveTraffic/Lib/ImgWindow/ImgWindow.cpp |
XPMP2::Aircraft::Aircraft(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, unsigned int, std::__cxx11::basic... | Aircraft::Aircraft(const std::string& _icaoType,
const std::string& _icaoAirline,
const std::string& _livery,
XPMPPlaneID _modeS_id,
const std::string& _cslId) :
drawInfo({sizeof(drawInfo), 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f}),
// create an app... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %r9, 0x18(%rsp)
movl %r8d, 0x24(%rsp)
movq %rcx, 0x58(%rsp)
movq %rdx, 0x50(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xbdbeb(%rip), %rax # 0x1e0108
movq %rax, (%rdi)
xorl %eax, %eax
movl %eax, 0x8(%rdi)
leaq 0x20(%rdi), %rcx
m... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Aircraft.cpp |
XPMP2::Aircraft::SetRender(bool) | void Aircraft::SetRender (bool _bRender)
{
// no change?
if (bRender == _bRender)
return;
// Set the flag
bRender = _bRender;
// In case rendering is _now_ switched off: Remove the instance (but leave AI as is!)
if (!bRender)
DestroyInstances();
} | cmpb %sil, 0x1f2(%rdi)
je 0x1242e3
movb %sil, 0x1f2(%rdi)
testb %sil, %sil
je 0x123022
retq
| /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Aircraft.cpp |
XPMP2::ContrailInit() | bool ContrailInit ()
{
static bool bFailedAlready = false;
// Don't do twice
if (ghContrailObj) return true;
if (bFailedAlready) return false;
// Register the dataRef for the contrail LifeTime
if (!ghDrContrailLifeTime) {
ghDrContrailLifeTime =
XPLMRegisterDataAccessor(... | pushq %r15
pushq %r14
pushq %rbx
subq $0x80, %rsp
movb $0x1, %bl
cmpq $0x0, 0xc8a68(%rip) # 0x1ef0b0
jne 0x1267d4
cmpb $0x0, 0xc8a6b(%rip) # 0x1ef0c0
je 0x12665e
xorl %ebx, %ebx
jmp 0x1267d4
cmpq $0x0, 0xc8a52(%rip) # 0x1ef0b8
jne 0x1266bc
xorl %eax, %eax
movq %rax, 0x50(%rsp)
xorps %xmm0, %xmm0
movups %xmm... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Contrail.cpp |
XPMP2::CSLObj::Unload() | void CSLObj::Unload ()
{
if (xpObj) {
XPLMUnloadObject(xpObj);
xpObj = NULL;
xpObjState = OLS_UNAVAIL;
LOG_MSG(logDEBUG, DEBUG_OBJ_UNLOADED, cslKey.c_str(), StripXPSysDir(path).c_str());
}
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rdi, %rbx
movq 0xa0(%rdi), %rdi
testq %rdi, %rdi
je 0x126d49
callq 0x14ae0
movq $0x0, 0xa0(%rbx)
movl $0x0, 0xa8(%rbx)
leaq 0xc873b(%rip), %rax # 0x1ef420
cmpl $0x0, (%rax)
jg 0x126d49
movq (%rbx), %r14
addq $0x20, %rbx
leaq 0x10(%rsp), %r15
movq %r15, %rdi
mo... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/CSLModels.cpp |
XPMP2::CSLModel::Unload() | void CSLModel::Unload ()
{
for (CSLObj& o: listObj)
o.Unload();
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq 0x88(%rdi), %r14
addq $0x88, %rbx
cmpq %rbx, %r14
je 0x127da6
leaq 0x10(%r14), %rdi
callq 0x126ca8
movq (%r14), %r14
jmp 0x127d93
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /TwinFan[P]LiveTraffic/Lib/XPMP2/src/CSLModels.cpp |
XPMP2::CSLModel::DecRefCnt() | void CSLModel::DecRefCnt ()
{
if (refCnt>0) {
if (--refCnt == 0) {
// reached zero...remember when for later garbage collection
refZeroTs = GetMiscNetwTime();
}
} else {
LOG_MSG(logWARN, WARN_REF_CNT_ZERO, cslId.c_str());
}
} | pushq %rbx
movq %rdi, %rbx
movl 0xfc(%rdi), %eax
testl %eax, %eax
je 0x128337
decl %eax
movl %eax, 0xfc(%rbx)
jne 0x12836e
callq 0x1413a8
movss %xmm0, 0x100(%rbx)
jmp 0x12836e
leaq 0xc70e2(%rip), %rax # 0x1ef420
cmpl $0x2, (%rax)
jg 0x12836e
movq 0x28(%rbx), %r9
leaq 0x6816d(%rip), %rdi # 0x1904bb
leaq 0x684a2(... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/CSLModels.cpp |
std::_Rb_tree_iterator<std::pair<unsigned long const, std::pair<XPMP2::CSLModel*, XPMP2::CSLModel::MatchCritTy const*>>> XPMP2::iterRnd<std::_Rb_tree_iterator<std::pair<unsigned long const, std::pair<XPMP2::CSLModel*, XPMP2::CSLModel::MatchCritTy const*>>>>(std::_Rb_tree_iterator<std::pair<unsigned long const, std::pai... | IteratorT iterRnd (IteratorT lower, IteratorT upper)
{
const long dist = (long)std::distance(lower, upper);
// Does the range (cslUpper excluded!) not contain anything?
if (dist <= 0)
return upper;
// Does the "range" only contain exactly one element? Then shortcut the search
if (dist == 1)
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
xorl %r12d, %r12d
cmpq %rsi, %rdi
je 0x12c2f9
movq %rbx, %rax
movq %rax, %rdi
callq 0x149f0
incq %r12
cmpq %r14, %rax
jne 0x12c2e9
testq %r12, %r12
jle 0x12c351
cmpq $0x1, %r12
je 0x12c354
callq 0x14320
cvtsi2ss %eax, %xmm0
mulss 0x6... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/CSLModels.cpp |
XPMP2::_NetwGetLocalAddresses(bool) | void _NetwGetLocalAddresses (bool bForceRefresh = false)
{
// Every once in a while we enforce the refresh
static std::chrono::time_point<std::chrono::steady_clock> tpLastRefresh;
if (std::chrono::steady_clock::now() - tpLastRefresh > std::chrono::seconds(30))
bForceRefresh = true;
// Quick... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movl %edi, %ebx
callq 0x152c0
subq 0xbef37(%rip), %rax # 0x1ef100
movabsq $0x6fc23ac00, %rcx # imm = 0x6FC23AC00
cmpq %rcx, %rax
setg %bpl
orb %bl, %bpl
movl %ebp, %eax
xorb $0x1, %al
cmpq $0x0, 0xbef0f(%rip) # 0x1ef0f8
setne %cl
testb %al, %cl
j... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Network.cpp |
XPMP2::SocketNetworking::Open(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, unsigned long, unsigned int, bool) | void SocketNetworking::Open(const std::string& _addr, int _port,
size_t _bufSize, unsigned _timeOut_ms, bool _bBroadcast)
{
struct addrinfo * addrinfo = NULL;
try {
// store member values
f_port = _port;
f_addr = _addr;
const std::string decimal_port... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x108, %rsp # imm = 0x108
movl %r9d, %ebp
movl %r8d, %r12d
movq %rcx, 0xb8(%rsp)
movq %rdi, %rbx
movq $0x0, 0x40(%rsp)
movl %edx, 0xc(%rdi)
leaq 0x10(%rdi), %r14
movq %r14, %rdi
movq %rbx, 0xb0(%rsp)
callq 0x147a0
movl 0xc(%rbx), %r13d
m... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Network.cpp |
XPMP2::SocketNetworking::GetLastErr[abi:cxx11]() | std::string SocketNetworking::GetLastErr()
{
char sErr[SERR_LEN];
#if IBM
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_IGNORE_INSERTS, // flags
NULL, // lpsource
WSAGetLastError(), ... | pushq %r14
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
callq 0x14080
movl (%rax), %edi
movq %rsp, %r14
movl $0x64, %edx
movq %r14, %rsi
callq 0x142f0
leaq 0x10(%rbx), %rax
movq %rax, (%rbx)
movq %r14, %rdi
callq 0x145e0
leaq (%rsp,%rax), %rdx
movq %rbx, %rdi
movq %r14, %rsi
callq 0x22694
movq %rbx, %rax
addq $0x68, %rs... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Network.cpp |
XPMP2::UDPMulticast::SendToAll() | void UDPMulticast::SendToAll ()
{
_NetwGetLocalAddresses (); // makes sure lists of multicast interfaces are filled, too
if ((bSendToAll = !gAddrLocal.empty())) {
oneIntfIdx = 0;
LOG_MSG(logINFO, "MC %s: Sending on ALL interfaces: %s",
multicastAddr.c_str(), NetwGetI... | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdi, %r14
xorl %edi, %edi
callq 0x1301b1
cmpq $0x0, 0xbb2ab(%rip) # 0x1ef0f8
setne 0x68(%r14)
je 0x133ee2
movl $0x0, 0x6c(%r14)
leaq 0xbb5b9(%rip), %rax # 0x1ef420
cmpl $0x1, (%rax)
jg 0x133ee2
movq 0x40(%r14), %rbx
movq 0x60(%r14), %rax
testq %rax, %rax
je 0x133e7e
... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Network.cpp |
XPMP2::InetAddrTy::CopyFrom(XPMP2::SockAddrTy const&) | bool isIp4() const { return family() == AF_INET; } | movzbl (%rsi), %eax
cmpl $0xa, %eax
je 0x1350ec
cmpl $0x2, %eax
jne 0x1350f2
movl 0x4(%rsi), %eax
movl %eax, (%rdi)
movl $0x0, 0xc(%rdi)
movq $0x0, 0x4(%rdi)
retq
movups 0x8(%rsi), %xmm0
jmp 0x1350f5
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
retq
| /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Network.h |
XPMP2::RemoteCleanup() | void RemoteCleanup ()
{
RmtStopAll(); // stop everything (multicast listening/sending, thread)
if (gpMc) { // remove the multicast object
delete gpMc;
gpMc = nullptr;
}
// Remove all message caches
gMsgAcDetail.free();
} | pushq %rax
callq 0x13997c
movq 0xb5876(%rip), %rdi # 0x1ef330
testq %rdi, %rdi
je 0x139ad0
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0xb5860(%rip) # 0x1ef330
movq 0xb5869(%rip), %rdi # 0x1ef340
testq %rdi, %rdi
je 0x139ae1
callq 0x150c0
xorps %xmm0, %xmm0
movups %xmm0, 0xb5855(%rip) # 0x1ef340
movq $0x0,... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Remote.cpp |
XPMP2::RemoteAcRemove(XPMP2::Aircraft const&) | void RemoteAcRemove (const Aircraft& ac)
{
// Can only do anything reasonable if we are to send data
if (glob.remoteStatus != REMOTE_SENDING) {
if (!gmapRmtAcCache.empty()) // that's faster than searching for the individual plane...
gmapRmtAcCache.clear(); // when we are... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0xb503c(%rip), %rax # 0x1ef420
cmpl $0x2, 0x35c(%rax)
jne 0x13a48a
movq %rdi, %rbx
movb 0xb4f25(%rip), %bpl # 0x1ef320
testb %bpl, %bpl
jne 0x13a40c
leaq 0xb4f11(%rip), %rdi # 0x1ef318
callq 0x49dae
movl $0x10, %edi
callq 0x14dd0
movq %rax, %r14
movl 0x... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Remote.cpp |
XPMP2::RmtMsgBufTy<XPMP2::RemoteAcAnimTy, (XPMP2::RemoteMsgTy)5, (unsigned char)0>::add_send(XPMP2::RemoteAcAnimTy const&, XPMP2::UDPMulticast&) | bool RmtMsgBufTy<ElemTy,MsgTy,msgVer>::add_send (const ElemTy& _elem,
UDPMulticast& _mc)
{
if (!add(_elem)) {
send(_mc);
if (!add(_elem)) {
throw std::runtime_error("Could not add new alement after sending/initializing a new message!");
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
callq 0x13adac
movl %eax, %ebx
testb %al, %al
jne 0x13a8bc
movq %r15, %rdi
movq %r12, %rsi
callq 0x13a9ee
movq %r15, %rdi
movq %r14, %rsi
callq 0x13adac
testb %al, %al
je 0x13a8cd
xorb $0x1, %bl
movl %ebx, %eax
addq $... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Remote.cpp |
XPMP2::RmtMsgBufTy<XPMP2::RemoteAcRemoveTy, (XPMP2::RemoteMsgTy)6, (unsigned char)0>::add_send(XPMP2::RemoteAcRemoveTy const&, XPMP2::UDPMulticast&) | bool RmtMsgBufTy<ElemTy,MsgTy,msgVer>::add_send (const ElemTy& _elem,
UDPMulticast& _mc)
{
if (!add(_elem)) {
send(_mc);
if (!add(_elem)) {
throw std::runtime_error("Could not add new alement after sending/initializing a new message!");
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r12
movq %rsi, %r14
movq %rdi, %r15
callq 0x13aefe
movl %eax, %ebx
testb %al, %al
jne 0x13a948
movq %r15, %rdi
movq %r12, %rsi
callq 0x13aa16
movq %r15, %rdi
movq %r14, %rsi
callq 0x13aefe
testb %al, %al
je 0x13a959
xorb $0x1, %bl
movl %ebx, %eax
addq $... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Remote.cpp |
XPMP2::RmtMsgBufTy<XPMP2::RemoteAcPosUpdateTy, (XPMP2::RemoteMsgTy)4, (unsigned char)0>::add(XPMP2::RemoteAcPosUpdateTy const&) | bool RmtMsgBufTy<ElemTy,MsgTy,msgVer>::add (const ElemTy& _elem)
{
// no buffer defined yet? -> do so!
if (!pMsg) init();
// no space left?
const size_t elemSize = _elem.msgSize();
if (glob.remoteBufSize - size < elemSize)
return false;
// Copy the element into the msg buff... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, (%rdi)
jne 0x13ac8c
movq %rbx, %rdi
callq 0x13acdc
leaq 0xb478d(%rip), %rax # 0x1ef420
movq 0x348(%rax), %rax
movq 0x10(%rbx), %rcx
subq %rcx, %rax
cmpq $0x14, %rax
jb 0x13accc
movq (%rbx), %rdx
movl 0x10(%r14), %esi
movl %esi, 0x10(%rdx,%r... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Remote.cpp |
XPMP2::RmtMsgBufTy<XPMP2::RemoteAcAnimTy, (XPMP2::RemoteMsgTy)5, (unsigned char)0>::add(XPMP2::RemoteAcAnimTy const&) | bool RmtMsgBufTy<ElemTy,MsgTy,msgVer>::add (const ElemTy& _elem)
{
// no buffer defined yet? -> do so!
if (!pMsg) init();
// no space left?
const size_t elemSize = _elem.msgSize();
if (glob.remoteBufSize - size < elemSize)
return false;
// Copy the element into the msg buff... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
cmpq $0x0, (%rdi)
jne 0x13adc8
movq %rbx, %rdi
callq 0x13ae2e
movzbl 0x4(%r15), %eax
leaq 0x6(,%rax,2), %r14
leaq 0xb4644(%rip), %rax # 0x1ef420
movq 0x348(%rax), %r12
movq 0x10(%rbx), %rdi
subq %rdi, %r12
cmpq %r14, %r12
jb 0x13... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Remote.cpp |
XPMP2::SoundFile::SoundFile(XPMP2::SoundSystem*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, float, float, float, float, float) | SoundFile::SoundFile (SoundSystem* _pSndSys,
const std::string& _filePath, bool _bLoop,
float _coneDir, float _conePitch,
float _coneInAngle, float _coneOutAngle, float _coneOutVol) :
pSndSys(_pSndSys), filePath(_filePath), bLoop(_bLoop),
coneDir... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movss %xmm4, 0x14(%rsp)
movss %xmm3, 0x10(%rsp)
movss %xmm2, 0xc(%rsp)
movss %xmm1, 0x8(%rsp)
movss %xmm0, 0x4(%rsp)
movl %ecx, %ebx
movq %rdi, %r14
leaq 0xa53ad(%rip), %rax # 0x1e07c8
movq %rax, (%rdi)
movq %rsi, 0x8(%rdi)
addq $0x10, %rdi
leaq 0x20(%r14), %rax
movq %rax, 0x1... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::SoundWAV::SoundWAV(XPMP2::SoundSystem*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, bool, float, float, float, float, float) | SoundWAV::SoundWAV (SoundSystem* _pSndSys,
const std::string& _filePath, bool _bLoop,
float _coneDir, float _conePitch,
float _coneInAngle, float _coneOutAngle, float _coneOutVol) :
SoundFile(_pSndSys, _filePath, _bLoop, _coneDir, _conePitch,
_coneIn... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x20, %rsp
movss %xmm4, 0x1c(%rsp)
movss %xmm3, 0x18(%rsp)
movss %xmm2, 0x14(%rsp)
movss %xmm1, 0x10(%rsp)
movss %xmm0, 0xc(%rsp)
movl %ecx, %ebp
movq %rdi, %rbx
leaq 0xa530c(%rip), %r12 # 0x1e07c8
movq %r12, (%rdi)
movq %rsi, 0x8(%rdi)
addq $0x10, %rdi
l... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::SoundLoadXPSounds() | int SoundLoadXPSounds ()
{
int n = 0;
#define ADD_SND(s,f,l) if (!XPMPSoundAdd(s,f,l)[0]) ++n;
#define ADD_CONE(s,f,l,cd,cp,cia,coa,cov) if (!XPMPSoundAdd(s,f,l,cd,cp,cia,coa,cov)[0]) ++n;
// Engine sounds
ADD_SND(XP_SOUND_ELECTRIC, "Resources/sounds/engine/ENGINE_ELECTRIC_out.wav", true);... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
leaq 0x56ee7(%rip), %rdi # 0x192b8c
leaq 0x56ee9(%rip), %rsi # 0x192b95
movss 0xdecc(%rip), %xmm0 # 0x149b80
movl $0x1, %edx
movaps %xmm0, %xmm1
movaps %xmm0, %xmm2
movaps %xmm0, %xmm3
movaps %xmm0, %xmm4
callq 0x13bf0f
xorl %ebx, ... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::SoundSystem::EnumerateSounds(char const*, char const**) | const char* SoundSystem::EnumerateSounds (const char* prevName, const char** ppFilePath)
{
if (ppFilePath) *ppFilePath = nullptr;
// No sounds available at all?
if (mapSounds.empty())
return nullptr;
auto sndIter = mapSounds.end();
// Return first sound?
if (!prevName || !prevName[... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r14
testq %rdx, %rdx
je 0x13c109
movq $0x0, (%rbx)
cmpq $0x0, 0x30(%r14)
je 0x13c1ab
testq %r15, %r15
je 0x13c183
cmpb $0x0, (%r15)
je 0x13c183
leaq 0x8(%r14), %r12
leaq 0x18(%rsp), %rbp
movq %... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::SoundSystemXP::ChnSetVol(XPMP2::SoundChannel const&) | void SoundSystemXP::ChnSetVol (const SoundChannel& chn)
{
if (!chn.pChn) return;
FMOD_LOG(gpXPLMSetAudioVolume(chn.pChn,
chn.bMuted || bAllMuted ? 0.0f : (chn.vol * volMaster)));
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movq %rdi, %rax
movq (%rsi), %rdi
testq %rdi, %rdi
je 0x13ce74
movq 0xb26fc(%rip), %rcx # 0x1ef410
xorps %xmm0, %xmm0
cmpb $0x0, 0x14(%rsi)
jne 0x13cd33
cmpb $0x0, 0x84(%rax)
jne 0x13cd33
movss 0x10(%rsi), %xmm0
mulss 0x80(%rax), %xmm0
callq *%rcx
movl %e... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::SoundSystemXP::Stop(unsigned long) | void SoundSystemXP::Stop (uint64_t sndId)
{
SoundChannel* pChn = GetChn(sndId);
if (!gpXPLMStopAudio || !pChn || !pChn->pChn) return;
if (!pChn) return;
// Stop the channel (callback will be called and will remove tracking)
if (gpXPLMStopAudio && pChn->pChn) {
FMOD_LOG(gpXPLMStopAudio(pChn-... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
callq 0x13c282
movq 0xb2300(%rip), %rcx # 0x1ef3f8
testq %rcx, %rcx
sete %dl
testq %rax, %rax
sete %sil
orb %dl, %sil
jne 0x13d25b
movq (%rax), %rdi
testq %rdi, %rdi
je 0x13d25b
callq *%rcx
movl %eax, 0xb22c6(%rip) # 0x1ef3e8
testl %eax, %eax
je 0x13d... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::SoundCleanup() | void SoundCleanup ()
{
// Remove the sound system
if (gpSndSys) {
delete gpSndSys;
gpSndSys = nullptr;
LOG_MSG(logDEBUG, "Sound system shut down");
}
glob.bSoundAvail = false;
} | pushq %rax
movq 0xb0b1f(%rip), %rdi # 0x1ef3e0
testq %rdi, %rdi
je 0x13e906
movq (%rdi), %rax
callq *0x8(%rax)
movq $0x0, 0xb0b09(%rip) # 0x1ef3e0
leaq 0xb0b42(%rip), %rax # 0x1ef420
cmpl $0x0, (%rax)
jg 0x13e906
leaq 0x53f97(%rip), %rdi # 0x192881
leaq 0x54af2(%rip), %rdx # 0x1933e3
leaq 0x54af8(%rip),... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.cpp |
XPMP2::FmodError::LogErr() const | bool ShallUnpause () { return nPauseCountdown > 0 ? (--nPauseCountdown == 0) : false; } | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0x18(%rdi), %r14
movl 0x38(%rdi), %ebp
movq 0x40(%rdi), %r15
movl 0x10(%rdi), %ebx
cmpq $0x51, %rbx
ja 0x13ec14
leaq 0x53a91(%rip), %rax # 0x19269c
movslq (%rax,%rbx,4), %r12
addq %rax, %r12
jmp 0x13ec1b
leaq 0x560ab(%rip), %r12 # 0x194cc6
movq (%rdi),... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Sound.h |
XPMP2::safeGetline(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>&) | std::istream& safeGetline(std::istream& is, std::string& t)
{
// read a line until LF
std::getline(is, t, '\n');
// if last character is CR then remove it
if (!t.empty() && t.back() == '\r')
t.pop_back();
return is;
} | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movl $0xa, %edx
callq 0x15a10
movq 0x8(%r14), %rax
testq %rax, %rax
je 0x140364
movq (%r14), %rcx
cmpb $0xd, -0x1(%rcx,%rax)
jne 0x140364
movq %r14, %rdi
callq 0x15100
movq %rbx, %rax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Utilities.cpp |
XPMP2::PJWHash16(char const*) | std::uint16_t PJWHash16(const char *pc)
{
std::uint16_t h = 0, high;
const unsigned char* s = reinterpret_cast<const unsigned char*>(pc);
while (*s)
{
h <<= 2; // shift by 2 bits only, not 4
h += *s++;
high = h & 0xC000; // pick the upper 2 bits only, ... | movb (%rdi), %cl
testb %cl, %cl
je 0x141120
incq %rdi
xorl %eax, %eax
movzbl %cl, %ecx
leal (%rcx,%rax,4), %ecx
movzwl %cx, %edx
movl %ecx, %eax
andl $0xc000, %eax # imm = 0xC000
shrl $0xe, %edx
testl %eax, %eax
cmovel %eax, %edx
xorl %ecx, %edx
notl %eax
andl %edx, %eax
movb (%rdi), %cl
incq %rdi
testb %cl, ... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Utilities.cpp |
XPMP2::GetMiscNetwTimeStr[abi:cxx11](float) | std::string GetMiscNetwTimeStr (float _time)
{
char aszTimeStr[20];
if (std::isnan(_time))
_time = GetMiscNetwTime();
const unsigned runH = unsigned(_time / 3600.0f);
_time -= runH * 3600.0f;
const unsigned runM = unsigned(_time / 60.0f);
_time -= runM * 60.0f;
snprintf(asz... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
ucomiss %xmm0, %xmm0
jp 0x14147c
movss 0xd683(%rip), %xmm1 # 0x14ea74
movaps %xmm0, %xmm2
divss %xmm1, %xmm2
cvttss2si %xmm2, %rcx
movl %ecx, %eax
xorps %xmm2, %xmm2
cvtsi2ss %rax, %xmm2
mulss %xmm1, %xmm2
subss %xmm2, %xmm0
movss 0xd659(%rip), %xmm1 # 0x14... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/Utilities.cpp |
XPMP2::XPMPValidateResourceFiles(char const*) | const char* XPMPValidateResourceFiles (const char* resourceDir)
{
// Store the resource dir
if (!resourceDir || strlen(resourceDir) < 5) {
LOG_MSG(logERR, ERR_RSRC_DIR_INVALID, resourceDir ? resourceDir : "<nullptr>");
return "resourceDir too short / nullptr";
}
glob.resourceDir = TOPOSI... | pushq %r15
pushq %r14
pushq %rbx
subq $0x50, %rsp
movq %rdi, %r14
testq %rdi, %rdi
je 0x142227
movq %r14, %rdi
callq 0x145e0
cmpq $0x4, %rax
ja 0x14227b
leaq 0xad1f2(%rip), %rax # 0x1ef420
leaq 0x530f1(%rip), %rbx # 0x195326
cmpl $0x3, (%rax)
jg 0x14226e
testq %r14, %r14
leaq 0x530d8(%rip), %r9 # 0x19531c
... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/XPMPMultiplayer.cpp |
XPMPCreatePlaneWithModelName | XPMPPlaneID XPMPCreatePlaneWithModelName(const char * inModelName,
const char * inICAOCode,
const char * inAirline,
const char * inLivery,
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r13
movq %r8, %rbx
movq %rcx, 0x8(%rsp)
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %r12
movl $0x420, %edi # imm = 0x420
callq 0x14dd0
movq %rax, %rbp
movq %rax, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq 0x8(%rsp), %... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/XPMPMultiplayer.cpp |
XPMP2::SoundSystemFMOD::SoundLogEnable(bool) | void SoundSystemFMOD::SoundLogEnable (bool bEnable)
{
gFmodRes = FMOD_Debug_Initialize(bEnable ? FMOD_DEBUG_LEVEL_LOG : FMOD_DEBUG_LEVEL_NONE,
FMOD_DEBUG_MODE_CALLBACK, SoundLogCB, nullptr);
if (gFmodRes == FMOD_OK) {
LOG_MSG(logDEBUG, "FMOD logging has been %s.", bE... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %esi, %ebx
leal (,%rbx,4), %edi
leaq 0x28a(%rip), %rdx # 0x144512
movl $0x2, %esi
xorl %ecx, %ecx
callq 0x14dc0
leaq 0xab14d(%rip), %r15 # 0x1ef3e8
movl %eax, (%r15)
cmpl $0x44, %eax
je 0x144424
testl %eax, %eax
jne 0x144300
leaq 0xab16e(%rip),... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/SoundFMOD.cpp |
XPMP2::SoundSystemFMOD::Play(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, float, XPMP2::Aircraft const&) | uint64_t SoundSystemFMOD::Play (const std::string& sndName, float vol, const Aircraft& ac)
{
FMOD_CHANNEL* pFmodChn = nullptr;
uint64_t sndId = 0;
// Find the sound a check if it is ready
try {
// find the sound, may throw if not found, return if sound isn't ready yet
SoundFilePtr& pSnd... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rdx, %r12
movss %xmm0, 0x8c(%rsp)
movq $0x0, 0x58(%rsp)
movq %rdi, 0x80(%rsp)
addq $0x8, %rdi
movq %rsi, 0xf0(%rsp)
callq 0x13ea14
movq %rax, %r15
movq (%rax), %rdi
movq (%rdi), %rax
callq *0x10(%rax)
testb %al, %al
je 0x1451bc
mov... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/SoundFMOD.cpp |
XPMP2::SoundSystemFMOD::SetPosOrientation(unsigned long, XPMP2::Aircraft const&, bool) | void SoundSystemFMOD::SetPosOrientation (uint64_t sndId, const Aircraft& ac, bool bDoOrientation)
{
SoundChannel* pChn = GetChn(sndId);
if (!pChn || !pChn->pChn || !pChn->pSnd ) return;
// Aircraft position and velocity
FMOD_VECTOR fmodPos { // Copy of the aircraft's 3D lo... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x118, %rsp # imm = 0x118
movl %ecx, %ebp
movq %rdx, %r14
callq 0x13c282
testq %rax, %rax
je 0x145fa2
movq %rax, %rbx
cmpq $0x0, (%rax)
je 0x145fa2
cmpq $0x0, 0x8(%rbx)
je 0x145fa2
movsd 0x74(%r14), %xmm0
leaq 0x108(%rsp), %rsi
movsd %xm... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/SoundFMOD.cpp |
XPMP2::SoundSystemFMOD::SetMute(unsigned long, bool) | void SoundSystemFMOD::SetMute (uint64_t sndId, bool bMute)
{
SoundChannel* pChn = GetChn(sndId);
if (!pChn || !pChn->pChn) return;
pChn->bMuted = bMute; // Save its mute status
FMOD_LOG(FMOD_Channel_SetMute(pChn->pChn, bMute));
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %edx, %ebx
callq 0x13c282
testq %rax, %rax
je 0x1463eb
movq (%rax), %rdi
testq %rdi, %rdi
je 0x1463eb
movb %bl, 0x14(%rax)
movzbl %bl, %esi
callq 0x14a70
leaq 0xa9134(%rip), %rbx # 0x1ef3e8
movl %eax, (%rbx)
testl %eax, %eax
je 0x1463eb
leaq 0x58(%rs... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/SoundFMOD.cpp |
XPMP2::CSLObj::SetOtherObjCopyResult(bool) | void CSLObj::SetOtherObjCopyResult (bool bResult)
{
// Look for the CSLObj using the stored CSLId and path
mapCSLModelTy::iterator cslIter;
CSLModel* pCsl = CSLModelByKey(gThreadCSLkey);
if (pCsl) {
// find the object by path
listCSLObjTy::iterator iter = std::find_if(pCsl->listObj.begin... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %edi, %ebx
leaq 0xa834a(%rip), %rdi # 0x1f0100
xorl %esi, %esi
callq 0x127917
testq %rax, %rax
je 0x147e2d
movq %rax, %r14
addq $0x88, %r14
movq 0x88(%rax), %r15
cmpq %r14, %r15
je 0x147e0c
movq 0xa8349(%rip), %r13 # 0x1f0128
movq 0xa8... | /TwinFan[P]LiveTraffic/Lib/XPMP2/src/CSLCopy.cpp |
floorplan::GraphFileOperations::formatStringForDot(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | static string formatStringForDot(string str){
if (str.size() != 0){
if (isdigit(str[0]))
str = "S" + str;
string illegalChars = "-* ";
size_t found=str.find_first_of(illegalChars);
while (found!=string::npos)
{
str[foun... | pushq %r15
pushq %r14
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
cmpq $0x0, 0x8(%rsi)
je 0x5aab5
movq (%r14), %rax
movsbl (%rax), %eax
addl $-0x30, %eax
cmpl $0x9, %eax
ja 0x5aa70
leaq 0x1ddfd(%rip), %rsi # 0x7884a
leaq 0x10(%rsp), %r15
movq %r15, %rdi
movq %r14, %rdx
callq 0x5aacd
movq %r14, %rdi
... | /alperv[P]libfloorplan/src/genmatlab/../lib/GraphFileOperations.hpp |
floorplan::GraphStatistics::generateCategoryCountDist() | void GraphStatistics::generateCategoryCountDist(){
for(unsigned int i = 0; i < _labels.size(); i++)
_categoryCountDistByLabel[_labels[i]] = vector<double>(1, 0);
/* Fill up the labels and categoryCount container */
for (unsigned int i = 0; i < _database->getGraphs().size(); i++){
floorplanG... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x98(%rdi), %r14
xorl %r12d, %r12d
leaq 0x10(%rsp), %r15
leaq 0x8(%rsp), %r13
leaq 0x7(%rsp), %rbp
movl %r12d, %r12d
movq 0x190(%rbx), %rax
subq 0x188(%rbx), %rax
sarq $0x5, %rax
cmpq %r12, %rax
jbe 0x5c6b1
andq $0x0... | /alperv[P]libfloorplan/src/lib/GraphStatistics.cpp |
floorplan::GraphStatistics::saveDistToFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::vector<double, std::allocator<double>>, std::less<std::__cxx11::basic_string<char, std::char_traits<cha... | void GraphStatistics::saveDistToFile(string filename, DistVectorByLabel dist){
std::ofstream out(filename.c_str() );
DistVectorByLabel::iterator it = dist.begin();
for (; it != dist.end(); ++it){
out << it->first << ", ";
for (unsigned int i = 0; i < it->second.size(); i++){
out... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x208, %rsp # imm = 0x208
movq %rdx, %rbx
movq (%rsi), %rsi
leaq 0x8(%rsp), %r14
pushq $0x10
popq %rdx
movq %r14, %rdi
callq 0x59470
movq 0x18(%rbx), %r15
addq $0x8, %rbx
leaq 0x19708(%rip), %r12 # 0x762d4
leaq 0x194ce(%rip), %r13 ... | /alperv[P]libfloorplan/src/lib/GraphStatistics.cpp |
stackjit::Amd64Backend::addIntToReg(std::vector<unsigned char, std::allocator<unsigned char>>&, stackjit::Registers, int, bool) | void Amd64Backend::addIntToReg(CodeGen& codeGen, Registers destReg, int srcValue, bool is32bits) {
if (!is32bits) {
codeGen.push_back(0x48);
}
if (destReg == Registers::AX) {
codeGen.push_back(0x05);
} else {
codeGen.push_back(0x81);
codeGen.push_back(0xc0 | (Byte)destReg);
}
IntToBytes conver... | pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movb %cl, %al
movb %sil, %cl
movq %rdi, -0x8(%rbp)
movb %cl, -0x9(%rbp)
movl %edx, -0x10(%rbp)
andb $0x1, %al
movb %al, -0x11(%rbp)
testb $0x1, -0x11(%rbp)
jne 0xe4f73
movq -0x8(%rbp), %rdi
movb $0x48, -0x12(%rbp)
leaq -0x12(%rbp), %rsi
callq 0xe6ff0
cmpb $0x0, -0x9(%rbp)
jne... | /svenslaggare[P]StackJIT/src/compiler/x64/amd64.cpp |
stackjit::Amd64Backend::addIntToReg(std::vector<unsigned char, std::allocator<unsigned char>>&, stackjit::ExtendedRegisters, int) | void Amd64Backend::addIntToReg(CodeGen& codeGen, ExtendedRegisters destReg, int srcValue) {
codeGen.push_back(0x49);
codeGen.push_back(0x81);
codeGen.push_back(0xc0 | (Byte)destReg);
IntToBytes converter;
converter.intValue = srcValue;
for (std::size_t i = 0; i < sizeof(int); i++) {
codeGen.push_back(c... | pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movb %sil, %al
movq %rdi, -0x8(%rbp)
movb %al, -0x9(%rbp)
movl %edx, -0x10(%rbp)
movq -0x8(%rbp), %rdi
movb $0x49, -0x11(%rbp)
leaq -0x11(%rbp), %rsi
callq 0xe6ff0
movq -0x8(%rbp), %rdi
movb $-0x7f, -0x12(%rbp)
leaq -0x12(%rbp), %rsi
callq 0xe6ff0
movq -0x8(%rbp), %rdi
movzbl... | /svenslaggare[P]StackJIT/src/compiler/x64/amd64.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.