Library:Dear ImGui
Appearance
| Developer | Omar Cornut |
|---|---|
| License | MIT |
| Website | https://github.com/ocornut/imgui |
| On this wiki | Facts · Code · Notes · Topics |
ocornut's immediate-mode GUI library embedded in debug overlays, mod menus and tools: the IMGUI_VERSION string, the global ImGuiContext and a few built-in window names lead an analyst to the UI code.
Identification
IMGUI_VERSIONis a string such as"1.93.1 WIP"withIMGUI_VERSION_NUM19301 (XYYZZ). It is passed toImGui::DebugCheckVersionAndDataLayoutby theIMGUI_CHECKVERSION()macro at startup, together with sizeof(ImGuiIO), sizeof(ImGuiStyle), sizeof(ImVec2), sizeof(ImVec4), sizeof(ImDrawVert), sizeof(ImDrawIdx); search the binary for the version string and the call's xrefs to find the init code.- Strings in the library:
imgui.ini(default IniFilename, relative to the working directory),Debug##Default(implicit window),Dear ImGui Demo,##MainMenuBar. Aimgui.iniorimgui_log.txtnext to a game is a sign. ImGuiContextbegins withbool Initialized, then WithinFrameScope flags,int FrameCount,FrameCountEnded,FrameCountRendered,double Time,char ContextName[16], then the embedded ImGuiIO. The globalGImGuipointer is the usual lead: it is set by CreateContext/SetCurrentContext and read by every ImGui call, so its xrefs are all UI code. The layout changes between versions.- Backends (imgui_impl_dx11, dx12, vulkan, win32, sdl2...) are separate files; their presence shows the graphics API. Overlay mods hook Library:DXGI Present and call the DX11 or DX12 backend there.
Code & repositories
- https://github.com/ocornut/imgui @
4be0b47ecc0edd535a40a79f6ceb6f1ac5936483· license: MIT
Dear ImGui source: IMGUI_VERSION, version check and ImGuiContext layout.
Tested on: source read, not run: read source · checked 2026-10-18; last activity 2026-10-16