name string | code string | asm string | file string |
|---|---|---|---|
(anonymous namespace)::setClipboardText(void*, char const*) | void setClipboardText(void* /*userData*/, const char* text) {
sf::Clipboard::setString(sf::String::fromUtf8(text, text + std::strlen(text)));
} | pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rsi, %rdi
callq 0xc3c0
leaq (%rax,%rbx), %rdx
leaq 0x8(%rsp), %r14
movq %r14, %rdi
movq %rbx, %rsi
callq 0x1a506
movq %r14, %rdi
callq 0xd448e
leaq 0x18(%rsp), %rax
movq -0x10(%rax), %rdi
cmpq %rax, %rdi
je 0x45ec3
movq 0x18(%rsp), %rax
leaq 0x4(,%rax,4), %rs... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
(anonymous namespace)::getClipboardText(void*) | const char* getClipboardText(void* /*userData*/) {
std::basic_string<sf::Uint8> tmp = sf::Clipboard::getString().toUtf8();
s_clipboardText = std::string(tmp.begin(), tmp.end());
return s_clipboardText.c_str();
} | pushq %r14
pushq %rbx
subq $0x48, %rsp
leaq 0x8(%rsp), %rbx
movq %rbx, %rdi
callq 0xd4480
leaq 0x28(%rsp), %rdi
movq %rbx, %rsi
callq 0x22bbe
leaq 0x18(%rsp), %r14
movq -0x10(%r14), %rdi
cmpq %r14, %rdi
je 0x45f37
movq 0x18(%rsp), %rax
leaq 0x4(,%rax,4), %rsi
callq 0xc940
movq 0x28(%rsp), %rsi
movq 0x30(%rsp), %rdx
add... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::UpdateFontTexture() | bool UpdateFontTexture() {
assert(s_currWindowCtx);
ImGuiIO& io = ImGui::GetIO();
unsigned char* pixels;
int width, height;
io.Fonts->GetTexDataAsRGBA32(&pixels, &width, &height);
sf::Texture& texture = s_currWindowCtx->fontTexture;
if (!texture.create(width, height)) {
return fal... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
cmpq $0x0, 0xe912f(%rip) # 0x12f130
je 0x46077
callq 0x511dd
movq %rax, %rbx
movq 0x48(%rax), %rdi
movq %rsp, %rsi
leaq 0xc(%rsp), %r15
leaq 0x8(%rsp), %r12
movq %r15, %rdx
movq %r12, %rcx
xorl %r8d, %r8d
callq 0x85610
movq 0xe90ff(%rip), %r14 ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::ProcessEvent(sf::Event const&) | void ProcessEvent(const sf::Event& event) {
assert(s_currWindowCtx && "No current window is set - forgot to call ImGui::SFML::Init?");
if (s_currWindowCtx->windowHasFocus) {
ImGuiIO& io = ImGui::GetIO();
switch (event.type) {
case sf::Event::MouseMoved:
s_currWindowCtx->mous... | pushq %rbp
pushq %rbx
pushq %rax
movq 0xe8ee4(%rip), %rax # 0x12f130
testq %rax, %rax
je 0x4642d
movq %rdi, %rbx
cmpb $0x1, 0x38(%rax)
jne 0x463c7
callq 0x511dd
movl (%rbx), %ecx
leal -0x4(%rcx), %edx
cmpl $0x11, %edx
ja 0x463c7
leaq 0x9bb34(%rip), %rsi # 0xe1db0
movslq (%rsi,%rdx,4), %rdx
addq %rsi, %rdx
jmpq ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::Update(sf::Window&, sf::RenderTarget&, sf::Time) | void Update(sf::Window& window, sf::RenderTarget& target, sf::Time dt) {
SetCurrentWindow(window);
assert(s_currWindowCtx);
// Update OS/hardware mouse cursor if imgui isn't drawing a software cursor
ImGuiMouseCursor mouse_cursor =
ImGui::GetIO().MouseDrawCursor ? ImGuiMouseCursor_None : ImGui:... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x46096
cmpq $0x0, 0xe8cb6(%rip) # 0x12f130
je 0x465b2
callq 0x511dd
movq %rax, %rcx
movl $0xffffffff, %eax # imm = 0xFFFFFFFF
cmpb $0x0, 0x70(%rcx)
jne 0x46498
callq 0x65cf6
movq 0xe8... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::Update(sf::Vector2<int> const&, sf::Vector2<float> const&, sf::Time) | void Update(const sf::Vector2i& mousePos, const sf::Vector2f& displaySize, sf::Time dt) {
assert(s_currWindowCtx && "No current window is set - forgot to call ImGui::SFML::Init?");
ImGuiIO& io = ImGui::GetIO();
io.DisplaySize = ImVec2(displaySize.x, displaySize.y);
io.DeltaTime = dt.asSeconds();
i... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
movq %rdx, 0x18(%rsp)
cmpq $0x0, 0xe8b48(%rip) # 0x12f130
je 0x46a0f
movq %rsi, %r15
movq %rdi, %r14
callq 0x511dd
movq %rax, %rbx
movq (%r15), %rax
movq %rax, 0x8(%rbx)
leaq 0x18(%rsp), %rdi
callq 0x23ca4
movss %xmm0, 0x10(%rbx)
movq 0xe8b17(%rip), %rax ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
(anonymous namespace)::RenderDrawLists(ImDrawData*) | void RenderDrawLists(ImDrawData* draw_data) {
ImGui::GetDrawData();
if (draw_data->CmdListsCount == 0) {
return;
}
ImGuiIO& io = ImGui::GetIO();
assert(io.Fonts->TexID != (ImTextureID)NULL); // You forgot to create and set font texture
// Avoid rendering when minimized, scale coordinat... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rdi, %rbx
callq 0x51241
cmpl $0x0, 0x4(%rbx)
je 0x46e2c
callq 0x511dd
movq 0x48(%rax), %rcx
cmpq $0x0, 0x8(%rcx)
je 0x46e3b
movss 0x20(%rbx), %xmm0
movss 0x24(%rbx), %xmm1
mulss 0x28(%rbx), %xmm0
cvttss2si %xmm0, %ebp
mulss 0x2c(%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::Shutdown(sf::Window const&) | void Shutdown(const sf::Window& window) {
bool needReplacement = (s_currWindowCtx->window->getSystemHandle() == window.getSystemHandle());
// remove window's context
auto found = std::find_if(s_windowContexts.begin(), s_windowContexts.end(),
[&](std::unique_ptr<WindowContext>&... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %r15
movq 0xe82ad(%rip), %rax # 0x12f130
movq (%rax), %rdi
callq 0x14c7e
movq %rax, %r12
movq %r15, %rdi
callq 0x14c7e
movq %rax, %r14
movq 0xe8278(%rip), %r13 # 0x12f118
movq 0xe8279(%rip), %rbx # 0x12f120
movq %rbx, %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::Shutdown() | void Shutdown() {
s_currWindowCtx = nullptr;
ImGui::SetCurrentContext(nullptr);
s_windowContexts.clear();
} | pushq %r15
pushq %r14
pushq %rbx
movq $0x0, 0xe8017(%rip) # 0x12f130
xorl %edi, %edi
callq 0x504bb
movq 0xe7ff1(%rip), %rbx # 0x12f118
movq 0xe7ff2(%rip), %r14 # 0x12f120
cmpq %rbx, %r14
je 0x4715a
movq %rbx, %r15
movq (%r15), %rdi
testq %rdi, %rdi
je 0x47143
callq 0x48242
movq $0x0, (%r15)
addq $0x8, %r15
cmpq... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::SetJoystickDPadThreshold(float) | void SetJoystickDPadThreshold(float threshold) {
assert(s_currWindowCtx);
assert(threshold >= 0.f && threshold <= 100.f);
s_currWindowCtx->dPadInfo.threshold = threshold;
} | pushq %rax
movq 0xe7f42(%rip), %rax # 0x12f130
testq %rax, %rax
je 0x47212
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x47231
movss 0x8e319(%rip), %xmm1 # 0xd551c
ucomiss %xmm0, %xmm1
jb 0x47231
movss %xmm0, 0xb0(%rax)
popq %rax
retq
leaq 0x9adaa(%rip), %rdi # 0xe1fc3
leaq 0x9ac71(%rip), %rsi # 0xe1e91
l... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::SetJoystickLStickThreshold(float) | void SetJoystickLStickThreshold(float threshold) {
assert(s_currWindowCtx);
assert(threshold >= 0.f && threshold <= 100.f);
s_currWindowCtx->lStickInfo.threshold = threshold;
} | pushq %rax
movq 0xe7ed8(%rip), %rax # 0x12f130
testq %rax, %rax
je 0x4727c
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x4729b
movss 0x8e2af(%rip), %xmm1 # 0xd551c
ucomiss %xmm0, %xmm1
jb 0x4729b
movss %xmm0, 0xc0(%rax)
popq %rax
retq
leaq 0x9ad40(%rip), %rdi # 0xe1fc3
leaq 0x9ac07(%rip), %rsi # 0xe1e91
l... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::SFML::SetJoystickMapping(int, unsigned int) | void SetJoystickMapping(int action, unsigned int joystickButton) {
assert(s_currWindowCtx);
assert(action < ImGuiNavInput_COUNT);
assert(joystickButton < sf::Joystick::ButtonCount);
s_currWindowCtx->joystickMapping[action] = joystickButton;
} | pushq %rax
movq 0xe7e6e(%rip), %rax # 0x12f130
testq %rax, %rax
je 0x472da
cmpl $0x14, %edi
jge 0x472f9
cmpl $0x20, %esi
jae 0x47318
movslq %edi, %rcx
movl %esi, 0x54(%rax,%rcx,4)
popq %rax
retq
leaq 0x9ace2(%rip), %rdi # 0xe1fc3
leaq 0x9aba9(%rip), %rsi # 0xe1e91
leaq 0x9af61(%rip), %rcx # 0xe2250
movl... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::Image(sf::Texture const&, sf::Color const&, sf::Color const&) | void Image(const sf::Texture& texture, const sf::Color& tintColor, const sf::Color& borderColor) {
Image(texture, static_cast<sf::Vector2f>(texture.getSize()), tintColor, borderColor);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
callq 0x3e81a
movl %eax, %ecx
cvtsi2ss %rcx, %xmm0
shrq $0x20, %rax
leaq 0x8(%rsp), %rsi
movss %xmm0, (%rsi)
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
movss %xmm0, 0x4(%rsi)
movq %r15, %rdi
movq %r14, %rdx
movq %rbx, %rcx
ca... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::Image(sf::Texture const&, sf::Vector2<float> const&, sf::Color const&, sf::Color const&) | void Image(const sf::Texture& texture, const sf::Vector2f& size, const sf::Color& tintColor,
const sf::Color& borderColor) {
ImTextureID textureID = convertGLTextureHandleToImTextureID(texture.getNativeHandle());
ImGui::Image(textureID, ImVec2(size.x, size.y), ImVec2(0, 0), ImVec2(1, 1),
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
callq 0x40232
movl %eax, %edi
movq (%r15), %rax
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
movabsq $0x3f8000003f800000, %rax # imm = 0x3F8000003F800000
leaq 0x8(%rsp), %rcx
movq %rax, (... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::Image(sf::RenderTexture const&, sf::Color const&, sf::Color const&) | void Image(const sf::RenderTexture& texture, const sf::Color& tintColor,
const sf::Color& borderColor) {
Image(texture, static_cast<sf::Vector2f>(texture.getSize()), tintColor, borderColor);
} | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %ecx
cvtsi2ss %rcx, %xmm0
shrq $0x20, %rax
leaq 0x8(%rsp), %rsi
movss %xmm0, (%rsi)
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
movss %xmm0, 0x4(%rsi)
movq %r15, %rdi
movq %r14, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::Image(sf::RenderTexture const&, sf::Vector2<float> const&, sf::Color const&, sf::Color const&) | void Image(const sf::RenderTexture& texture, const sf::Vector2f& size, const sf::Color& tintColor,
const sf::Color& borderColor) {
ImTextureID textureID =
convertGLTextureHandleToImTextureID(texture.getTexture().getNativeHandle());
ImGui::Image(textureID, ImVec2(size.x, size.y), ImVec2(0, 1)... | pushq %r15
pushq %r14
pushq %rbx
subq $0x40, %rsp
movq %rcx, %rbx
movq %rdx, %r14
movq %rsi, %r15
callq 0xd42ce
movq %rax, %rdi
callq 0x40232
movl %eax, %edi
movq (%r15), %rax
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq 0x10(%rsp), %rdx
movq %rax, (%rdx)
lea... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::ImageButton(sf::Texture const&, int, sf::Color const&, sf::Color const&) | bool ImageButton(const sf::Texture& texture, const int framePadding, const sf::Color& bgColor,
const sf::Color& tintColor) {
return ImageButton(texture, static_cast<sf::Vector2f>(texture.getSize()), framePadding, bgColor,
tintColor);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
callq 0x3e81a
movl %eax, %ecx
cvtsi2ss %rcx, %xmm0
shrq $0x20, %rax
movq %rsp, %rsi
movss %xmm0, (%rsi)
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
movss %xmm0, 0x4(%rsi)
movq %r15, %rdi
movl %ebp, %edx
mo... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::ImageButton(sf::Texture const&, sf::Vector2<float> const&, int, sf::Color const&, sf::Color const&) | bool ImageButton(const sf::Texture& texture, const sf::Vector2f& size, const int framePadding,
const sf::Color& bgColor, const sf::Color& tintColor) {
ImTextureID textureID = convertGLTextureHandleToImTextureID(texture.getNativeHandle());
return ImGui::ImageButton(textureID, ImVec2(size.x, siz... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebx
movq %rsi, %r12
callq 0x40232
movl %eax, %edi
movq (%r12), %rax
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
leaq 0x10(%rsp), %rdx
movq $0x0, (%rdx)
movabsq $0x3f8000003f800000, %rax # imm = 0x3F8000003F800... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::ImageButton(sf::RenderTexture const&, int, sf::Color const&, sf::Color const&) | bool ImageButton(const sf::RenderTexture& texture, const int framePadding, const sf::Color& bgColor,
const sf::Color& tintColor) {
return ImageButton(texture, static_cast<sf::Vector2f>(texture.getSize()), framePadding, bgColor,
tintColor);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rcx, %rbx
movq %rdx, %r14
movl %esi, %ebp
movq %rdi, %r15
movq (%rdi), %rax
callq *0x10(%rax)
movl %eax, %ecx
cvtsi2ss %rcx, %xmm0
shrq $0x20, %rax
movq %rsp, %rsi
movss %xmm0, (%rsi)
xorps %xmm0, %xmm0
cvtsi2ss %rax, %xmm0
movss %xmm0, 0x4(%rsi)
movq %r15, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::ImageButton(sf::RenderTexture const&, sf::Vector2<float> const&, int, sf::Color const&, sf::Color const&) | bool ImageButton(const sf::RenderTexture& texture, const sf::Vector2f& size, const int framePadding,
const sf::Color& bgColor, const sf::Color& tintColor) {
ImTextureID textureID =
convertGLTextureHandleToImTextureID(texture.getTexture().getNativeHandle());
return ImGui::ImageButton(te... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movq %r8, %r14
movq %rcx, %r15
movl %edx, %ebx
movq %rsi, %r12
callq 0xd42ce
movq %rax, %rdi
callq 0x40232
movl %eax, %edi
movq (%r12), %rax
leaq 0x18(%rsp), %rsi
movq %rax, (%rsi)
movabsq $0x3f80000000000000, %rax # imm = 0x3F80000000000000
leaq 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::ImageButton(sf::Sprite const&, sf::Vector2<float> const&, int, sf::Color const&, sf::Color const&) | bool ImageButton(const sf::Sprite& sprite, const sf::Vector2f& size, const int framePadding,
const sf::Color& bgColor, const sf::Color& tintColor) {
const sf::Texture* texturePtr = sprite.getTexture();
// sprite without texture cannot be drawn
if (!texturePtr) {
return false;
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %r8, %r14
movq %rcx, %r13
movl %edx, %r12d
movq %rsi, %rbp
movq %rdi, %r15
callq 0x42aac
testq %rax, %rax
je 0x47ddc
movq %rax, %rbx
movq %rax, %rdi
callq 0x3e81a
movl %eax, %ecx
cvtsi2ss %rcx, %xmm0
movss %xmm0, 0x8(%rsp)
shrq $0x2... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::DrawLine(sf::Vector2<float> const&, sf::Vector2<float> const&, sf::Color const&, float) | void DrawLine(const sf::Vector2f& a, const sf::Vector2f& b, const sf::Color& color,
float thickness) {
ImDrawList* draw_list = ImGui::GetWindowDrawList();
ImVec2 pos = ImGui::GetCursorScreenPos();
draw_list->AddLine(ImVec2(a.x + pos.x, a.y + pos.y), ImVec2(b.x + pos.x, b.y + pos.y),
... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x28, %rsp
movss %xmm0, 0x4(%rsp)
movq %rdx, %r12
movq %rsi, %r15
movq %rdi, %r14
callq 0x64783
movq %rax, %rbx
callq 0x665de
movss (%r14), %xmm1
addss %xmm0, %xmm1
movaps %xmm0, %xmm2
shufps $0x55, %xmm0, %xmm2 # xmm2 = xmm2[1,1],xmm0[1,1]
movss 0x4(%r14), %xmm3
ad... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::DrawRect(sf::Rect<float> const&, sf::Color const&, float, int, float) | void DrawRect(const sf::FloatRect& rect, const sf::Color& color, float rounding,
int rounding_corners, float thickness) {
ImDrawList* draw_list = ImGui::GetWindowDrawList();
draw_list->AddRect(getTopLeftAbsolute(rect), getDownRightAbsolute(rect),
ColorConvertFloat4ToU32(toIm... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm1, 0xc(%rsp)
movl %edx, %ebx
movss %xmm0, 0x8(%rsp)
movq %rsi, %r13
movq %rdi, %r12
callq 0x64783
movq %rax, %r14
callq 0x665de
movss (%r12), %xmm1
addss %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm0 # xmm0 = xmm0[1,1,1,1]
addss 0x4(%r12), ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGui::DrawRectFilled(sf::Rect<float> const&, sf::Color const&, float, int) | void DrawRectFilled(const sf::FloatRect& rect, const sf::Color& color, float rounding,
int rounding_corners) {
ImDrawList* draw_list = ImGui::GetWindowDrawList();
draw_list->AddRectFilled(getTopLeftAbsolute(rect), getDownRightAbsolute(rect),
ColorConvertFloat4ToU... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movl %edx, %ebx
movss %xmm0, 0xc(%rsp)
movq %rsi, %r13
movq %rdi, %r12
callq 0x64783
movq %rax, %r14
callq 0x665de
movss (%r12), %xmm1
addss %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm0 # xmm0 = xmm0[1,1,1,1]
addss 0x4(%r12), %xmm0
unpcklps %xmm0, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
(anonymous namespace)::SetupRenderState(ImDrawData*, int, int) | void SetupRenderState(ImDrawData* draw_data, int fb_width, int fb_height) {
// Setup render state: alpha-blending enabled, no face culling, no depth testing, scissor
// enabled, vertex/texcoord/color pointers, polygon fill.
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
// gl... | pushq %rbp
pushq %r14
pushq %rbx
movl %edx, %ebp
movl %esi, %r14d
movq %rdi, %rbx
movl $0xbe2, %edi # imm = 0xBE2
callq 0xc860
movl $0x302, %edi # imm = 0x302
movl $0x303, %esi # imm = 0x303
callq 0xc700
movl $0xb44, %edi # imm = 0xB44
callq 0xc1c0
movl $0xb71, %edi ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-sfml-src/imgui-SFML.cpp |
ImGuiStyle::ImGuiStyle() | ImGuiStyle::ImGuiStyle()
{
Alpha = 1.0f; // Global alpha applies to everything in Dear ImGui.
DisabledAlpha = 0.60f; // Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha.
WindowPadding = ImVec2(8,8); ... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorl %r14d, %r14d
movq %r14, 0x8(%rdi)
movq %r14, 0x3c(%rdi)
addq $0xc8, %rdi
movl $0x370, %edx # imm = 0x370
xorl %esi, %esi
callq 0xc4a0
movabsq $0x3f19999a3f800000, %rax # imm = 0x3F19999A3F800000
movq %rax, (%rbx)
movabsq $0x4100000041000000, %rax # imm = ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiStyle::ScaleAllSizes(float) | void ImGuiStyle::ScaleAllSizes(float scale_factor)
{
WindowPadding = ImFloor(WindowPadding * scale_factor);
WindowRounding = ImFloor(WindowRounding * scale_factor);
WindowMinSize = ImFloor(WindowMinSize * scale_factor);
ChildRounding = ImFloor(ChildRounding * scale_factor);
PopupRounding = ImFloor(P... | movss 0x8(%rdi), %xmm1
mulss %xmm0, %xmm1
movss 0xc(%rdi), %xmm2
mulss %xmm0, %xmm2
cvttps2dq %xmm1, %xmm1
cvtdq2ps %xmm1, %xmm1
cvttps2dq %xmm2, %xmm2
cvtdq2ps %xmm2, %xmm2
unpcklps %xmm2, %xmm1 # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
movlps %xmm1, 0x8(%rdi)
movss 0x10(%rdi), %xmm1
mulss %xmm0, %xmm1
cvttp... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::ImGuiIO() | ImGuiIO::ImGuiIO()
{
// Most fields are initialized with zero
memset(this, 0, sizeof(*this));
IM_STATIC_ASSERT(IM_ARRAYSIZE(ImGuiIO::MouseDown) == ImGuiMouseButton_COUNT && IM_ARRAYSIZE(ImGuiIO::MouseClicked) == ImGuiMouseButton_COUNT);
// Settings
ConfigFlags = ImGuiConfigFlags_None;
BackendFl... | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
xorl %r15d, %r15d
movq %r15, 0x8(%rdi)
movq %r15, 0x60(%rdi)
movq %r15, 0xf0(%rdi)
movq %r15, 0xd94(%rdi)
xorps %xmm0, %xmm0
movups %xmm0, 0x365c(%rdi)
movups %xmm0, 0x366c(%rdi)
movups %xmm0, 0x367c(%rdi)
movups %xmm0, 0x3710(%rdi)
movups %xmm0, 0x3720(%rdi)
movq %r15, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
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 0xe6852(%rip), %r12 # 0x12f138
movq 0x54f0(%r12), %rdi
testq %rdi, %rdi
je 0x48925
movq $0x0, 0x54e8(%r12)
testq %r12, %r12
je 0x4890c
decl 0xf4(%r12)
movq 0xe6835(%rip), %rsi # 0x12f148
callq *0xe514f(%rip) ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddInputCharacter(unsigned int) | void ImGuiIO::AddInputCharacter(unsigned int c)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(&g.IO == this && "Can only add events to current context.");
if (c == 0)
return;
ImGuiInputEvent e;
e.Type = ImGuiInputEventType_Text;
e.Source = ImGuiInputSource_Keyboard;
e.Text.Char = c;
g.... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0xe66d2(%rip), %r15 # 0x12f138
leaq 0x8(%r15), %rax
cmpq %rdi, %rax
jne 0x48b82
movl %esi, %ebx
testl %esi, %esi
je 0x48b77
movl 0x38e8(%r15), %ebp
movl 0x38ec(%r15), %eax
cmpl %eax, %ebp
jne 0x48b3b
incl %ebp
testl %eax, %eax
je 0x48aa6
movl %eax, %ecx
sh... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/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)
AddInputCharacter(IM_UNICODE_CODEPOINT_INVALID);
InputQueueSurrogate = c;
... | pushq %rbp
pushq %rbx
pushq %rax
movl %esi, %ebp
movzwl 0x37f4(%rdi), %eax
movl %ebp, %ecx
orw %ax, %cx
je 0x48be1
movq %rdi, %rbx
movl %ebp, %ecx
andl $0xfc00, %ecx # imm = 0xFC00
cmpl $0xd800, %ecx # imm = 0xD800
jne 0x48be8
testw %ax, %ax
je 0x48bda
movq %rbx, %rdi
movl $0xfffd, %esi # ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImTextCharFromUtf8(unsigned int*, char const*, char const*) | int ImTextCharFromUtf8(unsigned int* out_char, const char* in_text, const char* in_text_end)
{
static const char lengths[32] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 2, 2, 2, 2, 3, 3, 4, 0 };
static const int masks[] = { 0x00, 0x7f, 0x1f, 0x0f, 0x07 };
static const uint32... | movzbl (%rsi), %r8d
movl %r8d, %eax
shrl $0x3, %eax
leaq 0xa4963(%rip), %rcx # 0xed5f0
movsbq (%rax,%rcx), %r9
movl $0x80ff0000, %ecx # imm = 0x80FF0000
btl %eax, %ecx
movq %r9, %rax
adcq $0x0, %rax
leaq (%rsi,%rax), %rcx
testq %rdx, %rdx
cmovneq %rdx, %rcx
xorl %edx, %edx
cmpq %rsi, %rcx
cmovbel %edx, %r8d
l... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::ClearInputCharacters() | void ImGuiIO::ClearInputCharacters()
{
InputQueueCharacters.resize(0);
} | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movl 0x37fc(%rdi), %eax
testl %eax, %eax
jns 0x48e89
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r15d, %r15d
testl %ecx, %ecx
cmovgl %ecx, %r15d
leal (%r15,%r15), %edi
movq 0xe6321(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x48e2... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddKeyAnalogEvent(int, bool, float) | void ImGuiIO::AddKeyAnalogEvent(ImGuiKey key, bool down, float analog_value)
{
//if (e->Down) { IMGUI_DEBUG_LOG("AddKeyEvent() Key='%s' %d, NativeKeycode = %d, NativeScancode = %d\n", ImGui::GetKeyName(e->Key), e->Down, e->NativeKeycode, e->NativeScancode); }
if (key == ImGuiKey_None)
return;
ImGuiC... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
testl %esi, %esi
je 0x49134
movq 0xe6218(%rip), %r12 # 0x12f138
leaq 0x8(%r12), %rax
cmpq %rdi, %rax
jne 0x49162
movl %esi, %r14d
leal -0x200(%r14), %eax
cmpl $0x85, %eax
jae 0x49181
movl %edx, %ebx
movzbl 0x37f1(%rdi), %eax
testl %eax, %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetKeyData(int) | ImGuiKeyData* ImGui::GetKeyData(ImGuiKey key)
{
ImGuiContext& g = *GImGui;
int index;
#ifndef IMGUI_DISABLE_OBSOLETE_KEYIO
IM_ASSERT(key >= ImGuiKey_LegacyNativeKey_BEGIN && key < ImGuiKey_NamedKey_END);
if (IsLegacyKey(key))
index = (g.IO.KeyMap[key] != -1) ? g.IO.KeyMap[key] : key; // Remap na... | cmpl $0x285, %edi # imm = 0x285
jae 0x491f6
movq 0xe5f6a(%rip), %rax # 0x12f138
cmpl $0x1ff, %edi # imm = 0x1FF
ja 0x491e5
movl %edi, %ecx
movl 0x100(%rax,%rcx,4), %ecx
cmpl $-0x1, %ecx
cmovnel %ecx, %edi
movslq %edi, %rcx
shlq $0x4, %rcx
addq %rcx, %rax
addq $0xe10, %rax # imm = 0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddMousePosEvent(float, float) | void ImGuiIO::AddMousePosEvent(float x, float y)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(&g.IO == this && "Can only add events to current context.");
ImGuiInputEvent e;
e.Type = ImGuiInputEventType_MousePos;
e.Source = ImGuiInputSource_Mouse;
e.MousePos.PosX = x;
e.MousePos.PosY = y;
g.I... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq 0xe5e79(%rip), %r14 # 0x12f138
leaq 0x8(%r14), %rax
cmpq %rdi, %rax
jne 0x493e7
movl 0x38e8(%r14), %ebp
movl 0x38ec(%r14), %eax
cmpl %eax, %ebp
jne 0x493a2
incl %ebp
testl %eax, %eax
je 0x492f5
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %ea... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddMouseButtonEvent(int, bool) | void ImGuiIO::AddMouseButtonEvent(int mouse_button, bool down)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(&g.IO == this && "Can only add events to current context.");
IM_ASSERT(mouse_button >= 0 && mouse_button < ImGuiMouseButton_COUNT);
ImGuiInputEvent e;
e.Type = ImGuiInputEventType_MouseButton;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq 0xe5d23(%rip), %r15 # 0x12f138
leaq 0x8(%r15), %rax
cmpq %rdi, %rax
jne 0x4953b
movl %esi, %ebp
cmpl $0x5, %esi
jae 0x4955a
movl %edx, %ebx
movl 0x38e8(%r15), %r12d
movl 0x38ec(%r15), %eax
cmpl %eax, %r12d
jne 0x494f2
incl %r12d
testl %eax, %eax
je 0x4945a... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddMouseWheelEvent(float, float) | void ImGuiIO::AddMouseWheelEvent(float wheel_x, float wheel_y)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(&g.IO == this && "Can only add events to current context.");
if (wheel_x == 0.0f && wheel_y == 0.0f)
return;
ImGuiInputEvent e;
e.Type = ImGuiInputEventType_MouseWheel;
e.Source = ImGui... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq 0xe5baf(%rip), %r14 # 0x12f138
leaq 0x8(%r14), %rax
cmpq %rdi, %rax
jne 0x496c6
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
jne 0x495ab
jp 0x495ab
ucomiss %xmm2, %xmm1
jne 0x495ab
jnp 0x496bd
movl 0x38e8(%r14), %ebp
movl 0x38ec(%r14), %eax
cmpl %eax, %ebp
jne 0x496... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddMouseViewportEvent(unsigned int) | void ImGuiIO::AddMouseViewportEvent(ImGuiID viewport_id)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(&g.IO == this && "Can only add events to current context.");
IM_ASSERT(g.IO.BackendFlags & ImGuiBackendFlags_HasMouseHoveredViewport);
ImGuiInputEvent e;
e.Type = ImGuiInputEventType_MouseViewport;
e... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0xe5a44(%rip), %r15 # 0x12f138
leaq 0x8(%r15), %rax
cmpq %rdi, %rax
jne 0x49813
testb $0x8, 0xd(%r15)
je 0x49832
movl %esi, %ebx
movl 0x38e8(%r15), %ebp
movl 0x38ec(%r15), %eax
cmpl %eax, %ebp
jne 0x497cc
incl %ebp
testl %eax, %eax
je 0x49737
movl %eax, %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiIO::AddFocusEvent(bool) | void ImGuiIO::AddFocusEvent(bool focused)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(&g.IO == this && "Can only add events to current context.");
ImGuiInputEvent e;
e.Type = ImGuiInputEventType_Focus;
e.AppFocused.Focused = focused;
g.InputEventsQueue.push_back(e);
} | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq 0xe58d8(%rip), %r15 # 0x12f138
leaq 0x8(%r15), %rax
cmpq %rdi, %rax
jne 0x49969
movl %esi, %ebx
movl 0x38e8(%r15), %ebp
movl 0x38ec(%r15), %eax
cmpl %eax, %ebp
jne 0x4992d
incl %ebp
testl %eax, %eax
je 0x49898
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImBezierCubicClosestPoint(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, int) | ImVec2 ImBezierCubicClosestPoint(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& p, int num_segments)
{
IM_ASSERT(num_segments > 0); // Use ImBezierCubicClosestPointCasteljau()
ImVec2 p_last = p1;
ImVec2 p_closest;
float p_closest_dist2 = FLT_MAX;
float t_step =... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %rcx, 0x8(%rsp)
testl %r9d, %r9d
jle 0x49afe
movl %r9d, %ebx
movq %r8, %r14
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbp
cvtsi2ss %r9d, %xmm0
movsd (%rdi), %xmm4
movss 0x8da38(%rip), %xmm1 # 0xd73fc
divss %xmm0, %xmm1
movss %x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImLineClosestPoint(ImVec2 const&, ImVec2 const&, ImVec2 const&) | static inline ImVec2 operator-(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x - rhs.x, lhs.y - rhs.y); } | movss (%rdi), %xmm0
movss 0x4(%rdi), %xmm1
movss (%rdx), %xmm4
movss 0x4(%rdx), %xmm5
subss %xmm0, %xmm4
subss %xmm1, %xmm5
movss (%rsi), %xmm3
movss 0x4(%rsi), %xmm2
subss %xmm0, %xmm3
subss %xmm1, %xmm2
mulss %xmm2, %xmm5
mulss %xmm3, %xmm4
addss %xmm5, %xmm4
xorps %xmm5, %xmm5
ucomiss %xmm4, %xmm5
jbe 0x49b61
movsd ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
ImBezierCubicClosestPointCasteljauStep(ImVec2 const&, ImVec2&, ImVec2&, float&, float, float, float, float, float, float, float, float, float, int) | static void ImBezierCubicClosestPointCasteljauStep(const ImVec2& p, ImVec2& p_closest, ImVec2& p_last, float& p_closest_dist2, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, float tess_tol, int level)
{
float dx = x4 - x1;
float dy = y4 - y1;
float d2 = ((x2 - x4) * dy - (y2... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x40, %rsp
movl %r8d, %ebp
movaps %xmm7, %xmm8
movaps %xmm6, %xmm9
movaps %xmm5, %xmm10
movaps %xmm4, %xmm11
movaps %xmm3, %xmm12
movaps %xmm2, %xmm13
movq %rcx, %r14
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
movss 0x70(%rsp), %xmm14
movaps %xmm7, 0x30(... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImTriangleBarycentricCoords(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, float&, float&, float&) | void ImTriangleBarycentricCoords(const ImVec2& a, const ImVec2& b, const ImVec2& c, const ImVec2& p, float& out_u, float& out_v, float& out_w)
{
ImVec2 v0 = b - a;
ImVec2 v1 = c - a;
ImVec2 v2 = p - a;
const float denom = v0.x * v1.y - v1.x * v0.y;
out_v = (v2.x * v1.y - v1.x * v2.y) / denom;
ou... | movq 0x8(%rsp), %rax
movss (%rsi), %xmm0
movss 0x4(%rsi), %xmm2
movss (%rdi), %xmm6
movss 0x4(%rdi), %xmm7
subss %xmm6, %xmm0
subss %xmm7, %xmm2
movss (%rdx), %xmm4
movss 0x4(%rdx), %xmm3
subss %xmm6, %xmm4
subss %xmm7, %xmm3
movss (%rcx), %xmm5
movss 0x4(%rcx), %xmm1
subss %xmm6, %xmm5
subss %xmm7, %xmm1
movaps %xmm0,... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImTriangleClosestPoint(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&) | static inline ImVec2 operator-(const ImVec2& lhs, const ImVec2& rhs) { return ImVec2(lhs.x - rhs.x, lhs.y - rhs.y); } | movss (%rcx), %xmm2
movss 0x4(%rcx), %xmm4
movss (%rdi), %xmm6
movss 0x4(%rdi), %xmm5
movaps %xmm2, %xmm8
subss %xmm6, %xmm8
movaps %xmm4, %xmm9
subss %xmm5, %xmm9
movss (%rsi), %xmm3
movss 0x4(%rsi), %xmm7
movaps %xmm3, %xmm1
subss %xmm6, %xmm1
movaps %xmm7, %xmm0
subss %xmm5, %xmm0
mulss %xmm0, %xmm9
mulss %xmm1, %xm... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui_internal.h |
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 0xc3c0
movq %rax, %r14
movq 0xe4d97(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x4a3ac
incl 0xf4(%rax)
incq %r14
movq 0xe4d92(%rip), %rsi # 0x12f148
movq %r14, %rdi
callq *0xe36a1(%rip) # 0x12da60
movq %rax, %rdi
movq %rbx, %rsi
movq %r14, %rdx
add... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImStrdupcpy(char*, unsigned long*, char const*) | char* ImStrdupcpy(char* dst, size_t* p_dst_size, const char* src)
{
size_t dst_buf_size = p_dst_size ? *p_dst_size : strlen(dst) + 1;
size_t src_size = strlen(src) + 1;
if (dst_buf_size < src_size)
{
IM_FREE(dst);
dst = (char*)IM_ALLOC(src_size);
if (p_dst_size)
*p_ds... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rsi, %rsi
je 0x4a412
movq (%r14), %r13
jmp 0x4a420
movq %r15, %rdi
callq 0xc3c0
movq %rax, %r13
incq %r13
movq %rbx, %rdi
callq 0xc3c0
movq %rax, %r12
incq %r12
cmpq %r12, %r13
jae 0x4a487
testq %r15, %r15
je 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImStristr(char const*, char const*, char const*, char const*) | const char* ImStristr(const char* haystack, const char* haystack_end, const char* needle, const char* needle_end)
{
if (!needle_end)
needle_end = needle + strlen(needle);
const char un0 = (char)toupper(*needle);
while ((!haystack_end && *haystack) || (haystack_end && haystack < haystack_end))
{... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rcx, %r12
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
testq %rcx, %rcx
jne 0x4a54b
movq %rbx, %rdi
callq 0xc3c0
movq %rax, %r12
addq %rbx, %r12
movsbl (%rbx), %edi
callq 0xd270
movsbl %al, %ebp
movq %r14, 0x8(%rsp)
movl %ebp, 0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImStrTrimBlanks(char*) | void ImStrTrimBlanks(char* buf)
{
char* p = buf;
while (p[0] == ' ' || p[0] == '\t') // Leading blanks
p++;
char* p_start = p;
while (*p != 0) // Find end of string
p++;
while (p > p_start && (p[-1] == ' ' || p[-1] == '\t')) // Trailing blanks
p--... | pushq %r14
pushq %rbx
pushq %rax
xorl %ebx, %ebx
movq %rdi, %rax
movq %rdi, %rsi
movzbl (%rsi), %ecx
cmpl $0x9, %ecx
je 0x4a5f9
cmpl $0x20, %ecx
jne 0x4a604
incq %rsi
incq %rax
decq %rbx
jmp 0x4a5ec
leaq -0x1(%rsi), %r14
cmpb $0x0, 0x1(%r14)
leaq 0x1(%r14), %r14
jne 0x4a608
cmpq %rsi, %r14
jbe 0x4a632
movzbl -0x1(%r14)... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImFormatString(char*, unsigned long, char const*, ...) | int ImFormatString(char* buf, size_t buf_size, const char* fmt, ...)
{
va_list args;
va_start(args, fmt);
#ifdef IMGUI_USE_STB_SPRINTF
int w = stbsp_vsnprintf(buf, (int)buf_size, fmt, args);
#else
int w = vsnprintf(buf, buf_size, fmt, args);
#endif
va_end(args);
if (buf == NULL)
return w... | pushq %r14
pushq %rbx
subq $0xd8, %rsp
movq %rsi, %r14
movq %rdi, %rbx
leaq 0x20(%rsp), %rsi
movq %rcx, 0x18(%rsi)
movq %r8, 0x20(%rsi)
movq %r9, 0x28(%rsi)
testb %al, %al
je 0x4a6c1
movaps %xmm0, 0x50(%rsp)
movaps %xmm1, 0x60(%rsp)
movaps %xmm2, 0x70(%rsp)
movaps %xmm3, 0x80(%rsp)
movaps %xmm4, 0x90(%rsp)
movaps %xmm5... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImFormatStringV(char*, unsigned long, char const*, __va_list_tag*) | int ImFormatStringV(char* buf, size_t buf_size, const char* fmt, va_list args)
{
#ifdef IMGUI_USE_STB_SPRINTF
int w = stbsp_vsnprintf(buf, (int)buf_size, fmt, args);
#else
int w = vsnprintf(buf, buf_size, fmt, args);
#endif
if (buf == NULL)
return w;
if (w == -1 || w >= (int)buf_size)
w ... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0xc580
testq %rbx, %rbx
je 0x4a743
leal -0x1(%r14), %ecx
cmpl %r14d, %eax
movl %ecx, %edx
cmovll %eax, %edx
cmpl $-0x1, %eax
cmovel %ecx, %edx
movslq %edx, %rax
movb $0x0, (%rbx,%rax)
movl %edx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImHashStr(char const*, unsigned long, unsigned int) | ImGuiID ImHashStr(const char* data_p, size_t data_size, ImU32 seed)
{
seed = ~seed;
ImU32 crc = seed;
const unsigned char* data = (const unsigned char*)data_p;
const ImU32* crc32_lut = GCrc32LookupTable;
if (data_size != 0)
{
while (data_size-- != 0)
{
unsigned char c... | notl %edx
testq %rsi, %rsi
je 0x4a7d8
decq %rsi
addq $0x2, %rdi
leaq 0x97fc0(%rip), %rcx # 0xe2750
movl %edx, %r8d
movzbl -0x2(%rdi), %r9d
cmpl $0x23, %r9d
setne %al
cmpq $0x2, %rsi
setb %r10b
orb %al, %r10b
jne 0x4a7b9
cmpb $0x23, -0x1(%rdi)
jne 0x4a7b9
cmpb $0x23, (%rdi)
cmovel %edx, %r8d
movl %r8d, %eax
shrl $0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/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 0xcad0
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImTextStrFromUtf8(unsigned short*, int, char const*, char const*, char const**) | int ImTextStrFromUtf8(ImWchar* buf, int buf_size, const char* in_text, const char* in_text_end, const char** in_text_remaining)
{
ImWchar* buf_out = buf;
ImWchar* buf_end = buf + buf_size;
while (buf_out < buf_end - 1 && (!in_text_end || in_text < in_text_end) && *in_text)
{
unsigned int c;
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r8, 0x10(%rsp)
movq %rcx, %r13
movq %rdx, %r12
movq %rdi, %r15
movslq %esi, %rax
leaq (%rdi,%rax,2), %rbx
addq $-0x2, %rbx
leaq 0xc(%rsp), %rbp
movq %rdi, %r14
testq %r13, %r13
sete %al
cmpq %r13, %r12
setb %cl
cmpq %rbx, %r14
jae ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImTextCountCharsFromUtf8(char const*, char const*) | int ImTextCountCharsFromUtf8(const char* in_text, const char* in_text_end)
{
int char_count = 0;
while ((!in_text_end || in_text < in_text_end) && *in_text)
{
unsigned int c;
in_text += ImTextCharFromUtf8(&c, in_text, in_text_end);
if (c == 0)
break;
char_count++;... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %r15
movl $0xffffffff, %ebx # imm = 0xFFFFFFFF
leaq 0x4(%rsp), %r12
testq %r14, %r14
je 0x4aa7f
cmpq %r14, %r15
jae 0x4aaaa
cmpb $0x0, (%r15)
je 0x4aaaa
movq %r12, %rdi
movq %r15, %rsi
movq %r14, %rdx
callq 0x48c7c
cltq
addq %rax, %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImTextStrToUtf8(char*, int, unsigned short const*, unsigned short const*) | int ImTextStrToUtf8(char* out_buf, int out_buf_size, const ImWchar* in_text, const ImWchar* in_text_end)
{
char* buf_p = out_buf;
const char* buf_end = out_buf + out_buf_size;
while (buf_p < buf_end - 1 && (!in_text_end || in_text < in_text_end) && *in_text)
{
unsigned int c = (unsigned int)(*in... | movslq %esi, %rsi
leaq (%rdi,%rsi), %r8
decq %r8
movq %rdi, %rax
cmpq %rdi, %r8
jbe 0x4ac65
addq %rdi, %rsi
movq %rdi, %rax
testq %rcx, %rcx
sete %r9b
cmpq %rcx, %rdx
setb %r10b
orb %r9b, %r10b
cmpb $0x1, %r10b
jne 0x4ac65
movzwl (%rdx), %r9d
testw %r9w, %r9w
je 0x4ac65
cmpw $0x7f, %r9w
ja 0x4abdc
movb %r9b, (%rax)
inc... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/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 0x4acc9
addq $0x2, %rdi
xorl %eax, %eax
movl $0x1, %ecx
movzwl -0x2(%rdi), %edx
testw %dx, %dx
je 0x4acc9
testq %rsi, %rsi
sete %r8b
movzwl %dx, %edx
cmpl $0x800, %edx # imm = 0x800
movl $0x3, %r9d
sbbl $0x0, %r9d
cmpl $0... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/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 0x8a82e(%rip), %xmm0 # 0xd5520
mulss %xmm0, %xmm2
addss %xmm1, %xmm2
cvttss2si %xmm2, %ecx
movl %edi, %edx
shrl $0x8, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/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 0x8a196(%rip), %xmm2 # 0xd5004
andps %xmm1, %xmm2
movss 0x976bb(%rip), %xmm5 # 0xe2534
subss %xmm2, %xmm5
movaps %xmm3, %xmm1
maxss %xmm0, %xmm1
movaps %xmm0, %xmm6
minss %xmm3, %xmm6
cmpltss %xmm3, %xmm0
mova... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::ColorConvertHSVtoRGB(float, float, float, float&, float&, float&) | void ImGui::ColorConvertHSVtoRGB(float h, float s, float v, float& out_r, float& out_g, float& out_b)
{
if (s == 0.0f)
{
// gray
out_r = out_g = out_b = v;
return;
}
h = ImFmod(h, 1.0f) / (60.0f / 360.0f);
int i = (int)h;
float f = h - (float)i;
float p = v * (1.0f... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r15
movaps %xmm1, %xmm3
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm3
jne 0x4af21
jp 0x4af21
movss %xmm2, (%rbx)
movss %xmm2, (%r14)
movss %xmm2, (%r15)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %r15
retq
movss 0x8c4d3(%rip), %xmm1 ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiStorage::BuildSortByKey() | void ImGuiStorage::BuildSortByKey()
{
struct StaticFunc
{
static int IMGUI_CDECL PairComparerByID(const void* lhs, const void* rhs)
{
// We can't just do a subtraction because qsort uses signed integers and subtracting our ID doesn't play well with that.
if (((const ImGui... | movslq (%rdi), %rsi
cmpq $0x2, %rsi
jb 0x4b02c
movq 0x8(%rdi), %rdi
leaq 0xc(%rip), %rcx # 0x4b02e
movl $0x10, %edx
jmp 0xd310
retq
nop
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiStorage::GetFloat(unsigned int, float) const | static ImGuiStorage::ImGuiStoragePair* LowerBound(ImVector<ImGuiStorage::ImGuiStoragePair>& data, ImGuiID key)
{
ImGuiStorage::ImGuiStoragePair* first = data.Data;
ImGuiStorage::ImGuiStoragePair* last = data.Data + data.Size;
size_t count = (size_t)(last - first);
while (count > 0)
{
size_t ... | movq 0x8(%rdi), %rcx
movslq (%rdi), %rdx
movq %rcx, %rax
testq %rdx, %rdx
je 0x4b0e3
movq %rcx, %rax
movq %rdx, %r8
movq %rdx, %rdi
shrq %rdi
movq %rdi, %r9
shlq $0x4, %r9
cmpl %esi, (%rax,%r9)
jae 0x4b0db
notq %rdi
addq %r8, %rdi
addq %r9, %rax
addq $0x10, %rax
movq %rdi, %r8
testq %rdi, %rdi
jne 0x4b0be
shlq $0x4, %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/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 0x4b207
movq %rcx, %rax
movq %rdx, %r9
movq %rdx, %r8
shrq %r8
movq %r8, %r10
shlq $0x4, %r10
cmpl %esi, (%rax,%r10)
jae 0x4b1ff
notq %r8
addq %r9, %r8
addq %r10, %rax
addq $0x10, %rax
movq %r8, %r9
testq %r8, %r8
jne 0x4b1e2
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiStorage::SetInt(unsigned int, int) | void ImGuiStorage::SetInt(ImGuiID key, int val)
{
ImGuiStoragePair* it = LowerBound(Data, key);
if (it == Data.end() || it->key != key)
{
Data.insert(it, ImGuiStoragePair(key, val));
return;
}
it->val_i = val;
} | subq $0x18, %rsp
movq 0x8(%rdi), %rcx
movslq (%rdi), %r8
movq %rcx, %rax
testq %r8, %r8
je 0x4b2e5
movq %rcx, %rax
movq %r8, %r10
movq %r8, %r9
shrq %r9
movq %r9, %r11
shlq $0x4, %r11
cmpl %esi, (%rax,%r11)
jae 0x4b2dd
notq %r9
addq %r10, %r9
addq %r11, %rax
addq $0x10, %rax
movq %r9, %r10
testq %r9, %r9
jne 0x4b2c0
sh... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiTextFilter::ImGuiTextFilter(char const*) | ImGuiTextFilter::ImGuiTextFilter(const char* default_filter)
{
if (default_filter)
{
ImStrncpy(InputBuf, default_filter, IM_ARRAYSIZE(InputBuf));
Build();
}
else
{
InputBuf[0] = 0;
CountGrep = 0;
}
} | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm0, %xmm0
movups %xmm0, 0x100(%rdi)
testq %rsi, %rsi
je 0x4b45d
leaq 0x100(%rbx), %r14
movl $0xff, %edx
movq %rbx, %rdi
callq 0xc450
movb $0x0, 0xff(%rbx)
movq %rbx, %rdi
callq 0x4b486
jmp 0x4b46a
movb $0x0, (%rbx)
movl $0x0, 0x110(%rbx)
addq $0x8, %rsp
popq %rb... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiTextFilter::Build() | void ImGuiTextFilter::Build()
{
Filters.resize(0);
ImGuiTextRange input_range(InputBuf, InputBuf + strlen(InputBuf));
input_range.split(',', &Filters);
CountGrep = 0;
for (int i = 0; i != Filters.Size; i++)
{
ImGuiTextRange& f = Filters[i];
while (f.b < f.e && ImCharIsBlankA(f.b... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
leaq 0x100(%rdi), %r14
movl 0x104(%rdi), %eax
testl %eax, %eax
jns 0x4b53e
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r12d, %r12d
testl %ecx, %ecx
cmovgl %ecx, %r12d
movq %r12, %rdi
shlq $0x4, %rdi
movq 0x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiTextFilter::Draw(char const*, float) | bool ImGuiTextFilter::Draw(const char* label, float width)
{
if (width != 0.0f)
ImGui::SetNextItemWidth(width);
bool value_changed = ImGui::InputText(label, InputBuf, IM_ARRAYSIZE(InputBuf));
if (value_changed)
Build();
return value_changed;
} | pushq %rbp
pushq %rbx
pushq %rax
movq %rdi, %rbx
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne 0x4b66e
jnp 0x4b684
movq 0xe3ac3(%rip), %rax # 0x12f138
orl $0x1, 0x409c(%rax)
movss %xmm0, 0x40a0(%rax)
movl $0x100, %edx # imm = 0x100
movq %rsi, %rdi
movq %rbx, %rsi
xorl %ecx, %ecx
xorl %r8d, %r8d
xorl %r9d, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiTextFilter::ImGuiTextRange::split(char, ImVector<ImGuiTextFilter::ImGuiTextRange>*) const | void ImGuiTextFilter::ImGuiTextRange::split(char separator, ImVector<ImGuiTextRange>* out) const
{
out->resize(0);
const char* wb = b;
const char* we = wb;
while (we < e)
{
if (*we == separator)
{
out->push_back(ImGuiTextRange(wb, we));
wb = we + 1;
}
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movl 0x4(%rdx), %eax
testl %eax, %eax
movl %esi, 0x4(%rsp)
jns 0x4b773
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
xorl %r12d, %r12d
testl %ecx, %ecx
cmovgl %ecx, %r12d
movq %r12, ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiTextBuffer::append(char const*, char const*) | void ImGuiTextBuffer::append(const char* str, const char* str_end)
{
int len = str_end ? (int)(str_end - str) : (int)strlen(str);
// Add zero-terminator the first time
const int write_off = (Buf.Size != 0) ? Buf.Size : 1;
const int needed_sz = write_off + len;
if (write_off + len >= Buf.Capacity)
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r15
movq %rdi, %rbx
testq %rdx, %rdx
je 0x4ba6c
movq %rdx, %r14
subq %r15, %r14
jmp 0x4ba77
movq %r15, %rdi
callq 0xc3c0
movq %rax, %r14
movl (%rbx), %r13d
movl 0x4(%rbx), %eax
cmpl $0x1, %r13d
adcl $0x0, %r13d
leal (%r14,%r13), %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiTextBuffer::appendfv(char const*, __va_list_tag*) | void ImGuiTextBuffer::appendfv(const char* fmt, va_list args)
{
va_list args_copy;
va_copy(args_copy, args);
int len = ImFormatStringV(NULL, 0, fmt, args); // FIXME-OPT: could do a first pass write attempt, likely successful on first pass.
if (len <= 0)
{
va_end(args_copy);
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rdx, %rcx
movq %rsi, %rbx
movq %rdi, %r15
movq 0x10(%rdx), %rax
movq %rax, 0x20(%rsp)
movups (%rdx), %xmm0
movaps %xmm0, 0x10(%rsp)
xorl %edi, %edi
xorl %esi, %esi
movq %rbx, %rdx
callq 0xc580
testl %eax, %eax
jle 0x4be5d
movl %eax... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CalcListClipping(int, float, int*, int*) | void ImGui::CalcListClipping(int items_count, float items_height, int* out_items_display_start, int* out_items_display_end)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (g.LogEnabled)
{
// If logging is active, do not perform any clipping
*out_items_display_star... | movq 0xe32a6(%rip), %rax # 0x12f138
cmpb $0x1, 0x55c4(%rax)
jne 0x4bea6
movl $0x0, (%rsi)
jmp 0x4bfe9
movq 0x3fe0(%rax), %rcx
movq 0x44b8(%rax), %r8
leaq 0x217(%r8), %r9
leaq 0xd0(%rcx), %r10
testq %r8, %r8
cmoveq %r10, %r9
cmpb $0x1, (%r9)
jne 0x4bed6
xorl %eax, %eax
movl %eax, (%rdx)
movl %eax, (%rsi)
retq
movss ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiListClipper::End() | void ImGuiListClipper::End()
{
ImGuiContext& g = *GImGui;
if (ImGuiListClipperData* data = (ImGuiListClipperData*)TempData)
{
// In theory here we should assert that we are already at the right position, but it seems saner to just seek at the end and not assert/crash the user.
if (ItemsCount... | pushq %r15
pushq %r14
pushq %rbx
movq %rdi, %rbx
movq 0x18(%rdi), %r15
testq %r15, %r15
je 0x4c08d
movq 0xe3112(%rip), %r14 # 0x12f138
movl 0x8(%rbx), %esi
cmpl $0x7ffffffe, %esi # imm = 0x7FFFFFFE
ja 0x4c03e
cmpl $0x0, (%rbx)
js 0x4c03e
movq %rbx, %rdi
callq 0x4c357
cmpq %rbx, (%r15)
jne 0x4c09a
movl 0x18(%r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiListClipper::Begin(int, float) | void ImGuiListClipper::Begin(int items_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 = ite... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %esi, %ebp
movq %rdi, %rbx
movq 0xe3046(%rip), %r12 # 0x12f138
movq 0x3fe0(%r12), %r15
movq 0x44b8(%r12), %rdi
testq %rdi, %rdi
je 0x4c121
cmpb $0x1, 0x20a(%rdi)
jne 0x4c121
movss %xmm0, 0x8(%rsp)
callq 0x94835
movss 0x8(%rsp), ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiListClipper_SeekCursorForItem(ImGuiListClipper*, int) | static void ImGuiListClipper_SeekCursorForItem(ImGuiListClipper* clipper, int item_n)
{
// StartPosY starts from ItemsFrozen hence the subtraction
// Perform the add and multiply with double to allow seeking through larger ranges
ImGuiListClipperData* data = (ImGuiListClipperData*)clipper->TempData;
flo... | pushq %r14
pushq %rbx
pushq %rax
movq 0x18(%rdi), %rax
cvtss2sd 0x10(%rdi), %xmm0
cvtss2sd 0x8(%rax), %xmm1
subl 0x10(%rax), %esi
cvtsi2sd %esi, %xmm2
addsd %xmm0, %xmm1
movss 0xc(%rdi), %xmm6
xorps %xmm0, %xmm0
cvtss2sd %xmm6, %xmm0
mulsd %xmm2, %xmm0
addsd %xmm1, %xmm0
cvtsd2ss %xmm0, %xmm0
movq 0xe2da5(%rip), %rax ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::PushStyleColor(int, ImVec4 const&) | void ImGui::PushStyleColor(ImGuiCol idx, const ImVec4& col)
{
ImGuiContext& g = *GImGui;
ImGuiColorMod backup;
backup.Col = idx;
backup.BackupValue = g.Style.Colors[idx];
g.ColorStack.push_back(backup);
g.Style.Colors[idx] = col;
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %rbx
movl %edi, %ebp
movq 0xe1ea2(%rip), %r15 # 0x12f138
movslq %edi, %rax
shlq $0x4, %rax
leaq (%r15,%rax), %r12
addq $0x39d0, %r12 # imm = 0x39D0
movups (%r12), %xmm0
movaps %xmm0, (%rsp)
movl 0x4180(%r15), %r1... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::PushStyleVar(int, float) | static const ImGuiStyleVarInfo* GetStyleVarInfo(ImGuiStyleVar idx)
{
IM_ASSERT(idx >= 0 && idx < ImGuiStyleVar_COUNT);
IM_ASSERT(IM_ARRAYSIZE(GStyleVarInfo) == ImGuiStyleVar_COUNT);
return &GStyleVarInfo[idx];
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
cmpl $0x19, %edi
jae 0x4d5c7
movl %edi, %ebx
movl %edi, %eax
leaq (%rax,%rax,2), %rax
leaq 0x959e4(%rip), %rcx # 0xe2e50
cmpl $0x8, (%rcx,%rax,4)
jne 0x4d5a8
leaq (%rcx,%rax,4), %rax
cmpl $0x1, 0x4(%rax)
jne 0x4d5a8
movq 0xe1cad(%rip), %r15 ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::PushStyleVar(int, ImVec2 const&) | static const ImGuiStyleVarInfo* GetStyleVarInfo(ImGuiStyleVar idx)
{
IM_ASSERT(idx >= 0 && idx < ImGuiStyleVar_COUNT);
IM_ASSERT(IM_ARRAYSIZE(GStyleVarInfo) == ImGuiStyleVar_COUNT);
return &GStyleVarInfo[idx];
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
cmpl $0x19, %edi
jae 0x4d76f
movl %edi, %ebp
movl %edi, %eax
leaq (%rax,%rax,2), %rax
leaq 0x95844(%rip), %rcx # 0xe2e50
cmpl $0x8, (%rcx,%rax,4)
jne 0x4d750
leaq (%rcx,%rax,4), %rax
cmpl $0x2, 0x4(%rax)
jne 0x4d750
movq %rsi, %rbx
m... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::PopStyleVar(int) | void ImGui::PopStyleVar(int count)
{
ImGuiContext& g = *GImGui;
while (count > 0)
{
// We avoid a generic memcpy(data, &backup.Backup.., GDataTypeSize[info->Type] * info->Count), the overhead in Debug is not worth it.
ImGuiStyleMod& backup = g.StyleVarStack.back();
const ImGuiStyleVa... | pushq %rax
testl %edi, %edi
jle 0x4d83e
movq 0xe199a(%rip), %rax # 0x12f138
movl 0x4190(%rax), %ecx
incl %edi
leaq 0x956a3(%rip), %rdx # 0xe2e50
testl %ecx, %ecx
jle 0x4d85f
movq 0x4198(%rax), %rsi
movl %ecx, %r8d
leaq (%r8,%r8,2), %r8
movl -0xc(%rsi,%r8,4), %r9d
cmpq $0x19, %r9
jae 0x4d840
leaq (%r9,%r9,2), %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GetStyleColorName(int) | const char* ImGui::GetStyleColorName(ImGuiCol idx)
{
// Create switch-case from enum with regexp: ImGuiCol_{.*}, --> case ImGuiCol_\1: return "\1";
switch (idx)
{
case ImGuiCol_Text: return "Text";
case ImGuiCol_TextDisabled: return "TextDisabled";
case ImGuiCol_WindowBg: return "WindowBg";
... | cmpl $0x37, %edi
jae 0x4d894
movl %edi, %eax
leaq 0x957c4(%rip), %rcx # 0xe3050
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
retq
pushq %rax
leaq 0x95ec4(%rip), %rdi # 0xe3760
leaq 0x95908(%rip), %rsi # 0xe31ab
leaq 0x964ad(%rip), %rcx # 0xe3d57
movl $0xbc0, %edx # imm = 0xBC0
callq 0xc5e0
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::FindRenderedTextEnd(char const*, char const*) | const char* ImGui::FindRenderedTextEnd(const char* text, const char* text_end)
{
const char* text_display_end = text;
if (!text_end)
text_end = (const char*)-1;
while (text_display_end < text_end && *text_display_end != '\0' && (text_display_end[0] != '#' || text_display_end[1] != '#'))
tex... | movq %rdi, %rax
xorl %ecx, %ecx
cmpq $0x1, %rsi
sbbq %rcx, %rcx
orq %rsi, %rcx
cmpq %rdi, %rcx
jbe 0x4d8e7
movzbl (%rax), %edx
cmpl $0x23, %edx
je 0x4d8d6
testl %edx, %edx
jne 0x4d8dc
jmp 0x4d8e7
cmpb $0x23, 0x1(%rax)
je 0x4d8e7
incq %rax
cmpq %rcx, %rax
jne 0x4d8c8
movq %rcx, %rax
retq
| /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderText(ImVec2, char const*, char const*, bool) | void ImGui::RenderText(ImVec2 pos, const char* text, const char* text_end, bool hide_text_after_hash)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
// Hide anything after a '##' string
const char* text_display_end;
if (hide_text_after_hash)
{
text_display_end = Fin... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movlps %xmm0, 0x18(%rsp)
movq 0xe1831(%rip), %r13 # 0x12f138
movq 0x3fe0(%r13), %r15
testl %edx, %edx
je 0x4d94c
xorl %eax, %eax
cmpq $0x1, %r14
sbbq %rax, %rax
orq %r14, %rax
movq %rbx, %r14
cmpq %rbx, %rax
jbe ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::LogRenderedText(ImVec2 const*, char const*, char const*) | void ImGui::LogRenderedText(const ImVec2* ref_pos, const char* text, const char* text_end)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
const char* prefix = g.LogNextPrefix;
const char* suffix = g.LogNextSuffix;
g.LogNextPrefix = g.LogNextSuffix = NULL;
if (!text_end)
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdx, %r15
movq %rsi, %r13
movq %rdi, %rbp
leaq 0x9a5af(%rip), %r12 # 0xe7fcb
movq %rdi, (%rsp)
movq 0xe1711(%rip), %rbx # 0x12f138
movq 0x3fe0(%rbx), %rax
movq %rax, 0x8(%rsp)
movq 0x55e8(%rbx), %r14
movq 0x55f0(%rbx), %rax... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderTextWrapped(ImVec2, char const*, char const*, float) | void ImGui::RenderTextWrapped(ImVec2 pos, const char* text, const char* text_end, float wrap_width)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
if (!text_end)
text_end = text + strlen(text); // FIXME-OPT
if (text != text_end)
{
window->DrawList->AddText(g.Fo... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x30, %rsp
movss %xmm1, 0x14(%rsp)
movq %rsi, %r14
movq %rdi, %rbx
movlps %xmm0, 0x18(%rsp)
movq 0xe153b(%rip), %r13 # 0x12f138
movq 0x3fe0(%r13), %r15
testq %rsi, %rsi
jne 0x4dc17
movq %rbx, %rdi
callq 0xc3c0
movq %rax, %r14
addq %rbx, %r14
cmpq %rbx, %r... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderTextClippedEx(ImDrawList*, ImVec2 const&, ImVec2 const&, char const*, char const*, ImVec2 const*, ImVec2 const&, ImRect const*) | void ImGui::RenderTextClippedEx(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_display_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
{
// Perform CPU side clipping for single clipped element to avoid using scissor state
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %rbx
movq %rcx, %r14
movq %rdx, %r13
movq %rsi, %r12
movq %rdi, %r15
movq 0x78(%rsp), %rbp
movq (%rsi), %rax
movq %rax, 0x8(%rsp)
testq %r9, %r9
je 0x4dcef
movsd (%r9), %xmm0
jmp 0x4dd46
movq 0xe1442(%rip), %rax # 0x12f138
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::CalcTextSize(char const*, char const*, bool, float) | ImVec2 ImGui::CalcTextSize(const char* text, const char* text_end, bool hide_text_after_double_hash, float wrap_width)
{
ImGuiContext& g = *GImGui;
const char* text_display_end;
if (hide_text_after_double_hash)
text_display_end = FindRenderedTextEnd(text, text_end); // Hide anything after a '#... | pushq %rax
movaps %xmm0, %xmm2
movq %rsi, %rax
movq %rdi, %rsi
movq 0xe1243(%rip), %rcx # 0x12f138
testl %edx, %edx
je 0x4df2f
xorl %edx, %edx
cmpq $0x1, %rax
sbbq %rdx, %rdx
orq %rax, %rdx
movq %rsi, %rax
cmpq %rsi, %rdx
jbe 0x4df2f
movq %rsi, %rax
movzbl (%rax), %edi
cmpl $0x23, %edi
je 0x4df1e
testl %edi, %edi
j... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderTextClipped(ImVec2 const&, ImVec2 const&, char const*, char const*, ImVec2 const*, ImVec2 const&, ImRect const*) | void ImGui::RenderTextClipped(const ImVec2& pos_min, const ImVec2& pos_max, const char* text, const char* text_end, const ImVec2* text_size_if_known, const ImVec2& align, const ImRect* clip_rect)
{
// Hide anything after a '##' string
const char* text_display_end = FindRenderedTextEnd(text, text_end);
const... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %r9, %rax
movq %r8, %r9
movq %rdx, %rbx
movq %rsi, %rdx
xorl %esi, %esi
cmpq $0x1, %rcx
sbbq %rsi, %rsi
movq %rdi, %r14
orq %rcx, %rsi
movq %rbx, %r15
cmpq %rbx, %rsi
jbe 0x4dfca
movq %rbx, %r15
movzbl (%r15), %ecx
cmpl $0x23, %ecx
je 0x4dfb8
testl %ecx, %ecx
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderTextEllipsis(ImDrawList*, ImVec2 const&, ImVec2 const&, float, float, char const*, char const*, ImVec2 const*) | void ImGui::RenderTextEllipsis(ImDrawList* draw_list, const ImVec2& pos_min, const ImVec2& pos_max, float clip_max_x, float ellipsis_max_x, const char* text, const char* text_end_full, const ImVec2* text_size_if_known)
{
ImGuiContext& g = *GImGui;
if (text_end_full == NULL)
text_end_full = FindRenderedT... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %r8, %r14
movq %rcx, %rbx
movaps %xmm1, 0x70(%rsp)
movss %xmm0, 0x1c(%rsp)
movq %rdx, %rbp
movq %rsi, %r15
movq %rdi, %r12
testq %r8, %r8
je 0x4e070
movq 0xe10d5(%rip), %r13 # 0x12f138
testq %r9, %r9
je 0x4e0a4
movq (%r9), %rax
... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderFrame(ImVec2, ImVec2, unsigned int, bool, float) | void ImGui::RenderFrame(ImVec2 p_min, ImVec2 p_max, ImU32 fill_col, bool border, float rounding)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
window->DrawList->AddRectFilled(p_min, p_max, fill_col, rounding);
const float border_size = g.Style.FrameBorderSize;
if (border && bor... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %esi, %ebx
movl %edi, %ecx
leaq 0x10(%rsp), %rsi
movlps %xmm0, (%rsi)
leaq 0x18(%rsp), %rdx
movlps %xmm1, (%rdx)
movq 0xe0cdc(%rip), %r15 # 0x12f138
movq 0x3fe0(%r15), %r14
movq 0x2b8(%r14), %rdi
movss %xmm2, 0xc(%rsp)
movaps %x... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderFrameBorder(ImVec2, ImVec2, float) | void ImGui::RenderFrameBorder(ImVec2 p_min, ImVec2 p_max, float rounding)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
const float border_size = g.Style.FrameBorderSize;
if (border_size > 0.0f)
{
window->DrawList->AddRect(p_min + ImVec2(1, 1), p_max + ImVec2(1, 1), Get... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movlps %xmm0, 0x10(%rsp)
movlps %xmm1, 0x18(%rsp)
movq 0xe0b75(%rip), %rax # 0x12f138
movss 0x3950(%rax), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jbe 0x4e6dc
movq 0x3fe0(%rax), %rbx
movq 0x2b8(%rbx), %r15
movss 0x88e0f(%rip), %... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderNavHighlight(ImRect const&, unsigned int, int) | void ImGui::RenderNavHighlight(const ImRect& bb, ImGuiID id, ImGuiNavHighlightFlags flags)
{
ImGuiContext& g = *GImGui;
if (id != g.NavId)
return;
if (g.NavDisableHighlight && !(flags & ImGuiNavHighlightFlags_AlwaysDraw))
return;
ImGuiWindow* window = g.CurrentWindow;
if (window->DC.... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq 0xe0a38(%rip), %rax # 0x12f138
cmpl %esi, 0x4270(%rax)
jne 0x4e965
movl %edx, %ebx
testb $0x4, %bl
jne 0x4e720
cmpb $0x0, 0x42aa(%rax)
jne 0x4e965
movq 0x3fe0(%rax), %r13
cmpb $0x0, 0x178(%r13)
jne 0x4e965
xorps %xmm0, %xmm0
mov... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::RenderMouseCursor(ImVec2, float, int, unsigned int, unsigned int, unsigned int) | void ImGui::RenderMouseCursor(ImVec2 base_pos, float base_scale, ImGuiMouseCursor mouse_cursor, ImU32 col_fill, ImU32 col_border, ImU32 col_shadow)
{
ImGuiContext& g = *GImGui;
IM_ASSERT(mouse_cursor > ImGuiMouseCursor_None && mouse_cursor < ImGuiMouseCursor_COUNT);
ImFontAtlas* font_atlas = g.DrawListShare... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xc8, %rsp
movl %ecx, 0x38(%rsp)
movl %edx, 0x34(%rsp)
movl %esi, 0x30(%rsp)
movss %xmm1, 0x3c(%rsp)
movaps %xmm0, 0x90(%rsp)
cmpl $0x9, %edi
jae 0x4ed4a
movq 0xe0789(%rip), %rbx # 0x12f138
cmpl $0x0, 0x4208(%rbx)
jle 0x4ed19
movl %edi, %ebp
mo... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiWindow::~ImGuiWindow() | ImGuiWindow::~ImGuiWindow()
{
IM_ASSERT(DrawList == &DrawListInst);
IM_DELETE(Name);
ColumnsStorage.clear_destruct();
} | pushq %r14
pushq %rbx
pushq %rax
leaq 0x2c0(%rdi), %r14
cmpq %r14, 0x2b8(%rdi)
jne 0x4f2c2
movq %rdi, %rbx
movq (%rdi), %rdi
testq %rdi, %rdi
je 0x4f1a4
movq 0xdffac(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x4f197
decl 0xf4(%rax)
movq 0xdffaa(%rip), %rsi # 0x12f148
callq *0xde8c4(%rip) # 0x12da68
le... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::DebugHookIdInfo(unsigned int, int, void const*, void const*) | void ImGui::DebugHookIdInfo(ImGuiID id, ImGuiDataType data_type, const void* data_id, const void* data_id_end)
{
ImGuiContext& g = *GImGui;
ImGuiWindow* window = g.CurrentWindow;
ImGuiStackTool* tool = &g.DebugStackTool;
// Step 0: stack query
// This assume that the ID was computed with the curren... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdx, %r15
movl %edi, %ebx
movq 0xdfe07(%rip), %r12 # 0x12f138
movq 0x3fe0(%r12), %r13
movl 0x562c(%r12), %eax
movl $0xffffffff, %edx # imm = 0xFFFFFFFF
cmpq %rdx, %rax
je 0x4f3c9
testl %eax, %eax
js 0x4f5f3
cmpl 0x108(%r13), %e... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiWindow::GetID(void const*) | ImGuiID ImGuiWindow::GetID(const void* ptr)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&ptr, sizeof(void*), seed);
ImGui::KeepAliveID(id);
ImGuiContext& g = *GImGui;
if (g.DebugHookIdInfo == id)
ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL);
return id;
} | pushq %rbx
subq $0x10, %rsp
movq %rsi, 0x8(%rsp)
movslq 0x108(%rdi), %rax
testq %rax, %rax
jle 0x4f6dc
movq %rsi, %rdx
movq 0x110(%rdi), %rcx
movl -0x4(%rcx,%rax,4), %ebx
notl %ebx
xorl %eax, %eax
leaq 0x930d1(%rip), %rcx # 0xe2750
movzbl %bl, %esi
shrl $0x8, %ebx
movzbl 0x8(%rsp,%rax), %edi
xorl %esi, %edi
xorl (%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiWindow::GetID(int) | ImGuiID ImGuiWindow::GetID(int n)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&n, sizeof(n), seed);
ImGui::KeepAliveID(id);
ImGuiContext& g = *GImGui;
if (g.DebugHookIdInfo == id)
ImGui::DebugHookIdInfo(id, ImGuiDataType_S32, (void*)(intptr_t)n, NULL);
return id;
} | pushq %rbx
subq $0x10, %rsp
movl %esi, 0xc(%rsp)
movslq 0x108(%rdi), %rax
testq %rax, %rax
jle 0x4f787
movq 0x110(%rdi), %rcx
movl -0x4(%rcx,%rax,4), %ebx
notl %ebx
xorl %eax, %eax
leaq 0x93029(%rip), %rcx # 0xe2750
movzbl %bl, %edx
shrl $0x8, %ebx
movzbl 0xc(%rsp,%rax), %edi
xorl %edx, %edi
xorl (%rcx,%rdi,4), %eb... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiWindow::GetIDNoKeepAlive(void const*) | ImGuiID ImGuiWindow::GetIDNoKeepAlive(const void* ptr)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&ptr, sizeof(void*), seed);
ImGuiContext& g = *GImGui;
if (g.DebugHookIdInfo == id)
ImGui::DebugHookIdInfo(id, ImGuiDataType_Pointer, ptr, NULL);
return id;
} | pushq %rbx
subq $0x10, %rsp
movq %rsi, 0x8(%rsp)
movslq 0x108(%rdi), %rax
testq %rax, %rax
jle 0x4f895
movq %rsi, %rdx
movq 0x110(%rdi), %rcx
movl -0x4(%rcx,%rax,4), %ebx
notl %ebx
xorl %eax, %eax
leaq 0x92efb(%rip), %rcx # 0xe2750
movzbl %bl, %esi
shrl $0x8, %ebx
movzbl 0x8(%rsp,%rax), %edi
xorl %esi, %edi
xorl (%... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGuiWindow::GetIDNoKeepAlive(int) | ImGuiID ImGuiWindow::GetIDNoKeepAlive(int n)
{
ImGuiID seed = IDStack.back();
ImGuiID id = ImHashData(&n, sizeof(n), seed);
ImGuiContext& g = *GImGui;
if (g.DebugHookIdInfo == id)
ImGui::DebugHookIdInfo(id, ImGuiDataType_S32, (void*)(intptr_t)n, NULL);
return id;
} | pushq %rbx
subq $0x10, %rsp
movl %esi, 0xc(%rsp)
movslq 0x108(%rdi), %rax
testq %rax, %rax
jle 0x4f922
movq 0x110(%rdi), %rcx
movl -0x4(%rcx,%rax,4), %ebx
notl %ebx
xorl %eax, %eax
leaq 0x92e71(%rip), %rcx # 0xe2750
movzbl %bl, %edx
shrl $0x8, %ebx
movzbl 0xc(%rsp,%rax), %edi
xorl %edx, %edi
xorl (%rcx,%rdi,4), %eb... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GcCompactTransientMiscBuffers() | void ImGui::GcCompactTransientMiscBuffers()
{
ImGuiContext& g = *GImGui;
g.ItemFlagsStack.clear();
g.GroupStack.clear();
TableGcCompactSettings();
} | pushq %rbx
movq 0xdf720(%rip), %rbx # 0x12f138
movq 0x41c8(%rbx), %rdi
testq %rdi, %rdi
je 0x4fa52
movq $0x0, 0x41c0(%rbx)
testq %rbx, %rbx
je 0x4fa3a
decl 0xf4(%rbx)
movq 0xdf707(%rip), %rsi # 0x12f148
callq *0xde021(%rip) # 0x12da68
movq $0x0, 0x41c8(%rbx)
movq 0x41d8(%rbx), %rdi
testq %rdi, %rdi
je ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GcCompactTransientWindowBuffers(ImGuiWindow*) | void ImGui::GcCompactTransientWindowBuffers(ImGuiWindow* window)
{
window->MemoryCompacted = true;
window->MemoryDrawListIdxCapacity = window->DrawList->IdxBuffer.Capacity;
window->MemoryDrawListVtxCapacity = window->DrawList->VtxBuffer.Capacity;
window->IDStack.clear();
window->DrawList->_ClearFree... | pushq %rbx
movq %rdi, %rbx
movb $0x1, 0x3f8(%rdi)
movq 0x110(%rdi), %rdi
movq 0x2b8(%rbx), %rax
movl 0x14(%rax), %ecx
movl %ecx, 0x3f0(%rbx)
movl 0x24(%rax), %eax
movl %eax, 0x3f4(%rbx)
testq %rdi, %rdi
je 0x4fafe
movq $0x0, 0x108(%rbx)
movq 0xdf65d(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x4fae6
decl 0xf4(%rax)... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow*) | void ImGui::GcAwakeTransientWindowBuffers(ImGuiWindow* window)
{
// We stored capacity of the ImDrawList buffer to reduce growth-caused allocation/copy when awakening.
// The other buffers tends to amortize much faster.
window->MemoryCompacted = false;
window->DrawList->IdxBuffer.reserve(window->MemoryD... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movb $0x0, 0x3f8(%rdi)
movq 0x2b8(%rdi), %r15
movl 0x3f0(%rdi), %ebp
cmpl %ebp, 0x14(%r15)
jge 0x4fc63
movslq %ebp, %rdi
addq %rdi, %rdi
movq 0xdf538(%rip), %rax # 0x12f138
testq %rax, %rax
je 0x4fc0b
incl 0xf4(%rax)
movq 0xdf536(%rip), %rsi ... | /johnor[P]n_e_s_vis/build_O1/_deps/imgui-src/imgui.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.