static void __fastcall BoneLine(const char* bone_1, const char* bone_2, IEntity* pEntity, ImColor color) {
Vec3 bone1 = get_bone(pEntity, bone_1), bone2 = get_bone(pEntity, bone_2);
Vec3 outbone_1 = { ZERO };
Vec3 outbone_2 = { ZERO };
if ((bone1.x + bone1.y + bone1.z == 0) || (bone2.x + bone2.y + bone2.z == 0))
return;
if (!world_to_screen(bone1, &outbone_1) || !world_to_screen(bone2, &outbone_2)) return;
ImGui::GetBackgroundDrawList()->AddLine(ImVec2(outbone_1.x, outbone_1.y), ImVec2(outbone_2.x, outbone_2.y), color, 2);
}