name
stringlengths
1
473k
code
stringlengths
7
647k
asm
stringlengths
4
3.39M
file
stringlengths
8
196
stbtt_MakeGlyphBitmapSubpixel(stbtt_fontinfo const*, unsigned char*, int, int, int, float, float, float, float, int)
STBTT_DEF void stbtt_MakeGlyphBitmapSubpixel(const stbtt_fontinfo *info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, float shift_y, int glyph) { int ix0,iy0; stbtt_vertex *vertices; int num_verts = stbtt_GetGlyphShape(info, glyph, &vertices); stb...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movl %r8d, -0x1c(%rbp) movss %xmm0, -0x20(%rbp) movss %xmm1, -0x24(%rbp) movss %xmm2, -0x28(%rbp) movss %xmm3, -0x2c(%rbp) movl %r9d, -0x30(%rbp) movq -0x8(%rbp), %rdi movl -0x30(%rbp),...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__h_prefilter(unsigned char*, int, int, int, unsigned int)
static void stbtt__h_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) { unsigned char buffer[STBTT_MAX_OVERSAMPLE]; int safe_w = w - kernel_width; int j; STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); // suppress bogus warning from VS2013 -analyze for (j=0; j...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movl %r8d, -0x18(%rbp) movl -0xc(%rbp), %eax subl -0x18(%rbp), %eax movl %eax, -0x24(%rbp) leaq -0x20(%rbp), %rdi xorl %esi, %esi movl $0x8, %edx callq 0x11370 movl $0x0, -0x28(%rbp) mov...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__v_prefilter(unsigned char*, int, int, int, unsigned int)
static void stbtt__v_prefilter(unsigned char *pixels, int w, int h, int stride_in_bytes, unsigned int kernel_width) { unsigned char buffer[STBTT_MAX_OVERSAMPLE]; int safe_h = h - kernel_width; int j; STBTT_memset(buffer, 0, STBTT_MAX_OVERSAMPLE); // suppress bogus warning from VS2013 -analyze for (j=0; j...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movl %r8d, -0x18(%rbp) movl -0x10(%rbp), %eax subl -0x18(%rbp), %eax movl %eax, -0x24(%rbp) leaq -0x20(%rbp), %rdi xorl %esi, %esi movl $0x8, %edx callq 0x11370 movl $0x0, -0x28(%rbp) mo...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt_Rasterize(stbtt__bitmap*, float, stbtt_vertex*, int, float, float, float, float, int, int, int, void*)
STBTT_DEF void stbtt_Rasterize(stbtt__bitmap *result, float flatness_in_pixels, stbtt_vertex *vertices, int num_verts, float scale_x, float scale_y, float shift_x, float shift_y, int x_off, int y_off, int invert, void *userdata) { float scale = scale_x > scale_y ? scale_y : scale_x; int winding_count ...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movss %xmm0, -0xc(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movss %xmm1, -0x20(%rbp) movss %xmm2, -0x24(%rbp) movss %xmm3, -0x28(%rbp) movss %xmm4, -0x2c(%rbp) movl %ecx, -0x30(%rbp) movl %r8d, -0x34(%rbp) movl %r9d, -0x38...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__GetGlyphShapeTT(stbtt_fontinfo const*, int, stbtt_vertex**)
static int stbtt__GetGlyphShapeTT(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { stbtt_int16 numberOfContours; stbtt_uint8 *endPtsOfContours; stbtt_uint8 *data = info->data; stbtt_vertex *vertices=0; int num_vertices=0; int g = stbtt__GetGlyfOffset(info, glyph_index); *pv...
pushq %rbp movq %rsp, %rbp pushq %rbx subq $0x128, %rsp # imm = 0x128 movq %rdi, -0x18(%rbp) movl %esi, -0x1c(%rbp) movq %rdx, -0x28(%rbp) movq -0x18(%rbp), %rax movq 0x8(%rax), %rax movq %rax, -0x40(%rbp) movq $0x0, -0x48(%rbp) movl $0x0, -0x4c(%rbp) movq -0x18(%rbp), %rdi movl -0x1c(%rbp), %esi callq 0x94e...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__GetGlyphShapeT2(stbtt_fontinfo const*, int, stbtt_vertex**)
static int stbtt__GetGlyphShapeT2(const stbtt_fontinfo *info, int glyph_index, stbtt_vertex **pvertices) { // runs the charstring twice, once to count and once to output (to avoid realloc) stbtt__csctx count_ctx = STBTT__CSCTX_INIT(1); stbtt__csctx output_ctx = STBTT__CSCTX_INIT(0); if (stbtt__run_charstrin...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) leaq -0x58(%rbp), %rdi xorl %esi, %esi movl $0x38, %edx callq 0x11370 movl $0x1, -0x58(%rbp) leaq -0x90(%rbp), %rdi xorl %esi, %esi movl $0x38, %edx callq 0x11370 movq -0x10(%rbp), %rdi movl -0x14(%rbp), %es...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__close_shape(stbtt_vertex*, int, int, int, int, int, int, int, int, int)
static int stbtt__close_shape(stbtt_vertex *vertices, int num_vertices, int was_off, int start_off, stbtt_int32 sx, stbtt_int32 sy, stbtt_int32 scx, stbtt_int32 scy, stbtt_int32 cx, stbtt_int32 cy) { if (start_off) { if (was_off) stbtt_setvertex(&vertices[num_vertices++], STBTT_vcurve, (cx+scx)>>1...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl 0x28(%rbp), %eax movl 0x20(%rbp), %eax movl 0x18(%rbp), %eax movl 0x10(%rbp), %eax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl %ecx, -0x14(%rbp) movl %r8d, -0x18(%rbp) movl %r9d, -0x1c(%rbp) cmpl $0x0, -0x14(%rbp) je 0x985a1 cmpl $0x0, -0x10(%...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt_FlattenCurves(stbtt_vertex*, int, float, int**, int*, void*)
static stbtt__point *stbtt_FlattenCurves(stbtt_vertex *vertices, int num_verts, float objspace_flatness, int **contour_lengths, int *num_contours, void *userdata) { stbtt__point *points=0; int num_points=0; float objspace_flatness_squared = objspace_flatness * objspace_flatness; int i,n=0,start=0, pass; ...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movss %xmm0, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq $0x0, -0x38(%rbp) movl $0x0, -0x3c(%rbp) movss -0x18(%rbp), %xmm0 mulss -0x18(%rbp), %xmm0 movss %xmm0, -0x40(%rbp) movl $0x0, -0x48...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__rasterize(stbtt__bitmap*, stbtt__point*, int*, int, float, float, float, float, int, int, int, void*)
static void stbtt__rasterize(stbtt__bitmap *result, stbtt__point *pts, int *wcount, int windings, float scale_x, float scale_y, float shift_x, float shift_y, int off_x, int off_y, int invert, void *userdata) { float y_scale_inv = invert ? -scale_y : scale_y; stbtt__edge *e; int n,i,j,k,m; #if STBTT_RASTERIZER_...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq 0x18(%rbp), %rax movl 0x10(%rbp), %eax movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movss %xmm0, -0x20(%rbp) movss %xmm1, -0x24(%rbp) movss %xmm2, -0x28(%rbp) movss %xmm3, -0x2c(%rbp) movl %r8d, -0x30(%rbp) movl %r9d, -0x34(%...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__tesselate_curve(stbtt__point*, int*, float, float, float, float, float, float, float, int)
static int stbtt__tesselate_curve(stbtt__point *points, int *num_points, float x0, float y0, float x1, float y1, float x2, float y2, float objspace_flatness_squared, int n) { // midpoint float mx = (x0 + 2*x1 + x2)/4; float my = (y0 + 2*y1 + y2)/4; // versus directly drawn line float dx = (x0+x2)/2 - mx;...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movss %xmm1, -0x20(%rbp) movss %xmm2, -0x24(%rbp) movss %xmm3, -0x28(%rbp) movss %xmm4, -0x2c(%rbp) movss %xmm5, -0x30(%rbp) movss %xmm6, -0x34(%rbp) movl %edx, -0x38(%rbp) movss -0x1c(%rbp), %xmm1 movss -...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__rasterize_sorted_edges(stbtt__bitmap*, stbtt__edge*, int, int, int, int, void*)
static void stbtt__rasterize_sorted_edges(stbtt__bitmap *result, stbtt__edge *e, int n, int vsubsample, int off_x, int off_y, void *userdata) { stbtt__hheap hh = { 0, 0, 0 }; stbtt__active_edge *active = NULL; int y,j=0, i; float scanline_data[129], *scanline, *scanline2; STBTT__NOTUSED(vsubsample); ...
pushq %rbp movq %rsp, %rbp subq $0x2a0, %rsp # imm = 0x2A0 movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movl %r8d, -0x1c(%rbp) movl %r9d, -0x20(%rbp) leaq -0x38(%rbp), %rdi xorl %esi, %esi movl $0x18, %edx callq 0x11370 movq $0x0, -0x40(%rbp...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__sort_edges_quicksort(stbtt__edge*, int)
static void stbtt__sort_edges_quicksort(stbtt__edge *p, int n) { /* threshold for transitioning to insertion sort */ while (n > 12) { stbtt__edge t; int c01,c12,c,m,i,j; /* compute median of three */ m = n >> 1; c01 = STBTT__COMPARE(&p[0],&p[m]); c12 = STBTT__COMPARE(&p[m],&p[...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) cmpl $0xc, -0xc(%rbp) jle 0x99c1f movl -0xc(%rbp), %eax sarl %eax movl %eax, -0x30(%rbp) movq -0x8(%rbp), %rax movss 0x4(%rax), %xmm1 movq -0x8(%rbp), %rax movslq -0x30(%rbp), %rcx imulq $0x14, %rcx, %rcx addq %rcx, %rax movss 0x4(%...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__sort_edges_ins_sort(stbtt__edge*, int)
static void stbtt__sort_edges_ins_sort(stbtt__edge *p, int n) { int i,j; for (i=1; i < n; ++i) { stbtt__edge t = p[i], *a = &t; j = i; while (j > 0) { stbtt__edge *b = &p[j-1]; int c = STBTT__COMPARE(a,b); if (!c) break; p[j] = p[j-1]; --j; } ...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl $0x1, -0x10(%rbp) movl -0x10(%rbp), %eax cmpl -0xc(%rbp), %eax jge 0x99d4a movq -0x8(%rbp), %rax movslq -0x10(%rbp), %rcx imulq $0x14, %rcx, %rcx addq %rcx, %rax movq (%rax), %rcx movq %rcx, -0x28(%rbp) movq 0x8(%rax), %rcx movq %rcx, -0x20(%rb...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__new_active(stbtt__hheap*, stbtt__edge*, int, float, void*)
static stbtt__active_edge *stbtt__new_active(stbtt__hheap *hh, stbtt__edge *e, int off_x, float start_point, void *userdata) { stbtt__active_edge *z = (stbtt__active_edge *) stbtt__hheap_alloc(hh, sizeof(*z), userdata); float dxdy = (e->x1 - e->x0) / (e->y1 - e->y0); STBTT_assert(z != NULL); //STBTT_assert(...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movss %xmm0, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq -0x10(%rbp), %rdi movq -0x28(%rbp), %rdx movl $0x20, %esi callq 0x9aa70 movq %rax, -0x30(%rbp) movq -0x18(%rbp), %rax movss 0x8(%rax), %xmm0 movq -0x18(%r...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__fill_active_edges_new(float*, float*, int, stbtt__active_edge*, float)
static void stbtt__fill_active_edges_new(float *scanline, float *scanline_fill, int len, stbtt__active_edge *e, float y_top) { float y_bottom = y_top+1; while (e) { // brute force every pixel // compute intersection points with top & bottom STBTT_assert(e->ey >= y_top); if (e->fdx == 0)...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq %rcx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss 0x1c026d(%rip), %xmm0 # 0x25a1c4 addss -0x24(%rbp), %xmm0 movss %xmm0, -0x28(%rbp) cmpq $0x0, -0x20(%rbp) je 0x9aa17 jmp 0x99f6e movq -0x20(%rbp), %rax ...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
stbtt__hheap_cleanup(stbtt__hheap*, void*)
static void stbtt__hheap_cleanup(stbtt__hheap *hh, void *userdata) { stbtt__hheap_chunk *c = hh->head; while (c) { stbtt__hheap_chunk *n = c->next; STBTT_free(c, userdata); c = n; } }
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq -0x8(%rbp), %rax movq (%rax), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0x9aa60 movq -0x18(%rbp), %rax movq (%rax), %rax movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rdi callq 0x529e0 movq -0x20(%rbp), %rax movq %rax,...
/tuket[P]gltf_viewer/libs/imgui/imstb_truetype.h
rect_height_compare(void const*, void const*)
static int STBRP__CDECL rect_height_compare(const void *a, const void *b) { const stbrp_rect *p = (const stbrp_rect *) a; const stbrp_rect *q = (const stbrp_rect *) b; if (p->h > q->h) return -1; if (p->h < q->h) return 1; return (p->w > q->w) ? -1 : (p->w < q->w); }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x20(%rbp), %rax movzwl 0x6(%rax), %eax movq -0x28(%rbp), %rcx movzwl 0x6(%rcx), %ecx cmpl %ecx, %eax jle 0x9b049 movl $0xffffffff, -0x4(%rbp) # imm ...
/tuket[P]gltf_viewer/libs/imgui/imstb_rectpack.h
stbrp__skyline_pack_rectangle(stbrp_context*, int, int)
static stbrp__findresult stbrp__skyline_pack_rectangle(stbrp_context *context, int width, int height) { // find best position according to heuristic stbrp__findresult res = stbrp__skyline_find_best_pos(context, width, height); stbrp_node *node, *cur; // bail if: // 1. it failed // 2. the best n...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x18(%rbp) movl %esi, -0x1c(%rbp) movl %edx, -0x20(%rbp) movq -0x18(%rbp), %rdi movl -0x1c(%rbp), %esi movl -0x20(%rbp), %edx callq 0x9b290 movq %rax, -0x10(%rbp) movq %rdx, -0x8(%rbp) cmpq $0x0, -0x8(%rbp) je 0x9b0fa movl -0xc(%rbp), %eax addl -0x20(%rbp), %eax m...
/tuket[P]gltf_viewer/libs/imgui/imstb_rectpack.h
stbrp__skyline_find_best_pos(stbrp_context*, int, int)
static stbrp__findresult stbrp__skyline_find_best_pos(stbrp_context *c, int width, int height) { int best_waste = (1<<30), best_x, best_y = (1 << 30); stbrp__findresult fr; stbrp_node **prev, *node, *tail, **best = NULL; // align to multiple of c->align width = (width + c->align - 1); width -= width ...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movq %rdi, -0x18(%rbp) movl %esi, -0x1c(%rbp) movl %edx, -0x20(%rbp) movl $0x40000000, -0x24(%rbp) # imm = 0x40000000 movl $0x40000000, -0x2c(%rbp) # imm = 0x40000000 movq $0x0, -0x50(%rbp) movl -0x1c(%rbp), %eax movq -0x18(%rbp), %rcx addl 0x8(%rcx), %eax subl $0x1, %eax mov...
/tuket[P]gltf_viewer/libs/imgui/imstb_rectpack.h
stbrp__skyline_find_min_y(stbrp_context*, stbrp_node*, int, int, int*)
static int stbrp__skyline_find_min_y(stbrp_context *c, stbrp_node *first, int x0, int width, int *pwaste) { stbrp_node *node = first; int x1 = x0 + width; int min_y, visited_width, waste_area; STBRP__NOTUSED(c); STBRP_ASSERT(first->x <= x0); #if 0 // skip in case we're past the node while (no...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) movq %r8, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movl -0x14(%rbp), %eax addl -0x18(%rbp), %eax movl %eax, -0x2c(%rbp) movq -0x10(%rbp), %rax movzwl (%rax), %eax cmpl ...
/tuket[P]gltf_viewer/libs/imgui/imstb_rectpack.h
stb_decompress_token(unsigned char const*)
static const unsigned char *stb_decompress_token(const unsigned char *i) { if (*i >= 0x20) { // use fewer if's for cases that expand small if (*i >= 0x80) stb__match(stb__dout-i[1]-1, i[0] - 0x80 + 1), i += 2; else if (*i >= 0x40) stb__match(stb__dout-(stb__in2(0) - 0x4000 + 1), i[2]+1), i +=...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movzbl (%rax), %eax cmpl $0x20, %eax jl 0x9b8e5 movq -0x8(%rbp), %rax movzbl (%rax), %eax cmpl $0x80, %eax jl 0x9b84e movq 0x2901c7(%rip), %rdi # 0x32b9d8 movq -0x8(%rbp), %rax movzbl 0x1(%rax), %eax movslq %eax, %rcx xorl %eax, ...
/tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp
stb_adler32(unsigned int, unsigned char*, unsigned int)
static unsigned int stb_adler32(unsigned int adler32, unsigned char *buffer, unsigned int buflen) { const unsigned long ADLER_MOD = 65521; unsigned long s1 = adler32 & 0xffff, s2 = adler32 >> 16; unsigned long blocklen = buflen % 5552; unsigned long i; while (buflen) { for (i=0; i + 7 < blo...
pushq %rbp movq %rsp, %rbp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movq $0xfff1, -0x20(%rbp) # imm = 0xFFF1 movl -0x4(%rbp), %eax andl $0xffff, %eax # imm = 0xFFFF movl %eax, %eax movq %rax, -0x28(%rbp) movl -0x4(%rbp), %eax shrl $0x10, %eax movl %eax, %eax movq %rax, -0x30(%rbp...
/tuket[P]gltf_viewer/libs/imgui/imgui_draw.cpp
ImVector<unsigned short>::resize(int, unsigned short const&)
inline void resize(int new_size, const T& v) { if (new_size > Capacity) reserve(_grow_capacity(new_size)); if (new_size > Size) for (int n = Size; n < new_size; n++) memcpy(&Data[n], &v, sizeof(v)); Size = new_size; }
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) movl -0xc(%rbp), %eax cmpl 0x4(%rcx), %eax jle 0x9d53a movq -0x28(%rbp), %rdi movl -0xc(%rbp), %esi callq 0x7f670 movq -0x28(%rbp), %rdi movl %eax, %esi callq 0x795...
/tuket[P]gltf_viewer/libs/imgui/imgui.h
ImBitVector::~ImBitVector()
struct IMGUI_API ImBitVector { ImVector<ImU32> Storage; void Create(int sz) { Storage.resize((sz + 31) >> 5); memset(Storage.Data, 0, (size_t)Storage.Size * sizeof(Storage.Data[0])); } void Clear() { Storage.clear(); } bool TestBit(int n)...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rdi callq 0x79220 addq $0x10, %rsp popq %rbp retq nopl (%rax,%rax)
/tuket[P]gltf_viewer/libs/imgui/imgui_internal.h
ImGui::TextDisabledV(char const*, __va_list_tag*)
void ImGui::TextDisabledV(const char* fmt, va_list args) { ImGuiContext& g = *GImGui; PushStyleColor(ImGuiCol_Text, g.Style.Colors[ImGuiCol_TextDisabled]); if (fmt[0] == '%' && fmt[1] == 's' && fmt[2] == 0) TextEx(va_arg(args, const char*), NULL, ImGuiTextFlags_NoWidthForLargeClippedText); // Skip f...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) leaq 0x286e69(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rsi addq $0x1560, %rsi # imm = 0x1560 addq $0xc4, %rsi addq $0x10, %rsi xorl %edi, %edi callq 0x559f0 movq -0x8(%rbp), %r...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::Combo(char const*, int*, char const*, int)
bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items) { int items_count = 0; const char* p = items_separated_by_zeros; // FIXME-OPT: Avoid computing this, or at least only when combo is open while (*p) { p += strlen(p) + 1; ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movl $0x0, -0x20(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rax cmpb $0x0, (%rax) je 0xa5c5f movq -0x28(%rbp), %rdi callq 0x112c0 addq $0x1, %rax addq -0x28(...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
Items_SingleStringGetter(void*, int, char const**)
static bool Items_SingleStringGetter(void* data, int idx, const char** out_text) { // FIXME-OPT: we could pre-compute the indices to fasten this. But only 1 active combo means the waste is limited. const char* items_separated_by_zeros = (const char*)data; int items_count = 0; const char* p = items_separ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x28(%rbp) movl $0x0, -0x2c(%rbp) movq -0x28(%rbp), %rax movq %rax, -0x38(%rbp) movq -0x38(%rbp), %rax cmpb $0x0, (%rax) je 0xa5ced movl -0x14(%rbp), %eax cmpl -0x2c(%rbp),...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DataTypeFormatString(char*, int, int, void const*, char const*)
int ImGui::DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* p_data, const char* format) { // Signedness doesn't matter when pushing integer arguments if (data_type == ImGuiDataType_S32 || data_type == ImGuiDataType_U32) return ImFormatString(buf, buf_size, format, *(con...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) cmpl $0x4, -0x18(%rbp) je 0xa5db6 cmpl $0x5, -0x18(%rbp) jne 0xa5dd7 movq -0x10(%rbp), %rdi movslq -0x14(%rbp), %rsi movq -0x28(%rbp), %rdx movq -0x20(%rbp), %rax...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DataTypeApplyOp(int, int, void*, void const*, void const*)
void ImGui::DataTypeApplyOp(ImGuiDataType data_type, int op, void* output, const void* arg1, const void* arg2) { IM_ASSERT(op == '+' || op == '-'); switch (data_type) { case ImGuiDataType_S8: if (op == '+') { *(ImS8*)output = ImAddClampOverflow(*(const ImS8*)arg1, *(const ImS8*)arg2, ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movl %edi, -0x4(%rbp) movl %esi, -0x8(%rbp) movq %rdx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq %r8, -0x20(%rbp) movb $0x1, %al cmpl $0x2b, -0x8(%rbp) movb %al, -0x21(%rbp) je 0xa5f4f cmpl $0x2d, -0x8(%rbp) sete %al movb %al, -0x21(%rbp) movb -0x21(%rbp), %al testb $0x1, %al j...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DataTypeApplyOpFromText(char const*, char const*, int, void*, char const*)
bool ImGui::DataTypeApplyOpFromText(const char* buf, const char* initial_value_buf, ImGuiDataType data_type, void* p_data, const char* format) { while (ImCharIsBlankA(*buf)) buf++; // We don't support '-' op because it would conflict with inputing negative value. // Instead you can use +-100 to sub...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq -0x10(%rbp), %rax movsbl (%rax), %edi callq 0xa7000 testb $0x1, %al jne 0xa6ac0 jmp 0xa6ace movq -0x10(%rbp), %rax addq $0x1, %rax movq %rax, -0x10(%rbp) jmp...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DataTypeCompare(int, void const*, void const*)
int ImGui::DataTypeCompare(ImGuiDataType data_type, const void* arg_1, const void* arg_2) { switch (data_type) { case ImGuiDataType_S8: return DataTypeCompareT<ImS8 >((const ImS8* )arg_1, (const ImS8* )arg_2); case ImGuiDataType_U8: return DataTypeCompareT<ImU8 >((const ImU8* )arg_1, (const...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movl -0x8(%rbp), %eax movq %rax, -0x20(%rbp) subq $0xa, %rax ja 0xa716a movq -0x20(%rbp), %rax leaq 0x1e809d(%rip), %rcx # 0x28f13c movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax movq -0x10(%rbp), %...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DataTypeClamp(int, void*, void const*, void const*)
bool ImGui::DataTypeClamp(ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max) { switch (data_type) { case ImGuiDataType_S8: return DataTypeClampT<ImS8 >((ImS8* )p_data, (const ImS8* )p_min, (const ImS8* )p_max); case ImGuiDataType_U8: return DataTypeClampT<ImU8 >((I...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movl -0x8(%rbp), %eax movq %rax, -0x28(%rbp) subq $0xa, %rax ja 0xa7610 movq -0x28(%rbp), %rax leaq 0x1e7c65(%rip), %rcx # 0x28f168 movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragBehavior(unsigned int, int, void*, float, void const*, void const*, char const*, int)
bool ImGui::DragBehavior(ImGuiID id, ImGuiDataType data_type, void* p_v, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) { // Read imgui.cpp "API BREAKING CHANGES" section for 1.78 if you hit this assert. IM_ASSERT((flags == 1 || (flags & ImGuiSliderFlags_Invalid...
pushq %rbp movq %rsp, %rbp subq $0x1a0, %rsp # imm = 0x1A0 movl 0x10(%rbp), %eax movl %edi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) cmpl $0x1, 0x10(%rbp) je 0xa7b62 movl 0x10(%rbp), %ecx andl $0x700000...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragScalar(char const*, int, void*, float, void const*, void const*, char const*, int)
bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImGui; const ImG...
pushq %rbp movq %rsp, %rbp subq $0x1f0, %rsp # imm = 0x1F0 movl 0x10(%rbp), %eax movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movq %rcx, -0x30(%rbp) movq %r8, -0x38(%rbp) movq %r9, -0x40(%rbp) callq 0x7b8e0 movq %rax, -0x48(%rbp) movq -0x48(%rbp), %rax testb $...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
PatchFormatStringFloatToInt(char const*)
static const char* PatchFormatStringFloatToInt(const char* fmt) { if (fmt[0] == '%' && fmt[1] == '.' && fmt[2] == '0' && fmt[3] == 'f' && fmt[4] == 0) // Fast legacy path for "%.0f" which is expected to be the most common case. return "%d"; const char* fmt_start = ImParseFormatFindStart(fmt); // Find...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movsbl (%rax), %eax cmpl $0x25, %eax jne 0xa8bdc movq -0x10(%rbp), %rax movsbl 0x1(%rax), %eax cmpl $0x2e, %eax jne 0xa8bdc movq -0x10(%rbp), %rax movsbl 0x2(%rax), %eax cmpl $0x30, %eax jne 0xa8bdc movq -0x10(%rbp), %rax movsbl 0...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TempInputScalar(ImRect const&, unsigned int, char const*, int, void*, char const*, void const*, void const*)
bool ImGui::TempInputScalar(const ImRect& bb, ImGuiID id, const char* label, ImGuiDataType data_type, void* p_data, const char* format, const void* p_clamp_min, const void* p_clamp_max) { ImGuiContext& g = *GImGui; char fmt_buf[32]; char data_buf[32]; format = ImParseFormatTrimDecorations(format, fmt_b...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq 0x18(%rbp), %rax movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) leaq 0x27d500(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x38(%rbp) movq -0x30(%rbp),...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragScalarN(char const*, int, void*, int, float, void const*, void const*, char const*, int)
bool ImGui::DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImG...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movss %xmm0, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) callq 0x7b8e0 movq %rax, -0x40(%rbp) movq -0x40(%rbp), %rax testb $0x1,...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragFloatRange2(char const*, float*, float*, float, float, float, char const*, char const*, int)
bool ImGui::DragFloatRange2(const char* label, float* v_current_min, float* v_current_max, float v_speed, float v_min, float v_max, const char* format, const char* format_max, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = ...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movq %rcx, -0x38(%rbp) movq %r8, -0x40(%rbp) movl %r9d, -0x44(%rbp) callq 0x7b8e0 movq %rax, -0x50(%rbp) movq -0x50(%rbp), %rax test...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragIntRange2(char const*, int*, int*, float, int, int, char const*, char const*, int)
bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, const char* format, const char* format_max, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImGui; ...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movss %xmm0, -0x24(%rbp) movl %ecx, -0x28(%rbp) movl %r8d, -0x2c(%rbp) movq %r9, -0x38(%rbp) callq 0x7b8e0 movq %rax, -0x40(%rbp) movq -0x40(%rbp), %rax testb $0x1...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragScalar(char const*, int, void*, float, void const*, void const*, char const*, float)
bool ImGui::DragScalar(const char* label, ImGuiDataType data_type, void* p_data, float v_speed, const void* p_min, const void* p_max, const char* format, float power) { ImGuiSliderFlags drag_flags = ImGuiSliderFlags_None; if (power != 1.0f) { IM_ASSERT(power == 1.0f && "Call function with ImGuiSlide...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movss %xmm0, -0x1c(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) movss %xmm1, -0x3c(%rbp) movl $0x0, -0x40(%rbp) movss -0x3c(%rbp), %xmm0 movss 0x1b0897(%rip), %xmm1 # 0x25a1c4 uco...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::DragScalarN(char const*, int, void*, int, float, void const*, void const*, char const*, float)
bool ImGui::DragScalarN(const char* label, ImGuiDataType data_type, void* p_data, int components, float v_speed, const void* p_min, const void* p_max, const char* format, float power) { ImGuiSliderFlags drag_flags = ImGuiSliderFlags_None; if (power != 1.0f) { IM_ASSERT(power == 1.0f && "Call functio...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movss %xmm0, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movss %xmm1, -0x34(%rbp) movl $0x0, -0x38(%rbp) movss -0x34(%rbp), %xmm0 movss 0x1b0784(%rip), ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::SliderBehavior(ImRect const&, unsigned int, int, void*, void const*, void const*, char const*, int, ImRect*)
bool ImGui::SliderBehavior(const ImRect& bb, ImGuiID id, ImGuiDataType data_type, void* p_v, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags, ImRect* out_grab_bb) { // Read imgui.cpp "API BREAKING CHANGES" section for 1.78 if you hit this assert. IM_ASSERT((flags == 1 || (flags ...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movq 0x20(%rbp), %rax movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) cmpl $0x1, 0x18(%rbp) je 0xa9b65 movl 0x18(%rbp), %ecx andl $0x7000000f, %...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::SliderScalar(char const*, int, void*, void const*, void const*, char const*, int)
bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImGui; const ImGuiStyle& styl...
pushq %rbp movq %rsp, %rbp subq $0x220, %rsp # imm = 0x220 movl 0x10(%rbp), %eax movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) callq 0x7b8e0 movq %rax, -0x40(%rbp) movq -0x40(%rbp), %rax testb $0x1, 0x93(%rax) je 0xaa16...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::SliderScalarN(char const*, int, void*, int, void const*, void const*, char const*, int)
bool ImGui::SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* v_min, const void* v_max, const char* format, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImGui; bool value...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) callq 0x7b8e0 movq %rax, -0x40(%rbp) movq -0x40(%rbp), %rax testb $0x1, 0x93(%rax) je 0xaa8f7 mo...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::SliderAngle(char const*, float*, float, float, char const*, int)
bool ImGui::SliderAngle(const char* label, float* v_rad, float v_degrees_min, float v_degrees_max, const char* format, ImGuiSliderFlags flags) { if (format == NULL) format = "%.0f deg"; float v_deg = (*v_rad) * 360.0f / (2 * IM_PI); bool value_changed = SliderFloat(label, &v_deg, v_degrees_min, v_de...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movss %xmm1, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) cmpq $0x0, -0x20(%rbp) jne 0xaabe3 leaq 0x1b0fe6(%rip), %rax # 0x25bbc5 movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rax movss 0x1e44b1...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::VSliderScalar(char const*, ImVec2 const&, int, void*, void const*, void const*, char const*, int)
bool ImGui::VSliderScalar(const char* label, const ImVec2& size, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, ImGuiSliderFlags flags) { ImGuiWindow* window = GetCurrentWindow(); if (window->SkipItems) return false; ImGuiContext& g = *GImGui; c...
pushq %rbp movq %rsp, %rbp subq $0x1c0, %rsp # imm = 0x1C0 movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movq %r9, -0x38(%rbp) callq 0x7b8e0 movq %rax, -0x40(%rbp) movq -0x40(%rbp), %rax testb $0x1...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::SliderScalar(char const*, int, void*, void const*, void const*, char const*, float)
bool ImGui::SliderScalar(const char* label, ImGuiDataType data_type, void* p_data, const void* p_min, const void* p_max, const char* format, float power) { ImGuiSliderFlags slider_flags = ImGuiSliderFlags_None; if (power != 1.0f) { IM_ASSERT(power == 1.0f && "Call function with ImGuiSliderFlags_Loga...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movss %xmm0, -0x34(%rbp) movl $0x0, -0x38(%rbp) movss -0x34(%rbp), %xmm0 movss 0x1aedac(%rip), %xmm1 # 0x25a1c4 ucomiss %xmm1, %xmm0 jne 0xa...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::SliderScalarN(char const*, int, void*, int, void const*, void const*, char const*, float)
bool ImGui::SliderScalarN(const char* label, ImGuiDataType data_type, void* v, int components, const void* v_min, const void* v_max, const char* format, float power) { ImGuiSliderFlags slider_flags = ImGuiSliderFlags_None; if (power != 1.0f) { IM_ASSERT(power == 1.0f && "Call function with ImGuiSlid...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movq %r9, -0x30(%rbp) movss %xmm0, -0x34(%rbp) movl $0x0, -0x38(%rbp) movss -0x34(%rbp), %xmm0 movss 0x1aece9(%rip), %xmm1 # 0x25a1c4 ucomis...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImParseFormatFindEnd(char const*)
const char* ImParseFormatFindEnd(const char* fmt) { // Printf/scanf types modifiers: I/L/h/j/l/t/w/z. Other uppercase letters qualify as types aka end of the format. if (fmt[0] != '%') return fmt; const unsigned int ignored_uppercase_mask = (1 << ('I'-'A')) | (1 << ('L'-'A')); const unsigned int...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x10(%rbp) movq -0x10(%rbp), %rax movsbl (%rax), %eax cmpl $0x25, %eax je 0xab601 movq -0x10(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xab6af movl $0x900, -0x14(%rbp) # imm = 0x900 movl $0x2480a80, -0x18(%rbp) # imm = 0x2480A80 movq -0x10(%rbp), %rax movb (%rax), %al movb %al, -0...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImParseFormatTrimDecorations(char const*, char*, unsigned long)
const char* ImParseFormatTrimDecorations(const char* fmt, char* buf, size_t buf_size) { const char* fmt_start = ImParseFormatFindStart(fmt); if (fmt_start[0] != '%') return fmt; const char* fmt_end = ImParseFormatFindEnd(fmt_start); if (fmt_end[0] == 0) // If we only have leading decoration, we ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0xab570 movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rax movsbl (%rax), %eax cmpl $0x25, %eax je 0xab6f7 movq -0x10(%rbp), %rax movq %rax, -0x8(%rbp) jmp 0xab75a movq -0x28(%rbp), %...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::BeginTabItem(char const*, bool*, int)
bool ImGui::BeginTabItem(const char* label, bool* p_open, ImGuiTabItemFlags flags) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) return false; ImGuiTabBar* tab_bar = g.CurrentTabBar; if (tab_bar == NULL) { IM_ASSERT_USER_ERROR(tab_...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movl %edx, -0x1c(%rbp) leaq 0x268896(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rax movq 0x1c10(%rax), %rax movq %rax, -0x30(%rbp) movq -0x30(%rbp), %rax testb $0x1, 0x93(%rax) je 0xbd966...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TabItemEx(ImGuiTabBar*, char const*, bool*, int)
bool ImGui::TabItemEx(ImGuiTabBar* tab_bar, const char* label, bool* p_open, ImGuiTabItemFlags flags) { // Layout whole tab bar if not already done if (tab_bar->WantLayout) TabBarLayout(tab_bar); ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) ...
pushq %rbp movq %rsp, %rbp subq $0x1d0, %rsp # imm = 0x1D0 movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq -0x10(%rbp), %rax testb $0x1, 0x6b(%rax) je 0xbda8d movq -0x10(%rbp), %rdi callq 0xbc3b0 leaq 0x26873c(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::EndTabItem()
void ImGui::EndTabItem() { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; if (window->SkipItems) return; ImGuiTabBar* tab_bar = g.CurrentTabBar; if (tab_bar == NULL) { IM_ASSERT_USER_ERROR(tab_bar != NULL, "Needs to be called between BeginTabBar() and EndTa...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp leaq 0x267af1(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0x1c10(%rax), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax testb $0x1, 0x93(%rax) je 0xbe707 jmp 0xbe7b3 movq -0x8(%rbp), %rax movq 0x2058(%rax), %rax movq %rax, -...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TabBarCalcTabID(ImGuiTabBar*, char const*)
static ImU32 ImGui::TabBarCalcTabID(ImGuiTabBar* tab_bar, const char* label) { if (tab_bar->Flags & ImGuiTabBarFlags_DockNode) { ImGuiID id = ImHashStr(label); KeepAliveID(id); return id; } else { ImGuiWindow* window = GImGui->CurrentWindow; return window->G...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movl 0x10(%rax), %eax andl $0x100000, %eax # imm = 0x100000 cmpl $0x0, %eax je 0xbe8d3 movq -0x18(%rbp), %rdi xorl %eax, %eax movl %eax, %esi xorl %edx, %edx callq 0x52fe0 movl %eax, -0x1c(%rbp) movl...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TabItemCalcSize(char const*, bool)
ImVec2 ImGui::TabItemCalcSize(const char* label, bool has_close_button) { ImGuiContext& g = *GImGui; ImVec2 label_size = CalcTextSize(label, NULL, true); ImVec2 size = ImVec2(label_size.x + g.Style.FramePadding.x, label_size.y + g.Style.FramePadding.y * 2.0f); if (has_close_button) size.x += g.S...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movb %sil, %al movq %rdi, -0x10(%rbp) andb $0x1, %al movb %al, -0x11(%rbp) leaq 0x2678a5(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi xorl %eax, %eax movl %eax, %esi movl $0x1, %edx movss 0x19b8a5(%rip), %xmm0 # 0x25a1ec callq 0x...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TabItemBackground(ImDrawList*, ImRect const&, int, unsigned int)
void ImGui::TabItemBackground(ImDrawList* draw_list, const ImRect& bb, ImGuiTabItemFlags flags, ImU32 col) { // While rendering tabs, we trim 1 pixel off the top of our bounding box so they can fit within a regular frame height while looking "detached" from it. ImGuiContext& g = *GImGui; const float width =...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl %edx, -0x14(%rbp) movl %ecx, -0x18(%rbp) leaq 0x267790(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0x7bee0 movss %xmm0, -0x24(%rbp) movss -0x24(%rbp), %xmm0 xorps %xmm1, %xmm...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImStb::stb_textedit_paste_internal(ImGuiInputTextState*, ImStb::STB_TexteditState*, unsigned short*, int)
static int stb_textedit_paste_internal(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int len) { // if there's a selection, the paste should delete it stb_textedit_clamp(str, state); stb_textedit_delete_selection(str,state); // try to insert the characters if (STB_TEXTED...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) movl %ecx, -0x24(%rbp) movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0xbfc10 movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rsi callq 0xbf660 movq -0x10(%rbp), %rdi movq -0x18(%rbp), %rax movl (%rax), %esi ...
/tuket[P]gltf_viewer/libs/imgui/imstb_textedit.h
TabItemComparerBySection(void const*, void const*)
static int IMGUI_CDECL TabItemComparerBySection(const void* lhs, const void* rhs) { const ImGuiTabItem* a = (const ImGuiTabItem*)lhs; const ImGuiTabItem* b = (const ImGuiTabItem*)rhs; const int a_section = TabItemGetSectionIdx(a); const int b_section = TabItemGetSectionIdx(b); if (a_section != b_sec...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq -0x10(%rbp), %rax movq %rax, -0x20(%rbp) movq -0x18(%rbp), %rax movq %rax, -0x28(%rbp) movq -0x20(%rbp), %rdi callq 0xc0ce0 movl %eax, -0x2c(%rbp) movq -0x28(%rbp), %rdi callq 0xc0ce0 movl %eax, -0x30(%rbp) movl -0x2c(%rbp), ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TabBarScrollingButtons(ImGuiTabBar*)
static ImGuiTabItem* ImGui::TabBarScrollingButtons(ImGuiTabBar* tab_bar) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; const ImVec2 arrow_button_size(g.FontSize - 2.0f, g.FontSize + g.Style.FramePadding.y * 2.0f); const float scrolling_buttons_width = arrow_button_size.x * 2.0f; ...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movq %rdi, -0x8(%rbp) leaq 0x26520a(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x1c10(%rax), %rax movq %rax, -0x18(%rbp) movq -0x10(%rbp), %rax movss 0x1980(%rax), %xmm2 movss 0x1ce0ec(%rip), %xmm1 # 0x28f0dc movaps %xmm2,...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImGui::TabBarScrollToTab(ImGuiTabBar*, unsigned int, ImGuiTabBarSection*)
static void ImGui::TabBarScrollToTab(ImGuiTabBar* tab_bar, ImGuiID tab_id, ImGuiTabBarSection* sections) { ImGuiTabItem* tab = TabBarFindTabByID(tab_bar, tab_id); if (tab == NULL) return; if (tab->Flags & ImGuiTabItemFlags_SectionMask_) return; ImGuiContext& g = *GImGui; float margi...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi movl -0xc(%rbp), %esi callq 0xbd320 movq %rax, -0x20(%rbp) cmpq $0x0, -0x20(%rbp) jne 0xc138f jmp 0xc1576 movq -0x20(%rbp), %rax movl 0x4(%rax), %eax andl $0xc0, %eax cmpl $0x0, %eax je 0...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
SanitizeFormatString(char const*, char*, unsigned long)
static void SanitizeFormatString(const char* fmt, char* fmt_out, size_t fmt_out_size) { IM_UNUSED(fmt_out_size); const char* fmt_end = ImParseFormatFindEnd(fmt); IM_ASSERT((size_t)(fmt_end - fmt + 1) < fmt_out_size); // Format is too long, let us know if this happens to you! while (fmt < fmt_end) { ...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x8(%rbp), %rdi callq 0xab5e0 movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax movq -0x8(%rbp), %rcx subq %rcx, %rax addq $0x1, %rax cmpq -0x18(%rbp), %rax jae 0xc1838 jmp 0xc1857 leaq 0x1d026a(%rip), %rdi...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
char const* ImAtoi<long long>(char const*, long long*)
static const char* ImAtoi(const char* src, TYPE* output) { int negative = 0; if (*src == '-') { negative = 1; src++; } if (*src == '+') { src++; } TYPE v = 0; while (*src >= '0' && *src <= '9') v = (v * 10) + (*src++ - '0'); *output = negative ? -v : v; return src; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax cmpl $0x2d, %eax jne 0xc1b82 movl $0x1, -0x14(%rbp) movq -0x8(%rbp), %rax addq $0x1, %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax cmpl $0x2b, %eax jne 0xc1b9a ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
char const* ImAtoi<float>(char const*, float*)
static const char* ImAtoi(const char* src, TYPE* output) { int negative = 0; if (*src == '-') { negative = 1; src++; } if (*src == '+') { src++; } TYPE v = 0; while (*src >= '0' && *src <= '9') v = (v * 10) + (*src++ - '0'); *output = negative ? -v : v; return src; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax cmpl $0x2d, %eax jne 0xc1df2 movl $0x1, -0x14(%rbp) movq -0x8(%rbp), %rax addq $0x1, %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax cmpl $0x2b, %eax jne 0xc1e0a ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
char const* ImAtoi<double>(char const*, double*)
static const char* ImAtoi(const char* src, TYPE* output) { int negative = 0; if (*src == '-') { negative = 1; src++; } if (*src == '+') { src++; } TYPE v = 0; while (*src >= '0' && *src <= '9') v = (v * 10) + (*src++ - '0'); *output = negative ? -v : v; return src; }
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax cmpl $0x2d, %eax jne 0xc1fd2 movl $0x1, -0x14(%rbp) movq -0x8(%rbp), %rax addq $0x1, %rax movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax movsbl (%rax), %eax cmpl $0x2b, %eax jne 0xc1fea ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::CheckboxFlagsT<long long>(char const*, long long*, long long)
bool ImGui::CheckboxFlagsT(const char* label, T* flags, T flags_value) { bool all_on = (*flags & flags_value) == flags_value; bool any_on = (*flags & flags_value) != 0; bool pressed; if (!all_on && any_on) { ImGuiContext& g = *GImGui; ImGuiItemFlags backup_item_flags = g.CurrentItemF...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax andq -0x18(%rbp), %rax cmpq -0x18(%rbp), %rax sete %al andb $0x1, %al movb %al, -0x19(%rbp) movq -0x10(%rbp), %rax movq (%rax), %rax andq -0x18(%rbp), %rax cmpq $0x0, ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::DragBehaviorT<int, int, float>(int, int*, float, int, int, char const*, int)
bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags) { ImGuiContext& g = *GImGui; const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_clamped = (v_min < v_m...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movl %edx, -0x18(%rbp) movl %ecx, -0x1c(%rbp) movq %r8, -0x28(%rbp) movl %r9d, -0x2c(%rbp) leaq 0x263c84(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x38(%rbp) movl -0x2c(%rbp), %edx andl $0x100...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::DragBehaviorT<long long, long long, double>(int, long long*, float, long long, long long, char const*, int)
bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags) { ImGuiContext& g = *GImGui; const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_clamped = (v_min < v_m...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movl %r9d, -0x34(%rbp) leaq 0x2630f2(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x40(%rbp) movl -0x34(%rbp), %edx andl $0x100...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::DragBehaviorT<unsigned long long, long long, double>(int, unsigned long long*, float, unsigned long long, unsigned long long, char const*, int)
bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags) { ImGuiContext& g = *GImGui; const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_clamped = (v_min < v_m...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq %rcx, -0x28(%rbp) movq %r8, -0x30(%rbp) movl %r9d, -0x34(%rbp) leaq 0x262ac2(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x40(%rbp) movl -0x34(%rbp), %edx andl $0x100...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::DragBehaviorT<float, float, float>(int, float*, float, float, float, char const*, int)
bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags) { ImGuiContext& g = *GImGui; const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_clamped = (v_min < v_m...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movss %xmm1, -0x18(%rbp) movss %xmm2, -0x1c(%rbp) movq %rdx, -0x28(%rbp) movl %ecx, -0x2c(%rbp) leaq 0x262321(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x38(%rbp) movl -0x2c(%rbp), %edx andl $...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::DragBehaviorT<double, double, double>(int, double*, float, double, double, char const*, int)
bool ImGui::DragBehaviorT(ImGuiDataType data_type, TYPE* v, float v_speed, const TYPE v_min, const TYPE v_max, const char* format, ImGuiSliderFlags flags) { ImGuiContext& g = *GImGui; const ImGuiAxis axis = (flags & ImGuiSliderFlags_Vertical) ? ImGuiAxis_Y : ImGuiAxis_X; const bool is_clamped = (v_min < v_m...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movss %xmm0, -0x14(%rbp) movsd %xmm1, -0x20(%rbp) movsd %xmm2, -0x28(%rbp) movq %rdx, -0x30(%rbp) movl %ecx, -0x34(%rbp) leaq 0x261d01(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x40(%rbp) movl -0x34(%rbp), %edx andl $...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::SliderBehaviorT<int, int, float>(ImRect const&, unsigned int, int, int*, int, int, char const*, 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, ImGuiSliderFlags flags, ImRect* out_grab_bb) { ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; const ImGuiAxis axis = (flags & ImGuiSliderFlags_V...
pushq %rbp movq %rsp, %rbp subq $0xf0, %rsp movq 0x20(%rbp), %rax movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movl %r8d, -0x1c(%rbp) movl %r9d, -0x20(%rbp) leaq 0x26162d(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x28...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::SliderBehaviorT<long long, long long, double>(ImRect const&, unsigned int, int, long long*, long long, long long, char const*, 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, ImGuiSliderFlags flags, ImRect* out_grab_bb) { ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; const ImGuiAxis axis = (flags & ImGuiSliderFlags_V...
pushq %rbp movq %rsp, %rbp subq $0x110, %rsp # imm = 0x110 movq 0x20(%rbp), %rax movl 0x18(%rbp), %eax movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movq %r8, -0x20(%rbp) movq %r9, -0x28(%rbp) leaq 0x2602cd(%rip), %rax # 0x3261d0 movq (%rax...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
bool ImGui::SliderBehaviorT<double, double, double>(ImRect const&, unsigned int, int, double*, double, double, char const*, 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, ImGuiSliderFlags flags, ImRect* out_grab_bb) { ImGuiContext& g = *GImGui; const ImGuiStyle& style = g.Style; const ImGuiAxis axis = (flags & ImGuiSliderFlags_V...
pushq %rbp movq %rsp, %rbp subq $0x120, %rsp # imm = 0x120 movq 0x10(%rbp), %rax movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movq %rcx, -0x18(%rbp) movsd %xmm0, -0x20(%rbp) movsd %xmm1, -0x28(%rbp) movq %r8, -0x30(%rbp) movl %r9d, -0x34(%rbp) leaq 0x25e44a(%rip), %rax # 0x3261d0 mov...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
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; // Sanitize format char fmt...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movl %edx, -0x18(%rbp) movq -0x10(%rbp), %rdi callq 0xab570 movq %rax, -0x20(%rbp) movq -0x20(%rbp), %rax movsbl (%rax), %eax cmpl $0x25, %eax jne 0xca10b movq -0x20(%rbp), %rax movsbl 0x1(%rax), %eax cmpl $0x25, %eax jne 0xca116 ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
unsigned int ImGui::ScaleValueFromRatioT<unsigned int, int, float>(int, float, unsigned int, unsigned int, bool, float, float)
TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return v_min; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataTy...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movb %cl, %al movl %edi, -0x8(%rbp) movss %xmm0, -0xc(%rbp) movl %esi, -0x10(%rbp) movl %edx, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movss %xmm1, -0x1c(%rbp) movss %xmm2, -0x20(%rbp) movl -0x10(%rbp), %eax cmpl -0x14(%rbp), %eax jne 0xca6bd movl -0x10(%rbp), %eax mo...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
float ImGui::ScaleRatioFromValueT<long long, long long, double>(int, long long, long long, long long, bool, float, float)
float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return 0.0f; IM_UNUSED(data_type); const TYPE v_clamped = (v_min < v_max) ? ImClamp(v, v_min, v_max) : ...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movb %r8b, %al movl %edi, -0x8(%rbp) movq %rsi, -0x10(%rbp) movq %rdx, -0x18(%rbp) movq %rcx, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movss %xmm0, -0x28(%rbp) movss %xmm1, -0x2c(%rbp) movq -0x18(%rbp), %rax cmpq -0x20(%rbp), %rax jne 0xcacb3 xorps %xmm0, %xmm0 movss ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
long long ImGui::ScaleValueFromRatioT<long long, long long, double>(int, float, long long, long long, bool, float, float)
TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return v_min; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataTy...
pushq %rbp movq %rsp, %rbp subq $0xd0, %rsp movb %cl, %al movl %edi, -0xc(%rbp) movss %xmm0, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movq -0x18(%rbp), %rax cmpq -0x20(%rbp), %rax jne 0xcb233 movq -0x18(%rbp), %rax m...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
unsigned long long ImGui::ScaleValueFromRatioT<unsigned long long, long long, double>(int, float, unsigned long long, unsigned long long, bool, float, float)
TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return v_min; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataTy...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movb %cl, %al movl %edi, -0xc(%rbp) movss %xmm0, -0x10(%rbp) movq %rsi, -0x18(%rbp) movq %rdx, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movss %xmm1, -0x28(%rbp) movss %xmm2, -0x2c(%rbp) movq -0x18(%rbp), %rax cmpq -0x20(%rbp), %rax jne 0xcc3a...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
unsigned long long ImGui::RoundScalarWithFormatT<unsigned long long, long long>(char const*, int, unsigned long long)
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; // Sanitize format char fmt...
pushq %rbp movq %rsp, %rbp subq $0xa0, %rsp movq %rdi, -0x10(%rbp) movl %esi, -0x14(%rbp) movq %rdx, -0x20(%rbp) movq -0x10(%rbp), %rdi callq 0xab570 movq %rax, -0x28(%rbp) movq -0x28(%rbp), %rax movsbl (%rax), %eax cmpl $0x25, %eax jne 0xcccdc movq -0x28(%rbp), %rax movsbl 0x1(%rax), %eax cmpl $0x25, %eax jne 0xccce9 ...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
float ImGui::ScaleRatioFromValueT<float, float, float>(int, float, float, float, bool, float, float)
float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return 0.0f; IM_UNUSED(data_type); const TYPE v_clamped = (v_min < v_max) ? ImClamp(v, v_min, v_max) : ...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movb %sil, %al movl %edi, -0x8(%rbp) movss %xmm0, -0xc(%rbp) movss %xmm1, -0x10(%rbp) movss %xmm2, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movss %xmm3, -0x1c(%rbp) movss %xmm4, -0x20(%rbp) movss -0x10(%rbp), %xmm0 ucomiss -0x14(%rbp), %xmm0 jne 0xcce06 jp 0xcce06 xor...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
float ImGui::ScaleValueFromRatioT<float, float, float>(int, float, float, float, bool, float, float)
TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return v_min; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataTy...
pushq %rbp movq %rsp, %rbp subq $0x90, %rsp movb %sil, %al movl %edi, -0x8(%rbp) movss %xmm0, -0xc(%rbp) movss %xmm1, -0x10(%rbp) movss %xmm2, -0x14(%rbp) andb $0x1, %al movb %al, -0x15(%rbp) movss %xmm3, -0x1c(%rbp) movss %xmm4, -0x20(%rbp) movss -0x10(%rbp), %xmm0 ucomiss -0x14(%rbp), %xmm0 jne 0xcd29b jp 0xcd29b mov...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
float ImGui::ScaleRatioFromValueT<double, double, double>(int, double, double, double, bool, float, float)
float ImGui::ScaleRatioFromValueT(ImGuiDataType data_type, TYPE v, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return 0.0f; IM_UNUSED(data_type); const TYPE v_clamped = (v_min < v_max) ? ImClamp(v, v_min, v_max) : ...
pushq %rbp movq %rsp, %rbp subq $0xc0, %rsp movb %sil, %al movl %edi, -0x8(%rbp) movsd %xmm0, -0x10(%rbp) movsd %xmm1, -0x18(%rbp) movsd %xmm2, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movss %xmm3, -0x28(%rbp) movss %xmm4, -0x2c(%rbp) movsd -0x18(%rbp), %xmm0 ucomisd -0x20(%rbp), %xmm0 jne 0xcd89a jp 0xcd89a xo...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
double ImGui::ScaleValueFromRatioT<double, double, double>(int, float, double, double, bool, float, float)
TYPE ImGui::ScaleValueFromRatioT(ImGuiDataType data_type, float t, TYPE v_min, TYPE v_max, bool is_logarithmic, float logarithmic_zero_epsilon, float zero_deadzone_halfsize) { if (v_min == v_max) return v_min; const bool is_floating_point = (data_type == ImGuiDataType_Float) || (data_type == ImGuiDataTy...
pushq %rbp movq %rsp, %rbp subq $0xb0, %rsp movb %sil, %al movl %edi, -0xc(%rbp) movss %xmm0, -0x10(%rbp) movsd %xmm1, -0x18(%rbp) movsd %xmm2, -0x20(%rbp) andb $0x1, %al movb %al, -0x21(%rbp) movss %xmm3, -0x28(%rbp) movss %xmm4, -0x2c(%rbp) movsd -0x18(%rbp), %xmm0 ucomisd -0x20(%rbp), %xmm0 jne 0xcde0c jp 0xcde0c mo...
/tuket[P]gltf_viewer/libs/imgui/imgui_widgets.cpp
ImPool<ImGuiTabBar>::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(); AliveCount++; return &Buf[idx]; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) movl 0x20(%rcx), %eax movl %eax, -0xc(%rbp) movl -0xc(%rbp), %eax cmpl (%rcx), %eax jne 0xce4fe movq -0x28(%rbp), %rdi movl (%rdi), %esi addl $0x1, %esi callq 0xce590 movq -0x28(%rbp), %rax movl 0x20(%rax), %e...
/tuket[P]gltf_viewer/libs/imgui/imgui_internal.h
ImGui::TableUpdateLayout(ImGuiTable*)
void ImGui::TableUpdateLayout(ImGuiTable* table) { ImGuiContext& g = *GImGui; IM_ASSERT(table->IsLayoutLocked == false); const ImGuiTableFlags table_sizing_policy = (table->Flags & ImGuiTableFlags_SizingMask_); table->IsDefaultDisplayOrder = true; table->ColumnsEnabledCount = 0; table->EnabledM...
pushq %rbp movq %rsp, %rbp subq $0x140, %rsp # imm = 0x140 movq %rdi, -0x8(%rbp) leaq 0x255a9a(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x10(%rbp) movq -0x8(%rbp), %rax movb 0x1d9(%rax), %al andb $0x1, %al movzbl %al, %eax cmpl $0x0, %eax jne 0xd0753 jmp 0xd0772 leaq 0x1c2293(%rip), %rdi # ...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::TableGetMaxColumnWidth(ImGuiTable const*, int)
float ImGui::TableGetMaxColumnWidth(const ImGuiTable* table, int column_n) { const ImGuiTableColumn* column = &table->Columns[column_n]; float max_width = FLT_MAX; const float min_column_distance = table->MinColumnWidth + table->CellPaddingX * 2.0f + table->CellSpacingX1 + table->CellSpacingX2; if (tabl...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movq -0x8(%rbp), %rdi addq $0x18, %rdi movl -0xc(%rbp), %esi callq 0xdcc90 movq %rax, -0x18(%rbp) movss 0x1a93a5(%rip), %xmm0 # 0x27b6b0 movss %xmm0, -0x1c(%rbp) movq -0x8(%rbp), %rax movss 0xbc(%rax), %xmm1 movq -0x8(%rbp), %rax ...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::TableSetupDrawChannels(ImGuiTable*)
void ImGui::TableSetupDrawChannels(ImGuiTable* table) { const int freeze_row_multiplier = (table->FreezeRowsCount > 0) ? 2 : 1; const int channels_for_row = (table->Flags & ImGuiTableFlags_NoClip) ? 1 : table->ColumnsEnabledCount; const int channels_for_bg = 1 + 1 * freeze_row_multiplier; const int chan...
pushq %rbp movq %rsp, %rbp subq $0x50, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rax movsbl 0x1d2(%rax), %edx movl $0x1, %eax movl $0x2, %ecx cmpl $0x0, %edx cmovgl %ecx, %eax movl %eax, -0xc(%rbp) movq -0x8(%rbp), %rax movl 0x4(%rax), %eax andl $0x100000, %eax # imm = 0x100000 cmpl $0x0, %eax je 0xd2575 mov...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::TableGcCompactSettings()
void ImGui::TableGcCompactSettings() { ImGuiContext& g = *GImGui; int required_memory = 0; for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings)) if (settings->ID != 0) required_memory += (int)TableSettingsCalcChu...
pushq %rbp movq %rsp, %rbp subq $0x80, %rsp leaq 0x24c65e(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x8(%rbp) movl $0x0, -0xc(%rbp) movq -0x8(%rbp), %rdi addq $0x3068, %rdi # imm = 0x3068 callq 0x7cf20 movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) je 0xd9bd3 movq -0x18(%rbp), %rax cmpl $0x0, (%r...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::GetColumnOffset(int)
float ImGui::GetColumnOffset(int column_index) { ImGuiWindow* window = GetCurrentWindowRead(); ImGuiOldColumns* columns = window->DC.CurrentColumns; if (columns == NULL) return 0.0f; if (column_index < 0) column_index = columns->Current; IM_ASSERT(column_index < columns->Columns.Siz...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movl %edi, -0x8(%rbp) callq 0x7bb90 movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x1a8(%rax), %rax movq %rax, -0x18(%rbp) cmpq $0x0, -0x18(%rbp) jne 0xdabb7 xorps %xmm0, %xmm0 movss %xmm0, -0x4(%rbp) jmp 0xdac38 cmpl $0x0, -0x8(%rbp) jge 0xdabc7 movq -0x18(%rbp), %rax m...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::SetColumnOffset(int, float)
void ImGui::SetColumnOffset(int column_index, float offset) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; ImGuiOldColumns* columns = window->DC.CurrentColumns; IM_ASSERT(columns != NULL); if (column_index < 0) column_index = columns->Current; IM_ASSERT(column_index...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movl %edi, -0x4(%rbp) movss %xmm0, -0x8(%rbp) leaq 0x24b469(%rip), %rax # 0x3261d0 movq (%rax), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax movq 0x1c10(%rax), %rax movq %rax, -0x18(%rbp) movq -0x18(%rbp), %rax movq 0x1a8(%rax), %rax movq %rax, -0x20(%rbp) cmpq $0x0,...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
GetColumnWidthEx(ImGuiOldColumns*, int, bool)
static float GetColumnWidthEx(ImGuiOldColumns* columns, int column_index, bool before_resize = false) { if (column_index < 0) column_index = columns->Current; float offset_norm; if (before_resize) offset_norm = columns->Columns[column_index + 1].OffsetNormBeforeResize - columns->Columns[col...
pushq %rbp movq %rsp, %rbp subq $0x20, %rsp movb %dl, %al movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) andb $0x1, %al movb %al, -0xd(%rbp) cmpl $0x0, -0xc(%rbp) jge 0xdaf56 movq -0x8(%rbp), %rax movl 0xc(%rax), %eax movl %eax, -0xc(%rbp) testb $0x1, -0xd(%rbp) je 0xdaf9a movq -0x8(%rbp), %rdi addq $0x60, %rdi movl -0xc(...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::PushColumnsBackground()
void ImGui::PushColumnsBackground() { ImGuiWindow* window = GetCurrentWindowRead(); ImGuiOldColumns* columns = window->DC.CurrentColumns; if (columns->Count == 1) return; // Optimization: avoid SetCurrentChannel() + PushClipRect() columns->HostBackupClipRect = window->ClipRect; SetWindo...
pushq %rbp movq %rsp, %rbp subq $0x10, %rsp callq 0x7bb90 movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0x1a8(%rax), %rax movq %rax, -0x10(%rbp) movq -0x10(%rbp), %rax cmpl $0x1, 0x10(%rax) jne 0xdb11c jmp 0xdb165 movq -0x8(%rbp), %rcx movq -0x10(%rbp), %rax movq 0x250(%rcx), %rdx movq %rdx, 0x3c(%rax) movq 0x258(%r...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.cpp
ImGui::GetColumnsID(char const*, int)
ImGuiID ImGui::GetColumnsID(const char* str_id, int columns_count) { ImGuiWindow* window = GetCurrentWindow(); // Differentiate column ID with an arbitrary prefix for cases where users name their columns set the same as another widget. // In addition, when an identifier isn't explicitly provided we include...
pushq %rbp movq %rsp, %rbp subq $0x30, %rsp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) callq 0x7b8e0 movq %rax, -0x18(%rbp) cmpq $0x0, -0x8(%rbp) je 0xdb326 xorl %eax, %eax movl %eax, -0x20(%rbp) jmp 0xdb32c movl -0xc(%rbp), %eax movl %eax, -0x20(%rbp) movl -0x20(%rbp), %edi addl $0x11223347, %edi # imm = 0x1122...
/tuket[P]gltf_viewer/libs/imgui/imgui_tables.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(); AliveCount++; return &Buf[idx]; }
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movq -0x8(%rbp), %rcx movq %rcx, -0x28(%rbp) movl 0x20(%rcx), %eax movl %eax, -0xc(%rbp) movl -0xc(%rbp), %eax cmpl (%rcx), %eax jne 0xdd71e movq -0x28(%rbp), %rdi movl (%rdi), %esi addl $0x1, %esi callq 0xdd7b0 movq -0x28(%rbp), %rax movl 0x20(%rax), %e...
/tuket[P]gltf_viewer/libs/imgui/imgui_internal.h
ImBitArraySetBitRange(unsigned int*, int, int)
inline void ImBitArraySetBitRange(ImU32* arr, int n, int n2) // Works on range [n..n2) { n2--; while (n <= n2) { int a_mod = (n & 31); int b_mod = (n2 > (n | 31) ? 31 : (n2 & 31)) + 1; ImU32 mask = (ImU32)(((ImU64)1 << b_mod) - 1) & ~(ImU32)(((ImU64)1 << a_mod) - 1); arr[...
pushq %rbp movq %rsp, %rbp movq %rdi, -0x8(%rbp) movl %esi, -0xc(%rbp) movl %edx, -0x10(%rbp) movl -0x10(%rbp), %eax addl $-0x1, %eax movl %eax, -0x10(%rbp) movl -0xc(%rbp), %eax cmpl -0x10(%rbp), %eax jg 0xdde37 movl -0xc(%rbp), %eax andl $0x1f, %eax movl %eax, -0x14(%rbp) movl -0x10(%rbp), %eax movl -0xc(%rbp), %ecx ...
/tuket[P]gltf_viewer/libs/imgui/imgui_internal.h
ImGui_ImplOpenGL3_Init(char const*)
bool ImGui_ImplOpenGL3_Init(const char* glsl_version) { // Query for GL version (e.g. 320 for GL 3.2) #if !defined(IMGUI_IMPL_OPENGL_ES2) GLint major = 0; GLint minor = 0; glGetIntegerv(GL_MAJOR_VERSION, &major); glGetIntegerv(GL_MINOR_VERSION, &minor); if (major == 0 && minor == 0) { ...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp movq %rdi, -0x8(%rbp) movl $0x0, -0xc(%rbp) movl $0x0, -0x10(%rbp) movl $0x821b, %edi # imm = 0x821B leaq -0xc(%rbp), %rsi leaq 0x21397e(%rip), %rax # 0x2f1b68 callq *(%rax) movl $0x821c, %edi # imm = 0x821C leaq -0x10(%rbp), %rsi leaq 0x21396c(%rip), %...
/tuket[P]gltf_viewer/libs/imgui/imgui_impl_opengl3.cpp
ImGui_ImplOpenGL3_DestroyDeviceObjects()
void ImGui_ImplOpenGL3_DestroyDeviceObjects() { if (g_VboHandle) { glDeleteBuffers(1, &g_VboHandle); g_VboHandle = 0; } if (g_ElementsHandle) { glDeleteBuffers(1, &g_ElementsHandle); g_ElementsHandle = 0; } if (g_ShaderHandle && g_VertHandle) { glDetachShader(g_ShaderHandle, g_VertHandle); } ...
pushq %rbp movq %rsp, %rbp cmpl $0x0, 0x24d67d(%rip) # 0x32ba38 je 0xde3dc movl $0x1, %edi leaq 0x24d66f(%rip), %rsi # 0x32ba38 leaq 0x213538(%rip), %rax # 0x2f1908 callq *(%rax) movl $0x0, 0x24d65c(%rip) # 0x32ba38 cmpl $0x0, 0x24d659(%rip) # 0x32ba3c je 0xde404 movl $0x1, %edi leaq 0x24d64b(%rip), %rsi...
/tuket[P]gltf_viewer/libs/imgui/imgui_impl_opengl3.cpp
ImGui_ImplOpenGL3_CreateFontsTexture()
bool ImGui_ImplOpenGL3_CreateFontsTexture() { // Build texture atlas ImGuiIO& io = ImGui::GetIO(); unsigned char* pixels; int width, height; io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height); // Load as RGBA 32-bit (75% of the memory is wasted, but default font is so small) because it is more...
pushq %rbp movq %rsp, %rbp subq $0x40, %rsp callq 0x595f0 movq %rax, -0x8(%rbp) movq -0x8(%rbp), %rax movq 0xa0(%rax), %rdi leaq -0x10(%rbp), %rsi leaq -0x14(%rbp), %rdx leaq -0x18(%rbp), %rcx xorl %eax, %eax movl %eax, %r8d callq 0x8b360 movl $0x8069, %edi # imm = 0x8069 leaq -0x1c(%rbp), %rsi leaq 0x212816(...
/tuket[P]gltf_viewer/libs/imgui/imgui_impl_opengl3.cpp
CheckShader(unsigned int, char const*)
static bool CheckShader(GLuint handle, const char* desc) { GLint status = 0, log_length = 0; glGetShaderiv(handle, GL_COMPILE_STATUS, &status); glGetShaderiv(handle, GL_INFO_LOG_LENGTH, &log_length); if ((GLboolean)status == GL_FALSE) fprintf(stderr, "ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects...
pushq %rbp movq %rsp, %rbp subq $0x70, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) movl $0x0, -0x18(%rbp) leaq 0x212724(%rip), %rax # 0x2f1be8 movq (%rax), %rax movl -0x4(%rbp), %edi movl $0x8b81, %esi # imm = 0x8B81 leaq -0x14(%rbp), %rdx callq *%rax leaq 0x21270c(%rip), %rax ...
/tuket[P]gltf_viewer/libs/imgui/imgui_impl_opengl3.cpp
CheckProgram(unsigned int, char const*)
static bool CheckProgram(GLuint handle, const char* desc) { GLint status = 0, log_length = 0; glGetProgramiv(handle, GL_LINK_STATUS, &status); glGetProgramiv(handle, GL_INFO_LOG_LENGTH, &log_length); if ((GLboolean)status == GL_FALSE) fprintf(stderr, "ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects...
pushq %rbp movq %rsp, %rbp subq $0x60, %rsp movl %edi, -0x4(%rbp) movq %rsi, -0x10(%rbp) movl $0x0, -0x14(%rbp) movl $0x0, -0x18(%rbp) leaq 0x21256c(%rip), %rax # 0x2f1b80 movq (%rax), %rax movl -0x4(%rbp), %edi movl $0x8b82, %esi # imm = 0x8B82 leaq -0x14(%rbp), %rdx callq *%rax leaq 0x212554(%rip), %rax ...
/tuket[P]gltf_viewer/libs/imgui/imgui_impl_opengl3.cpp