# thanhdo1110/aov-menu-imgui-ios-nonjb architecture

> Architecture diagram of the GitHub repository thanhdo1110/aov-menu-imgui-ios-nonjb, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-06). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thanhdo1110/aov-menu-imgui-ios-nonjb
- Repository: https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb

## Overview

This repository is an iOS non-jailbreak Arena of Valor (AOV) game-mod menu. The documented flow is to inject the built tweak, let it patch offsets while the game runs, then replace the UnityFramework binary with the patched copy. The README lists map, camera, rank/ultimate visibility, and aim features. Source excerpts establish Dear ImGui internals, but do not show how the app’s hook, patch, overlay, and feature modules connect; those links are therefore omitted or marked unverified.

Main entry points: [`IMGUI/imgui.h`](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui.h) (ImGui API), [`Esp/PubgLoad.mm`](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/PubgLoad.mm) (Gameplay options), [`IMGUI/imgui_draw.cpp`](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_draw.cpp) (Drawing and fonts), [`IMGUI/imgui_widgets.cpp`](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_widgets.cpp) (UI widgets)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Menu UI"]
  node_gesture["Touch controls<br/>[JHDragView.h]"]
  node_overlay["Menu overlay<br/>[ImGuiDrawView.mm]"]
end

subgraph group_mod["Mod Runtime"]
  node_loader["Game loader<br/>[PubgLoad.mm]"]
  node_hooks["Hook support<br/>[hook.h]"]
  node_patch["Offset patching<br/>[patch.h]"]
  node_il2cpp["IL2CPP bindings<br/>[il2cpp.h]"]
end

subgraph group_game["Game Features"]
  node_features["Gameplay options<br/>[PubgLoad.mm]"]
  node_map["Hack map"]
  node_camera["Camera controls"]
  node_info["Rank and ulti"]
  node_aim["Aim assist"]
end

subgraph group_imgui["ImGui Rendering"]
  node_imgui_api["ImGui API<br/>[imgui.h]"]
  node_widgets["UI widgets<br/>[imgui_widgets.cpp]"]
  node_tables["Tables<br/>[imgui_tables.cpp]"]
  node_drawing["Drawing and fonts<br/>[imgui_draw.cpp]"]
  node_internal["ImGui internals<br/>[imgui_internal.h]"]
  node_demo["Demo windows<br/>[imgui_demo.cpp]"]
  node_rectpack["Font atlas packing<br/>[imstb_rectpack.h]"]
  node_textedit["Text editing<br/>[imstb_textedit.h]"]
  node_truetype["Font rasterization<br/>[imstb_truetype.h]"]
  node_metal["Metal renderer API<br/>[imgui_impl_metal.h]"]
end

node_user(("Player"))
node_ios["iOS device"]
node_aov["AOV game"]

node_user -->|"opens or closes"| node_gesture
node_gesture -.->|"toggles"| node_overlay
node_ios -->|"hosts injected tweak"| node_loader
node_loader -->|"runs within"| node_aov
node_loader -->|"applies offsets"| node_patch
node_patch -->|"patches framework"| node_aov
node_aov -->|"provides gameplay"| node_user
node_features -.->|"includes"| node_map
node_features -.->|"includes"| node_camera
node_features -.->|"includes"| node_info
node_features -.->|"includes"| node_aim
node_widgets -->|"implements API"| node_imgui_api
node_tables -->|"implements API"| node_imgui_api
node_drawing -->|"uses API"| node_imgui_api
node_drawing -->|"uses internals"| node_internal
node_widgets -->|"uses internals"| node_internal
node_tables -->|"uses internals"| node_internal
node_demo -->|"uses API"| node_imgui_api
node_drawing -->|"uses packing"| node_rectpack
node_widgets -->|"uses editing"| node_textedit
node_drawing -->|"uses rasterizer"| node_truetype
node_metal -->|"uses API"| node_imgui_api

click node_gesture "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/JHDragView.h"
click node_overlay "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/ImGuiDrawView.mm"
click node_loader "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/PubgLoad.mm"
click node_hooks "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/1110/hook.h"
click node_patch "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/1110/patch.h"
click node_il2cpp "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/5Toubun/il2cpp.h"
click node_features "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/PubgLoad.mm"
click node_map "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp"
click node_camera "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp"
click node_info "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp"
click node_aim "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp"
click node_imgui_api "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui.h"
click node_widgets "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_widgets.cpp"
click node_tables "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_tables.cpp"
click node_drawing "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_draw.cpp"
click node_internal "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_internal.h"
click node_demo "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_demo.cpp"
click node_rectpack "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imstb_rectpack.h"
click node_textedit "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imstb_textedit.h"
click node_truetype "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imstb_truetype.h"
click node_metal "https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_impl_metal.h"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_gesture,node_overlay toneBlue
class node_loader,node_hooks,node_patch,node_il2cpp toneAmber
class node_features,node_map,node_camera,node_info,node_aim toneMint
class node_imgui_api,node_widgets,node_tables,node_drawing,node_internal,node_demo,node_rectpack,node_textedit,node_truetype,node_metal toneRose
class node_user,node_ios,node_aov toneIndigo
```

## Components

### Menu UI

- [Touch controls](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/JHDragView.h): `Esp/JHDragView.h`
- [Menu overlay](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/ImGuiDrawView.mm): `ImGuiDrawView.mm`

### Mod Runtime

- [Game loader](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/PubgLoad.mm): `Esp/PubgLoad.mm`
- [Hook support](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/1110/hook.h): `1110/hook.h`
- [Offset patching](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/1110/patch.h): `1110/patch.h`
- [IL2CPP bindings](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/5Toubun/il2cpp.h): `5Toubun/il2cpp.h`

### Game Features

- [Gameplay options](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/Esp/PubgLoad.mm): `Esp/PubgLoad.mm`
- [Hack map](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp): `Esp`
- [Camera controls](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp): `Esp`
- [Rank and ulti](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp): `Esp`
- [Aim assist](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/tree/main/Esp): `Esp`

### ImGui Rendering

- [ImGui API](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui.h): `IMGUI/imgui.h`
- [UI widgets](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_widgets.cpp): `IMGUI/imgui_widgets.cpp`
- [Tables](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_tables.cpp): `IMGUI/imgui_tables.cpp`
- [Drawing and fonts](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_draw.cpp): `IMGUI/imgui_draw.cpp`
- [ImGui internals](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_internal.h): `IMGUI/imgui_internal.h`
- [Demo windows](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_demo.cpp): `IMGUI/imgui_demo.cpp`
- [Font atlas packing](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imstb_rectpack.h): `IMGUI/imstb_rectpack.h`
- [Text editing](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imstb_textedit.h): `IMGUI/imstb_textedit.h`
- [Font rasterization](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imstb_truetype.h): `IMGUI/imstb_truetype.h`
- [Metal renderer API](https://github.com/thanhdo1110/aov-menu-imgui-ios-nonjb/blob/main/IMGUI/imgui_impl_metal.h): `IMGUI/imgui_impl_metal.h`

### Other components

- **Player**
- **iOS device**
- **AOV game**

## Connections

- Player → Touch controls: opens or closes (evidence: `README.md`)
- Touch controls → Menu overlay: toggles
- iOS device → Game loader: hosts injected tweak (evidence: `README.md`)
- Game loader → AOV game: runs within (evidence: `README.md`)
- Game loader → Offset patching: applies offsets (evidence: `README.md`)
- Offset patching → AOV game: patches framework (evidence: `README.md`)
- AOV game → Player: provides gameplay (evidence: `README.md`)
- Gameplay options → Hack map: includes
- Gameplay options → Camera controls: includes
- Gameplay options → Rank and ulti: includes
- Gameplay options → Aim assist: includes
- UI widgets → ImGui API: implements API (evidence: `IMGUI/imgui_widgets.cpp`)
- Tables → ImGui API: implements API (evidence: `IMGUI/imgui_tables.cpp`)
- Drawing and fonts → ImGui API: uses API (evidence: `IMGUI/imgui_draw.cpp`)
- Drawing and fonts → ImGui internals: uses internals (evidence: `IMGUI/imgui_draw.cpp`)
- UI widgets → ImGui internals: uses internals (evidence: `IMGUI/imgui_widgets.cpp`)
- Tables → ImGui internals: uses internals (evidence: `IMGUI/imgui_tables.cpp`)
- Demo windows → ImGui API: uses API (evidence: `IMGUI/imgui_demo.cpp`)
- Drawing and fonts → Font atlas packing: uses packing (evidence: `IMGUI/imgui_draw.cpp`)
- UI widgets → Text editing: uses editing (evidence: `IMGUI/imgui_widgets.cpp`)
- Drawing and fonts → Font rasterization: uses rasterizer (evidence: `IMGUI/imgui_draw.cpp`)
- Metal renderer API → ImGui API: uses API (evidence: `IMGUI/imgui_impl_metal.h`)
