; LLVM IR from NotManyIdeasDev/double-pendulum-sim :: double-pendulum-sim/Libraries/raygui-2.8/examples/property_list (property_list)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.Rectangle = type { float, float, float, float }
%struct.Vector2 = type { float, float }
%struct.Color = type { i8, i8, i8, i8 }
%struct.GuiDMProperty = type { ptr, i16, i16, %union.anon }
%union.anon = type { %struct.anon.1, [8 x i8] }
%struct.anon.1 = type { ptr, i32 }
%struct.anon = type { i32, i32, i32, i32 }
%struct.anon.0 = type { float, float, float, float, i32 }
%struct.anon.2 = type { ptr, i32 }
%struct.Vector3 = type { float, float, float }
%struct.Vector4 = type { float, float, float, float }

@guiLocked = external hidden global i8, align 1
@guiAlpha = external hidden global float, align 4
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@__const.GuiDMPropertyList.propSlots = external hidden unnamed_addr constant [11 x i32], align 16
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.13 = external hidden unnamed_addr constant [1 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @GuiLock() #0

; Function Attrs: nounwind uwtable
declare dso_local void @GuiUnlock() #0

; Function Attrs: nounwind uwtable
declare dso_local void @GuiSetState(i32 noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiGetState() #0

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local void @GuiSetStyle(i32 noundef, i32 noundef, i32 noundef) #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiGetStyle(i32 noundef, i32 noundef) #0

declare i32 @Fade(i32, float noundef) #3

declare i32 @GetColor(i32 noundef) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @GetTextWidth(ptr noundef) #5

declare <2 x float> @GetMousePosition() #3

declare zeroext i1 @CheckCollisionPointRec(<2 x float>, <2 x float>, <2 x float>) #3

declare zeroext i1 @IsKeyDown(i32 noundef) #3

declare float @GetMouseWheelMove() #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiScrollBar(<2 x float>, <2 x float>, i32 noundef, i32 noundef, i32 noundef) #5

; Function Attrs: nounwind uwtable
declare hidden void @GuiDrawText(ptr noundef, <2 x float>, <2 x float>, i32 noundef, i32) #5

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiCheckBox(<2 x float>, <2 x float>, ptr noundef, i1 noundef zeroext) #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiComboBox(<2 x float>, <2 x float>, ptr noundef, i32 noundef) #5

declare zeroext i1 @IsMouseButtonPressed(i32 noundef) #3

declare ptr @TextFormat(ptr noundef, ...) #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiTextBox(<2 x float>, <2 x float>, ptr noundef, i32 noundef, i1 noundef zeroext) #5

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #6

declare zeroext i1 @IsKeyPressed(i32 noundef) #3

; Function Attrs: nounwind
declare i32 @__isoc99_sscanf(ptr noundef, ptr noundef, ...) #7

; Function Attrs: nounwind uwtable
declare dso_local double @GuiDMValueBox(<2 x float>, <2 x float>, double noundef, double noundef, double noundef, i32 noundef, i1 noundef zeroext) #5

declare void @SetClipboardText(ptr noundef) #3

declare ptr @GetClipboardText() #3

declare void @DrawRectangleLinesEx(<2 x float>, <2 x float>, i32 noundef, i32) #3

; Function Attrs: nounwind uwtable
declare dso_local double @GuiDMSpinner(<2 x float>, <2 x float>, double noundef, double noundef, double noundef, double noundef, i32 noundef, i1 noundef zeroext) #5

; Function Attrs: nounwind uwtable
define dso_local void @GuiDMPropertyList(<2 x float> %0, <2 x float> %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr noundef %5) #5 {
  %7 = alloca %struct.Rectangle, align 4
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca [11 x i32], align 16
  %16 = alloca %struct.Rectangle, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i8, align 1
  %20 = alloca %struct.Rectangle, align 4
  %21 = alloca i32, align 4
  %22 = alloca %struct.Vector2, align 4
  %23 = alloca i32, align 4
  %24 = alloca %struct.Color, align 1
  %25 = alloca %struct.Color, align 1
  %26 = alloca %struct.Color, align 1
  %27 = alloca %struct.Color, align 1
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca i32, align 4
  %31 = alloca %struct.Rectangle, align 4
  %32 = alloca %struct.Color, align 1
  %33 = alloca %struct.Color, align 1
  %34 = alloca i32, align 4
  %35 = alloca %struct.Color, align 1
  %36 = alloca %struct.Color, align 1
  %37 = alloca %struct.Color, align 1
  %38 = alloca %struct.Color, align 1
  %39 = alloca %struct.Color, align 1
  %40 = alloca %struct.Color, align 1
  %41 = alloca %struct.Color, align 1
  %42 = alloca %struct.Color, align 1
  %43 = alloca %struct.Rectangle, align 4
  %44 = alloca i8, align 1
  %45 = alloca %struct.Rectangle, align 4
  %46 = alloca %struct.Rectangle, align 4
  %47 = alloca %struct.Rectangle, align 4
  %48 = alloca %struct.Rectangle, align 4
  %49 = alloca %struct.Rectangle, align 4
  %50 = alloca %struct.Rectangle, align 4
  %51 = alloca %struct.Rectangle, align 4
  %52 = alloca %struct.Rectangle, align 4
  %53 = alloca %struct.Rectangle, align 4
  %54 = alloca %struct.Rectangle, align 4
  %55 = alloca %struct.Rectangle, align 4
  %56 = alloca %struct.Rectangle, align 4
  %57 = alloca ptr, align 8
  %58 = alloca %struct.Rectangle, align 4
  %59 = alloca %struct.Rectangle, align 4
  %60 = alloca %struct.Rectangle, align 4
  %61 = alloca %struct.Rectangle, align 4
  %62 = alloca %struct.Rectangle, align 4
  %63 = alloca %struct.Rectangle, align 4
  %64 = alloca %struct.Rectangle, align 4
  %65 = alloca %struct.Rectangle, align 4
  %66 = alloca %struct.Rectangle, align 4
  %67 = alloca %struct.Rectangle, align 4
  %68 = alloca %struct.Rectangle, align 4
  %69 = alloca %struct.Rectangle, align 4
  %70 = alloca %struct.Rectangle, align 4
  %71 = alloca %struct.Vector2, align 4
  %72 = alloca %struct.Vector2, align 4
  %73 = alloca ptr, align 8
  %74 = alloca [10 x i8], align 1
  %75 = alloca %struct.Rectangle, align 4
  %76 = alloca %struct.Rectangle, align 4
  %77 = alloca %struct.Rectangle, align 4
  %78 = alloca %struct.Rectangle, align 4
  %79 = alloca %struct.Rectangle, align 4
  %80 = alloca i32, align 4
  %81 = alloca i32, align 4
  %82 = alloca i32, align 4
  %83 = alloca i32, align 4
  %84 = alloca i32, align 4
  %85 = alloca %struct.Color, align 1
  %86 = alloca i32, align 4
  %87 = alloca i32, align 4
  %88 = alloca i32, align 4
  %89 = alloca i32, align 4
  %90 = alloca %struct.Rectangle, align 4
  %91 = alloca %struct.Rectangle, align 4
  %92 = alloca %struct.Rectangle, align 4
  %93 = alloca %struct.Rectangle, align 4
  %94 = alloca %struct.Rectangle, align 4
  %95 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 0
  store <2 x float> %0, ptr %95, align 4
  %96 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 1
  store <2 x float> %1, ptr %96, align 4
  store ptr %2, ptr %8, align 8, !tbaa !5
  store i32 %3, ptr %9, align 4, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  store ptr %5, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #8
  %97 = call i32 @GuiGetState()
  store i32 %97, ptr %12, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %98 = load ptr, ptr %10, align 8, !tbaa !5
  %99 = icmp eq ptr %98, null
  br i1 %99, label %100, label %101

100:                                              ; preds = %6
  br label %104

101:                                              ; preds = %6
  %102 = load ptr, ptr %10, align 8, !tbaa !5
  %103 = load i32, ptr %102, align 4, !tbaa !9
  br label %104

104:                                              ; preds = %101, %100
  %105 = phi i32 [ -1, %100 ], [ %103, %101 ]
  store i32 %105, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %106 = load ptr, ptr %11, align 8, !tbaa !5
  %107 = load i32, ptr %106, align 4, !tbaa !9
  %108 = icmp sgt i32 %107, 0
  br i1 %108, label %109, label %110

109:                                              ; preds = %104
  br label %113

110:                                              ; preds = %104
  %111 = load ptr, ptr %11, align 8, !tbaa !5
  %112 = load i32, ptr %111, align 4, !tbaa !9
  br label %113

113:                                              ; preds = %110, %109
  %114 = phi i32 [ 0, %109 ], [ %112, %110 ]
  store i32 %114, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 44, ptr %15) #8
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %15, ptr align 16 @__const.GuiDMPropertyList.propSlots, i64 44, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %16) #8
  call void @llvm.memset.p0.i64(ptr align 4 %16, i8 0, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #8
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %115

115:                                              ; preds = %188, %113
  %116 = load i32, ptr %17, align 4, !tbaa !9
  %117 = load i32, ptr %9, align 4, !tbaa !9
  %118 = icmp slt i32 %116, %117
  br i1 %118, label %120, label %119

119:                                              ; preds = %115
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #8
  br label %191

120:                                              ; preds = %115
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #8
  %121 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  store i32 %121, ptr %18, align 4, !tbaa !9
  %122 = load ptr, ptr %8, align 8, !tbaa !5
  %123 = load i32, ptr %17, align 4, !tbaa !9
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds %struct.GuiDMProperty, ptr %122, i64 %124
  %126 = getelementptr inbounds %struct.GuiDMProperty, ptr %125, i32 0, i32 1
  %127 = load i16, ptr %126, align 8, !tbaa !11
  %128 = sext i16 %127 to i64
  %129 = icmp ult i64 %128, 11
  br i1 %129, label %130, label %181

130:                                              ; preds = %120
  %131 = load ptr, ptr %8, align 8, !tbaa !5
  %132 = load i32, ptr %17, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds %struct.GuiDMProperty, ptr %131, i64 %133
  %135 = getelementptr inbounds %struct.GuiDMProperty, ptr %134, i32 0, i32 2
  %136 = load i16, ptr %135, align 2, !tbaa !14
  %137 = sext i16 %136 to i32
  %138 = and i32 %137, 1
  %139 = icmp ne i32 %138, 0
  br i1 %139, label %152, label %140

140:                                              ; preds = %130
  %141 = load ptr, ptr %8, align 8, !tbaa !5
  %142 = load i32, ptr %17, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds %struct.GuiDMProperty, ptr %141, i64 %143
  %145 = getelementptr inbounds %struct.GuiDMProperty, ptr %144, i32 0, i32 1
  %146 = load i16, ptr %145, align 8, !tbaa !11
  %147 = sext i16 %146 to i64
  %148 = getelementptr inbounds [11 x i32], ptr %15, i64 0, i64 %147
  %149 = load i32, ptr %148, align 4, !tbaa !9
  %150 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %151 = mul nsw i32 %149, %150
  store i32 %151, ptr %18, align 4, !tbaa !9
  br label %152

152:                                              ; preds = %140, %130
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = load i32, ptr %17, align 4, !tbaa !9
  %155 = sext i32 %154 to i64
  %156 = getelementptr inbounds %struct.GuiDMProperty, ptr %153, i64 %155
  %157 = getelementptr inbounds %struct.GuiDMProperty, ptr %156, i32 0, i32 1
  %158 = load i16, ptr %157, align 8, !tbaa !11
  %159 = sext i16 %158 to i32
  %160 = icmp eq i32 %159, 10
  br i1 %160, label %161, label %180

161:                                              ; preds = %152
  %162 = load ptr, ptr %8, align 8, !tbaa !5
  %163 = load i32, ptr %17, align 4, !tbaa !9
  %164 = sext i32 %163 to i64
  %165 = getelementptr inbounds %struct.GuiDMProperty, ptr %162, i64 %164
  %166 = getelementptr inbounds %struct.GuiDMProperty, ptr %165, i32 0, i32 2
  %167 = load i16, ptr %166, align 2, !tbaa !14
  %168 = sext i16 %167 to i32
  %169 = and i32 %168, 1
  %170 = icmp ne i32 %169, 0
  br i1 %170, label %171, label %180

171:                                              ; preds = %161
  %172 = load ptr, ptr %8, align 8, !tbaa !5
  %173 = load i32, ptr %17, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds %struct.GuiDMProperty, ptr %172, i64 %174
  %176 = getelementptr inbounds %struct.GuiDMProperty, ptr %175, i32 0, i32 3
  %177 = load i32, ptr %176, align 8, !tbaa !15
  %178 = load i32, ptr %17, align 4, !tbaa !9
  %179 = add nsw i32 %178, %177
  store i32 %179, ptr %17, align 4, !tbaa !9
  br label %180

180:                                              ; preds = %171, %161, %152
  br label %181

181:                                              ; preds = %180, %120
  %182 = load i32, ptr %18, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  %184 = sitofp i32 %183 to float
  %185 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 3
  %186 = load float, ptr %185, align 4, !tbaa !16
  %187 = fadd float %186, %184
  store float %187, ptr %185, align 4, !tbaa !16
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #8
  br label %188

188:                                              ; preds = %181
  %189 = load i32, ptr %17, align 4, !tbaa !9
  %190 = add nsw i32 %189, 1
  store i32 %190, ptr %17, align 4, !tbaa !9
  br label %115, !llvm.loop !19

191:                                              ; preds = %119
  call void @llvm.lifetime.start.p0(i64 1, ptr %19) #8
  %192 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 3
  %193 = load float, ptr %192, align 4, !tbaa !16
  %194 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 3
  %195 = load float, ptr %194, align 4, !tbaa !16
  %196 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %197 = mul nsw i32 2, %196
  %198 = sitofp i32 %197 to float
  %199 = fsub float %195, %198
  %200 = fcmp ogt float %193, %199
  %201 = zext i1 %200 to i64
  %202 = select i1 %200, i32 1, i32 0
  %203 = icmp ne i32 %202, 0
  %204 = zext i1 %203 to i8
  store i8 %204, ptr %19, align 1, !tbaa !21
  %205 = load i8, ptr %19, align 1, !tbaa !21, !range !23, !noundef !24
  %206 = trunc i8 %205 to i1
  br i1 %206, label %211, label %207

207:                                              ; preds = %191
  %208 = load i32, ptr %14, align 4, !tbaa !9
  %209 = icmp ne i32 %208, 0
  br i1 %209, label %210, label %211

210:                                              ; preds = %207
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %211

211:                                              ; preds = %210, %207, %191
  call void @llvm.lifetime.start.p0(i64 16, ptr %20) #8
  %212 = getelementptr inbounds %struct.Rectangle, ptr %20, i32 0, i32 0
  %213 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 0
  %214 = load float, ptr %213, align 4, !tbaa !25
  %215 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 12)
  %216 = sitofp i32 %215 to float
  %217 = fadd float %214, %216
  store float %217, ptr %212, align 4, !tbaa !25
  %218 = getelementptr inbounds %struct.Rectangle, ptr %20, i32 0, i32 1
  %219 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 1
  %220 = load float, ptr %219, align 4, !tbaa !26
  %221 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 12)
  %222 = sitofp i32 %221 to float
  %223 = fadd float %220, %222
  store float %223, ptr %218, align 4, !tbaa !26
  %224 = getelementptr inbounds %struct.Rectangle, ptr %20, i32 0, i32 2
  %225 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %226 = sitofp i32 %225 to float
  store float %226, ptr %224, align 4, !tbaa !27
  %227 = getelementptr inbounds %struct.Rectangle, ptr %20, i32 0, i32 3
  %228 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 3
  %229 = load float, ptr %228, align 4, !tbaa !16
  %230 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %231 = mul nsw i32 2, %230
  %232 = sitofp i32 %231 to float
  %233 = fsub float %229, %232
  store float %233, ptr %227, align 4, !tbaa !16
  %234 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 0
  %235 = load float, ptr %234, align 4, !tbaa !25
  %236 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %237 = sitofp i32 %236 to float
  %238 = fadd float %235, %237
  %239 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %240 = sitofp i32 %239 to float
  %241 = fadd float %238, %240
  %242 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 0
  store float %241, ptr %242, align 4, !tbaa !25
  %243 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 1
  %244 = load float, ptr %243, align 4, !tbaa !26
  %245 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %246 = sitofp i32 %245 to float
  %247 = fadd float %244, %246
  %248 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %249 = sitofp i32 %248 to float
  %250 = fadd float %247, %249
  %251 = load i32, ptr %14, align 4, !tbaa !9
  %252 = sitofp i32 %251 to float
  %253 = fadd float %250, %252
  %254 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 1
  store float %253, ptr %254, align 4, !tbaa !26
  %255 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 2
  %256 = load float, ptr %255, align 4, !tbaa !27
  %257 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %258 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %259 = add nsw i32 %257, %258
  %260 = mul nsw i32 2, %259
  %261 = sitofp i32 %260 to float
  %262 = fsub float %256, %261
  %263 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 2
  store float %262, ptr %263, align 4, !tbaa !27
  %264 = load i8, ptr %19, align 1, !tbaa !21, !range !23, !noundef !24
  %265 = trunc i8 %264 to i1
  br i1 %265, label %266, label %294

266:                                              ; preds = %211
  %267 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 19)
  %268 = icmp eq i32 %267, 0
  br i1 %268, label %269, label %275

269:                                              ; preds = %266
  %270 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %271 = sitofp i32 %270 to float
  %272 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 0
  %273 = load float, ptr %272, align 4, !tbaa !25
  %274 = fadd float %273, %271
  store float %274, ptr %272, align 4, !tbaa !25
  br label %288

275:                                              ; preds = %266
  %276 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 0
  %277 = load float, ptr %276, align 4, !tbaa !25
  %278 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 2
  %279 = load float, ptr %278, align 4, !tbaa !27
  %280 = fadd float %277, %279
  %281 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 12)
  %282 = sitofp i32 %281 to float
  %283 = fsub float %280, %282
  %284 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %285 = sitofp i32 %284 to float
  %286 = fsub float %283, %285
  %287 = getelementptr inbounds %struct.Rectangle, ptr %20, i32 0, i32 0
  store float %286, ptr %287, align 4, !tbaa !25
  br label %288

288:                                              ; preds = %275, %269
  %289 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %290 = sitofp i32 %289 to float
  %291 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 2
  %292 = load float, ptr %291, align 4, !tbaa !27
  %293 = fsub float %292, %290
  store float %293, ptr %291, align 4, !tbaa !27
  br label %294

294:                                              ; preds = %288, %211
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #8
  %295 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 3
  %296 = load float, ptr %295, align 4, !tbaa !16
  %297 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %298 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %299 = add nsw i32 %297, %298
  %300 = mul nsw i32 2, %299
  %301 = sitofp i32 %300 to float
  %302 = fadd float %296, %301
  %303 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 3
  %304 = load float, ptr %303, align 4, !tbaa !16
  %305 = fsub float %302, %304
  %306 = fptosi float %305 to i32
  store i32 %306, ptr %21, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %307 = call <2 x float> @GetMousePosition()
  store <2 x float> %307, ptr %22, align 4
  %308 = load i32, ptr %12, align 4, !tbaa !9
  %309 = icmp ne i32 %308, 3
  br i1 %309, label %310, label %341

310:                                              ; preds = %294
  %311 = load i8, ptr @guiLocked, align 1, !tbaa !21, !range !23, !noundef !24
  %312 = trunc i8 %311 to i1
  br i1 %312, label %341, label %313

313:                                              ; preds = %310
  %314 = load <2 x float>, ptr %22, align 4
  %315 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 0
  %316 = load <2 x float>, ptr %315, align 4
  %317 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 1
  %318 = load <2 x float>, ptr %317, align 4
  %319 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %314, <2 x float> %316, <2 x float> %318)
  br i1 %319, label %321, label %320

320:                                              ; preds = %313
  store i32 -1, ptr %13, align 4, !tbaa !9
  br label %321

321:                                              ; preds = %320, %313
  %322 = load i8, ptr %19, align 1, !tbaa !21, !range !23, !noundef !24
  %323 = trunc i8 %322 to i1
  br i1 %323, label %324, label %340

324:                                              ; preds = %321
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  %325 = call float @GetMouseWheelMove()
  %326 = fptosi float %325 to i32
  store i32 %326, ptr %23, align 4, !tbaa !9
  %327 = load i32, ptr %23, align 4, !tbaa !9
  %328 = load i32, ptr %9, align 4, !tbaa !9
  %329 = mul nsw i32 %327, %328
  %330 = load i32, ptr %14, align 4, !tbaa !9
  %331 = add nsw i32 %330, %329
  store i32 %331, ptr %14, align 4, !tbaa !9
  %332 = load i32, ptr %14, align 4, !tbaa !9
  %333 = sub nsw i32 0, %332
  %334 = load i32, ptr %21, align 4, !tbaa !9
  %335 = icmp sgt i32 %333, %334
  br i1 %335, label %336, label %339

336:                                              ; preds = %324
  %337 = load i32, ptr %21, align 4, !tbaa !9
  %338 = sub nsw i32 0, %337
  store i32 %338, ptr %14, align 4, !tbaa !9
  br label %339

339:                                              ; preds = %336, %324
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %340

340:                                              ; preds = %339, %321
  br label %341

341:                                              ; preds = %340, %310, %294
  %342 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 19)
  %343 = call i32 @GetColor(i32 noundef %342)
  store i32 %343, ptr %25, align 1
  %344 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %345 = load i32, ptr %25, align 1
  %346 = call i32 @Fade(i32 %345, float noundef %344)
  store i32 %346, ptr %24, align 1
  %347 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 0
  %348 = load <2 x float>, ptr %347, align 4
  %349 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 1
  %350 = load <2 x float>, ptr %349, align 4
  %351 = load i32, ptr %24, align 1
  call void @DrawRectangleRec(<2 x float> %348, <2 x float> %350, i32 %351)
  %352 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %353 = load i32, ptr %12, align 4, !tbaa !9
  %354 = mul i32 %353, 3
  %355 = add i32 0, %354
  %356 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef %355)
  %357 = call i32 @GetColor(i32 noundef %356)
  store i32 %357, ptr %27, align 1
  %358 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %359 = load i32, ptr %27, align 1
  %360 = call i32 @Fade(i32 %359, float noundef %358)
  store i32 %360, ptr %26, align 1
  %361 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 0
  %362 = load <2 x float>, ptr %361, align 4
  %363 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %7, i32 0, i32 1
  %364 = load <2 x float>, ptr %363, align 4
  %365 = load i32, ptr %26, align 1
  call void @DrawRectangleLinesEx(<2 x float> %362, <2 x float> %364, i32 noundef %352, i32 %365)
  %366 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 0
  %367 = load float, ptr %366, align 4, !tbaa !25
  %368 = fptosi float %367 to i32
  %369 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 1
  %370 = load float, ptr %369, align 4, !tbaa !26
  %371 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %372 = sitofp i32 %371 to float
  %373 = fadd float %370, %372
  %374 = fptosi float %373 to i32
  %375 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 2
  %376 = load float, ptr %375, align 4, !tbaa !27
  %377 = fptosi float %376 to i32
  %378 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 3
  %379 = load float, ptr %378, align 4, !tbaa !16
  %380 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %381 = mul nsw i32 2, %380
  %382 = sitofp i32 %381 to float
  %383 = fsub float %379, %382
  %384 = fptosi float %383 to i32
  call void @BeginScissorMode(i32 noundef %368, i32 noundef %374, i32 noundef %377, i32 noundef %384)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #8
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %385

385:                                              ; preds = %2737, %341
  %386 = load i32, ptr %29, align 4, !tbaa !9
  %387 = load i32, ptr %9, align 4, !tbaa !9
  %388 = icmp slt i32 %386, %387
  br i1 %388, label %390, label %389

389:                                              ; preds = %385
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #8
  br label %2740

390:                                              ; preds = %385
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #8
  %391 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  store i32 %391, ptr %30, align 4, !tbaa !9
  %392 = load ptr, ptr %8, align 8, !tbaa !5
  %393 = load i32, ptr %29, align 4, !tbaa !9
  %394 = sext i32 %393 to i64
  %395 = getelementptr inbounds %struct.GuiDMProperty, ptr %392, i64 %394
  %396 = getelementptr inbounds %struct.GuiDMProperty, ptr %395, i32 0, i32 1
  %397 = load i16, ptr %396, align 8, !tbaa !11
  %398 = sext i16 %397 to i64
  %399 = icmp ult i64 %398, 11
  br i1 %399, label %400, label %422

400:                                              ; preds = %390
  %401 = load ptr, ptr %8, align 8, !tbaa !5
  %402 = load i32, ptr %29, align 4, !tbaa !9
  %403 = sext i32 %402 to i64
  %404 = getelementptr inbounds %struct.GuiDMProperty, ptr %401, i64 %403
  %405 = getelementptr inbounds %struct.GuiDMProperty, ptr %404, i32 0, i32 2
  %406 = load i16, ptr %405, align 2, !tbaa !14
  %407 = sext i16 %406 to i32
  %408 = and i32 %407, 1
  %409 = icmp ne i32 %408, 0
  br i1 %409, label %422, label %410

410:                                              ; preds = %400
  %411 = load ptr, ptr %8, align 8, !tbaa !5
  %412 = load i32, ptr %29, align 4, !tbaa !9
  %413 = sext i32 %412 to i64
  %414 = getelementptr inbounds %struct.GuiDMProperty, ptr %411, i64 %413
  %415 = getelementptr inbounds %struct.GuiDMProperty, ptr %414, i32 0, i32 1
  %416 = load i16, ptr %415, align 8, !tbaa !11
  %417 = sext i16 %416 to i64
  %418 = getelementptr inbounds [11 x i32], ptr %15, i64 0, i64 %417
  %419 = load i32, ptr %418, align 4, !tbaa !9
  %420 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %421 = mul nsw i32 %419, %420
  store i32 %421, ptr %30, align 4, !tbaa !9
  br label %422

422:                                              ; preds = %410, %400, %390
  %423 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 1
  %424 = load float, ptr %423, align 4, !tbaa !26
  %425 = load i32, ptr %28, align 4, !tbaa !9
  %426 = sitofp i32 %425 to float
  %427 = fadd float %424, %426
  %428 = load i32, ptr %30, align 4, !tbaa !9
  %429 = sitofp i32 %428 to float
  %430 = fadd float %427, %429
  %431 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 1
  %432 = load float, ptr %431, align 4, !tbaa !26
  %433 = fcmp oge float %430, %432
  br i1 %433, label %434, label %2704

434:                                              ; preds = %422
  %435 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 1
  %436 = load float, ptr %435, align 4, !tbaa !26
  %437 = load i32, ptr %28, align 4, !tbaa !9
  %438 = sitofp i32 %437 to float
  %439 = fadd float %436, %438
  %440 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 1
  %441 = load float, ptr %440, align 4, !tbaa !26
  %442 = getelementptr inbounds %struct.Rectangle, ptr %7, i32 0, i32 3
  %443 = load float, ptr %442, align 4, !tbaa !16
  %444 = fadd float %441, %443
  %445 = fcmp ole float %439, %444
  br i1 %445, label %446, label %2704

446:                                              ; preds = %434
  call void @llvm.lifetime.start.p0(i64 16, ptr %31) #8
  %447 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %448 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 0
  %449 = load float, ptr %448, align 4, !tbaa !25
  store float %449, ptr %447, align 4, !tbaa !25
  %450 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %451 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 1
  %452 = load float, ptr %451, align 4, !tbaa !26
  %453 = load i32, ptr %28, align 4, !tbaa !9
  %454 = sitofp i32 %453 to float
  %455 = fadd float %452, %454
  store float %455, ptr %450, align 4, !tbaa !26
  %456 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %457 = getelementptr inbounds %struct.Rectangle, ptr %16, i32 0, i32 2
  %458 = load float, ptr %457, align 4, !tbaa !27
  store float %458, ptr %456, align 4, !tbaa !27
  %459 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 3
  %460 = load i32, ptr %30, align 4, !tbaa !9
  %461 = sitofp i32 %460 to float
  store float %461, ptr %459, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %32) #8
  %462 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 2)
  %463 = call i32 @GetColor(i32 noundef %462)
  store i32 %463, ptr %33, align 1
  %464 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %465 = load i32, ptr %33, align 1
  %466 = call i32 @Fade(i32 %465, float noundef %464)
  store i32 %466, ptr %32, align 1
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #8
  store i32 0, ptr %34, align 4, !tbaa !9
  %467 = load ptr, ptr %8, align 8, !tbaa !5
  %468 = load i32, ptr %29, align 4, !tbaa !9
  %469 = sext i32 %468 to i64
  %470 = getelementptr inbounds %struct.GuiDMProperty, ptr %467, i64 %469
  %471 = getelementptr inbounds %struct.GuiDMProperty, ptr %470, i32 0, i32 2
  %472 = load i16, ptr %471, align 2, !tbaa !14
  %473 = sext i16 %472 to i32
  %474 = and i32 %473, 2
  %475 = icmp ne i32 %474, 0
  br i1 %475, label %476, label %498

476:                                              ; preds = %446
  store i32 3, ptr %34, align 4, !tbaa !9
  %477 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 3
  %478 = load float, ptr %477, align 4, !tbaa !16
  %479 = fadd float %478, 1.000000e+00
  store float %479, ptr %477, align 4, !tbaa !16
  %480 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 10)
  %481 = call i32 @GetColor(i32 noundef %480)
  store i32 %481, ptr %36, align 1
  %482 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %483 = load i32, ptr %36, align 1
  %484 = call i32 @Fade(i32 %483, float noundef %482)
  store i32 %484, ptr %35, align 1
  %485 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %486 = load <2 x float>, ptr %485, align 4
  %487 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %488 = load <2 x float>, ptr %487, align 4
  %489 = load i32, ptr %35, align 1
  call void @DrawRectangleRec(<2 x float> %486, <2 x float> %488, i32 %489)
  %490 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 3
  %491 = load float, ptr %490, align 4, !tbaa !16
  %492 = fsub float %491, 1.000000e+00
  store float %492, ptr %490, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 4, ptr %37) #8
  %493 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 11)
  %494 = call i32 @GetColor(i32 noundef %493)
  store i32 %494, ptr %38, align 1
  %495 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %496 = load i32, ptr %38, align 1
  %497 = call i32 @Fade(i32 %496, float noundef %495)
  store i32 %497, ptr %37, align 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %32, ptr align 1 %37, i64 4, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 4, ptr %37) #8
  br label %526

498:                                              ; preds = %446
  %499 = load <2 x float>, ptr %22, align 4
  %500 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 0
  %501 = load <2 x float>, ptr %500, align 4
  %502 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %31, i32 0, i32 1
  %503 = load <2 x float>, ptr %502, align 4
  %504 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %499, <2 x float> %501, <2 x float> %503)
  br i1 %504, label %505, label %524

505:                                              ; preds = %498
  %506 = load i8, ptr @guiLocked, align 1, !tbaa !21, !range !23, !noundef !24
  %507 = trunc i8 %506 to i1
  br i1 %507, label %524, label %508

508:                                              ; preds = %505
  %509 = call zeroext i1 @IsMouseButtonPressed(i32 noundef 0)
  br i1 %509, label %510, label %516

510:                                              ; preds = %508
  store i32 2, ptr %34, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %39) #8
  %511 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 8)
  %512 = call i32 @GetColor(i32 noundef %511)
  store i32 %512, ptr %40, align 1
  %513 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %514 = load i32, ptr %40, align 1
  %515 = call i32 @Fade(i32 %514, float noundef %513)
  store i32 %515, ptr %39, align 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %32, ptr align 1 %39, i64 4, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 4, ptr %39) #8
  br label %523

516:                                              ; preds = %508
  store i32 1, ptr %34, align 4, !tbaa !9
  %517 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %517, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %41) #8
  %518 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 5)
  %519 = call i32 @GetColor(i32 noundef %518)
  store i32 %519, ptr %42, align 1
  %520 = load float, ptr @guiAlpha, align 4, !tbaa !28
  %521 = load i32, ptr %42, align 1
  %522 = call i32 @Fade(i32 %521, float noundef %520)
  store i32 %522, ptr %41, align 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %32, ptr align 1 %41, i64 4, i1 false), !tbaa.struct !29
  call void @llvm.lifetime.end.p0(i64 4, ptr %41) #8
  br label %523

523:                                              ; preds = %516, %510
  br label %525

524:                                              ; preds = %505, %498
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %525

525:                                              ; preds = %524, %523
  br label %526

526:                                              ; preds = %525, %476
  %527 = load i32, ptr %34, align 4, !tbaa !9
  %528 = icmp eq i32 %527, 3
  br i1 %528, label %529, label %531

529:                                              ; preds = %526
  %530 = load i32, ptr %34, align 4, !tbaa !9
  call void @GuiSetState(i32 noundef %530)
  br label %531

531:                                              ; preds = %529, %526
  %532 = load ptr, ptr %8, align 8, !tbaa !5
  %533 = load i32, ptr %29, align 4, !tbaa !9
  %534 = sext i32 %533 to i64
  %535 = getelementptr inbounds %struct.GuiDMProperty, ptr %532, i64 %534
  %536 = getelementptr inbounds %struct.GuiDMProperty, ptr %535, i32 0, i32 1
  %537 = load i16, ptr %536, align 8, !tbaa !11
  %538 = sext i16 %537 to i32
  switch i32 %538, label %2643 [
    i32 0, label %539
    i32 1, label %634
    i32 2, label %726
    i32 3, label %825
    i32 4, label %990
    i32 5, label %1061
    i32 6, label %1061
    i32 7, label %1061
    i32 8, label %1511
    i32 9, label %1876
    i32 10, label %2527
  ]

539:                                              ; preds = %531
  %540 = load ptr, ptr %8, align 8, !tbaa !5
  %541 = load i32, ptr %29, align 4, !tbaa !9
  %542 = sext i32 %541 to i64
  %543 = getelementptr inbounds %struct.GuiDMProperty, ptr %540, i64 %542
  %544 = getelementptr inbounds %struct.GuiDMProperty, ptr %543, i32 0, i32 0
  %545 = load ptr, ptr %544, align 8, !tbaa !30
  %546 = getelementptr inbounds %struct.Rectangle, ptr %43, i32 0, i32 0
  %547 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %548 = load float, ptr %547, align 4, !tbaa !25
  %549 = fadd float %548, 6.000000e+00
  store float %549, ptr %546, align 4, !tbaa !25
  %550 = getelementptr inbounds %struct.Rectangle, ptr %43, i32 0, i32 1
  %551 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %552 = load float, ptr %551, align 4, !tbaa !26
  store float %552, ptr %550, align 4, !tbaa !26
  %553 = getelementptr inbounds %struct.Rectangle, ptr %43, i32 0, i32 2
  %554 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %555 = load float, ptr %554, align 4, !tbaa !27
  %556 = fdiv float %555, 2.000000e+00
  %557 = fsub float %556, 6.000000e+00
  store float %557, ptr %553, align 4, !tbaa !27
  %558 = getelementptr inbounds %struct.Rectangle, ptr %43, i32 0, i32 3
  %559 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %560 = sitofp i32 %559 to float
  store float %560, ptr %558, align 4, !tbaa !16
  %561 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %43, i32 0, i32 0
  %562 = load <2 x float>, ptr %561, align 4
  %563 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %43, i32 0, i32 1
  %564 = load <2 x float>, ptr %563, align 4
  %565 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %545, <2 x float> %562, <2 x float> %564, i32 noundef 0, i32 %565)
  %566 = load i32, ptr %34, align 4, !tbaa !9
  %567 = icmp eq i32 %566, 2
  br i1 %567, label %568, label %583

568:                                              ; preds = %539
  %569 = load ptr, ptr %8, align 8, !tbaa !5
  %570 = load i32, ptr %29, align 4, !tbaa !9
  %571 = sext i32 %570 to i64
  %572 = getelementptr inbounds %struct.GuiDMProperty, ptr %569, i64 %571
  %573 = getelementptr inbounds %struct.GuiDMProperty, ptr %572, i32 0, i32 3
  %574 = load i8, ptr %573, align 8, !tbaa !15, !range !23, !noundef !24
  %575 = trunc i8 %574 to i1
  %576 = xor i1 %575, true
  %577 = load ptr, ptr %8, align 8, !tbaa !5
  %578 = load i32, ptr %29, align 4, !tbaa !9
  %579 = sext i32 %578 to i64
  %580 = getelementptr inbounds %struct.GuiDMProperty, ptr %577, i64 %579
  %581 = getelementptr inbounds %struct.GuiDMProperty, ptr %580, i32 0, i32 3
  %582 = zext i1 %576 to i8
  store i8 %582, ptr %581, align 8, !tbaa !15
  br label %583

583:                                              ; preds = %568, %539
  call void @llvm.lifetime.start.p0(i64 1, ptr %44) #8
  %584 = load i8, ptr @guiLocked, align 1, !tbaa !21, !range !23, !noundef !24
  %585 = trunc i8 %584 to i1
  %586 = zext i1 %585 to i8
  store i8 %586, ptr %44, align 1, !tbaa !21
  call void @GuiLock()
  %587 = getelementptr inbounds %struct.Rectangle, ptr %45, i32 0, i32 0
  %588 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %589 = load float, ptr %588, align 4, !tbaa !25
  %590 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %591 = load float, ptr %590, align 4, !tbaa !27
  %592 = fdiv float %591, 2.000000e+00
  %593 = fadd float %589, %592
  store float %593, ptr %587, align 4, !tbaa !25
  %594 = getelementptr inbounds %struct.Rectangle, ptr %45, i32 0, i32 1
  %595 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %596 = load float, ptr %595, align 4, !tbaa !26
  %597 = load i32, ptr %30, align 4, !tbaa !9
  %598 = sdiv i32 %597, 4
  %599 = sitofp i32 %598 to float
  %600 = fadd float %596, %599
  store float %600, ptr %594, align 4, !tbaa !26
  %601 = getelementptr inbounds %struct.Rectangle, ptr %45, i32 0, i32 2
  %602 = load i32, ptr %30, align 4, !tbaa !9
  %603 = sdiv i32 %602, 2
  %604 = sitofp i32 %603 to float
  store float %604, ptr %601, align 4, !tbaa !27
  %605 = getelementptr inbounds %struct.Rectangle, ptr %45, i32 0, i32 3
  %606 = load i32, ptr %30, align 4, !tbaa !9
  %607 = sdiv i32 %606, 2
  %608 = sitofp i32 %607 to float
  store float %608, ptr %605, align 4, !tbaa !16
  %609 = load ptr, ptr %8, align 8, !tbaa !5
  %610 = load i32, ptr %29, align 4, !tbaa !9
  %611 = sext i32 %610 to i64
  %612 = getelementptr inbounds %struct.GuiDMProperty, ptr %609, i64 %611
  %613 = getelementptr inbounds %struct.GuiDMProperty, ptr %612, i32 0, i32 3
  %614 = load i8, ptr %613, align 8, !tbaa !15, !range !23, !noundef !24
  %615 = trunc i8 %614 to i1
  %616 = zext i1 %615 to i64
  %617 = select i1 %615, ptr @.str.9, ptr @.str.10
  %618 = load ptr, ptr %8, align 8, !tbaa !5
  %619 = load i32, ptr %29, align 4, !tbaa !9
  %620 = sext i32 %619 to i64
  %621 = getelementptr inbounds %struct.GuiDMProperty, ptr %618, i64 %620
  %622 = getelementptr inbounds %struct.GuiDMProperty, ptr %621, i32 0, i32 3
  %623 = load i8, ptr %622, align 8, !tbaa !15, !range !23, !noundef !24
  %624 = trunc i8 %623 to i1
  %625 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %45, i32 0, i32 0
  %626 = load <2 x float>, ptr %625, align 4
  %627 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %45, i32 0, i32 1
  %628 = load <2 x float>, ptr %627, align 4
  %629 = call zeroext i1 @GuiCheckBox(<2 x float> %626, <2 x float> %628, ptr noundef %617, i1 noundef zeroext %624)
  %630 = load i8, ptr %44, align 1, !tbaa !21, !range !23, !noundef !24
  %631 = trunc i8 %630 to i1
  br i1 %631, label %633, label %632

632:                                              ; preds = %583
  call void @GuiUnlock()
  br label %633

633:                                              ; preds = %632, %583
  call void @llvm.lifetime.end.p0(i64 1, ptr %44) #8
  br label %2702

634:                                              ; preds = %531
  %635 = load ptr, ptr %8, align 8, !tbaa !5
  %636 = load i32, ptr %29, align 4, !tbaa !9
  %637 = sext i32 %636 to i64
  %638 = getelementptr inbounds %struct.GuiDMProperty, ptr %635, i64 %637
  %639 = getelementptr inbounds %struct.GuiDMProperty, ptr %638, i32 0, i32 0
  %640 = load ptr, ptr %639, align 8, !tbaa !30
  %641 = getelementptr inbounds %struct.Rectangle, ptr %46, i32 0, i32 0
  %642 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %643 = load float, ptr %642, align 4, !tbaa !25
  %644 = fadd float %643, 6.000000e+00
  store float %644, ptr %641, align 4, !tbaa !25
  %645 = getelementptr inbounds %struct.Rectangle, ptr %46, i32 0, i32 1
  %646 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %647 = load float, ptr %646, align 4, !tbaa !26
  store float %647, ptr %645, align 4, !tbaa !26
  %648 = getelementptr inbounds %struct.Rectangle, ptr %46, i32 0, i32 2
  %649 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %650 = load float, ptr %649, align 4, !tbaa !27
  %651 = fdiv float %650, 2.000000e+00
  %652 = fsub float %651, 6.000000e+00
  store float %652, ptr %648, align 4, !tbaa !27
  %653 = getelementptr inbounds %struct.Rectangle, ptr %46, i32 0, i32 3
  %654 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %655 = sitofp i32 %654 to float
  store float %655, ptr %653, align 4, !tbaa !16
  %656 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %46, i32 0, i32 0
  %657 = load <2 x float>, ptr %656, align 4
  %658 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %46, i32 0, i32 1
  %659 = load <2 x float>, ptr %658, align 4
  %660 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %640, <2 x float> %657, <2 x float> %659, i32 noundef 0, i32 %660)
  %661 = getelementptr inbounds %struct.Rectangle, ptr %47, i32 0, i32 0
  %662 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %663 = load float, ptr %662, align 4, !tbaa !25
  %664 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %665 = load float, ptr %664, align 4, !tbaa !27
  %666 = fdiv float %665, 2.000000e+00
  %667 = fadd float %663, %666
  store float %667, ptr %661, align 4, !tbaa !25
  %668 = getelementptr inbounds %struct.Rectangle, ptr %47, i32 0, i32 1
  %669 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %670 = load float, ptr %669, align 4, !tbaa !26
  %671 = fadd float %670, 1.000000e+00
  store float %671, ptr %668, align 4, !tbaa !26
  %672 = getelementptr inbounds %struct.Rectangle, ptr %47, i32 0, i32 2
  %673 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %674 = load float, ptr %673, align 4, !tbaa !27
  %675 = fdiv float %674, 2.000000e+00
  store float %675, ptr %672, align 4, !tbaa !27
  %676 = getelementptr inbounds %struct.Rectangle, ptr %47, i32 0, i32 3
  %677 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %678 = sub nsw i32 %677, 2
  %679 = sitofp i32 %678 to float
  store float %679, ptr %676, align 4, !tbaa !16
  %680 = load ptr, ptr %8, align 8, !tbaa !5
  %681 = load i32, ptr %29, align 4, !tbaa !9
  %682 = sext i32 %681 to i64
  %683 = getelementptr inbounds %struct.GuiDMProperty, ptr %680, i64 %682
  %684 = getelementptr inbounds %struct.GuiDMProperty, ptr %683, i32 0, i32 3
  %685 = getelementptr inbounds %struct.anon, ptr %684, i32 0, i32 0
  %686 = load i32, ptr %685, align 8, !tbaa !15
  %687 = sitofp i32 %686 to double
  %688 = load ptr, ptr %8, align 8, !tbaa !5
  %689 = load i32, ptr %29, align 4, !tbaa !9
  %690 = sext i32 %689 to i64
  %691 = getelementptr inbounds %struct.GuiDMProperty, ptr %688, i64 %690
  %692 = getelementptr inbounds %struct.GuiDMProperty, ptr %691, i32 0, i32 3
  %693 = getelementptr inbounds %struct.anon, ptr %692, i32 0, i32 1
  %694 = load i32, ptr %693, align 4, !tbaa !15
  %695 = sitofp i32 %694 to double
  %696 = load ptr, ptr %8, align 8, !tbaa !5
  %697 = load i32, ptr %29, align 4, !tbaa !9
  %698 = sext i32 %697 to i64
  %699 = getelementptr inbounds %struct.GuiDMProperty, ptr %696, i64 %698
  %700 = getelementptr inbounds %struct.GuiDMProperty, ptr %699, i32 0, i32 3
  %701 = getelementptr inbounds %struct.anon, ptr %700, i32 0, i32 2
  %702 = load i32, ptr %701, align 8, !tbaa !15
  %703 = sitofp i32 %702 to double
  %704 = load ptr, ptr %8, align 8, !tbaa !5
  %705 = load i32, ptr %29, align 4, !tbaa !9
  %706 = sext i32 %705 to i64
  %707 = getelementptr inbounds %struct.GuiDMProperty, ptr %704, i64 %706
  %708 = getelementptr inbounds %struct.GuiDMProperty, ptr %707, i32 0, i32 3
  %709 = getelementptr inbounds %struct.anon, ptr %708, i32 0, i32 3
  %710 = load i32, ptr %709, align 4, !tbaa !15
  %711 = sitofp i32 %710 to double
  %712 = load i32, ptr %34, align 4, !tbaa !9
  %713 = icmp eq i32 %712, 1
  %714 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 0
  %715 = load <2 x float>, ptr %714, align 4
  %716 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %47, i32 0, i32 1
  %717 = load <2 x float>, ptr %716, align 4
  %718 = call double @GuiDMSpinner(<2 x float> %715, <2 x float> %717, double noundef %687, double noundef %695, double noundef %703, double noundef %711, i32 noundef 0, i1 noundef zeroext %713)
  %719 = fptosi double %718 to i32
  %720 = load ptr, ptr %8, align 8, !tbaa !5
  %721 = load i32, ptr %29, align 4, !tbaa !9
  %722 = sext i32 %721 to i64
  %723 = getelementptr inbounds %struct.GuiDMProperty, ptr %720, i64 %722
  %724 = getelementptr inbounds %struct.GuiDMProperty, ptr %723, i32 0, i32 3
  %725 = getelementptr inbounds %struct.anon, ptr %724, i32 0, i32 0
  store i32 %719, ptr %725, align 8, !tbaa !15
  br label %2702

726:                                              ; preds = %531
  %727 = load ptr, ptr %8, align 8, !tbaa !5
  %728 = load i32, ptr %29, align 4, !tbaa !9
  %729 = sext i32 %728 to i64
  %730 = getelementptr inbounds %struct.GuiDMProperty, ptr %727, i64 %729
  %731 = getelementptr inbounds %struct.GuiDMProperty, ptr %730, i32 0, i32 0
  %732 = load ptr, ptr %731, align 8, !tbaa !30
  %733 = getelementptr inbounds %struct.Rectangle, ptr %48, i32 0, i32 0
  %734 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %735 = load float, ptr %734, align 4, !tbaa !25
  %736 = fadd float %735, 6.000000e+00
  store float %736, ptr %733, align 4, !tbaa !25
  %737 = getelementptr inbounds %struct.Rectangle, ptr %48, i32 0, i32 1
  %738 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %739 = load float, ptr %738, align 4, !tbaa !26
  store float %739, ptr %737, align 4, !tbaa !26
  %740 = getelementptr inbounds %struct.Rectangle, ptr %48, i32 0, i32 2
  %741 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %742 = load float, ptr %741, align 4, !tbaa !27
  %743 = fdiv float %742, 2.000000e+00
  %744 = fsub float %743, 6.000000e+00
  store float %744, ptr %740, align 4, !tbaa !27
  %745 = getelementptr inbounds %struct.Rectangle, ptr %48, i32 0, i32 3
  %746 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %747 = sitofp i32 %746 to float
  store float %747, ptr %745, align 4, !tbaa !16
  %748 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 0
  %749 = load <2 x float>, ptr %748, align 4
  %750 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %48, i32 0, i32 1
  %751 = load <2 x float>, ptr %750, align 4
  %752 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %732, <2 x float> %749, <2 x float> %751, i32 noundef 0, i32 %752)
  %753 = getelementptr inbounds %struct.Rectangle, ptr %49, i32 0, i32 0
  %754 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %755 = load float, ptr %754, align 4, !tbaa !25
  %756 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %757 = load float, ptr %756, align 4, !tbaa !27
  %758 = fdiv float %757, 2.000000e+00
  %759 = fadd float %755, %758
  store float %759, ptr %753, align 4, !tbaa !25
  %760 = getelementptr inbounds %struct.Rectangle, ptr %49, i32 0, i32 1
  %761 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %762 = load float, ptr %761, align 4, !tbaa !26
  %763 = fadd float %762, 1.000000e+00
  store float %763, ptr %760, align 4, !tbaa !26
  %764 = getelementptr inbounds %struct.Rectangle, ptr %49, i32 0, i32 2
  %765 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %766 = load float, ptr %765, align 4, !tbaa !27
  %767 = fdiv float %766, 2.000000e+00
  store float %767, ptr %764, align 4, !tbaa !27
  %768 = getelementptr inbounds %struct.Rectangle, ptr %49, i32 0, i32 3
  %769 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %770 = sub nsw i32 %769, 2
  %771 = sitofp i32 %770 to float
  store float %771, ptr %768, align 4, !tbaa !16
  %772 = load ptr, ptr %8, align 8, !tbaa !5
  %773 = load i32, ptr %29, align 4, !tbaa !9
  %774 = sext i32 %773 to i64
  %775 = getelementptr inbounds %struct.GuiDMProperty, ptr %772, i64 %774
  %776 = getelementptr inbounds %struct.GuiDMProperty, ptr %775, i32 0, i32 3
  %777 = getelementptr inbounds %struct.anon.0, ptr %776, i32 0, i32 0
  %778 = load float, ptr %777, align 8, !tbaa !15
  %779 = fpext float %778 to double
  %780 = load ptr, ptr %8, align 8, !tbaa !5
  %781 = load i32, ptr %29, align 4, !tbaa !9
  %782 = sext i32 %781 to i64
  %783 = getelementptr inbounds %struct.GuiDMProperty, ptr %780, i64 %782
  %784 = getelementptr inbounds %struct.GuiDMProperty, ptr %783, i32 0, i32 3
  %785 = getelementptr inbounds %struct.anon.0, ptr %784, i32 0, i32 1
  %786 = load float, ptr %785, align 4, !tbaa !15
  %787 = fpext float %786 to double
  %788 = load ptr, ptr %8, align 8, !tbaa !5
  %789 = load i32, ptr %29, align 4, !tbaa !9
  %790 = sext i32 %789 to i64
  %791 = getelementptr inbounds %struct.GuiDMProperty, ptr %788, i64 %790
  %792 = getelementptr inbounds %struct.GuiDMProperty, ptr %791, i32 0, i32 3
  %793 = getelementptr inbounds %struct.anon.0, ptr %792, i32 0, i32 2
  %794 = load float, ptr %793, align 8, !tbaa !15
  %795 = fpext float %794 to double
  %796 = load ptr, ptr %8, align 8, !tbaa !5
  %797 = load i32, ptr %29, align 4, !tbaa !9
  %798 = sext i32 %797 to i64
  %799 = getelementptr inbounds %struct.GuiDMProperty, ptr %796, i64 %798
  %800 = getelementptr inbounds %struct.GuiDMProperty, ptr %799, i32 0, i32 3
  %801 = getelementptr inbounds %struct.anon.0, ptr %800, i32 0, i32 3
  %802 = load float, ptr %801, align 4, !tbaa !15
  %803 = fpext float %802 to double
  %804 = load ptr, ptr %8, align 8, !tbaa !5
  %805 = load i32, ptr %29, align 4, !tbaa !9
  %806 = sext i32 %805 to i64
  %807 = getelementptr inbounds %struct.GuiDMProperty, ptr %804, i64 %806
  %808 = getelementptr inbounds %struct.GuiDMProperty, ptr %807, i32 0, i32 3
  %809 = getelementptr inbounds %struct.anon.0, ptr %808, i32 0, i32 4
  %810 = load i32, ptr %809, align 8, !tbaa !15
  %811 = load i32, ptr %34, align 4, !tbaa !9
  %812 = icmp eq i32 %811, 1
  %813 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 0
  %814 = load <2 x float>, ptr %813, align 4
  %815 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %49, i32 0, i32 1
  %816 = load <2 x float>, ptr %815, align 4
  %817 = call double @GuiDMSpinner(<2 x float> %814, <2 x float> %816, double noundef %779, double noundef %787, double noundef %795, double noundef %803, i32 noundef %810, i1 noundef zeroext %812)
  %818 = fptrunc double %817 to float
  %819 = load ptr, ptr %8, align 8, !tbaa !5
  %820 = load i32, ptr %29, align 4, !tbaa !9
  %821 = sext i32 %820 to i64
  %822 = getelementptr inbounds %struct.GuiDMProperty, ptr %819, i64 %821
  %823 = getelementptr inbounds %struct.GuiDMProperty, ptr %822, i32 0, i32 3
  %824 = getelementptr inbounds %struct.anon.0, ptr %823, i32 0, i32 0
  store float %818, ptr %824, align 8, !tbaa !15
  br label %2702

825:                                              ; preds = %531
  call void @llvm.lifetime.start.p0(i64 16, ptr %50) #8
  %826 = getelementptr inbounds %struct.Rectangle, ptr %50, i32 0, i32 0
  %827 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %828 = load float, ptr %827, align 4, !tbaa !25
  store float %828, ptr %826, align 4, !tbaa !25
  %829 = getelementptr inbounds %struct.Rectangle, ptr %50, i32 0, i32 1
  %830 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %831 = load float, ptr %830, align 4, !tbaa !26
  store float %831, ptr %829, align 4, !tbaa !26
  %832 = getelementptr inbounds %struct.Rectangle, ptr %50, i32 0, i32 2
  %833 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %834 = load float, ptr %833, align 4, !tbaa !27
  store float %834, ptr %832, align 4, !tbaa !27
  %835 = getelementptr inbounds %struct.Rectangle, ptr %50, i32 0, i32 3
  %836 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %837 = sitofp i32 %836 to float
  store float %837, ptr %835, align 4, !tbaa !16
  %838 = load i32, ptr %34, align 4, !tbaa !9
  %839 = icmp eq i32 %838, 2
  br i1 %839, label %840, label %857

840:                                              ; preds = %825
  %841 = load <2 x float>, ptr %22, align 4
  %842 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 0
  %843 = load <2 x float>, ptr %842, align 4
  %844 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 1
  %845 = load <2 x float>, ptr %844, align 4
  %846 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %841, <2 x float> %843, <2 x float> %845)
  br i1 %846, label %847, label %857

847:                                              ; preds = %840
  %848 = load ptr, ptr %8, align 8, !tbaa !5
  %849 = load i32, ptr %29, align 4, !tbaa !9
  %850 = sext i32 %849 to i64
  %851 = getelementptr inbounds %struct.GuiDMProperty, ptr %848, i64 %850
  %852 = getelementptr inbounds %struct.GuiDMProperty, ptr %851, i32 0, i32 2
  %853 = load i16, ptr %852, align 2, !tbaa !14
  %854 = sext i16 %853 to i32
  %855 = xor i32 %854, 1
  %856 = trunc i32 %855 to i16
  store i16 %856, ptr %852, align 2, !tbaa !14
  br label %857

857:                                              ; preds = %847, %840, %825
  %858 = load ptr, ptr %8, align 8, !tbaa !5
  %859 = load i32, ptr %29, align 4, !tbaa !9
  %860 = sext i32 %859 to i64
  %861 = getelementptr inbounds %struct.GuiDMProperty, ptr %858, i64 %860
  %862 = getelementptr inbounds %struct.GuiDMProperty, ptr %861, i32 0, i32 2
  %863 = load i16, ptr %862, align 2, !tbaa !14
  %864 = sext i16 %863 to i32
  %865 = and i32 %864, 1
  %866 = icmp ne i32 %865, 0
  %867 = zext i1 %866 to i64
  %868 = select i1 %866, ptr @.str.11, ptr @.str.12
  %869 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 0
  %870 = load <2 x float>, ptr %869, align 4
  %871 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %50, i32 0, i32 1
  %872 = load <2 x float>, ptr %871, align 4
  %873 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %868, <2 x float> %870, <2 x float> %872, i32 noundef 0, i32 %873)
  %874 = load ptr, ptr %8, align 8, !tbaa !5
  %875 = load i32, ptr %29, align 4, !tbaa !9
  %876 = sext i32 %875 to i64
  %877 = getelementptr inbounds %struct.GuiDMProperty, ptr %874, i64 %876
  %878 = getelementptr inbounds %struct.GuiDMProperty, ptr %877, i32 0, i32 0
  %879 = load ptr, ptr %878, align 8, !tbaa !30
  %880 = getelementptr inbounds %struct.Rectangle, ptr %51, i32 0, i32 0
  %881 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %882 = load float, ptr %881, align 4, !tbaa !25
  %883 = fadd float %882, 1.600000e+01
  %884 = fadd float %883, 6.000000e+00
  store float %884, ptr %880, align 4, !tbaa !25
  %885 = getelementptr inbounds %struct.Rectangle, ptr %51, i32 0, i32 1
  %886 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %887 = load float, ptr %886, align 4, !tbaa !26
  store float %887, ptr %885, align 4, !tbaa !26
  %888 = getelementptr inbounds %struct.Rectangle, ptr %51, i32 0, i32 2
  %889 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %890 = load float, ptr %889, align 4, !tbaa !27
  %891 = fsub float %890, 1.600000e+01
  %892 = fsub float %891, 6.000000e+00
  store float %892, ptr %888, align 4, !tbaa !27
  %893 = getelementptr inbounds %struct.Rectangle, ptr %51, i32 0, i32 3
  %894 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %895 = sitofp i32 %894 to float
  store float %895, ptr %893, align 4, !tbaa !16
  %896 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 0
  %897 = load <2 x float>, ptr %896, align 4
  %898 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %51, i32 0, i32 1
  %899 = load <2 x float>, ptr %898, align 4
  %900 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %879, <2 x float> %897, <2 x float> %899, i32 noundef 0, i32 %900)
  %901 = load ptr, ptr %8, align 8, !tbaa !5
  %902 = load i32, ptr %29, align 4, !tbaa !9
  %903 = sext i32 %902 to i64
  %904 = getelementptr inbounds %struct.GuiDMProperty, ptr %901, i64 %903
  %905 = getelementptr inbounds %struct.GuiDMProperty, ptr %904, i32 0, i32 3
  %906 = getelementptr inbounds %struct.anon.1, ptr %905, i32 0, i32 0
  %907 = load ptr, ptr %906, align 8, !tbaa !15
  %908 = call i64 @strlen(ptr noundef %907) #9
  %909 = load ptr, ptr %8, align 8, !tbaa !5
  %910 = load i32, ptr %29, align 4, !tbaa !9
  %911 = sext i32 %910 to i64
  %912 = getelementptr inbounds %struct.GuiDMProperty, ptr %909, i64 %911
  %913 = getelementptr inbounds %struct.GuiDMProperty, ptr %912, i32 0, i32 3
  %914 = getelementptr inbounds %struct.anon.1, ptr %913, i32 0, i32 1
  %915 = load i32, ptr %914, align 8, !tbaa !15
  %916 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str, i64 noundef %908, i32 noundef %915)
  %917 = getelementptr inbounds %struct.Rectangle, ptr %52, i32 0, i32 0
  %918 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %919 = load float, ptr %918, align 4, !tbaa !25
  %920 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %921 = load float, ptr %920, align 4, !tbaa !27
  %922 = fdiv float %921, 2.000000e+00
  %923 = fadd float %919, %922
  store float %923, ptr %917, align 4, !tbaa !25
  %924 = getelementptr inbounds %struct.Rectangle, ptr %52, i32 0, i32 1
  %925 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %926 = load float, ptr %925, align 4, !tbaa !26
  %927 = fadd float %926, 1.000000e+00
  store float %927, ptr %924, align 4, !tbaa !26
  %928 = getelementptr inbounds %struct.Rectangle, ptr %52, i32 0, i32 2
  %929 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %930 = load float, ptr %929, align 4, !tbaa !27
  %931 = fdiv float %930, 2.000000e+00
  store float %931, ptr %928, align 4, !tbaa !27
  %932 = getelementptr inbounds %struct.Rectangle, ptr %52, i32 0, i32 3
  %933 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %934 = sub nsw i32 %933, 2
  %935 = sitofp i32 %934 to float
  store float %935, ptr %932, align 4, !tbaa !16
  %936 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %52, i32 0, i32 0
  %937 = load <2 x float>, ptr %936, align 4
  %938 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %52, i32 0, i32 1
  %939 = load <2 x float>, ptr %938, align 4
  %940 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %916, <2 x float> %937, <2 x float> %939, i32 noundef 0, i32 %940)
  %941 = load ptr, ptr %8, align 8, !tbaa !5
  %942 = load i32, ptr %29, align 4, !tbaa !9
  %943 = sext i32 %942 to i64
  %944 = getelementptr inbounds %struct.GuiDMProperty, ptr %941, i64 %943
  %945 = getelementptr inbounds %struct.GuiDMProperty, ptr %944, i32 0, i32 2
  %946 = load i16, ptr %945, align 2, !tbaa !14
  %947 = sext i16 %946 to i32
  %948 = and i32 %947, 1
  %949 = icmp ne i32 %948, 0
  br i1 %949, label %989, label %950

950:                                              ; preds = %857
  %951 = getelementptr inbounds %struct.Rectangle, ptr %53, i32 0, i32 0
  %952 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %953 = load float, ptr %952, align 4, !tbaa !25
  store float %953, ptr %951, align 4, !tbaa !25
  %954 = getelementptr inbounds %struct.Rectangle, ptr %53, i32 0, i32 1
  %955 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %956 = load float, ptr %955, align 4, !tbaa !26
  %957 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %958 = sitofp i32 %957 to float
  %959 = fadd float %956, %958
  %960 = fadd float %959, 1.000000e+00
  store float %960, ptr %954, align 4, !tbaa !26
  %961 = getelementptr inbounds %struct.Rectangle, ptr %53, i32 0, i32 2
  %962 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %963 = load float, ptr %962, align 4, !tbaa !27
  store float %963, ptr %961, align 4, !tbaa !27
  %964 = getelementptr inbounds %struct.Rectangle, ptr %53, i32 0, i32 3
  %965 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %966 = sub nsw i32 %965, 2
  %967 = sitofp i32 %966 to float
  store float %967, ptr %964, align 4, !tbaa !16
  %968 = load ptr, ptr %8, align 8, !tbaa !5
  %969 = load i32, ptr %29, align 4, !tbaa !9
  %970 = sext i32 %969 to i64
  %971 = getelementptr inbounds %struct.GuiDMProperty, ptr %968, i64 %970
  %972 = getelementptr inbounds %struct.GuiDMProperty, ptr %971, i32 0, i32 3
  %973 = getelementptr inbounds %struct.anon.1, ptr %972, i32 0, i32 0
  %974 = load ptr, ptr %973, align 8, !tbaa !15
  %975 = load ptr, ptr %8, align 8, !tbaa !5
  %976 = load i32, ptr %29, align 4, !tbaa !9
  %977 = sext i32 %976 to i64
  %978 = getelementptr inbounds %struct.GuiDMProperty, ptr %975, i64 %977
  %979 = getelementptr inbounds %struct.GuiDMProperty, ptr %978, i32 0, i32 3
  %980 = getelementptr inbounds %struct.anon.1, ptr %979, i32 0, i32 1
  %981 = load i32, ptr %980, align 8, !tbaa !15
  %982 = load i32, ptr %34, align 4, !tbaa !9
  %983 = icmp eq i32 %982, 1
  %984 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %53, i32 0, i32 0
  %985 = load <2 x float>, ptr %984, align 4
  %986 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %53, i32 0, i32 1
  %987 = load <2 x float>, ptr %986, align 4
  %988 = call zeroext i1 @GuiTextBox(<2 x float> %985, <2 x float> %987, ptr noundef %974, i32 noundef %981, i1 noundef zeroext %983)
  br label %989

989:                                              ; preds = %950, %857
  call void @llvm.lifetime.end.p0(i64 16, ptr %50) #8
  br label %2702

990:                                              ; preds = %531
  %991 = load ptr, ptr %8, align 8, !tbaa !5
  %992 = load i32, ptr %29, align 4, !tbaa !9
  %993 = sext i32 %992 to i64
  %994 = getelementptr inbounds %struct.GuiDMProperty, ptr %991, i64 %993
  %995 = getelementptr inbounds %struct.GuiDMProperty, ptr %994, i32 0, i32 0
  %996 = load ptr, ptr %995, align 8, !tbaa !30
  %997 = getelementptr inbounds %struct.Rectangle, ptr %54, i32 0, i32 0
  %998 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %999 = load float, ptr %998, align 4, !tbaa !25
  %1000 = fadd float %999, 6.000000e+00
  store float %1000, ptr %997, align 4, !tbaa !25
  %1001 = getelementptr inbounds %struct.Rectangle, ptr %54, i32 0, i32 1
  %1002 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1003 = load float, ptr %1002, align 4, !tbaa !26
  store float %1003, ptr %1001, align 4, !tbaa !26
  %1004 = getelementptr inbounds %struct.Rectangle, ptr %54, i32 0, i32 2
  %1005 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1006 = load float, ptr %1005, align 4, !tbaa !27
  %1007 = fdiv float %1006, 2.000000e+00
  %1008 = fsub float %1007, 6.000000e+00
  store float %1008, ptr %1004, align 4, !tbaa !27
  %1009 = getelementptr inbounds %struct.Rectangle, ptr %54, i32 0, i32 3
  %1010 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1011 = sitofp i32 %1010 to float
  store float %1011, ptr %1009, align 4, !tbaa !16
  %1012 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %54, i32 0, i32 0
  %1013 = load <2 x float>, ptr %1012, align 4
  %1014 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %54, i32 0, i32 1
  %1015 = load <2 x float>, ptr %1014, align 4
  %1016 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %996, <2 x float> %1013, <2 x float> %1015, i32 noundef 0, i32 %1016)
  %1017 = getelementptr inbounds %struct.Rectangle, ptr %55, i32 0, i32 0
  %1018 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1019 = load float, ptr %1018, align 4, !tbaa !25
  %1020 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1021 = load float, ptr %1020, align 4, !tbaa !27
  %1022 = fdiv float %1021, 2.000000e+00
  %1023 = fadd float %1019, %1022
  store float %1023, ptr %1017, align 4, !tbaa !25
  %1024 = getelementptr inbounds %struct.Rectangle, ptr %55, i32 0, i32 1
  %1025 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1026 = load float, ptr %1025, align 4, !tbaa !26
  %1027 = fadd float %1026, 1.000000e+00
  store float %1027, ptr %1024, align 4, !tbaa !26
  %1028 = getelementptr inbounds %struct.Rectangle, ptr %55, i32 0, i32 2
  %1029 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1030 = load float, ptr %1029, align 4, !tbaa !27
  %1031 = fdiv float %1030, 2.000000e+00
  store float %1031, ptr %1028, align 4, !tbaa !27
  %1032 = getelementptr inbounds %struct.Rectangle, ptr %55, i32 0, i32 3
  %1033 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1034 = sub nsw i32 %1033, 2
  %1035 = sitofp i32 %1034 to float
  store float %1035, ptr %1032, align 4, !tbaa !16
  %1036 = load ptr, ptr %8, align 8, !tbaa !5
  %1037 = load i32, ptr %29, align 4, !tbaa !9
  %1038 = sext i32 %1037 to i64
  %1039 = getelementptr inbounds %struct.GuiDMProperty, ptr %1036, i64 %1038
  %1040 = getelementptr inbounds %struct.GuiDMProperty, ptr %1039, i32 0, i32 3
  %1041 = getelementptr inbounds %struct.anon.2, ptr %1040, i32 0, i32 0
  %1042 = load ptr, ptr %1041, align 8, !tbaa !15
  %1043 = load ptr, ptr %8, align 8, !tbaa !5
  %1044 = load i32, ptr %29, align 4, !tbaa !9
  %1045 = sext i32 %1044 to i64
  %1046 = getelementptr inbounds %struct.GuiDMProperty, ptr %1043, i64 %1045
  %1047 = getelementptr inbounds %struct.GuiDMProperty, ptr %1046, i32 0, i32 3
  %1048 = getelementptr inbounds %struct.anon.2, ptr %1047, i32 0, i32 1
  %1049 = load i32, ptr %1048, align 8, !tbaa !15
  %1050 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %55, i32 0, i32 0
  %1051 = load <2 x float>, ptr %1050, align 4
  %1052 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %55, i32 0, i32 1
  %1053 = load <2 x float>, ptr %1052, align 4
  %1054 = call i32 @GuiComboBox(<2 x float> %1051, <2 x float> %1053, ptr noundef %1042, i32 noundef %1049)
  %1055 = load ptr, ptr %8, align 8, !tbaa !5
  %1056 = load i32, ptr %29, align 4, !tbaa !9
  %1057 = sext i32 %1056 to i64
  %1058 = getelementptr inbounds %struct.GuiDMProperty, ptr %1055, i64 %1057
  %1059 = getelementptr inbounds %struct.GuiDMProperty, ptr %1058, i32 0, i32 3
  %1060 = getelementptr inbounds %struct.anon.2, ptr %1059, i32 0, i32 1
  store i32 %1054, ptr %1060, align 8, !tbaa !15
  br label %2702

1061:                                             ; preds = %531, %531, %531
  call void @llvm.lifetime.start.p0(i64 16, ptr %56) #8
  %1062 = getelementptr inbounds %struct.Rectangle, ptr %56, i32 0, i32 0
  %1063 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1064 = load float, ptr %1063, align 4, !tbaa !25
  store float %1064, ptr %1062, align 4, !tbaa !25
  %1065 = getelementptr inbounds %struct.Rectangle, ptr %56, i32 0, i32 1
  %1066 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1067 = load float, ptr %1066, align 4, !tbaa !26
  store float %1067, ptr %1065, align 4, !tbaa !26
  %1068 = getelementptr inbounds %struct.Rectangle, ptr %56, i32 0, i32 2
  %1069 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1070 = load float, ptr %1069, align 4, !tbaa !27
  store float %1070, ptr %1068, align 4, !tbaa !27
  %1071 = getelementptr inbounds %struct.Rectangle, ptr %56, i32 0, i32 3
  %1072 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1073 = sitofp i32 %1072 to float
  store float %1073, ptr %1071, align 4, !tbaa !16
  %1074 = load i32, ptr %34, align 4, !tbaa !9
  %1075 = icmp eq i32 %1074, 2
  br i1 %1075, label %1076, label %1093

1076:                                             ; preds = %1061
  %1077 = load <2 x float>, ptr %22, align 4
  %1078 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 0
  %1079 = load <2 x float>, ptr %1078, align 4
  %1080 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 1
  %1081 = load <2 x float>, ptr %1080, align 4
  %1082 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1077, <2 x float> %1079, <2 x float> %1081)
  br i1 %1082, label %1083, label %1093

1083:                                             ; preds = %1076
  %1084 = load ptr, ptr %8, align 8, !tbaa !5
  %1085 = load i32, ptr %29, align 4, !tbaa !9
  %1086 = sext i32 %1085 to i64
  %1087 = getelementptr inbounds %struct.GuiDMProperty, ptr %1084, i64 %1086
  %1088 = getelementptr inbounds %struct.GuiDMProperty, ptr %1087, i32 0, i32 2
  %1089 = load i16, ptr %1088, align 2, !tbaa !14
  %1090 = sext i16 %1089 to i32
  %1091 = xor i32 %1090, 1
  %1092 = trunc i32 %1091 to i16
  store i16 %1092, ptr %1088, align 2, !tbaa !14
  br label %1093

1093:                                             ; preds = %1083, %1076, %1061
  call void @llvm.lifetime.start.p0(i64 8, ptr %57) #8
  store ptr @.str.13, ptr %57, align 8, !tbaa !5
  %1094 = load ptr, ptr %8, align 8, !tbaa !5
  %1095 = load i32, ptr %29, align 4, !tbaa !9
  %1096 = sext i32 %1095 to i64
  %1097 = getelementptr inbounds %struct.GuiDMProperty, ptr %1094, i64 %1096
  %1098 = getelementptr inbounds %struct.GuiDMProperty, ptr %1097, i32 0, i32 1
  %1099 = load i16, ptr %1098, align 8, !tbaa !11
  %1100 = sext i16 %1099 to i32
  %1101 = icmp eq i32 %1100, 5
  br i1 %1101, label %1102, label %1120

1102:                                             ; preds = %1093
  %1103 = load ptr, ptr %8, align 8, !tbaa !5
  %1104 = load i32, ptr %29, align 4, !tbaa !9
  %1105 = sext i32 %1104 to i64
  %1106 = getelementptr inbounds %struct.GuiDMProperty, ptr %1103, i64 %1105
  %1107 = getelementptr inbounds %struct.GuiDMProperty, ptr %1106, i32 0, i32 3
  %1108 = getelementptr inbounds %struct.Vector2, ptr %1107, i32 0, i32 0
  %1109 = load float, ptr %1108, align 8, !tbaa !15
  %1110 = fpext float %1109 to double
  %1111 = load ptr, ptr %8, align 8, !tbaa !5
  %1112 = load i32, ptr %29, align 4, !tbaa !9
  %1113 = sext i32 %1112 to i64
  %1114 = getelementptr inbounds %struct.GuiDMProperty, ptr %1111, i64 %1113
  %1115 = getelementptr inbounds %struct.GuiDMProperty, ptr %1114, i32 0, i32 3
  %1116 = getelementptr inbounds %struct.Vector2, ptr %1115, i32 0, i32 1
  %1117 = load float, ptr %1116, align 4, !tbaa !15
  %1118 = fpext float %1117 to double
  %1119 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.14, double noundef %1110, double noundef %1118)
  store ptr %1119, ptr %57, align 8, !tbaa !5
  br label %1190

1120:                                             ; preds = %1093
  %1121 = load ptr, ptr %8, align 8, !tbaa !5
  %1122 = load i32, ptr %29, align 4, !tbaa !9
  %1123 = sext i32 %1122 to i64
  %1124 = getelementptr inbounds %struct.GuiDMProperty, ptr %1121, i64 %1123
  %1125 = getelementptr inbounds %struct.GuiDMProperty, ptr %1124, i32 0, i32 1
  %1126 = load i16, ptr %1125, align 8, !tbaa !11
  %1127 = sext i16 %1126 to i32
  %1128 = icmp eq i32 %1127, 6
  br i1 %1128, label %1129, label %1155

1129:                                             ; preds = %1120
  %1130 = load ptr, ptr %8, align 8, !tbaa !5
  %1131 = load i32, ptr %29, align 4, !tbaa !9
  %1132 = sext i32 %1131 to i64
  %1133 = getelementptr inbounds %struct.GuiDMProperty, ptr %1130, i64 %1132
  %1134 = getelementptr inbounds %struct.GuiDMProperty, ptr %1133, i32 0, i32 3
  %1135 = getelementptr inbounds %struct.Vector3, ptr %1134, i32 0, i32 0
  %1136 = load float, ptr %1135, align 8, !tbaa !15
  %1137 = fpext float %1136 to double
  %1138 = load ptr, ptr %8, align 8, !tbaa !5
  %1139 = load i32, ptr %29, align 4, !tbaa !9
  %1140 = sext i32 %1139 to i64
  %1141 = getelementptr inbounds %struct.GuiDMProperty, ptr %1138, i64 %1140
  %1142 = getelementptr inbounds %struct.GuiDMProperty, ptr %1141, i32 0, i32 3
  %1143 = getelementptr inbounds %struct.Vector3, ptr %1142, i32 0, i32 1
  %1144 = load float, ptr %1143, align 4, !tbaa !15
  %1145 = fpext float %1144 to double
  %1146 = load ptr, ptr %8, align 8, !tbaa !5
  %1147 = load i32, ptr %29, align 4, !tbaa !9
  %1148 = sext i32 %1147 to i64
  %1149 = getelementptr inbounds %struct.GuiDMProperty, ptr %1146, i64 %1148
  %1150 = getelementptr inbounds %struct.GuiDMProperty, ptr %1149, i32 0, i32 3
  %1151 = getelementptr inbounds %struct.Vector3, ptr %1150, i32 0, i32 2
  %1152 = load float, ptr %1151, align 8, !tbaa !15
  %1153 = fpext float %1152 to double
  %1154 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.15, double noundef %1137, double noundef %1145, double noundef %1153)
  store ptr %1154, ptr %57, align 8, !tbaa !5
  br label %1189

1155:                                             ; preds = %1120
  %1156 = load ptr, ptr %8, align 8, !tbaa !5
  %1157 = load i32, ptr %29, align 4, !tbaa !9
  %1158 = sext i32 %1157 to i64
  %1159 = getelementptr inbounds %struct.GuiDMProperty, ptr %1156, i64 %1158
  %1160 = getelementptr inbounds %struct.GuiDMProperty, ptr %1159, i32 0, i32 3
  %1161 = getelementptr inbounds %struct.Vector4, ptr %1160, i32 0, i32 0
  %1162 = load float, ptr %1161, align 8, !tbaa !15
  %1163 = fpext float %1162 to double
  %1164 = load ptr, ptr %8, align 8, !tbaa !5
  %1165 = load i32, ptr %29, align 4, !tbaa !9
  %1166 = sext i32 %1165 to i64
  %1167 = getelementptr inbounds %struct.GuiDMProperty, ptr %1164, i64 %1166
  %1168 = getelementptr inbounds %struct.GuiDMProperty, ptr %1167, i32 0, i32 3
  %1169 = getelementptr inbounds %struct.Vector4, ptr %1168, i32 0, i32 1
  %1170 = load float, ptr %1169, align 4, !tbaa !15
  %1171 = fpext float %1170 to double
  %1172 = load ptr, ptr %8, align 8, !tbaa !5
  %1173 = load i32, ptr %29, align 4, !tbaa !9
  %1174 = sext i32 %1173 to i64
  %1175 = getelementptr inbounds %struct.GuiDMProperty, ptr %1172, i64 %1174
  %1176 = getelementptr inbounds %struct.GuiDMProperty, ptr %1175, i32 0, i32 3
  %1177 = getelementptr inbounds %struct.Vector4, ptr %1176, i32 0, i32 2
  %1178 = load float, ptr %1177, align 8, !tbaa !15
  %1179 = fpext float %1178 to double
  %1180 = load ptr, ptr %8, align 8, !tbaa !5
  %1181 = load i32, ptr %29, align 4, !tbaa !9
  %1182 = sext i32 %1181 to i64
  %1183 = getelementptr inbounds %struct.GuiDMProperty, ptr %1180, i64 %1182
  %1184 = getelementptr inbounds %struct.GuiDMProperty, ptr %1183, i32 0, i32 3
  %1185 = getelementptr inbounds %struct.Vector4, ptr %1184, i32 0, i32 3
  %1186 = load float, ptr %1185, align 4, !tbaa !15
  %1187 = fpext float %1186 to double
  %1188 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.16, double noundef %1163, double noundef %1171, double noundef %1179, double noundef %1187)
  store ptr %1188, ptr %57, align 8, !tbaa !5
  br label %1189

1189:                                             ; preds = %1155, %1129
  br label %1190

1190:                                             ; preds = %1189, %1102
  %1191 = load ptr, ptr %8, align 8, !tbaa !5
  %1192 = load i32, ptr %29, align 4, !tbaa !9
  %1193 = sext i32 %1192 to i64
  %1194 = getelementptr inbounds %struct.GuiDMProperty, ptr %1191, i64 %1193
  %1195 = getelementptr inbounds %struct.GuiDMProperty, ptr %1194, i32 0, i32 2
  %1196 = load i16, ptr %1195, align 2, !tbaa !14
  %1197 = sext i16 %1196 to i32
  %1198 = and i32 %1197, 1
  %1199 = icmp ne i32 %1198, 0
  %1200 = zext i1 %1199 to i64
  %1201 = select i1 %1199, ptr @.str.11, ptr @.str.12
  %1202 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 0
  %1203 = load <2 x float>, ptr %1202, align 4
  %1204 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %56, i32 0, i32 1
  %1205 = load <2 x float>, ptr %1204, align 4
  %1206 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1201, <2 x float> %1203, <2 x float> %1205, i32 noundef 0, i32 %1206)
  %1207 = load ptr, ptr %8, align 8, !tbaa !5
  %1208 = load i32, ptr %29, align 4, !tbaa !9
  %1209 = sext i32 %1208 to i64
  %1210 = getelementptr inbounds %struct.GuiDMProperty, ptr %1207, i64 %1209
  %1211 = getelementptr inbounds %struct.GuiDMProperty, ptr %1210, i32 0, i32 0
  %1212 = load ptr, ptr %1211, align 8, !tbaa !30
  %1213 = getelementptr inbounds %struct.Rectangle, ptr %58, i32 0, i32 0
  %1214 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1215 = load float, ptr %1214, align 4, !tbaa !25
  %1216 = fadd float %1215, 1.600000e+01
  %1217 = fadd float %1216, 6.000000e+00
  store float %1217, ptr %1213, align 4, !tbaa !25
  %1218 = getelementptr inbounds %struct.Rectangle, ptr %58, i32 0, i32 1
  %1219 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1220 = load float, ptr %1219, align 4, !tbaa !26
  store float %1220, ptr %1218, align 4, !tbaa !26
  %1221 = getelementptr inbounds %struct.Rectangle, ptr %58, i32 0, i32 2
  %1222 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1223 = load float, ptr %1222, align 4, !tbaa !27
  %1224 = fsub float %1223, 1.600000e+01
  %1225 = fsub float %1224, 6.000000e+00
  store float %1225, ptr %1221, align 4, !tbaa !27
  %1226 = getelementptr inbounds %struct.Rectangle, ptr %58, i32 0, i32 3
  %1227 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1228 = sitofp i32 %1227 to float
  store float %1228, ptr %1226, align 4, !tbaa !16
  %1229 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %58, i32 0, i32 0
  %1230 = load <2 x float>, ptr %1229, align 4
  %1231 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %58, i32 0, i32 1
  %1232 = load <2 x float>, ptr %1231, align 4
  %1233 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1212, <2 x float> %1230, <2 x float> %1232, i32 noundef 0, i32 %1233)
  %1234 = load ptr, ptr %57, align 8, !tbaa !5
  %1235 = getelementptr inbounds %struct.Rectangle, ptr %59, i32 0, i32 0
  %1236 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1237 = load float, ptr %1236, align 4, !tbaa !25
  %1238 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1239 = load float, ptr %1238, align 4, !tbaa !27
  %1240 = fdiv float %1239, 2.000000e+00
  %1241 = fadd float %1237, %1240
  store float %1241, ptr %1235, align 4, !tbaa !25
  %1242 = getelementptr inbounds %struct.Rectangle, ptr %59, i32 0, i32 1
  %1243 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1244 = load float, ptr %1243, align 4, !tbaa !26
  %1245 = fadd float %1244, 1.000000e+00
  store float %1245, ptr %1242, align 4, !tbaa !26
  %1246 = getelementptr inbounds %struct.Rectangle, ptr %59, i32 0, i32 2
  %1247 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1248 = load float, ptr %1247, align 4, !tbaa !27
  %1249 = fdiv float %1248, 2.000000e+00
  store float %1249, ptr %1246, align 4, !tbaa !27
  %1250 = getelementptr inbounds %struct.Rectangle, ptr %59, i32 0, i32 3
  %1251 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1252 = sub nsw i32 %1251, 2
  %1253 = sitofp i32 %1252 to float
  store float %1253, ptr %1250, align 4, !tbaa !16
  %1254 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %59, i32 0, i32 0
  %1255 = load <2 x float>, ptr %1254, align 4
  %1256 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %59, i32 0, i32 1
  %1257 = load <2 x float>, ptr %1256, align 4
  %1258 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1234, <2 x float> %1255, <2 x float> %1257, i32 noundef 0, i32 %1258)
  %1259 = load ptr, ptr %8, align 8, !tbaa !5
  %1260 = load i32, ptr %29, align 4, !tbaa !9
  %1261 = sext i32 %1260 to i64
  %1262 = getelementptr inbounds %struct.GuiDMProperty, ptr %1259, i64 %1261
  %1263 = getelementptr inbounds %struct.GuiDMProperty, ptr %1262, i32 0, i32 2
  %1264 = load i16, ptr %1263, align 2, !tbaa !14
  %1265 = sext i16 %1264 to i32
  %1266 = and i32 %1265, 1
  %1267 = icmp ne i32 %1266, 0
  br i1 %1267, label %1510, label %1268

1268:                                             ; preds = %1190
  call void @llvm.lifetime.start.p0(i64 16, ptr %60) #8
  %1269 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 0
  %1270 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1271 = load float, ptr %1270, align 4, !tbaa !25
  store float %1271, ptr %1269, align 4, !tbaa !25
  %1272 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1273 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1274 = load float, ptr %1273, align 4, !tbaa !26
  %1275 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1276 = sitofp i32 %1275 to float
  %1277 = fadd float %1274, %1276
  %1278 = fadd float %1277, 1.000000e+00
  store float %1278, ptr %1272, align 4, !tbaa !26
  %1279 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 2
  %1280 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1281 = load float, ptr %1280, align 4, !tbaa !27
  store float %1281, ptr %1279, align 4, !tbaa !27
  %1282 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 3
  %1283 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1284 = sub nsw i32 %1283, 2
  %1285 = sitofp i32 %1284 to float
  store float %1285, ptr %1282, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %61) #8
  %1286 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 0
  %1287 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1288 = load float, ptr %1287, align 4, !tbaa !25
  %1289 = fadd float %1288, 6.000000e+00
  store float %1289, ptr %1286, align 4, !tbaa !25
  %1290 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 1
  %1291 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1292 = load float, ptr %1291, align 4, !tbaa !26
  store float %1292, ptr %1290, align 4, !tbaa !26
  %1293 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 2
  %1294 = call i32 @GetTextWidth(ptr noundef @.str.17)
  %1295 = sitofp i32 %1294 to float
  store float %1295, ptr %1293, align 4, !tbaa !27
  %1296 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 3
  %1297 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 3
  %1298 = load float, ptr %1297, align 4, !tbaa !16
  store float %1298, ptr %1296, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %62) #8
  %1299 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 0
  %1300 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 0
  %1301 = load float, ptr %1300, align 4, !tbaa !25
  %1302 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 2
  %1303 = load float, ptr %1302, align 4, !tbaa !27
  %1304 = fadd float %1301, %1303
  %1305 = fadd float %1304, 6.000000e+00
  store float %1305, ptr %1299, align 4, !tbaa !25
  %1306 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 1
  %1307 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1308 = load float, ptr %1307, align 4, !tbaa !26
  store float %1308, ptr %1306, align 4, !tbaa !26
  %1309 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 2
  %1310 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1311 = load float, ptr %1310, align 4, !tbaa !27
  %1312 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 2
  %1313 = load float, ptr %1312, align 4, !tbaa !27
  %1314 = fsub float %1311, %1313
  %1315 = fsub float %1314, 1.200000e+01
  store float %1315, ptr %1309, align 4, !tbaa !27
  %1316 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 3
  %1317 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 3
  %1318 = load float, ptr %1317, align 4, !tbaa !16
  store float %1318, ptr %1316, align 4, !tbaa !16
  %1319 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 0
  %1320 = load <2 x float>, ptr %1319, align 4
  %1321 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 1
  %1322 = load <2 x float>, ptr %1321, align 4
  %1323 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.18, <2 x float> %1320, <2 x float> %1322, i32 noundef 0, i32 %1323)
  %1324 = load ptr, ptr %8, align 8, !tbaa !5
  %1325 = load i32, ptr %29, align 4, !tbaa !9
  %1326 = sext i32 %1325 to i64
  %1327 = getelementptr inbounds %struct.GuiDMProperty, ptr %1324, i64 %1326
  %1328 = getelementptr inbounds %struct.GuiDMProperty, ptr %1327, i32 0, i32 3
  %1329 = getelementptr inbounds %struct.Vector2, ptr %1328, i32 0, i32 0
  %1330 = load float, ptr %1329, align 8, !tbaa !15
  %1331 = fpext float %1330 to double
  %1332 = load i32, ptr %34, align 4, !tbaa !9
  %1333 = icmp eq i32 %1332, 1
  br i1 %1333, label %1334, label %1341

1334:                                             ; preds = %1268
  %1335 = load <2 x float>, ptr %22, align 4
  %1336 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 0
  %1337 = load <2 x float>, ptr %1336, align 4
  %1338 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 1
  %1339 = load <2 x float>, ptr %1338, align 4
  %1340 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1335, <2 x float> %1337, <2 x float> %1339)
  br label %1341

1341:                                             ; preds = %1334, %1268
  %1342 = phi i1 [ false, %1268 ], [ %1340, %1334 ]
  %1343 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 0
  %1344 = load <2 x float>, ptr %1343, align 4
  %1345 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 1
  %1346 = load <2 x float>, ptr %1345, align 4
  %1347 = call double @GuiDMSpinner(<2 x float> %1344, <2 x float> %1346, double noundef %1331, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %1342)
  %1348 = fptrunc double %1347 to float
  %1349 = load ptr, ptr %8, align 8, !tbaa !5
  %1350 = load i32, ptr %29, align 4, !tbaa !9
  %1351 = sext i32 %1350 to i64
  %1352 = getelementptr inbounds %struct.GuiDMProperty, ptr %1349, i64 %1351
  %1353 = getelementptr inbounds %struct.GuiDMProperty, ptr %1352, i32 0, i32 3
  %1354 = getelementptr inbounds %struct.Vector2, ptr %1353, i32 0, i32 0
  store float %1348, ptr %1354, align 8, !tbaa !15
  %1355 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1356 = sitofp i32 %1355 to float
  %1357 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1358 = load float, ptr %1357, align 4, !tbaa !26
  %1359 = fadd float %1358, %1356
  store float %1359, ptr %1357, align 4, !tbaa !26
  %1360 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1361 = load float, ptr %1360, align 4, !tbaa !26
  %1362 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 1
  store float %1361, ptr %1362, align 4, !tbaa !26
  %1363 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 1
  store float %1361, ptr %1363, align 4, !tbaa !26
  %1364 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 0
  %1365 = load <2 x float>, ptr %1364, align 4
  %1366 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 1
  %1367 = load <2 x float>, ptr %1366, align 4
  %1368 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.19, <2 x float> %1365, <2 x float> %1367, i32 noundef 0, i32 %1368)
  %1369 = load ptr, ptr %8, align 8, !tbaa !5
  %1370 = load i32, ptr %29, align 4, !tbaa !9
  %1371 = sext i32 %1370 to i64
  %1372 = getelementptr inbounds %struct.GuiDMProperty, ptr %1369, i64 %1371
  %1373 = getelementptr inbounds %struct.GuiDMProperty, ptr %1372, i32 0, i32 3
  %1374 = getelementptr inbounds %struct.Vector2, ptr %1373, i32 0, i32 1
  %1375 = load float, ptr %1374, align 4, !tbaa !15
  %1376 = fpext float %1375 to double
  %1377 = load i32, ptr %34, align 4, !tbaa !9
  %1378 = icmp eq i32 %1377, 1
  br i1 %1378, label %1379, label %1386

1379:                                             ; preds = %1341
  %1380 = load <2 x float>, ptr %22, align 4
  %1381 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 0
  %1382 = load <2 x float>, ptr %1381, align 4
  %1383 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 1
  %1384 = load <2 x float>, ptr %1383, align 4
  %1385 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1380, <2 x float> %1382, <2 x float> %1384)
  br label %1386

1386:                                             ; preds = %1379, %1341
  %1387 = phi i1 [ false, %1341 ], [ %1385, %1379 ]
  %1388 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 0
  %1389 = load <2 x float>, ptr %1388, align 4
  %1390 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 1
  %1391 = load <2 x float>, ptr %1390, align 4
  %1392 = call double @GuiDMSpinner(<2 x float> %1389, <2 x float> %1391, double noundef %1376, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %1387)
  %1393 = fptrunc double %1392 to float
  %1394 = load ptr, ptr %8, align 8, !tbaa !5
  %1395 = load i32, ptr %29, align 4, !tbaa !9
  %1396 = sext i32 %1395 to i64
  %1397 = getelementptr inbounds %struct.GuiDMProperty, ptr %1394, i64 %1396
  %1398 = getelementptr inbounds %struct.GuiDMProperty, ptr %1397, i32 0, i32 3
  %1399 = getelementptr inbounds %struct.Vector2, ptr %1398, i32 0, i32 1
  store float %1393, ptr %1399, align 4, !tbaa !15
  %1400 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1401 = sitofp i32 %1400 to float
  %1402 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1403 = load float, ptr %1402, align 4, !tbaa !26
  %1404 = fadd float %1403, %1401
  store float %1404, ptr %1402, align 4, !tbaa !26
  %1405 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1406 = load float, ptr %1405, align 4, !tbaa !26
  %1407 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 1
  store float %1406, ptr %1407, align 4, !tbaa !26
  %1408 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 1
  store float %1406, ptr %1408, align 4, !tbaa !26
  %1409 = load ptr, ptr %8, align 8, !tbaa !5
  %1410 = load i32, ptr %29, align 4, !tbaa !9
  %1411 = sext i32 %1410 to i64
  %1412 = getelementptr inbounds %struct.GuiDMProperty, ptr %1409, i64 %1411
  %1413 = getelementptr inbounds %struct.GuiDMProperty, ptr %1412, i32 0, i32 1
  %1414 = load i16, ptr %1413, align 8, !tbaa !11
  %1415 = sext i16 %1414 to i32
  %1416 = icmp sge i32 %1415, 6
  br i1 %1416, label %1417, label %1463

1417:                                             ; preds = %1386
  %1418 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 0
  %1419 = load <2 x float>, ptr %1418, align 4
  %1420 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 1
  %1421 = load <2 x float>, ptr %1420, align 4
  %1422 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.20, <2 x float> %1419, <2 x float> %1421, i32 noundef 0, i32 %1422)
  %1423 = load ptr, ptr %8, align 8, !tbaa !5
  %1424 = load i32, ptr %29, align 4, !tbaa !9
  %1425 = sext i32 %1424 to i64
  %1426 = getelementptr inbounds %struct.GuiDMProperty, ptr %1423, i64 %1425
  %1427 = getelementptr inbounds %struct.GuiDMProperty, ptr %1426, i32 0, i32 3
  %1428 = getelementptr inbounds %struct.Vector3, ptr %1427, i32 0, i32 2
  %1429 = load float, ptr %1428, align 8, !tbaa !15
  %1430 = fpext float %1429 to double
  %1431 = load i32, ptr %34, align 4, !tbaa !9
  %1432 = icmp eq i32 %1431, 1
  br i1 %1432, label %1433, label %1440

1433:                                             ; preds = %1417
  %1434 = load <2 x float>, ptr %22, align 4
  %1435 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 0
  %1436 = load <2 x float>, ptr %1435, align 4
  %1437 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 1
  %1438 = load <2 x float>, ptr %1437, align 4
  %1439 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1434, <2 x float> %1436, <2 x float> %1438)
  br label %1440

1440:                                             ; preds = %1433, %1417
  %1441 = phi i1 [ false, %1417 ], [ %1439, %1433 ]
  %1442 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 0
  %1443 = load <2 x float>, ptr %1442, align 4
  %1444 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 1
  %1445 = load <2 x float>, ptr %1444, align 4
  %1446 = call double @GuiDMSpinner(<2 x float> %1443, <2 x float> %1445, double noundef %1430, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %1441)
  %1447 = fptrunc double %1446 to float
  %1448 = load ptr, ptr %8, align 8, !tbaa !5
  %1449 = load i32, ptr %29, align 4, !tbaa !9
  %1450 = sext i32 %1449 to i64
  %1451 = getelementptr inbounds %struct.GuiDMProperty, ptr %1448, i64 %1450
  %1452 = getelementptr inbounds %struct.GuiDMProperty, ptr %1451, i32 0, i32 3
  %1453 = getelementptr inbounds %struct.Vector3, ptr %1452, i32 0, i32 2
  store float %1447, ptr %1453, align 8, !tbaa !15
  %1454 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1455 = sitofp i32 %1454 to float
  %1456 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1457 = load float, ptr %1456, align 4, !tbaa !26
  %1458 = fadd float %1457, %1455
  store float %1458, ptr %1456, align 4, !tbaa !26
  %1459 = getelementptr inbounds %struct.Rectangle, ptr %60, i32 0, i32 1
  %1460 = load float, ptr %1459, align 4, !tbaa !26
  %1461 = getelementptr inbounds %struct.Rectangle, ptr %62, i32 0, i32 1
  store float %1460, ptr %1461, align 4, !tbaa !26
  %1462 = getelementptr inbounds %struct.Rectangle, ptr %61, i32 0, i32 1
  store float %1460, ptr %1462, align 4, !tbaa !26
  br label %1463

1463:                                             ; preds = %1440, %1386
  %1464 = load ptr, ptr %8, align 8, !tbaa !5
  %1465 = load i32, ptr %29, align 4, !tbaa !9
  %1466 = sext i32 %1465 to i64
  %1467 = getelementptr inbounds %struct.GuiDMProperty, ptr %1464, i64 %1466
  %1468 = getelementptr inbounds %struct.GuiDMProperty, ptr %1467, i32 0, i32 1
  %1469 = load i16, ptr %1468, align 8, !tbaa !11
  %1470 = sext i16 %1469 to i32
  %1471 = icmp sge i32 %1470, 7
  br i1 %1471, label %1472, label %1509

1472:                                             ; preds = %1463
  %1473 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 0
  %1474 = load <2 x float>, ptr %1473, align 4
  %1475 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %61, i32 0, i32 1
  %1476 = load <2 x float>, ptr %1475, align 4
  %1477 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.21, <2 x float> %1474, <2 x float> %1476, i32 noundef 0, i32 %1477)
  %1478 = load ptr, ptr %8, align 8, !tbaa !5
  %1479 = load i32, ptr %29, align 4, !tbaa !9
  %1480 = sext i32 %1479 to i64
  %1481 = getelementptr inbounds %struct.GuiDMProperty, ptr %1478, i64 %1480
  %1482 = getelementptr inbounds %struct.GuiDMProperty, ptr %1481, i32 0, i32 3
  %1483 = getelementptr inbounds %struct.Vector4, ptr %1482, i32 0, i32 3
  %1484 = load float, ptr %1483, align 4, !tbaa !15
  %1485 = fpext float %1484 to double
  %1486 = load i32, ptr %34, align 4, !tbaa !9
  %1487 = icmp eq i32 %1486, 1
  br i1 %1487, label %1488, label %1495

1488:                                             ; preds = %1472
  %1489 = load <2 x float>, ptr %22, align 4
  %1490 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 0
  %1491 = load <2 x float>, ptr %1490, align 4
  %1492 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %60, i32 0, i32 1
  %1493 = load <2 x float>, ptr %1492, align 4
  %1494 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1489, <2 x float> %1491, <2 x float> %1493)
  br label %1495

1495:                                             ; preds = %1488, %1472
  %1496 = phi i1 [ false, %1472 ], [ %1494, %1488 ]
  %1497 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 0
  %1498 = load <2 x float>, ptr %1497, align 4
  %1499 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %62, i32 0, i32 1
  %1500 = load <2 x float>, ptr %1499, align 4
  %1501 = call double @GuiDMSpinner(<2 x float> %1498, <2 x float> %1500, double noundef %1485, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %1496)
  %1502 = fptrunc double %1501 to float
  %1503 = load ptr, ptr %8, align 8, !tbaa !5
  %1504 = load i32, ptr %29, align 4, !tbaa !9
  %1505 = sext i32 %1504 to i64
  %1506 = getelementptr inbounds %struct.GuiDMProperty, ptr %1503, i64 %1505
  %1507 = getelementptr inbounds %struct.GuiDMProperty, ptr %1506, i32 0, i32 3
  %1508 = getelementptr inbounds %struct.Vector4, ptr %1507, i32 0, i32 3
  store float %1502, ptr %1508, align 4, !tbaa !15
  br label %1509

1509:                                             ; preds = %1495, %1463
  call void @llvm.lifetime.end.p0(i64 16, ptr %62) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %61) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %60) #8
  br label %1510

1510:                                             ; preds = %1509, %1190
  call void @llvm.lifetime.end.p0(i64 8, ptr %57) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %56) #8
  br label %2702

1511:                                             ; preds = %531
  call void @llvm.lifetime.start.p0(i64 16, ptr %63) #8
  %1512 = getelementptr inbounds %struct.Rectangle, ptr %63, i32 0, i32 0
  %1513 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1514 = load float, ptr %1513, align 4, !tbaa !25
  store float %1514, ptr %1512, align 4, !tbaa !25
  %1515 = getelementptr inbounds %struct.Rectangle, ptr %63, i32 0, i32 1
  %1516 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1517 = load float, ptr %1516, align 4, !tbaa !26
  store float %1517, ptr %1515, align 4, !tbaa !26
  %1518 = getelementptr inbounds %struct.Rectangle, ptr %63, i32 0, i32 2
  %1519 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1520 = load float, ptr %1519, align 4, !tbaa !27
  store float %1520, ptr %1518, align 4, !tbaa !27
  %1521 = getelementptr inbounds %struct.Rectangle, ptr %63, i32 0, i32 3
  %1522 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1523 = sitofp i32 %1522 to float
  store float %1523, ptr %1521, align 4, !tbaa !16
  %1524 = load i32, ptr %34, align 4, !tbaa !9
  %1525 = icmp eq i32 %1524, 2
  br i1 %1525, label %1526, label %1543

1526:                                             ; preds = %1511
  %1527 = load <2 x float>, ptr %22, align 4
  %1528 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 0
  %1529 = load <2 x float>, ptr %1528, align 4
  %1530 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 1
  %1531 = load <2 x float>, ptr %1530, align 4
  %1532 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1527, <2 x float> %1529, <2 x float> %1531)
  br i1 %1532, label %1533, label %1543

1533:                                             ; preds = %1526
  %1534 = load ptr, ptr %8, align 8, !tbaa !5
  %1535 = load i32, ptr %29, align 4, !tbaa !9
  %1536 = sext i32 %1535 to i64
  %1537 = getelementptr inbounds %struct.GuiDMProperty, ptr %1534, i64 %1536
  %1538 = getelementptr inbounds %struct.GuiDMProperty, ptr %1537, i32 0, i32 2
  %1539 = load i16, ptr %1538, align 2, !tbaa !14
  %1540 = sext i16 %1539 to i32
  %1541 = xor i32 %1540, 1
  %1542 = trunc i32 %1541 to i16
  store i16 %1542, ptr %1538, align 2, !tbaa !14
  br label %1543

1543:                                             ; preds = %1533, %1526, %1511
  %1544 = load ptr, ptr %8, align 8, !tbaa !5
  %1545 = load i32, ptr %29, align 4, !tbaa !9
  %1546 = sext i32 %1545 to i64
  %1547 = getelementptr inbounds %struct.GuiDMProperty, ptr %1544, i64 %1546
  %1548 = getelementptr inbounds %struct.GuiDMProperty, ptr %1547, i32 0, i32 2
  %1549 = load i16, ptr %1548, align 2, !tbaa !14
  %1550 = sext i16 %1549 to i32
  %1551 = and i32 %1550, 1
  %1552 = icmp ne i32 %1551, 0
  %1553 = zext i1 %1552 to i64
  %1554 = select i1 %1552, ptr @.str.11, ptr @.str.12
  %1555 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 0
  %1556 = load <2 x float>, ptr %1555, align 4
  %1557 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %63, i32 0, i32 1
  %1558 = load <2 x float>, ptr %1557, align 4
  %1559 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1554, <2 x float> %1556, <2 x float> %1558, i32 noundef 0, i32 %1559)
  %1560 = load ptr, ptr %8, align 8, !tbaa !5
  %1561 = load i32, ptr %29, align 4, !tbaa !9
  %1562 = sext i32 %1561 to i64
  %1563 = getelementptr inbounds %struct.GuiDMProperty, ptr %1560, i64 %1562
  %1564 = getelementptr inbounds %struct.GuiDMProperty, ptr %1563, i32 0, i32 0
  %1565 = load ptr, ptr %1564, align 8, !tbaa !30
  %1566 = getelementptr inbounds %struct.Rectangle, ptr %64, i32 0, i32 0
  %1567 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1568 = load float, ptr %1567, align 4, !tbaa !25
  %1569 = fadd float %1568, 1.600000e+01
  %1570 = fadd float %1569, 6.000000e+00
  store float %1570, ptr %1566, align 4, !tbaa !25
  %1571 = getelementptr inbounds %struct.Rectangle, ptr %64, i32 0, i32 1
  %1572 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1573 = load float, ptr %1572, align 4, !tbaa !26
  store float %1573, ptr %1571, align 4, !tbaa !26
  %1574 = getelementptr inbounds %struct.Rectangle, ptr %64, i32 0, i32 2
  %1575 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1576 = load float, ptr %1575, align 4, !tbaa !27
  %1577 = fsub float %1576, 1.600000e+01
  %1578 = fsub float %1577, 6.000000e+00
  store float %1578, ptr %1574, align 4, !tbaa !27
  %1579 = getelementptr inbounds %struct.Rectangle, ptr %64, i32 0, i32 3
  %1580 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1581 = sitofp i32 %1580 to float
  store float %1581, ptr %1579, align 4, !tbaa !16
  %1582 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %64, i32 0, i32 0
  %1583 = load <2 x float>, ptr %1582, align 4
  %1584 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %64, i32 0, i32 1
  %1585 = load <2 x float>, ptr %1584, align 4
  %1586 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1565, <2 x float> %1583, <2 x float> %1585, i32 noundef 0, i32 %1586)
  %1587 = load ptr, ptr %8, align 8, !tbaa !5
  %1588 = load i32, ptr %29, align 4, !tbaa !9
  %1589 = sext i32 %1588 to i64
  %1590 = getelementptr inbounds %struct.GuiDMProperty, ptr %1587, i64 %1589
  %1591 = getelementptr inbounds %struct.GuiDMProperty, ptr %1590, i32 0, i32 3
  %1592 = getelementptr inbounds %struct.Rectangle, ptr %1591, i32 0, i32 0
  %1593 = load float, ptr %1592, align 8, !tbaa !15
  %1594 = fpext float %1593 to double
  %1595 = load ptr, ptr %8, align 8, !tbaa !5
  %1596 = load i32, ptr %29, align 4, !tbaa !9
  %1597 = sext i32 %1596 to i64
  %1598 = getelementptr inbounds %struct.GuiDMProperty, ptr %1595, i64 %1597
  %1599 = getelementptr inbounds %struct.GuiDMProperty, ptr %1598, i32 0, i32 3
  %1600 = getelementptr inbounds %struct.Rectangle, ptr %1599, i32 0, i32 1
  %1601 = load float, ptr %1600, align 4, !tbaa !15
  %1602 = fpext float %1601 to double
  %1603 = load ptr, ptr %8, align 8, !tbaa !5
  %1604 = load i32, ptr %29, align 4, !tbaa !9
  %1605 = sext i32 %1604 to i64
  %1606 = getelementptr inbounds %struct.GuiDMProperty, ptr %1603, i64 %1605
  %1607 = getelementptr inbounds %struct.GuiDMProperty, ptr %1606, i32 0, i32 3
  %1608 = getelementptr inbounds %struct.Rectangle, ptr %1607, i32 0, i32 2
  %1609 = load float, ptr %1608, align 8, !tbaa !15
  %1610 = fpext float %1609 to double
  %1611 = load ptr, ptr %8, align 8, !tbaa !5
  %1612 = load i32, ptr %29, align 4, !tbaa !9
  %1613 = sext i32 %1612 to i64
  %1614 = getelementptr inbounds %struct.GuiDMProperty, ptr %1611, i64 %1613
  %1615 = getelementptr inbounds %struct.GuiDMProperty, ptr %1614, i32 0, i32 3
  %1616 = getelementptr inbounds %struct.Rectangle, ptr %1615, i32 0, i32 3
  %1617 = load float, ptr %1616, align 4, !tbaa !15
  %1618 = fpext float %1617 to double
  %1619 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.16, double noundef %1594, double noundef %1602, double noundef %1610, double noundef %1618)
  %1620 = getelementptr inbounds %struct.Rectangle, ptr %65, i32 0, i32 0
  %1621 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1622 = load float, ptr %1621, align 4, !tbaa !25
  %1623 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1624 = load float, ptr %1623, align 4, !tbaa !27
  %1625 = fdiv float %1624, 2.000000e+00
  %1626 = fadd float %1622, %1625
  store float %1626, ptr %1620, align 4, !tbaa !25
  %1627 = getelementptr inbounds %struct.Rectangle, ptr %65, i32 0, i32 1
  %1628 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1629 = load float, ptr %1628, align 4, !tbaa !26
  %1630 = fadd float %1629, 1.000000e+00
  store float %1630, ptr %1627, align 4, !tbaa !26
  %1631 = getelementptr inbounds %struct.Rectangle, ptr %65, i32 0, i32 2
  %1632 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1633 = load float, ptr %1632, align 4, !tbaa !27
  %1634 = fdiv float %1633, 2.000000e+00
  store float %1634, ptr %1631, align 4, !tbaa !27
  %1635 = getelementptr inbounds %struct.Rectangle, ptr %65, i32 0, i32 3
  %1636 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1637 = sub nsw i32 %1636, 2
  %1638 = sitofp i32 %1637 to float
  store float %1638, ptr %1635, align 4, !tbaa !16
  %1639 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %65, i32 0, i32 0
  %1640 = load <2 x float>, ptr %1639, align 4
  %1641 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %65, i32 0, i32 1
  %1642 = load <2 x float>, ptr %1641, align 4
  %1643 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1619, <2 x float> %1640, <2 x float> %1642, i32 noundef 0, i32 %1643)
  %1644 = load ptr, ptr %8, align 8, !tbaa !5
  %1645 = load i32, ptr %29, align 4, !tbaa !9
  %1646 = sext i32 %1645 to i64
  %1647 = getelementptr inbounds %struct.GuiDMProperty, ptr %1644, i64 %1646
  %1648 = getelementptr inbounds %struct.GuiDMProperty, ptr %1647, i32 0, i32 2
  %1649 = load i16, ptr %1648, align 2, !tbaa !14
  %1650 = sext i16 %1649 to i32
  %1651 = and i32 %1650, 1
  %1652 = icmp ne i32 %1651, 0
  br i1 %1652, label %1875, label %1653

1653:                                             ; preds = %1543
  call void @llvm.lifetime.start.p0(i64 16, ptr %66) #8
  %1654 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 0
  %1655 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1656 = load float, ptr %1655, align 4, !tbaa !25
  store float %1656, ptr %1654, align 4, !tbaa !25
  %1657 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1658 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1659 = load float, ptr %1658, align 4, !tbaa !26
  %1660 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1661 = sitofp i32 %1660 to float
  %1662 = fadd float %1659, %1661
  %1663 = fadd float %1662, 1.000000e+00
  store float %1663, ptr %1657, align 4, !tbaa !26
  %1664 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 2
  %1665 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1666 = load float, ptr %1665, align 4, !tbaa !27
  store float %1666, ptr %1664, align 4, !tbaa !27
  %1667 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 3
  %1668 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1669 = sub nsw i32 %1668, 2
  %1670 = sitofp i32 %1669 to float
  store float %1670, ptr %1667, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %67) #8
  %1671 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 0
  %1672 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1673 = load float, ptr %1672, align 4, !tbaa !25
  %1674 = fadd float %1673, 6.000000e+00
  store float %1674, ptr %1671, align 4, !tbaa !25
  %1675 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 1
  %1676 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1677 = load float, ptr %1676, align 4, !tbaa !26
  store float %1677, ptr %1675, align 4, !tbaa !26
  %1678 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 2
  %1679 = call i32 @GetTextWidth(ptr noundef @.str.22)
  %1680 = sitofp i32 %1679 to float
  store float %1680, ptr %1678, align 4, !tbaa !27
  %1681 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 3
  %1682 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 3
  %1683 = load float, ptr %1682, align 4, !tbaa !16
  store float %1683, ptr %1681, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %68) #8
  %1684 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 0
  %1685 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 0
  %1686 = load float, ptr %1685, align 4, !tbaa !25
  %1687 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 2
  %1688 = load float, ptr %1687, align 4, !tbaa !27
  %1689 = fadd float %1686, %1688
  %1690 = fadd float %1689, 6.000000e+00
  store float %1690, ptr %1684, align 4, !tbaa !25
  %1691 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 1
  %1692 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1693 = load float, ptr %1692, align 4, !tbaa !26
  store float %1693, ptr %1691, align 4, !tbaa !26
  %1694 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 2
  %1695 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1696 = load float, ptr %1695, align 4, !tbaa !27
  %1697 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 2
  %1698 = load float, ptr %1697, align 4, !tbaa !27
  %1699 = fsub float %1696, %1698
  %1700 = fsub float %1699, 1.200000e+01
  store float %1700, ptr %1694, align 4, !tbaa !27
  %1701 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 3
  %1702 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 3
  %1703 = load float, ptr %1702, align 4, !tbaa !16
  store float %1703, ptr %1701, align 4, !tbaa !16
  %1704 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %1705 = load <2 x float>, ptr %1704, align 4
  %1706 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %1707 = load <2 x float>, ptr %1706, align 4
  %1708 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.18, <2 x float> %1705, <2 x float> %1707, i32 noundef 0, i32 %1708)
  %1709 = load ptr, ptr %8, align 8, !tbaa !5
  %1710 = load i32, ptr %29, align 4, !tbaa !9
  %1711 = sext i32 %1710 to i64
  %1712 = getelementptr inbounds %struct.GuiDMProperty, ptr %1709, i64 %1711
  %1713 = getelementptr inbounds %struct.GuiDMProperty, ptr %1712, i32 0, i32 3
  %1714 = getelementptr inbounds %struct.Rectangle, ptr %1713, i32 0, i32 0
  %1715 = load float, ptr %1714, align 8, !tbaa !15
  %1716 = fpext float %1715 to double
  %1717 = load i32, ptr %34, align 4, !tbaa !9
  %1718 = icmp eq i32 %1717, 1
  br i1 %1718, label %1719, label %1726

1719:                                             ; preds = %1653
  %1720 = load <2 x float>, ptr %22, align 4
  %1721 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 0
  %1722 = load <2 x float>, ptr %1721, align 4
  %1723 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 1
  %1724 = load <2 x float>, ptr %1723, align 4
  %1725 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1720, <2 x float> %1722, <2 x float> %1724)
  br label %1726

1726:                                             ; preds = %1719, %1653
  %1727 = phi i1 [ false, %1653 ], [ %1725, %1719 ]
  %1728 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 0
  %1729 = load <2 x float>, ptr %1728, align 4
  %1730 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 1
  %1731 = load <2 x float>, ptr %1730, align 4
  %1732 = call double @GuiDMSpinner(<2 x float> %1729, <2 x float> %1731, double noundef %1716, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %1727)
  %1733 = fptrunc double %1732 to float
  %1734 = load ptr, ptr %8, align 8, !tbaa !5
  %1735 = load i32, ptr %29, align 4, !tbaa !9
  %1736 = sext i32 %1735 to i64
  %1737 = getelementptr inbounds %struct.GuiDMProperty, ptr %1734, i64 %1736
  %1738 = getelementptr inbounds %struct.GuiDMProperty, ptr %1737, i32 0, i32 3
  %1739 = getelementptr inbounds %struct.Rectangle, ptr %1738, i32 0, i32 0
  store float %1733, ptr %1739, align 8, !tbaa !15
  %1740 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1741 = sitofp i32 %1740 to float
  %1742 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1743 = load float, ptr %1742, align 4, !tbaa !26
  %1744 = fadd float %1743, %1741
  store float %1744, ptr %1742, align 4, !tbaa !26
  %1745 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1746 = load float, ptr %1745, align 4, !tbaa !26
  %1747 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 1
  store float %1746, ptr %1747, align 4, !tbaa !26
  %1748 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 1
  store float %1746, ptr %1748, align 4, !tbaa !26
  %1749 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %1750 = load <2 x float>, ptr %1749, align 4
  %1751 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %1752 = load <2 x float>, ptr %1751, align 4
  %1753 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.19, <2 x float> %1750, <2 x float> %1752, i32 noundef 0, i32 %1753)
  %1754 = load ptr, ptr %8, align 8, !tbaa !5
  %1755 = load i32, ptr %29, align 4, !tbaa !9
  %1756 = sext i32 %1755 to i64
  %1757 = getelementptr inbounds %struct.GuiDMProperty, ptr %1754, i64 %1756
  %1758 = getelementptr inbounds %struct.GuiDMProperty, ptr %1757, i32 0, i32 3
  %1759 = getelementptr inbounds %struct.Rectangle, ptr %1758, i32 0, i32 1
  %1760 = load float, ptr %1759, align 4, !tbaa !15
  %1761 = fpext float %1760 to double
  %1762 = load i32, ptr %34, align 4, !tbaa !9
  %1763 = icmp eq i32 %1762, 1
  br i1 %1763, label %1764, label %1771

1764:                                             ; preds = %1726
  %1765 = load <2 x float>, ptr %22, align 4
  %1766 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 0
  %1767 = load <2 x float>, ptr %1766, align 4
  %1768 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 1
  %1769 = load <2 x float>, ptr %1768, align 4
  %1770 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1765, <2 x float> %1767, <2 x float> %1769)
  br label %1771

1771:                                             ; preds = %1764, %1726
  %1772 = phi i1 [ false, %1726 ], [ %1770, %1764 ]
  %1773 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 0
  %1774 = load <2 x float>, ptr %1773, align 4
  %1775 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 1
  %1776 = load <2 x float>, ptr %1775, align 4
  %1777 = call double @GuiDMSpinner(<2 x float> %1774, <2 x float> %1776, double noundef %1761, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %1772)
  %1778 = fptrunc double %1777 to float
  %1779 = load ptr, ptr %8, align 8, !tbaa !5
  %1780 = load i32, ptr %29, align 4, !tbaa !9
  %1781 = sext i32 %1780 to i64
  %1782 = getelementptr inbounds %struct.GuiDMProperty, ptr %1779, i64 %1781
  %1783 = getelementptr inbounds %struct.GuiDMProperty, ptr %1782, i32 0, i32 3
  %1784 = getelementptr inbounds %struct.Rectangle, ptr %1783, i32 0, i32 1
  store float %1778, ptr %1784, align 4, !tbaa !15
  %1785 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1786 = sitofp i32 %1785 to float
  %1787 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1788 = load float, ptr %1787, align 4, !tbaa !26
  %1789 = fadd float %1788, %1786
  store float %1789, ptr %1787, align 4, !tbaa !26
  %1790 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1791 = load float, ptr %1790, align 4, !tbaa !26
  %1792 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 1
  store float %1791, ptr %1792, align 4, !tbaa !26
  %1793 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 1
  store float %1791, ptr %1793, align 4, !tbaa !26
  %1794 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %1795 = load <2 x float>, ptr %1794, align 4
  %1796 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %1797 = load <2 x float>, ptr %1796, align 4
  %1798 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.23, <2 x float> %1795, <2 x float> %1797, i32 noundef 0, i32 %1798)
  %1799 = load ptr, ptr %8, align 8, !tbaa !5
  %1800 = load i32, ptr %29, align 4, !tbaa !9
  %1801 = sext i32 %1800 to i64
  %1802 = getelementptr inbounds %struct.GuiDMProperty, ptr %1799, i64 %1801
  %1803 = getelementptr inbounds %struct.GuiDMProperty, ptr %1802, i32 0, i32 3
  %1804 = getelementptr inbounds %struct.Rectangle, ptr %1803, i32 0, i32 2
  %1805 = load float, ptr %1804, align 8, !tbaa !15
  %1806 = fpext float %1805 to double
  %1807 = load i32, ptr %34, align 4, !tbaa !9
  %1808 = icmp eq i32 %1807, 1
  br i1 %1808, label %1809, label %1816

1809:                                             ; preds = %1771
  %1810 = load <2 x float>, ptr %22, align 4
  %1811 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 0
  %1812 = load <2 x float>, ptr %1811, align 4
  %1813 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 1
  %1814 = load <2 x float>, ptr %1813, align 4
  %1815 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1810, <2 x float> %1812, <2 x float> %1814)
  br label %1816

1816:                                             ; preds = %1809, %1771
  %1817 = phi i1 [ false, %1771 ], [ %1815, %1809 ]
  %1818 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 0
  %1819 = load <2 x float>, ptr %1818, align 4
  %1820 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 1
  %1821 = load <2 x float>, ptr %1820, align 4
  %1822 = call double @GuiDMSpinner(<2 x float> %1819, <2 x float> %1821, double noundef %1806, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %1817)
  %1823 = fptrunc double %1822 to float
  %1824 = load ptr, ptr %8, align 8, !tbaa !5
  %1825 = load i32, ptr %29, align 4, !tbaa !9
  %1826 = sext i32 %1825 to i64
  %1827 = getelementptr inbounds %struct.GuiDMProperty, ptr %1824, i64 %1826
  %1828 = getelementptr inbounds %struct.GuiDMProperty, ptr %1827, i32 0, i32 3
  %1829 = getelementptr inbounds %struct.Rectangle, ptr %1828, i32 0, i32 2
  store float %1823, ptr %1829, align 8, !tbaa !15
  %1830 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1831 = sitofp i32 %1830 to float
  %1832 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1833 = load float, ptr %1832, align 4, !tbaa !26
  %1834 = fadd float %1833, %1831
  store float %1834, ptr %1832, align 4, !tbaa !26
  %1835 = getelementptr inbounds %struct.Rectangle, ptr %66, i32 0, i32 1
  %1836 = load float, ptr %1835, align 4, !tbaa !26
  %1837 = getelementptr inbounds %struct.Rectangle, ptr %68, i32 0, i32 1
  store float %1836, ptr %1837, align 4, !tbaa !26
  %1838 = getelementptr inbounds %struct.Rectangle, ptr %67, i32 0, i32 1
  store float %1836, ptr %1838, align 4, !tbaa !26
  %1839 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 0
  %1840 = load <2 x float>, ptr %1839, align 4
  %1841 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %67, i32 0, i32 1
  %1842 = load <2 x float>, ptr %1841, align 4
  %1843 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.22, <2 x float> %1840, <2 x float> %1842, i32 noundef 0, i32 %1843)
  %1844 = load ptr, ptr %8, align 8, !tbaa !5
  %1845 = load i32, ptr %29, align 4, !tbaa !9
  %1846 = sext i32 %1845 to i64
  %1847 = getelementptr inbounds %struct.GuiDMProperty, ptr %1844, i64 %1846
  %1848 = getelementptr inbounds %struct.GuiDMProperty, ptr %1847, i32 0, i32 3
  %1849 = getelementptr inbounds %struct.Rectangle, ptr %1848, i32 0, i32 3
  %1850 = load float, ptr %1849, align 4, !tbaa !15
  %1851 = fpext float %1850 to double
  %1852 = load i32, ptr %34, align 4, !tbaa !9
  %1853 = icmp eq i32 %1852, 1
  br i1 %1853, label %1854, label %1861

1854:                                             ; preds = %1816
  %1855 = load <2 x float>, ptr %22, align 4
  %1856 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 0
  %1857 = load <2 x float>, ptr %1856, align 4
  %1858 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %66, i32 0, i32 1
  %1859 = load <2 x float>, ptr %1858, align 4
  %1860 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1855, <2 x float> %1857, <2 x float> %1859)
  br label %1861

1861:                                             ; preds = %1854, %1816
  %1862 = phi i1 [ false, %1816 ], [ %1860, %1854 ]
  %1863 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 0
  %1864 = load <2 x float>, ptr %1863, align 4
  %1865 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %68, i32 0, i32 1
  %1866 = load <2 x float>, ptr %1865, align 4
  %1867 = call double @GuiDMSpinner(<2 x float> %1864, <2 x float> %1866, double noundef %1851, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %1862)
  %1868 = fptrunc double %1867 to float
  %1869 = load ptr, ptr %8, align 8, !tbaa !5
  %1870 = load i32, ptr %29, align 4, !tbaa !9
  %1871 = sext i32 %1870 to i64
  %1872 = getelementptr inbounds %struct.GuiDMProperty, ptr %1869, i64 %1871
  %1873 = getelementptr inbounds %struct.GuiDMProperty, ptr %1872, i32 0, i32 3
  %1874 = getelementptr inbounds %struct.Rectangle, ptr %1873, i32 0, i32 3
  store float %1868, ptr %1874, align 4, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 16, ptr %68) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %67) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %66) #8
  br label %1875

1875:                                             ; preds = %1861, %1543
  call void @llvm.lifetime.end.p0(i64 16, ptr %63) #8
  br label %2702

1876:                                             ; preds = %531
  call void @llvm.lifetime.start.p0(i64 16, ptr %69) #8
  %1877 = getelementptr inbounds %struct.Rectangle, ptr %69, i32 0, i32 0
  %1878 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1879 = load float, ptr %1878, align 4, !tbaa !25
  store float %1879, ptr %1877, align 4, !tbaa !25
  %1880 = getelementptr inbounds %struct.Rectangle, ptr %69, i32 0, i32 1
  %1881 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1882 = load float, ptr %1881, align 4, !tbaa !26
  store float %1882, ptr %1880, align 4, !tbaa !26
  %1883 = getelementptr inbounds %struct.Rectangle, ptr %69, i32 0, i32 2
  %1884 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1885 = load float, ptr %1884, align 4, !tbaa !27
  store float %1885, ptr %1883, align 4, !tbaa !27
  %1886 = getelementptr inbounds %struct.Rectangle, ptr %69, i32 0, i32 3
  %1887 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1888 = sitofp i32 %1887 to float
  store float %1888, ptr %1886, align 4, !tbaa !16
  %1889 = load i32, ptr %34, align 4, !tbaa !9
  %1890 = icmp eq i32 %1889, 2
  br i1 %1890, label %1891, label %1908

1891:                                             ; preds = %1876
  %1892 = load <2 x float>, ptr %22, align 4
  %1893 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %69, i32 0, i32 0
  %1894 = load <2 x float>, ptr %1893, align 4
  %1895 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %69, i32 0, i32 1
  %1896 = load <2 x float>, ptr %1895, align 4
  %1897 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %1892, <2 x float> %1894, <2 x float> %1896)
  br i1 %1897, label %1898, label %1908

1898:                                             ; preds = %1891
  %1899 = load ptr, ptr %8, align 8, !tbaa !5
  %1900 = load i32, ptr %29, align 4, !tbaa !9
  %1901 = sext i32 %1900 to i64
  %1902 = getelementptr inbounds %struct.GuiDMProperty, ptr %1899, i64 %1901
  %1903 = getelementptr inbounds %struct.GuiDMProperty, ptr %1902, i32 0, i32 2
  %1904 = load i16, ptr %1903, align 2, !tbaa !14
  %1905 = sext i16 %1904 to i32
  %1906 = xor i32 %1905, 1
  %1907 = trunc i32 %1906 to i16
  store i16 %1907, ptr %1903, align 2, !tbaa !14
  br label %1908

1908:                                             ; preds = %1898, %1891, %1876
  %1909 = load ptr, ptr %8, align 8, !tbaa !5
  %1910 = load i32, ptr %29, align 4, !tbaa !9
  %1911 = sext i32 %1910 to i64
  %1912 = getelementptr inbounds %struct.GuiDMProperty, ptr %1909, i64 %1911
  %1913 = getelementptr inbounds %struct.GuiDMProperty, ptr %1912, i32 0, i32 2
  %1914 = load i16, ptr %1913, align 2, !tbaa !14
  %1915 = sext i16 %1914 to i32
  %1916 = and i32 %1915, 1
  %1917 = icmp ne i32 %1916, 0
  %1918 = zext i1 %1917 to i64
  %1919 = select i1 %1917, ptr @.str.11, ptr @.str.12
  %1920 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %69, i32 0, i32 0
  %1921 = load <2 x float>, ptr %1920, align 4
  %1922 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %69, i32 0, i32 1
  %1923 = load <2 x float>, ptr %1922, align 4
  %1924 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1919, <2 x float> %1921, <2 x float> %1923, i32 noundef 0, i32 %1924)
  %1925 = load ptr, ptr %8, align 8, !tbaa !5
  %1926 = load i32, ptr %29, align 4, !tbaa !9
  %1927 = sext i32 %1926 to i64
  %1928 = getelementptr inbounds %struct.GuiDMProperty, ptr %1925, i64 %1927
  %1929 = getelementptr inbounds %struct.GuiDMProperty, ptr %1928, i32 0, i32 0
  %1930 = load ptr, ptr %1929, align 8, !tbaa !30
  %1931 = getelementptr inbounds %struct.Rectangle, ptr %70, i32 0, i32 0
  %1932 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1933 = load float, ptr %1932, align 4, !tbaa !25
  %1934 = fadd float %1933, 1.600000e+01
  %1935 = fadd float %1934, 6.000000e+00
  store float %1935, ptr %1931, align 4, !tbaa !25
  %1936 = getelementptr inbounds %struct.Rectangle, ptr %70, i32 0, i32 1
  %1937 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1938 = load float, ptr %1937, align 4, !tbaa !26
  %1939 = fadd float %1938, 1.000000e+00
  store float %1939, ptr %1936, align 4, !tbaa !26
  %1940 = getelementptr inbounds %struct.Rectangle, ptr %70, i32 0, i32 2
  %1941 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1942 = load float, ptr %1941, align 4, !tbaa !27
  %1943 = fsub float %1942, 1.600000e+01
  %1944 = fsub float %1943, 6.000000e+00
  store float %1944, ptr %1940, align 4, !tbaa !27
  %1945 = getelementptr inbounds %struct.Rectangle, ptr %70, i32 0, i32 3
  %1946 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1947 = sub nsw i32 %1946, 2
  %1948 = sitofp i32 %1947 to float
  store float %1948, ptr %1945, align 4, !tbaa !16
  %1949 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 0
  %1950 = load <2 x float>, ptr %1949, align 4
  %1951 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %70, i32 0, i32 1
  %1952 = load <2 x float>, ptr %1951, align 4
  %1953 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %1930, <2 x float> %1950, <2 x float> %1952, i32 noundef 0, i32 %1953)
  %1954 = getelementptr inbounds %struct.Vector2, ptr %71, i32 0, i32 0
  %1955 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1956 = load float, ptr %1955, align 4, !tbaa !25
  %1957 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1958 = load float, ptr %1957, align 4, !tbaa !27
  %1959 = fdiv float %1958, 2.000000e+00
  %1960 = fadd float %1956, %1959
  store float %1960, ptr %1954, align 4, !tbaa !31
  %1961 = getelementptr inbounds %struct.Vector2, ptr %71, i32 0, i32 1
  %1962 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1963 = load float, ptr %1962, align 4, !tbaa !26
  %1964 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1965 = sitofp i32 %1964 to float
  %1966 = fadd float %1963, %1965
  %1967 = fsub float %1966, 5.000000e+00
  store float %1967, ptr %1961, align 4, !tbaa !33
  %1968 = getelementptr inbounds %struct.Vector2, ptr %72, i32 0, i32 0
  %1969 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %1970 = load float, ptr %1969, align 4, !tbaa !25
  %1971 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %1972 = load float, ptr %1971, align 4, !tbaa !27
  %1973 = fadd float %1970, %1972
  store float %1973, ptr %1968, align 4, !tbaa !31
  %1974 = getelementptr inbounds %struct.Vector2, ptr %72, i32 0, i32 1
  %1975 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %1976 = load float, ptr %1975, align 4, !tbaa !26
  %1977 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %1978 = sitofp i32 %1977 to float
  %1979 = fadd float %1976, %1978
  %1980 = fsub float %1979, 5.000000e+00
  store float %1980, ptr %1974, align 4, !tbaa !33
  %1981 = load ptr, ptr %8, align 8, !tbaa !5
  %1982 = load i32, ptr %29, align 4, !tbaa !9
  %1983 = sext i32 %1982 to i64
  %1984 = getelementptr inbounds %struct.GuiDMProperty, ptr %1981, i64 %1983
  %1985 = getelementptr inbounds %struct.GuiDMProperty, ptr %1984, i32 0, i32 3
  %1986 = load <2 x float>, ptr %71, align 4
  %1987 = load <2 x float>, ptr %72, align 4
  %1988 = load i32, ptr %1985, align 8
  call void @DrawLineEx(<2 x float> %1986, <2 x float> %1987, float noundef 6.000000e+00, i32 %1988)
  call void @llvm.lifetime.start.p0(i64 8, ptr %73) #8
  %1989 = load ptr, ptr %8, align 8, !tbaa !5
  %1990 = load i32, ptr %29, align 4, !tbaa !9
  %1991 = sext i32 %1990 to i64
  %1992 = getelementptr inbounds %struct.GuiDMProperty, ptr %1989, i64 %1991
  %1993 = getelementptr inbounds %struct.GuiDMProperty, ptr %1992, i32 0, i32 3
  %1994 = getelementptr inbounds %struct.Color, ptr %1993, i32 0, i32 0
  %1995 = load i8, ptr %1994, align 8, !tbaa !15
  %1996 = zext i8 %1995 to i32
  %1997 = load ptr, ptr %8, align 8, !tbaa !5
  %1998 = load i32, ptr %29, align 4, !tbaa !9
  %1999 = sext i32 %1998 to i64
  %2000 = getelementptr inbounds %struct.GuiDMProperty, ptr %1997, i64 %1999
  %2001 = getelementptr inbounds %struct.GuiDMProperty, ptr %2000, i32 0, i32 3
  %2002 = getelementptr inbounds %struct.Color, ptr %2001, i32 0, i32 1
  %2003 = load i8, ptr %2002, align 1, !tbaa !15
  %2004 = zext i8 %2003 to i32
  %2005 = load ptr, ptr %8, align 8, !tbaa !5
  %2006 = load i32, ptr %29, align 4, !tbaa !9
  %2007 = sext i32 %2006 to i64
  %2008 = getelementptr inbounds %struct.GuiDMProperty, ptr %2005, i64 %2007
  %2009 = getelementptr inbounds %struct.GuiDMProperty, ptr %2008, i32 0, i32 3
  %2010 = getelementptr inbounds %struct.Color, ptr %2009, i32 0, i32 2
  %2011 = load i8, ptr %2010, align 2, !tbaa !15
  %2012 = zext i8 %2011 to i32
  %2013 = load ptr, ptr %8, align 8, !tbaa !5
  %2014 = load i32, ptr %29, align 4, !tbaa !9
  %2015 = sext i32 %2014 to i64
  %2016 = getelementptr inbounds %struct.GuiDMProperty, ptr %2013, i64 %2015
  %2017 = getelementptr inbounds %struct.GuiDMProperty, ptr %2016, i32 0, i32 3
  %2018 = getelementptr inbounds %struct.Color, ptr %2017, i32 0, i32 3
  %2019 = load i8, ptr %2018, align 1, !tbaa !15
  %2020 = zext i8 %2019 to i32
  %2021 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.24, i32 noundef %1996, i32 noundef %2004, i32 noundef %2012, i32 noundef %2020)
  store ptr %2021, ptr %73, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 10, ptr %74) #8
  call void @llvm.memset.p0.i64(ptr align 1 %74, i8 0, i64 10, i1 false)
  %2022 = getelementptr inbounds [10 x i8], ptr %74, i64 0, i64 0
  %2023 = load ptr, ptr %73, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 1 %2022, ptr align 1 %2023, i64 10, i1 false)
  %2024 = load ptr, ptr %73, align 8, !tbaa !5
  %2025 = getelementptr inbounds %struct.Rectangle, ptr %75, i32 0, i32 0
  %2026 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2027 = load float, ptr %2026, align 4, !tbaa !25
  %2028 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2029 = load float, ptr %2028, align 4, !tbaa !27
  %2030 = fdiv float %2029, 2.000000e+00
  %2031 = fadd float %2027, %2030
  store float %2031, ptr %2025, align 4, !tbaa !25
  %2032 = getelementptr inbounds %struct.Rectangle, ptr %75, i32 0, i32 1
  %2033 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2034 = load float, ptr %2033, align 4, !tbaa !26
  %2035 = fadd float %2034, 1.000000e+00
  store float %2035, ptr %2032, align 4, !tbaa !26
  %2036 = getelementptr inbounds %struct.Rectangle, ptr %75, i32 0, i32 2
  %2037 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2038 = load float, ptr %2037, align 4, !tbaa !27
  %2039 = fdiv float %2038, 2.000000e+00
  store float %2039, ptr %2036, align 4, !tbaa !27
  %2040 = getelementptr inbounds %struct.Rectangle, ptr %75, i32 0, i32 3
  %2041 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2042 = sub nsw i32 %2041, 2
  %2043 = sitofp i32 %2042 to float
  store float %2043, ptr %2040, align 4, !tbaa !16
  %2044 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %75, i32 0, i32 0
  %2045 = load <2 x float>, ptr %2044, align 4
  %2046 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %75, i32 0, i32 1
  %2047 = load <2 x float>, ptr %2046, align 4
  %2048 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %2024, <2 x float> %2045, <2 x float> %2047, i32 noundef 0, i32 %2048)
  %2049 = load ptr, ptr %8, align 8, !tbaa !5
  %2050 = load i32, ptr %29, align 4, !tbaa !9
  %2051 = sext i32 %2050 to i64
  %2052 = getelementptr inbounds %struct.GuiDMProperty, ptr %2049, i64 %2051
  %2053 = getelementptr inbounds %struct.GuiDMProperty, ptr %2052, i32 0, i32 2
  %2054 = load i16, ptr %2053, align 2, !tbaa !14
  %2055 = sext i16 %2054 to i32
  %2056 = and i32 %2055, 1
  %2057 = icmp ne i32 %2056, 0
  br i1 %2057, label %2444, label %2058

2058:                                             ; preds = %1908
  call void @llvm.lifetime.start.p0(i64 16, ptr %76) #8
  %2059 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 0
  %2060 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2061 = load float, ptr %2060, align 4, !tbaa !25
  store float %2061, ptr %2059, align 4, !tbaa !25
  %2062 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2063 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2064 = load float, ptr %2063, align 4, !tbaa !26
  %2065 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2066 = sitofp i32 %2065 to float
  %2067 = fadd float %2064, %2066
  %2068 = fadd float %2067, 1.000000e+00
  store float %2068, ptr %2062, align 4, !tbaa !26
  %2069 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 2
  %2070 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2071 = load float, ptr %2070, align 4, !tbaa !27
  store float %2071, ptr %2069, align 4, !tbaa !27
  %2072 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 3
  %2073 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2074 = sub nsw i32 %2073, 2
  %2075 = sitofp i32 %2074 to float
  store float %2075, ptr %2072, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %77) #8
  %2076 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 0
  %2077 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2078 = load float, ptr %2077, align 4, !tbaa !25
  %2079 = fadd float %2078, 6.000000e+00
  store float %2079, ptr %2076, align 4, !tbaa !25
  %2080 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 1
  %2081 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2082 = load float, ptr %2081, align 4, !tbaa !26
  store float %2082, ptr %2080, align 4, !tbaa !26
  %2083 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 2
  %2084 = call i32 @GetTextWidth(ptr noundef @.str.17)
  %2085 = sitofp i32 %2084 to float
  store float %2085, ptr %2083, align 4, !tbaa !27
  %2086 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 3
  %2087 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 3
  %2088 = load float, ptr %2087, align 4, !tbaa !16
  store float %2088, ptr %2086, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %78) #8
  %2089 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 0
  %2090 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 0
  %2091 = load float, ptr %2090, align 4, !tbaa !25
  %2092 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 2
  %2093 = load float, ptr %2092, align 4, !tbaa !27
  %2094 = fadd float %2091, %2093
  %2095 = fadd float %2094, 6.000000e+00
  store float %2095, ptr %2089, align 4, !tbaa !25
  %2096 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 1
  %2097 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2098 = load float, ptr %2097, align 4, !tbaa !26
  store float %2098, ptr %2096, align 4, !tbaa !26
  %2099 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 2
  %2100 = call i32 @GetTextWidth(ptr noundef @.str.25)
  %2101 = sitofp i32 %2100 to float
  store float %2101, ptr %2099, align 4, !tbaa !27
  %2102 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 3
  %2103 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 3
  %2104 = load float, ptr %2103, align 4, !tbaa !16
  store float %2104, ptr %2102, align 4, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 16, ptr %79) #8
  %2105 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 0
  %2106 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 0
  %2107 = load float, ptr %2106, align 4, !tbaa !25
  %2108 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 2
  %2109 = load float, ptr %2108, align 4, !tbaa !27
  %2110 = fadd float %2107, %2109
  %2111 = fadd float %2110, 6.000000e+00
  store float %2111, ptr %2105, align 4, !tbaa !25
  %2112 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 1
  %2113 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2114 = load float, ptr %2113, align 4, !tbaa !26
  store float %2114, ptr %2112, align 4, !tbaa !26
  %2115 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 2
  %2116 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 2
  %2117 = load float, ptr %2116, align 4, !tbaa !27
  %2118 = fsub float %2117, 1.800000e+01
  %2119 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 2
  %2120 = load float, ptr %2119, align 4, !tbaa !27
  %2121 = fsub float %2118, %2120
  %2122 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 2
  %2123 = load float, ptr %2122, align 4, !tbaa !27
  %2124 = fsub float %2121, %2123
  store float %2124, ptr %2115, align 4, !tbaa !27
  %2125 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 3
  %2126 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 3
  %2127 = load float, ptr %2126, align 4, !tbaa !16
  store float %2127, ptr %2125, align 4, !tbaa !16
  %2128 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 2
  %2129 = load float, ptr %2128, align 4, !tbaa !27
  %2130 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2131 = sub nsw i32 %2130, 2
  %2132 = sitofp i32 %2131 to float
  %2133 = fcmp ole float %2129, %2132
  br i1 %2133, label %2134, label %2142

2134:                                             ; preds = %2058
  %2135 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2136 = load float, ptr %2135, align 4, !tbaa !27
  %2137 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 2
  %2138 = load float, ptr %2137, align 4, !tbaa !27
  %2139 = fsub float %2136, %2138
  %2140 = fsub float %2139, 1.200000e+01
  %2141 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 2
  store float %2140, ptr %2141, align 4, !tbaa !27
  br label %2142

2142:                                             ; preds = %2134, %2058
  call void @llvm.lifetime.start.p0(i64 4, ptr %80) #8
  %2143 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 18)
  store i32 %2143, ptr %80, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %81) #8
  %2144 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 20)
  store i32 %2144, ptr %81, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %82) #8
  %2145 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 12)
  store i32 %2145, ptr %82, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %83) #8
  %2146 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 19)
  store i32 %2146, ptr %83, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %84) #8
  %2147 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 17)
  store i32 %2147, ptr %84, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %85) #8
  %2148 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 9)
  %2149 = call i32 @GetColor(i32 noundef %2148)
  store i32 %2149, ptr %85, align 1
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 18, i32 noundef 3)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 20, i32 noundef 10)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 12, i32 noundef 0)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 19, i32 noundef 6)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 17, i32 noundef 0)
  %2150 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 19)
  call void @GuiSetStyle(i32 noundef 0, i32 noundef 9, i32 noundef %2150)
  %2151 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 0
  %2152 = load <2 x float>, ptr %2151, align 4
  %2153 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 1
  %2154 = load <2 x float>, ptr %2153, align 4
  %2155 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.26, <2 x float> %2152, <2 x float> %2154, i32 noundef 0, i32 %2155)
  %2156 = load ptr, ptr %8, align 8, !tbaa !5
  %2157 = load i32, ptr %29, align 4, !tbaa !9
  %2158 = sext i32 %2157 to i64
  %2159 = getelementptr inbounds %struct.GuiDMProperty, ptr %2156, i64 %2158
  %2160 = getelementptr inbounds %struct.GuiDMProperty, ptr %2159, i32 0, i32 3
  %2161 = getelementptr inbounds %struct.Color, ptr %2160, i32 0, i32 0
  %2162 = load i8, ptr %2161, align 8, !tbaa !15
  %2163 = uitofp i8 %2162 to double
  %2164 = load i32, ptr %34, align 4, !tbaa !9
  %2165 = icmp eq i32 %2164, 1
  br i1 %2165, label %2166, label %2173

2166:                                             ; preds = %2142
  %2167 = load <2 x float>, ptr %22, align 4
  %2168 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 0
  %2169 = load <2 x float>, ptr %2168, align 4
  %2170 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 1
  %2171 = load <2 x float>, ptr %2170, align 4
  %2172 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %2167, <2 x float> %2169, <2 x float> %2171)
  br label %2173

2173:                                             ; preds = %2166, %2142
  %2174 = phi i1 [ false, %2142 ], [ %2172, %2166 ]
  %2175 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %2176 = load <2 x float>, ptr %2175, align 4
  %2177 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %2178 = load <2 x float>, ptr %2177, align 4
  %2179 = call double @GuiDMValueBox(<2 x float> %2176, <2 x float> %2178, double noundef %2163, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %2174)
  %2180 = fptoui double %2179 to i8
  %2181 = load ptr, ptr %8, align 8, !tbaa !5
  %2182 = load i32, ptr %29, align 4, !tbaa !9
  %2183 = sext i32 %2182 to i64
  %2184 = getelementptr inbounds %struct.GuiDMProperty, ptr %2181, i64 %2183
  %2185 = getelementptr inbounds %struct.GuiDMProperty, ptr %2184, i32 0, i32 3
  %2186 = getelementptr inbounds %struct.Color, ptr %2185, i32 0, i32 0
  store i8 %2180, ptr %2186, align 8, !tbaa !15
  %2187 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 2
  %2188 = load float, ptr %2187, align 4, !tbaa !27
  %2189 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2190 = sub nsw i32 %2189, 2
  %2191 = sitofp i32 %2190 to float
  %2192 = fcmp ogt float %2188, %2191
  br i1 %2192, label %2193, label %2214

2193:                                             ; preds = %2173
  %2194 = load ptr, ptr %8, align 8, !tbaa !5
  %2195 = load i32, ptr %29, align 4, !tbaa !9
  %2196 = sext i32 %2195 to i64
  %2197 = getelementptr inbounds %struct.GuiDMProperty, ptr %2194, i64 %2196
  %2198 = getelementptr inbounds %struct.GuiDMProperty, ptr %2197, i32 0, i32 3
  %2199 = getelementptr inbounds %struct.Color, ptr %2198, i32 0, i32 0
  %2200 = load i8, ptr %2199, align 8, !tbaa !15
  %2201 = zext i8 %2200 to i32
  %2202 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %2203 = load <2 x float>, ptr %2202, align 4
  %2204 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %2205 = load <2 x float>, ptr %2204, align 4
  %2206 = call i32 @GuiScrollBar(<2 x float> %2203, <2 x float> %2205, i32 noundef %2201, i32 noundef 0, i32 noundef 255)
  %2207 = trunc i32 %2206 to i8
  %2208 = load ptr, ptr %8, align 8, !tbaa !5
  %2209 = load i32, ptr %29, align 4, !tbaa !9
  %2210 = sext i32 %2209 to i64
  %2211 = getelementptr inbounds %struct.GuiDMProperty, ptr %2208, i64 %2210
  %2212 = getelementptr inbounds %struct.GuiDMProperty, ptr %2211, i32 0, i32 3
  %2213 = getelementptr inbounds %struct.Color, ptr %2212, i32 0, i32 0
  store i8 %2207, ptr %2213, align 8, !tbaa !15
  br label %2214

2214:                                             ; preds = %2193, %2173
  %2215 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2216 = sitofp i32 %2215 to float
  %2217 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2218 = load float, ptr %2217, align 4, !tbaa !26
  %2219 = fadd float %2218, %2216
  store float %2219, ptr %2217, align 4, !tbaa !26
  %2220 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2221 = load float, ptr %2220, align 4, !tbaa !26
  %2222 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 1
  store float %2221, ptr %2222, align 4, !tbaa !26
  %2223 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 1
  store float %2221, ptr %2223, align 4, !tbaa !26
  %2224 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 1
  store float %2221, ptr %2224, align 4, !tbaa !26
  %2225 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 0
  %2226 = load <2 x float>, ptr %2225, align 4
  %2227 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 1
  %2228 = load <2 x float>, ptr %2227, align 4
  %2229 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.27, <2 x float> %2226, <2 x float> %2228, i32 noundef 0, i32 %2229)
  %2230 = load ptr, ptr %8, align 8, !tbaa !5
  %2231 = load i32, ptr %29, align 4, !tbaa !9
  %2232 = sext i32 %2231 to i64
  %2233 = getelementptr inbounds %struct.GuiDMProperty, ptr %2230, i64 %2232
  %2234 = getelementptr inbounds %struct.GuiDMProperty, ptr %2233, i32 0, i32 3
  %2235 = getelementptr inbounds %struct.Color, ptr %2234, i32 0, i32 1
  %2236 = load i8, ptr %2235, align 1, !tbaa !15
  %2237 = uitofp i8 %2236 to double
  %2238 = load i32, ptr %34, align 4, !tbaa !9
  %2239 = icmp eq i32 %2238, 1
  br i1 %2239, label %2240, label %2247

2240:                                             ; preds = %2214
  %2241 = load <2 x float>, ptr %22, align 4
  %2242 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 0
  %2243 = load <2 x float>, ptr %2242, align 4
  %2244 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 1
  %2245 = load <2 x float>, ptr %2244, align 4
  %2246 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %2241, <2 x float> %2243, <2 x float> %2245)
  br label %2247

2247:                                             ; preds = %2240, %2214
  %2248 = phi i1 [ false, %2214 ], [ %2246, %2240 ]
  %2249 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %2250 = load <2 x float>, ptr %2249, align 4
  %2251 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %2252 = load <2 x float>, ptr %2251, align 4
  %2253 = call double @GuiDMValueBox(<2 x float> %2250, <2 x float> %2252, double noundef %2237, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %2248)
  %2254 = fptoui double %2253 to i8
  %2255 = load ptr, ptr %8, align 8, !tbaa !5
  %2256 = load i32, ptr %29, align 4, !tbaa !9
  %2257 = sext i32 %2256 to i64
  %2258 = getelementptr inbounds %struct.GuiDMProperty, ptr %2255, i64 %2257
  %2259 = getelementptr inbounds %struct.GuiDMProperty, ptr %2258, i32 0, i32 3
  %2260 = getelementptr inbounds %struct.Color, ptr %2259, i32 0, i32 1
  store i8 %2254, ptr %2260, align 1, !tbaa !15
  %2261 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 2
  %2262 = load float, ptr %2261, align 4, !tbaa !27
  %2263 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2264 = sub nsw i32 %2263, 2
  %2265 = sitofp i32 %2264 to float
  %2266 = fcmp ogt float %2262, %2265
  br i1 %2266, label %2267, label %2288

2267:                                             ; preds = %2247
  %2268 = load ptr, ptr %8, align 8, !tbaa !5
  %2269 = load i32, ptr %29, align 4, !tbaa !9
  %2270 = sext i32 %2269 to i64
  %2271 = getelementptr inbounds %struct.GuiDMProperty, ptr %2268, i64 %2270
  %2272 = getelementptr inbounds %struct.GuiDMProperty, ptr %2271, i32 0, i32 3
  %2273 = getelementptr inbounds %struct.Color, ptr %2272, i32 0, i32 1
  %2274 = load i8, ptr %2273, align 1, !tbaa !15
  %2275 = zext i8 %2274 to i32
  %2276 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %2277 = load <2 x float>, ptr %2276, align 4
  %2278 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %2279 = load <2 x float>, ptr %2278, align 4
  %2280 = call i32 @GuiScrollBar(<2 x float> %2277, <2 x float> %2279, i32 noundef %2275, i32 noundef 0, i32 noundef 255)
  %2281 = trunc i32 %2280 to i8
  %2282 = load ptr, ptr %8, align 8, !tbaa !5
  %2283 = load i32, ptr %29, align 4, !tbaa !9
  %2284 = sext i32 %2283 to i64
  %2285 = getelementptr inbounds %struct.GuiDMProperty, ptr %2282, i64 %2284
  %2286 = getelementptr inbounds %struct.GuiDMProperty, ptr %2285, i32 0, i32 3
  %2287 = getelementptr inbounds %struct.Color, ptr %2286, i32 0, i32 1
  store i8 %2281, ptr %2287, align 1, !tbaa !15
  br label %2288

2288:                                             ; preds = %2267, %2247
  %2289 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2290 = sitofp i32 %2289 to float
  %2291 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2292 = load float, ptr %2291, align 4, !tbaa !26
  %2293 = fadd float %2292, %2290
  store float %2293, ptr %2291, align 4, !tbaa !26
  %2294 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2295 = load float, ptr %2294, align 4, !tbaa !26
  %2296 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 1
  store float %2295, ptr %2296, align 4, !tbaa !26
  %2297 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 1
  store float %2295, ptr %2297, align 4, !tbaa !26
  %2298 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 1
  store float %2295, ptr %2298, align 4, !tbaa !26
  %2299 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 0
  %2300 = load <2 x float>, ptr %2299, align 4
  %2301 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 1
  %2302 = load <2 x float>, ptr %2301, align 4
  %2303 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.28, <2 x float> %2300, <2 x float> %2302, i32 noundef 0, i32 %2303)
  %2304 = load ptr, ptr %8, align 8, !tbaa !5
  %2305 = load i32, ptr %29, align 4, !tbaa !9
  %2306 = sext i32 %2305 to i64
  %2307 = getelementptr inbounds %struct.GuiDMProperty, ptr %2304, i64 %2306
  %2308 = getelementptr inbounds %struct.GuiDMProperty, ptr %2307, i32 0, i32 3
  %2309 = getelementptr inbounds %struct.Color, ptr %2308, i32 0, i32 2
  %2310 = load i8, ptr %2309, align 2, !tbaa !15
  %2311 = uitofp i8 %2310 to double
  %2312 = load i32, ptr %34, align 4, !tbaa !9
  %2313 = icmp eq i32 %2312, 1
  br i1 %2313, label %2314, label %2321

2314:                                             ; preds = %2288
  %2315 = load <2 x float>, ptr %22, align 4
  %2316 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 0
  %2317 = load <2 x float>, ptr %2316, align 4
  %2318 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 1
  %2319 = load <2 x float>, ptr %2318, align 4
  %2320 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %2315, <2 x float> %2317, <2 x float> %2319)
  br label %2321

2321:                                             ; preds = %2314, %2288
  %2322 = phi i1 [ false, %2288 ], [ %2320, %2314 ]
  %2323 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %2324 = load <2 x float>, ptr %2323, align 4
  %2325 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %2326 = load <2 x float>, ptr %2325, align 4
  %2327 = call double @GuiDMValueBox(<2 x float> %2324, <2 x float> %2326, double noundef %2311, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %2322)
  %2328 = fptoui double %2327 to i8
  %2329 = load ptr, ptr %8, align 8, !tbaa !5
  %2330 = load i32, ptr %29, align 4, !tbaa !9
  %2331 = sext i32 %2330 to i64
  %2332 = getelementptr inbounds %struct.GuiDMProperty, ptr %2329, i64 %2331
  %2333 = getelementptr inbounds %struct.GuiDMProperty, ptr %2332, i32 0, i32 3
  %2334 = getelementptr inbounds %struct.Color, ptr %2333, i32 0, i32 2
  store i8 %2328, ptr %2334, align 2, !tbaa !15
  %2335 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 2
  %2336 = load float, ptr %2335, align 4, !tbaa !27
  %2337 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2338 = sub nsw i32 %2337, 2
  %2339 = sitofp i32 %2338 to float
  %2340 = fcmp ogt float %2336, %2339
  br i1 %2340, label %2341, label %2362

2341:                                             ; preds = %2321
  %2342 = load ptr, ptr %8, align 8, !tbaa !5
  %2343 = load i32, ptr %29, align 4, !tbaa !9
  %2344 = sext i32 %2343 to i64
  %2345 = getelementptr inbounds %struct.GuiDMProperty, ptr %2342, i64 %2344
  %2346 = getelementptr inbounds %struct.GuiDMProperty, ptr %2345, i32 0, i32 3
  %2347 = getelementptr inbounds %struct.Color, ptr %2346, i32 0, i32 2
  %2348 = load i8, ptr %2347, align 2, !tbaa !15
  %2349 = zext i8 %2348 to i32
  %2350 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %2351 = load <2 x float>, ptr %2350, align 4
  %2352 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %2353 = load <2 x float>, ptr %2352, align 4
  %2354 = call i32 @GuiScrollBar(<2 x float> %2351, <2 x float> %2353, i32 noundef %2349, i32 noundef 0, i32 noundef 255)
  %2355 = trunc i32 %2354 to i8
  %2356 = load ptr, ptr %8, align 8, !tbaa !5
  %2357 = load i32, ptr %29, align 4, !tbaa !9
  %2358 = sext i32 %2357 to i64
  %2359 = getelementptr inbounds %struct.GuiDMProperty, ptr %2356, i64 %2358
  %2360 = getelementptr inbounds %struct.GuiDMProperty, ptr %2359, i32 0, i32 3
  %2361 = getelementptr inbounds %struct.Color, ptr %2360, i32 0, i32 2
  store i8 %2355, ptr %2361, align 2, !tbaa !15
  br label %2362

2362:                                             ; preds = %2341, %2321
  %2363 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2364 = sitofp i32 %2363 to float
  %2365 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2366 = load float, ptr %2365, align 4, !tbaa !26
  %2367 = fadd float %2366, %2364
  store float %2367, ptr %2365, align 4, !tbaa !26
  %2368 = getelementptr inbounds %struct.Rectangle, ptr %76, i32 0, i32 1
  %2369 = load float, ptr %2368, align 4, !tbaa !26
  %2370 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 1
  store float %2369, ptr %2370, align 4, !tbaa !26
  %2371 = getelementptr inbounds %struct.Rectangle, ptr %78, i32 0, i32 1
  store float %2369, ptr %2371, align 4, !tbaa !26
  %2372 = getelementptr inbounds %struct.Rectangle, ptr %77, i32 0, i32 1
  store float %2369, ptr %2372, align 4, !tbaa !26
  %2373 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 0
  %2374 = load <2 x float>, ptr %2373, align 4
  %2375 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %77, i32 0, i32 1
  %2376 = load <2 x float>, ptr %2375, align 4
  %2377 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.17, <2 x float> %2374, <2 x float> %2376, i32 noundef 0, i32 %2377)
  %2378 = load ptr, ptr %8, align 8, !tbaa !5
  %2379 = load i32, ptr %29, align 4, !tbaa !9
  %2380 = sext i32 %2379 to i64
  %2381 = getelementptr inbounds %struct.GuiDMProperty, ptr %2378, i64 %2380
  %2382 = getelementptr inbounds %struct.GuiDMProperty, ptr %2381, i32 0, i32 3
  %2383 = getelementptr inbounds %struct.Color, ptr %2382, i32 0, i32 3
  %2384 = load i8, ptr %2383, align 1, !tbaa !15
  %2385 = uitofp i8 %2384 to double
  %2386 = load i32, ptr %34, align 4, !tbaa !9
  %2387 = icmp eq i32 %2386, 1
  br i1 %2387, label %2388, label %2395

2388:                                             ; preds = %2362
  %2389 = load <2 x float>, ptr %22, align 4
  %2390 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 0
  %2391 = load <2 x float>, ptr %2390, align 4
  %2392 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %76, i32 0, i32 1
  %2393 = load <2 x float>, ptr %2392, align 4
  %2394 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %2389, <2 x float> %2391, <2 x float> %2393)
  br label %2395

2395:                                             ; preds = %2388, %2362
  %2396 = phi i1 [ false, %2362 ], [ %2394, %2388 ]
  %2397 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 0
  %2398 = load <2 x float>, ptr %2397, align 4
  %2399 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %78, i32 0, i32 1
  %2400 = load <2 x float>, ptr %2399, align 4
  %2401 = call double @GuiDMValueBox(<2 x float> %2398, <2 x float> %2400, double noundef %2385, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %2396)
  %2402 = fptoui double %2401 to i8
  %2403 = load ptr, ptr %8, align 8, !tbaa !5
  %2404 = load i32, ptr %29, align 4, !tbaa !9
  %2405 = sext i32 %2404 to i64
  %2406 = getelementptr inbounds %struct.GuiDMProperty, ptr %2403, i64 %2405
  %2407 = getelementptr inbounds %struct.GuiDMProperty, ptr %2406, i32 0, i32 3
  %2408 = getelementptr inbounds %struct.Color, ptr %2407, i32 0, i32 3
  store i8 %2402, ptr %2408, align 1, !tbaa !15
  %2409 = getelementptr inbounds %struct.Rectangle, ptr %79, i32 0, i32 2
  %2410 = load float, ptr %2409, align 4, !tbaa !27
  %2411 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2412 = sub nsw i32 %2411, 2
  %2413 = sitofp i32 %2412 to float
  %2414 = fcmp ogt float %2410, %2413
  br i1 %2414, label %2415, label %2436

2415:                                             ; preds = %2395
  %2416 = load ptr, ptr %8, align 8, !tbaa !5
  %2417 = load i32, ptr %29, align 4, !tbaa !9
  %2418 = sext i32 %2417 to i64
  %2419 = getelementptr inbounds %struct.GuiDMProperty, ptr %2416, i64 %2418
  %2420 = getelementptr inbounds %struct.GuiDMProperty, ptr %2419, i32 0, i32 3
  %2421 = getelementptr inbounds %struct.Color, ptr %2420, i32 0, i32 3
  %2422 = load i8, ptr %2421, align 1, !tbaa !15
  %2423 = zext i8 %2422 to i32
  %2424 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 0
  %2425 = load <2 x float>, ptr %2424, align 4
  %2426 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %79, i32 0, i32 1
  %2427 = load <2 x float>, ptr %2426, align 4
  %2428 = call i32 @GuiScrollBar(<2 x float> %2425, <2 x float> %2427, i32 noundef %2423, i32 noundef 0, i32 noundef 255)
  %2429 = trunc i32 %2428 to i8
  %2430 = load ptr, ptr %8, align 8, !tbaa !5
  %2431 = load i32, ptr %29, align 4, !tbaa !9
  %2432 = sext i32 %2431 to i64
  %2433 = getelementptr inbounds %struct.GuiDMProperty, ptr %2430, i64 %2432
  %2434 = getelementptr inbounds %struct.GuiDMProperty, ptr %2433, i32 0, i32 3
  %2435 = getelementptr inbounds %struct.Color, ptr %2434, i32 0, i32 3
  store i8 %2429, ptr %2435, align 1, !tbaa !15
  br label %2436

2436:                                             ; preds = %2415, %2395
  %2437 = load i32, ptr %80, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 18, i32 noundef %2437)
  %2438 = load i32, ptr %81, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 20, i32 noundef %2438)
  %2439 = load i32, ptr %82, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 12, i32 noundef %2439)
  %2440 = load i32, ptr %83, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 19, i32 noundef %2440)
  %2441 = load i32, ptr %84, align 4, !tbaa !9
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 17, i32 noundef %2441)
  %2442 = load i32, ptr %85, align 1
  %2443 = call i32 @ColorToInt(i32 %2442)
  call void @GuiSetStyle(i32 noundef 0, i32 noundef 9, i32 noundef %2443)
  call void @llvm.lifetime.end.p0(i64 4, ptr %85) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %84) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %83) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %82) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %81) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %80) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %79) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %78) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %77) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %76) #8
  br label %2444

2444:                                             ; preds = %2436, %1908
  %2445 = load i32, ptr %34, align 4, !tbaa !9
  %2446 = icmp eq i32 %2445, 1
  br i1 %2446, label %2447, label %2526

2447:                                             ; preds = %2444
  %2448 = call zeroext i1 @IsKeyDown(i32 noundef 341)
  br i1 %2448, label %2449, label %2453

2449:                                             ; preds = %2447
  %2450 = call zeroext i1 @IsKeyPressed(i32 noundef 67)
  br i1 %2450, label %2451, label %2453

2451:                                             ; preds = %2449
  %2452 = getelementptr inbounds [10 x i8], ptr %74, i64 0, i64 0
  call void @SetClipboardText(ptr noundef %2452)
  br label %2525

2453:                                             ; preds = %2449, %2447
  %2454 = call zeroext i1 @IsKeyDown(i32 noundef 341)
  br i1 %2454, label %2455, label %2524

2455:                                             ; preds = %2453
  %2456 = call zeroext i1 @IsKeyPressed(i32 noundef 86)
  br i1 %2456, label %2457, label %2524

2457:                                             ; preds = %2455
  call void @llvm.lifetime.start.p0(i64 4, ptr %86) #8
  %2458 = load ptr, ptr %8, align 8, !tbaa !5
  %2459 = load i32, ptr %29, align 4, !tbaa !9
  %2460 = sext i32 %2459 to i64
  %2461 = getelementptr inbounds %struct.GuiDMProperty, ptr %2458, i64 %2460
  %2462 = getelementptr inbounds %struct.GuiDMProperty, ptr %2461, i32 0, i32 3
  %2463 = getelementptr inbounds %struct.Color, ptr %2462, i32 0, i32 3
  %2464 = load i8, ptr %2463, align 1, !tbaa !15
  %2465 = zext i8 %2464 to i32
  store i32 %2465, ptr %86, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %87) #8
  %2466 = load ptr, ptr %8, align 8, !tbaa !5
  %2467 = load i32, ptr %29, align 4, !tbaa !9
  %2468 = sext i32 %2467 to i64
  %2469 = getelementptr inbounds %struct.GuiDMProperty, ptr %2466, i64 %2468
  %2470 = getelementptr inbounds %struct.GuiDMProperty, ptr %2469, i32 0, i32 3
  %2471 = getelementptr inbounds %struct.Color, ptr %2470, i32 0, i32 0
  %2472 = load i8, ptr %2471, align 8, !tbaa !15
  %2473 = zext i8 %2472 to i32
  store i32 %2473, ptr %87, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %88) #8
  %2474 = load ptr, ptr %8, align 8, !tbaa !5
  %2475 = load i32, ptr %29, align 4, !tbaa !9
  %2476 = sext i32 %2475 to i64
  %2477 = getelementptr inbounds %struct.GuiDMProperty, ptr %2474, i64 %2476
  %2478 = getelementptr inbounds %struct.GuiDMProperty, ptr %2477, i32 0, i32 3
  %2479 = getelementptr inbounds %struct.Color, ptr %2478, i32 0, i32 1
  %2480 = load i8, ptr %2479, align 1, !tbaa !15
  %2481 = zext i8 %2480 to i32
  store i32 %2481, ptr %88, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %89) #8
  %2482 = load ptr, ptr %8, align 8, !tbaa !5
  %2483 = load i32, ptr %29, align 4, !tbaa !9
  %2484 = sext i32 %2483 to i64
  %2485 = getelementptr inbounds %struct.GuiDMProperty, ptr %2482, i64 %2484
  %2486 = getelementptr inbounds %struct.GuiDMProperty, ptr %2485, i32 0, i32 3
  %2487 = getelementptr inbounds %struct.Color, ptr %2486, i32 0, i32 2
  %2488 = load i8, ptr %2487, align 2, !tbaa !15
  %2489 = zext i8 %2488 to i32
  store i32 %2489, ptr %89, align 4, !tbaa !9
  %2490 = call ptr @GetClipboardText()
  %2491 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %2490, ptr noundef @.str.24, ptr noundef %87, ptr noundef %88, ptr noundef %89, ptr noundef %86) #8
  %2492 = load i32, ptr %87, align 4, !tbaa !9
  %2493 = trunc i32 %2492 to i8
  %2494 = load ptr, ptr %8, align 8, !tbaa !5
  %2495 = load i32, ptr %29, align 4, !tbaa !9
  %2496 = sext i32 %2495 to i64
  %2497 = getelementptr inbounds %struct.GuiDMProperty, ptr %2494, i64 %2496
  %2498 = getelementptr inbounds %struct.GuiDMProperty, ptr %2497, i32 0, i32 3
  %2499 = getelementptr inbounds %struct.Color, ptr %2498, i32 0, i32 0
  store i8 %2493, ptr %2499, align 8, !tbaa !15
  %2500 = load i32, ptr %88, align 4, !tbaa !9
  %2501 = trunc i32 %2500 to i8
  %2502 = load ptr, ptr %8, align 8, !tbaa !5
  %2503 = load i32, ptr %29, align 4, !tbaa !9
  %2504 = sext i32 %2503 to i64
  %2505 = getelementptr inbounds %struct.GuiDMProperty, ptr %2502, i64 %2504
  %2506 = getelementptr inbounds %struct.GuiDMProperty, ptr %2505, i32 0, i32 3
  %2507 = getelementptr inbounds %struct.Color, ptr %2506, i32 0, i32 1
  store i8 %2501, ptr %2507, align 1, !tbaa !15
  %2508 = load i32, ptr %89, align 4, !tbaa !9
  %2509 = trunc i32 %2508 to i8
  %2510 = load ptr, ptr %8, align 8, !tbaa !5
  %2511 = load i32, ptr %29, align 4, !tbaa !9
  %2512 = sext i32 %2511 to i64
  %2513 = getelementptr inbounds %struct.GuiDMProperty, ptr %2510, i64 %2512
  %2514 = getelementptr inbounds %struct.GuiDMProperty, ptr %2513, i32 0, i32 3
  %2515 = getelementptr inbounds %struct.Color, ptr %2514, i32 0, i32 2
  store i8 %2509, ptr %2515, align 2, !tbaa !15
  %2516 = load i32, ptr %86, align 4, !tbaa !9
  %2517 = trunc i32 %2516 to i8
  %2518 = load ptr, ptr %8, align 8, !tbaa !5
  %2519 = load i32, ptr %29, align 4, !tbaa !9
  %2520 = sext i32 %2519 to i64
  %2521 = getelementptr inbounds %struct.GuiDMProperty, ptr %2518, i64 %2520
  %2522 = getelementptr inbounds %struct.GuiDMProperty, ptr %2521, i32 0, i32 3
  %2523 = getelementptr inbounds %struct.Color, ptr %2522, i32 0, i32 3
  store i8 %2517, ptr %2523, align 1, !tbaa !15
  call void @llvm.lifetime.end.p0(i64 4, ptr %89) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %88) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %87) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %86) #8
  br label %2524

2524:                                             ; preds = %2457, %2455, %2453
  br label %2525

2525:                                             ; preds = %2524, %2451
  br label %2526

2526:                                             ; preds = %2525, %2444
  call void @llvm.lifetime.end.p0(i64 10, ptr %74) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %73) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %69) #8
  br label %2702

2527:                                             ; preds = %531
  call void @llvm.lifetime.start.p0(i64 16, ptr %90) #8
  %2528 = getelementptr inbounds %struct.Rectangle, ptr %90, i32 0, i32 0
  %2529 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2530 = load float, ptr %2529, align 4, !tbaa !25
  store float %2530, ptr %2528, align 4, !tbaa !25
  %2531 = getelementptr inbounds %struct.Rectangle, ptr %90, i32 0, i32 1
  %2532 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2533 = load float, ptr %2532, align 4, !tbaa !26
  store float %2533, ptr %2531, align 4, !tbaa !26
  %2534 = getelementptr inbounds %struct.Rectangle, ptr %90, i32 0, i32 2
  %2535 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2536 = load float, ptr %2535, align 4, !tbaa !27
  store float %2536, ptr %2534, align 4, !tbaa !27
  %2537 = getelementptr inbounds %struct.Rectangle, ptr %90, i32 0, i32 3
  %2538 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2539 = sitofp i32 %2538 to float
  store float %2539, ptr %2537, align 4, !tbaa !16
  %2540 = load i32, ptr %34, align 4, !tbaa !9
  %2541 = icmp eq i32 %2540, 2
  br i1 %2541, label %2542, label %2559

2542:                                             ; preds = %2527
  %2543 = load <2 x float>, ptr %22, align 4
  %2544 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 0
  %2545 = load <2 x float>, ptr %2544, align 4
  %2546 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 1
  %2547 = load <2 x float>, ptr %2546, align 4
  %2548 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %2543, <2 x float> %2545, <2 x float> %2547)
  br i1 %2548, label %2549, label %2559

2549:                                             ; preds = %2542
  %2550 = load ptr, ptr %8, align 8, !tbaa !5
  %2551 = load i32, ptr %29, align 4, !tbaa !9
  %2552 = sext i32 %2551 to i64
  %2553 = getelementptr inbounds %struct.GuiDMProperty, ptr %2550, i64 %2552
  %2554 = getelementptr inbounds %struct.GuiDMProperty, ptr %2553, i32 0, i32 2
  %2555 = load i16, ptr %2554, align 2, !tbaa !14
  %2556 = sext i16 %2555 to i32
  %2557 = xor i32 %2556, 1
  %2558 = trunc i32 %2557 to i16
  store i16 %2558, ptr %2554, align 2, !tbaa !14
  br label %2559

2559:                                             ; preds = %2549, %2542, %2527
  %2560 = load ptr, ptr %8, align 8, !tbaa !5
  %2561 = load i32, ptr %29, align 4, !tbaa !9
  %2562 = sext i32 %2561 to i64
  %2563 = getelementptr inbounds %struct.GuiDMProperty, ptr %2560, i64 %2562
  %2564 = getelementptr inbounds %struct.GuiDMProperty, ptr %2563, i32 0, i32 2
  %2565 = load i16, ptr %2564, align 2, !tbaa !14
  %2566 = sext i16 %2565 to i32
  %2567 = and i32 %2566, 1
  %2568 = icmp ne i32 %2567, 0
  br i1 %2568, label %2602, label %2569

2569:                                             ; preds = %2559
  %2570 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 0
  %2571 = load <2 x float>, ptr %2570, align 4
  %2572 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 1
  %2573 = load <2 x float>, ptr %2572, align 4
  %2574 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.12, <2 x float> %2571, <2 x float> %2573, i32 noundef 0, i32 %2574)
  %2575 = load ptr, ptr %8, align 8, !tbaa !5
  %2576 = load i32, ptr %29, align 4, !tbaa !9
  %2577 = sext i32 %2576 to i64
  %2578 = getelementptr inbounds %struct.GuiDMProperty, ptr %2575, i64 %2577
  %2579 = getelementptr inbounds %struct.GuiDMProperty, ptr %2578, i32 0, i32 0
  %2580 = load ptr, ptr %2579, align 8, !tbaa !30
  %2581 = getelementptr inbounds %struct.Rectangle, ptr %91, i32 0, i32 0
  %2582 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2583 = load float, ptr %2582, align 4, !tbaa !25
  %2584 = fadd float %2583, 1.600000e+01
  %2585 = fadd float %2584, 6.000000e+00
  store float %2585, ptr %2581, align 4, !tbaa !25
  %2586 = getelementptr inbounds %struct.Rectangle, ptr %91, i32 0, i32 1
  %2587 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2588 = load float, ptr %2587, align 4, !tbaa !26
  store float %2588, ptr %2586, align 4, !tbaa !26
  %2589 = getelementptr inbounds %struct.Rectangle, ptr %91, i32 0, i32 2
  %2590 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2591 = load float, ptr %2590, align 4, !tbaa !27
  %2592 = fsub float %2591, 1.600000e+01
  %2593 = fsub float %2592, 6.000000e+00
  store float %2593, ptr %2589, align 4, !tbaa !27
  %2594 = getelementptr inbounds %struct.Rectangle, ptr %91, i32 0, i32 3
  %2595 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2596 = sitofp i32 %2595 to float
  store float %2596, ptr %2594, align 4, !tbaa !16
  %2597 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %91, i32 0, i32 0
  %2598 = load <2 x float>, ptr %2597, align 4
  %2599 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %91, i32 0, i32 1
  %2600 = load <2 x float>, ptr %2599, align 4
  %2601 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %2580, <2 x float> %2598, <2 x float> %2600, i32 noundef 1, i32 %2601)
  br label %2642

2602:                                             ; preds = %2559
  %2603 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 0
  %2604 = load <2 x float>, ptr %2603, align 4
  %2605 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %90, i32 0, i32 1
  %2606 = load <2 x float>, ptr %2605, align 4
  %2607 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef @.str.11, <2 x float> %2604, <2 x float> %2606, i32 noundef 0, i32 %2607)
  %2608 = load ptr, ptr %8, align 8, !tbaa !5
  %2609 = load i32, ptr %29, align 4, !tbaa !9
  %2610 = sext i32 %2609 to i64
  %2611 = getelementptr inbounds %struct.GuiDMProperty, ptr %2608, i64 %2610
  %2612 = getelementptr inbounds %struct.GuiDMProperty, ptr %2611, i32 0, i32 0
  %2613 = load ptr, ptr %2612, align 8, !tbaa !30
  %2614 = load ptr, ptr %8, align 8, !tbaa !5
  %2615 = load i32, ptr %29, align 4, !tbaa !9
  %2616 = sext i32 %2615 to i64
  %2617 = getelementptr inbounds %struct.GuiDMProperty, ptr %2614, i64 %2616
  %2618 = getelementptr inbounds %struct.GuiDMProperty, ptr %2617, i32 0, i32 3
  %2619 = load i32, ptr %2618, align 8, !tbaa !15
  %2620 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.29, ptr noundef %2613, i32 noundef %2619)
  %2621 = getelementptr inbounds %struct.Rectangle, ptr %92, i32 0, i32 0
  %2622 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2623 = load float, ptr %2622, align 4, !tbaa !25
  %2624 = fadd float %2623, 1.600000e+01
  %2625 = fadd float %2624, 6.000000e+00
  store float %2625, ptr %2621, align 4, !tbaa !25
  %2626 = getelementptr inbounds %struct.Rectangle, ptr %92, i32 0, i32 1
  %2627 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2628 = load float, ptr %2627, align 4, !tbaa !26
  store float %2628, ptr %2626, align 4, !tbaa !26
  %2629 = getelementptr inbounds %struct.Rectangle, ptr %92, i32 0, i32 2
  %2630 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2631 = load float, ptr %2630, align 4, !tbaa !27
  %2632 = fsub float %2631, 1.600000e+01
  %2633 = fsub float %2632, 6.000000e+00
  store float %2633, ptr %2629, align 4, !tbaa !27
  %2634 = getelementptr inbounds %struct.Rectangle, ptr %92, i32 0, i32 3
  %2635 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2636 = sitofp i32 %2635 to float
  store float %2636, ptr %2634, align 4, !tbaa !16
  %2637 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %92, i32 0, i32 0
  %2638 = load <2 x float>, ptr %2637, align 4
  %2639 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %92, i32 0, i32 1
  %2640 = load <2 x float>, ptr %2639, align 4
  %2641 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %2620, <2 x float> %2638, <2 x float> %2640, i32 noundef 1, i32 %2641)
  br label %2642

2642:                                             ; preds = %2602, %2569
  call void @llvm.lifetime.end.p0(i64 16, ptr %90) #8
  br label %2702

2643:                                             ; preds = %531
  %2644 = load ptr, ptr %8, align 8, !tbaa !5
  %2645 = load i32, ptr %29, align 4, !tbaa !9
  %2646 = sext i32 %2645 to i64
  %2647 = getelementptr inbounds %struct.GuiDMProperty, ptr %2644, i64 %2646
  %2648 = getelementptr inbounds %struct.GuiDMProperty, ptr %2647, i32 0, i32 0
  %2649 = load ptr, ptr %2648, align 8, !tbaa !30
  %2650 = getelementptr inbounds %struct.Rectangle, ptr %93, i32 0, i32 0
  %2651 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2652 = load float, ptr %2651, align 4, !tbaa !25
  %2653 = fadd float %2652, 6.000000e+00
  store float %2653, ptr %2650, align 4, !tbaa !25
  %2654 = getelementptr inbounds %struct.Rectangle, ptr %93, i32 0, i32 1
  %2655 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2656 = load float, ptr %2655, align 4, !tbaa !26
  store float %2656, ptr %2654, align 4, !tbaa !26
  %2657 = getelementptr inbounds %struct.Rectangle, ptr %93, i32 0, i32 2
  %2658 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2659 = load float, ptr %2658, align 4, !tbaa !27
  %2660 = fdiv float %2659, 2.000000e+00
  %2661 = fsub float %2660, 6.000000e+00
  store float %2661, ptr %2657, align 4, !tbaa !27
  %2662 = getelementptr inbounds %struct.Rectangle, ptr %93, i32 0, i32 3
  %2663 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2664 = sitofp i32 %2663 to float
  store float %2664, ptr %2662, align 4, !tbaa !16
  %2665 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %93, i32 0, i32 0
  %2666 = load <2 x float>, ptr %2665, align 4
  %2667 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %93, i32 0, i32 1
  %2668 = load <2 x float>, ptr %2667, align 4
  %2669 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %2649, <2 x float> %2666, <2 x float> %2668, i32 noundef 0, i32 %2669)
  %2670 = load ptr, ptr %8, align 8, !tbaa !5
  %2671 = load i32, ptr %29, align 4, !tbaa !9
  %2672 = sext i32 %2671 to i64
  %2673 = getelementptr inbounds %struct.GuiDMProperty, ptr %2670, i64 %2672
  %2674 = getelementptr inbounds %struct.GuiDMProperty, ptr %2673, i32 0, i32 1
  %2675 = load i16, ptr %2674, align 8, !tbaa !11
  %2676 = sext i16 %2675 to i32
  %2677 = call ptr (ptr, ...) @TextFormat(ptr noundef @.str.30, i32 noundef %2676)
  %2678 = getelementptr inbounds %struct.Rectangle, ptr %94, i32 0, i32 0
  %2679 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 0
  %2680 = load float, ptr %2679, align 4, !tbaa !25
  %2681 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2682 = load float, ptr %2681, align 4, !tbaa !27
  %2683 = fdiv float %2682, 2.000000e+00
  %2684 = fadd float %2680, %2683
  store float %2684, ptr %2678, align 4, !tbaa !25
  %2685 = getelementptr inbounds %struct.Rectangle, ptr %94, i32 0, i32 1
  %2686 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 1
  %2687 = load float, ptr %2686, align 4, !tbaa !26
  %2688 = fadd float %2687, 1.000000e+00
  store float %2688, ptr %2685, align 4, !tbaa !26
  %2689 = getelementptr inbounds %struct.Rectangle, ptr %94, i32 0, i32 2
  %2690 = getelementptr inbounds %struct.Rectangle, ptr %31, i32 0, i32 2
  %2691 = load float, ptr %2690, align 4, !tbaa !27
  %2692 = fdiv float %2691, 2.000000e+00
  store float %2692, ptr %2689, align 4, !tbaa !27
  %2693 = getelementptr inbounds %struct.Rectangle, ptr %94, i32 0, i32 3
  %2694 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %2695 = sub nsw i32 %2694, 2
  %2696 = sitofp i32 %2695 to float
  store float %2696, ptr %2693, align 4, !tbaa !16
  %2697 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %94, i32 0, i32 0
  %2698 = load <2 x float>, ptr %2697, align 4
  %2699 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %94, i32 0, i32 1
  %2700 = load <2 x float>, ptr %2699, align 4
  %2701 = load i32, ptr %32, align 1
  call void @GuiDrawText(ptr noundef %2677, <2 x float> %2698, <2 x float> %2700, i32 noundef 0, i32 %2701)
  br label %2702

2702:                                             ; preds = %2643, %2642, %2526, %1875, %1510, %990, %989, %726, %634, %633
  %2703 = load i32, ptr %12, align 4, !tbaa !9
  call void @GuiSetState(i32 noundef %2703)
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %31) #8
  br label %2704

2704:                                             ; preds = %2702, %434, %422
  %2705 = load i32, ptr %30, align 4, !tbaa !9
  %2706 = add nsw i32 %2705, 1
  %2707 = load i32, ptr %28, align 4, !tbaa !9
  %2708 = add nsw i32 %2707, %2706
  store i32 %2708, ptr %28, align 4, !tbaa !9
  %2709 = load ptr, ptr %8, align 8, !tbaa !5
  %2710 = load i32, ptr %29, align 4, !tbaa !9
  %2711 = sext i32 %2710 to i64
  %2712 = getelementptr inbounds %struct.GuiDMProperty, ptr %2709, i64 %2711
  %2713 = getelementptr inbounds %struct.GuiDMProperty, ptr %2712, i32 0, i32 1
  %2714 = load i16, ptr %2713, align 8, !tbaa !11
  %2715 = sext i16 %2714 to i32
  %2716 = icmp eq i32 %2715, 10
  br i1 %2716, label %2717, label %2736

2717:                                             ; preds = %2704
  %2718 = load ptr, ptr %8, align 8, !tbaa !5
  %2719 = load i32, ptr %29, align 4, !tbaa !9
  %2720 = sext i32 %2719 to i64
  %2721 = getelementptr inbounds %struct.GuiDMProperty, ptr %2718, i64 %2720
  %2722 = getelementptr inbounds %struct.GuiDMProperty, ptr %2721, i32 0, i32 2
  %2723 = load i16, ptr %2722, align 2, !tbaa !14
  %2724 = sext i16 %2723 to i32
  %2725 = and i32 %2724, 1
  %2726 = icmp ne i32 %2725, 0
  br i1 %2726, label %2727, label %2736

2727:                                             ; preds = %2717
  %2728 = load ptr, ptr %8, align 8, !tbaa !5
  %2729 = load i32, ptr %29, align 4, !tbaa !9
  %2730 = sext i32 %2729 to i64
  %2731 = getelementptr inbounds %struct.GuiDMProperty, ptr %2728, i64 %2730
  %2732 = getelementptr inbounds %struct.GuiDMProperty, ptr %2731, i32 0, i32 3
  %2733 = load i32, ptr %2732, align 8, !tbaa !15
  %2734 = load i32, ptr %29, align 4, !tbaa !9
  %2735 = add nsw i32 %2734, %2733
  store i32 %2735, ptr %29, align 4, !tbaa !9
  br label %2736

2736:                                             ; preds = %2727, %2717, %2704
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #8
  br label %2737

2737:                                             ; preds = %2736
  %2738 = load i32, ptr %29, align 4, !tbaa !9
  %2739 = add nsw i32 %2738, 1
  store i32 %2739, ptr %29, align 4, !tbaa !9
  br label %385, !llvm.loop !34

2740:                                             ; preds = %389
  call void @EndScissorMode()
  %2741 = load i8, ptr %19, align 1, !tbaa !21, !range !23, !noundef !24
  %2742 = trunc i8 %2741 to i1
  br i1 %2742, label %2743, label %2755

2743:                                             ; preds = %2740
  %2744 = load i32, ptr %14, align 4, !tbaa !9
  %2745 = sub nsw i32 0, %2744
  %2746 = load i32, ptr %21, align 4, !tbaa !9
  %2747 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 0
  %2748 = load <2 x float>, ptr %2747, align 4
  %2749 = getelementptr inbounds { <2 x float>, <2 x float> }, ptr %20, i32 0, i32 1
  %2750 = load <2 x float>, ptr %2749, align 4
  %2751 = call i32 @GuiScrollBar(<2 x float> %2748, <2 x float> %2750, i32 noundef %2745, i32 noundef 0, i32 noundef %2746)
  %2752 = sub nsw i32 0, %2751
  store i32 %2752, ptr %14, align 4, !tbaa !9
  %2753 = load i32, ptr %14, align 4, !tbaa !9
  %2754 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 %2753, ptr %2754, align 4, !tbaa !9
  br label %2755

2755:                                             ; preds = %2743, %2740
  %2756 = load ptr, ptr %10, align 8, !tbaa !5
  %2757 = icmp ne ptr %2756, null
  br i1 %2757, label %2758, label %2761

2758:                                             ; preds = %2755
  %2759 = load i32, ptr %13, align 4, !tbaa !9
  %2760 = load ptr, ptr %10, align 8, !tbaa !5
  store i32 %2759, ptr %2760, align 4, !tbaa !9
  br label %2761

2761:                                             ; preds = %2758, %2755
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 16, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 44, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #8
  ret void
}

declare void @DrawRectangleRec(<2 x float>, <2 x float>, i32) #3

declare void @BeginScissorMode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) #3

declare void @DrawLineEx(<2 x float>, <2 x float>, float noundef, i32) #3

declare i32 @ColorToInt(i32) #3

declare void @EndScissorMode() #3

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nounwind willreturn memory(read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nounwind }
attributes #9 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !13, i64 8}
!12 = !{!"", !6, i64 0, !13, i64 8, !13, i64 10, !7, i64 16}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !13, i64 10}
!15 = !{!7, !7, i64 0}
!16 = !{!17, !18, i64 12}
!17 = !{!"Rectangle", !18, i64 0, !18, i64 4, !18, i64 8, !18, i64 12}
!18 = !{!"float", !7, i64 0}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!22, !22, i64 0}
!22 = !{!"_Bool", !7, i64 0}
!23 = !{i8 0, i8 2}
!24 = !{}
!25 = !{!17, !18, i64 0}
!26 = !{!17, !18, i64 4}
!27 = !{!17, !18, i64 8}
!28 = !{!18, !18, i64 0}
!29 = !{i64 0, i64 1, !15, i64 1, i64 1, !15, i64 2, i64 1, !15, i64 3, i64 1, !15}
!30 = !{!12, !6, i64 0}
!31 = !{!32, !18, i64 0}
!32 = !{!"Vector2", !18, i64 0, !18, i64 4}
!33 = !{!32, !18, i64 4}
!34 = distinct !{!34, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.GuiDMProperty = type { ptr, i16, i16, %union.anon }
%union.anon = type { %struct.anon.1, [8 x i8] }
%struct.anon.1 = type { ptr, i32 }

@guiLocked = external hidden local_unnamed_addr global i8, align 1
@guiAlpha = external hidden local_unnamed_addr global float, align 4
@.str = external hidden unnamed_addr constant [6 x i8], align 1
@__const.GuiDMPropertyList.propSlots = external hidden unnamed_addr constant [11 x i32], align 16
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.14 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.15 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.16 = external hidden unnamed_addr constant [25 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.20 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.21 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.22 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.23 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.24 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.25 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.26 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.27 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.29 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.30 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: nounwind uwtable
declare dso_local void @GuiLock() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @GuiUnlock() local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local void @GuiSetState(i32 noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiGetState() local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: nounwind uwtable
declare dso_local void @GuiSetStyle(i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #2

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiGetStyle(i32 noundef, i32 noundef) local_unnamed_addr #0

declare i32 @Fade(i32, float noundef) local_unnamed_addr #3

declare i32 @GetColor(i32 noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

; Function Attrs: nounwind uwtable
declare hidden i32 @GetTextWidth(ptr noundef) local_unnamed_addr #5

declare <2 x float> @GetMousePosition() local_unnamed_addr #3

declare zeroext i1 @CheckCollisionPointRec(<2 x float>, <2 x float>, <2 x float>) local_unnamed_addr #3

declare zeroext i1 @IsKeyDown(i32 noundef) local_unnamed_addr #3

declare float @GetMouseWheelMove() local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiScrollBar(<2 x float>, <2 x float>, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare hidden void @GuiDrawText(ptr noundef, <2 x float>, <2 x float>, i32 noundef, i32) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiCheckBox(<2 x float>, <2 x float>, ptr noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
declare dso_local i32 @GuiComboBox(<2 x float>, <2 x float>, ptr noundef, i32 noundef) local_unnamed_addr #5

declare zeroext i1 @IsMouseButtonPressed(i32 noundef) local_unnamed_addr #3

declare ptr @TextFormat(ptr noundef, ...) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local zeroext i1 @GuiTextBox(<2 x float>, <2 x float>, ptr noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #6

declare zeroext i1 @IsKeyPressed(i32 noundef) local_unnamed_addr #3

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_sscanf(ptr nocapture noundef readonly, ptr nocapture noundef readonly, ...) local_unnamed_addr #7

; Function Attrs: nounwind uwtable
declare dso_local double @GuiDMValueBox(<2 x float>, <2 x float>, double noundef, double noundef, double noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #5

declare void @SetClipboardText(ptr noundef) local_unnamed_addr #3

declare ptr @GetClipboardText() local_unnamed_addr #3

declare void @DrawRectangleLinesEx(<2 x float>, <2 x float>, i32 noundef, i32) local_unnamed_addr #3

; Function Attrs: nounwind uwtable
declare dso_local double @GuiDMSpinner(<2 x float>, <2 x float>, double noundef, double noundef, double noundef, double noundef, i32 noundef, i1 noundef zeroext) local_unnamed_addr #5

; Function Attrs: nounwind uwtable
define dso_local void @GuiDMPropertyList(<2 x float> %0, <2 x float> %1, ptr noundef %2, i32 noundef %3, ptr noundef %4, ptr nocapture noundef %5) local_unnamed_addr #5 {
  %7 = extractelement <2 x float> %0, i64 1
  %8 = extractelement <2 x float> %0, i64 0
  %9 = alloca [10 x i8], align 1
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = tail call i32 @GuiGetState()
  %15 = icmp eq ptr %4, null
  br i1 %15, label %18, label %16

16:                                               ; preds = %6
  %17 = load i32, ptr %4, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %6, %16
  %19 = phi i32 [ %17, %16 ], [ -1, %6 ]
  %20 = load i32, ptr %5, align 4, !tbaa !5
  %spec.select = tail call i32 @llvm.smin.i32(i32 %20, i32 0)
  %21 = icmp sgt i32 %3, 0
  br i1 %21, label %.lr.ph, label %._crit_edge

._crit_edge:                                      ; preds = %85, %18
  %.sroa.17.0.lcssa = phi float [ 0.000000e+00, %18 ], [ %88, %85 ]
  %.sroa.121011.12.vec.extract = extractelement <2 x float> %1, i64 1
  %22 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %23 = shl nsw i32 %22, 1
  %24 = sitofp i32 %23 to float
  %25 = fsub float %.sroa.121011.12.vec.extract, %24
  %26 = fcmp ule float %.sroa.17.0.lcssa, %25
  %spec.store.select = select i1 %26, i32 0, i32 %spec.select
  %27 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 12)
  %28 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 12)
  %29 = insertelement <2 x i32> poison, i32 %27, i64 0
  %30 = insertelement <2 x i32> %29, i32 %28, i64 1
  %31 = sitofp <2 x i32> %30 to <2 x float>
  %32 = fadd <2 x float> %31, %0
  %33 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %34 = sitofp i32 %33 to float
  %.sroa.6824.8.vec.insert = insertelement <2 x float> poison, float %34, i64 0
  %35 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %36 = shl nsw i32 %35, 1
  %37 = sitofp i32 %36 to float
  %38 = fsub float %.sroa.121011.12.vec.extract, %37
  %.sroa.6824.12.vec.insert = insertelement <2 x float> %.sroa.6824.8.vec.insert, float %38, i64 1
  %39 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %40 = sitofp i32 %39 to float
  %41 = fadd float %8, %40
  %42 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %43 = sitofp i32 %42 to float
  %44 = fadd float %41, %43
  %45 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %46 = sitofp i32 %45 to float
  %47 = fadd float %7, %46
  %48 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %49 = sitofp i32 %48 to float
  %50 = fadd float %47, %49
  %51 = sitofp i32 %spec.store.select to float
  %52 = fadd float %50, %51
  %.sroa.121011.8.vec.extract = extractelement <2 x float> %1, i64 0
  %53 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %54 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %55 = add nsw i32 %54, %53
  %56 = shl nsw i32 %55, 1
  %57 = sitofp i32 %56 to float
  %58 = fsub float %.sroa.121011.8.vec.extract, %57
  br i1 %26, label %111, label %91

.lr.ph:                                           ; preds = %18, %85
  %.sroa.17.01076 = phi float [ %88, %85 ], [ 0.000000e+00, %18 ]
  %.010271075 = phi i32 [ %89, %85 ], [ 0, %18 ]
  %59 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %60 = sext i32 %.010271075 to i64
  %61 = getelementptr inbounds %struct.GuiDMProperty, ptr %2, i64 %60
  %62 = getelementptr inbounds i8, ptr %61, i64 8
  %63 = load i16, ptr %62, align 8, !tbaa !9
  %64 = sext i16 %63 to i64
  %65 = icmp ult i16 %63, 11
  br i1 %65, label %66, label %85

66:                                               ; preds = %.lr.ph
  %67 = getelementptr inbounds i8, ptr %61, i64 10
  %68 = load i16, ptr %67, align 2, !tbaa !13
  %69 = and i16 %68, 1
  %.not1059 = icmp eq i16 %69, 0
  br i1 %.not1059, label %70, label %75

70:                                               ; preds = %66
  %71 = getelementptr inbounds [11 x i32], ptr @__const.GuiDMPropertyList.propSlots, i64 0, i64 %64
  %72 = load i32, ptr %71, align 4, !tbaa !5
  %73 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %74 = mul nsw i32 %73, %72
  %.pre = load i16, ptr %62, align 8, !tbaa !9
  br label %75

75:                                               ; preds = %70, %66
  %76 = phi i16 [ %63, %66 ], [ %.pre, %70 ]
  %.01030 = phi i32 [ %59, %66 ], [ %74, %70 ]
  %77 = icmp eq i16 %76, 10
  br i1 %77, label %78, label %85

78:                                               ; preds = %75
  %79 = load i16, ptr %67, align 2, !tbaa !13
  %80 = and i16 %79, 1
  %.not1060 = icmp eq i16 %80, 0
  br i1 %.not1060, label %85, label %81

81:                                               ; preds = %78
  %82 = getelementptr inbounds i8, ptr %61, i64 16
  %83 = load i32, ptr %82, align 8, !tbaa !14
  %84 = add nsw i32 %83, %.010271075
  br label %85

85:                                               ; preds = %75, %78, %81, %.lr.ph
  %.11031 = phi i32 [ %.01030, %81 ], [ %.01030, %78 ], [ %.01030, %75 ], [ %59, %.lr.ph ]
  %.11028 = phi i32 [ %84, %81 ], [ %.010271075, %78 ], [ %.010271075, %75 ], [ %.010271075, %.lr.ph ]
  %86 = add nsw i32 %.11031, 1
  %87 = sitofp i32 %86 to float
  %88 = fadd float %.sroa.17.01076, %87
  %89 = add nsw i32 %.11028, 1
  %90 = icmp slt i32 %89, %3
  br i1 %90, label %.lr.ph, label %._crit_edge, !llvm.loop !15

91:                                               ; preds = %._crit_edge
  %92 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 19)
  %93 = icmp eq i32 %92, 0
  br i1 %93, label %94, label %98

94:                                               ; preds = %91
  %95 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %96 = sitofp i32 %95 to float
  %97 = fadd float %44, %96
  br label %107

98:                                               ; preds = %91
  %99 = fadd <2 x float> %0, %1
  %100 = extractelement <2 x float> %99, i64 0
  %101 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 12)
  %102 = sitofp i32 %101 to float
  %103 = fsub float %100, %102
  %104 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %105 = sitofp i32 %104 to float
  %106 = fsub float %103, %105
  %.sroa.0820.0.vec.insert823 = insertelement <2 x float> %32, float %106, i64 0
  br label %107

107:                                              ; preds = %98, %94
  %.sroa.0820.0 = phi <2 x float> [ %32, %94 ], [ %.sroa.0820.0.vec.insert823, %98 ]
  %.sroa.0840.0 = phi float [ %97, %94 ], [ %44, %98 ]
  %108 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 18)
  %109 = sitofp i32 %108 to float
  %110 = fsub float %58, %109
  br label %111

111:                                              ; preds = %107, %._crit_edge
  %.sroa.0820.1 = phi <2 x float> [ %.sroa.0820.0, %107 ], [ %32, %._crit_edge ]
  %.sroa.12845.0 = phi float [ %110, %107 ], [ %58, %._crit_edge ]
  %.sroa.0840.1 = phi float [ %.sroa.0840.0, %107 ], [ %44, %._crit_edge ]
  %112 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 17)
  %113 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %114 = add nsw i32 %113, %112
  %115 = shl nsw i32 %114, 1
  %116 = sitofp i32 %115 to float
  %117 = fadd float %.sroa.17.0.lcssa, %116
  %118 = fsub float %117, %.sroa.121011.12.vec.extract
  %119 = fptosi float %118 to i32
  %120 = tail call <2 x float> @GetMousePosition() #9
  %.not = icmp eq i32 %14, 3
  br i1 %.not, label %134, label %121

121:                                              ; preds = %111
  %122 = load i8, ptr @guiLocked, align 1, !tbaa !17, !range !19, !noundef !20
  %123 = trunc nuw i8 %122 to i1
  br i1 %123, label %134, label %124

124:                                              ; preds = %121
  %125 = tail call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %0, <2 x float> %1) #9
  %spec.select1061 = select i1 %125, i32 %19, i32 -1
  br i1 %26, label %134, label %126

126:                                              ; preds = %124
  %127 = tail call float @GetMouseWheelMove() #9
  %128 = fptosi float %127 to i32
  %129 = mul nsw i32 %128, %3
  %130 = add nsw i32 %129, %spec.select
  %131 = sub nsw i32 0, %130
  %132 = icmp sgt i32 %131, %119
  %133 = sub nsw i32 0, %119
  %spec.select1062 = select i1 %132, i32 %133, i32 %130
  br label %134

134:                                              ; preds = %124, %126, %121, %111
  %.11026 = phi i32 [ %spec.store.select, %121 ], [ %spec.select1062, %126 ], [ 0, %124 ], [ %spec.store.select, %111 ]
  %.1 = phi i32 [ %19, %121 ], [ %spec.select1061, %126 ], [ %spec.select1061, %124 ], [ %19, %111 ]
  %135 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 19)
  %136 = tail call i32 @GetColor(i32 noundef %135) #9
  %137 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %138 = tail call i32 @Fade(i32 %136, float noundef %137) #9
  tail call void @DrawRectangleRec(<2 x float> %0, <2 x float> %1, i32 %138) #9
  %139 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %140 = mul i32 %14, 3
  %141 = tail call i32 @GuiGetStyle(i32 noundef 12, i32 noundef %140)
  %142 = tail call i32 @GetColor(i32 noundef %141) #9
  %143 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %144 = tail call i32 @Fade(i32 %142, float noundef %143) #9
  tail call void @DrawRectangleLinesEx(<2 x float> %0, <2 x float> %1, i32 noundef %139, i32 %144) #9
  %145 = fptosi float %.sroa.0840.1 to i32
  %146 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %147 = sitofp i32 %146 to float
  %148 = fadd float %7, %147
  %149 = fptosi float %148 to i32
  %150 = fptosi float %.sroa.12845.0 to i32
  %151 = tail call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 12)
  %152 = shl nsw i32 %151, 1
  %153 = sitofp i32 %152 to float
  %154 = fsub float %.sroa.121011.12.vec.extract, %153
  %155 = fptosi float %154 to i32
  tail call void @BeginScissorMode(i32 noundef %145, i32 noundef %149, i32 noundef %150, i32 noundef %155) #9
  br i1 %21, label %.lr.ph1156, label %._crit_edge1157

.lr.ph1156:                                       ; preds = %134
  %156 = fadd float %7, %.sroa.121011.12.vec.extract
  %.sroa.0437.0.vec.insert = insertelement <2 x float> poison, float %.sroa.0840.1, i64 0
  %.sroa.71.8.vec.insert = insertelement <2 x float> poison, float %.sroa.12845.0, i64 0
  %157 = fadd float %.sroa.0840.1, 1.600000e+01
  %158 = fadd float %157, 6.000000e+00
  %.sroa.08.0.vec.insert = insertelement <2 x float> poison, float %158, i64 0
  %159 = fadd float %.sroa.0840.1, 6.000000e+00
  %.sroa.073.0.vec.insert = insertelement <2 x float> poison, float %159, i64 0
  %160 = insertelement <2 x float> <float poison, float 1.000000e+00>, float %.sroa.0840.1, i64 0
  %161 = insertelement <2 x float> poison, float %.sroa.0840.1, i64 0
  %162 = insertelement <2 x float> poison, float %159, i64 0
  br label %163

._crit_edge1157:                                  ; preds = %832, %134
  %.2.lcssa = phi i32 [ %.1, %134 ], [ %.4, %832 ]
  call void @EndScissorMode() #9
  br i1 %26, label %839, label %835

163:                                              ; preds = %.lr.ph1156, %832
  %.21144 = phi i32 [ %.1, %.lr.ph1156 ], [ %.4, %832 ]
  %.010321079 = phi i32 [ 0, %.lr.ph1156 ], [ %821, %832 ]
  %.010331077 = phi i32 [ 0, %.lr.ph1156 ], [ %833, %832 ]
  %164 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %165 = sext i32 %.010331077 to i64
  %166 = getelementptr inbounds %struct.GuiDMProperty, ptr %2, i64 %165
  %167 = getelementptr inbounds i8, ptr %166, i64 8
  %168 = load i16, ptr %167, align 8, !tbaa !9
  %169 = sext i16 %168 to i64
  %170 = icmp ult i16 %168, 11
  br i1 %170, label %171, label %180

171:                                              ; preds = %163
  %172 = getelementptr inbounds i8, ptr %166, i64 10
  %173 = load i16, ptr %172, align 2, !tbaa !13
  %174 = and i16 %173, 1
  %.not1047 = icmp eq i16 %174, 0
  br i1 %.not1047, label %175, label %180

175:                                              ; preds = %171
  %176 = getelementptr inbounds [11 x i32], ptr @__const.GuiDMPropertyList.propSlots, i64 0, i64 %169
  %177 = load i32, ptr %176, align 4, !tbaa !5
  %178 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %179 = mul nsw i32 %178, %177
  br label %180

180:                                              ; preds = %175, %171, %163
  %.01035 = phi i32 [ %164, %171 ], [ %179, %175 ], [ %164, %163 ]
  %181 = sitofp i32 %.010321079 to float
  %182 = fadd float %52, %181
  %183 = sitofp i32 %.01035 to float
  %184 = fadd float %182, %183
  %185 = fcmp ult float %184, %7
  %186 = fcmp ugt float %182, %156
  %or.cond = select i1 %185, i1 true, i1 %186
  br i1 %or.cond, label %819, label %187

187:                                              ; preds = %180
  %.sroa.0437.4.vec.insert = insertelement <2 x float> %.sroa.0437.0.vec.insert, float %182, i64 1
  %.sroa.71.12.vec.insert = insertelement <2 x float> %.sroa.71.8.vec.insert, float %183, i64 1
  %188 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 2)
  %189 = call i32 @GetColor(i32 noundef %188) #9
  %190 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %191 = call i32 @Fade(i32 %189, float noundef %190) #9
  %192 = getelementptr inbounds i8, ptr %166, i64 10
  %193 = load i16, ptr %192, align 2, !tbaa !13
  %194 = and i16 %193, 2
  %.not1048.not = icmp eq i16 %194, 0
  br i1 %.not1048.not, label %195, label %212

195:                                              ; preds = %187
  %196 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.71.12.vec.insert) #9
  br i1 %196, label %197, label %.thread

197:                                              ; preds = %195
  %198 = load i8, ptr @guiLocked, align 1, !tbaa !17, !range !19, !noundef !20
  %199 = trunc nuw i8 %198 to i1
  br i1 %199, label %.thread, label %200

200:                                              ; preds = %197
  %201 = call zeroext i1 @IsMouseButtonPressed(i32 noundef 0) #9
  br i1 %201, label %202, label %207

202:                                              ; preds = %200
  %203 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 8)
  %204 = call i32 @GetColor(i32 noundef %203) #9
  %205 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %206 = call i32 @Fade(i32 %204, float noundef %205) #9
  br label %.thread

207:                                              ; preds = %200
  %208 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 5)
  %209 = call i32 @GetColor(i32 noundef %208) #9
  %210 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %211 = call i32 @Fade(i32 %209, float noundef %210) #9
  br label %.thread

212:                                              ; preds = %187
  %213 = fadd float %183, 1.000000e+00
  %.sroa.71.12.vec.insert655 = insertelement <2 x float> %.sroa.71.12.vec.insert, float %213, i64 1
  %214 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 10)
  %215 = call i32 @GetColor(i32 noundef %214) #9
  %216 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %217 = call i32 @Fade(i32 %215, float noundef %216) #9
  call void @DrawRectangleRec(<2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.71.12.vec.insert655, i32 %217) #9
  %218 = fadd float %213, -1.000000e+00
  %.sroa.71.12.vec.insert659 = insertelement <2 x float> %.sroa.71.12.vec.insert655, float %218, i64 1
  %219 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 11)
  %220 = call i32 @GetColor(i32 noundef %219) #9
  %221 = load float, ptr @guiAlpha, align 4, !tbaa !21
  %222 = call i32 @Fade(i32 %220, float noundef %221) #9
  call void @GuiSetState(i32 noundef 3)
  br label %.thread

.thread:                                          ; preds = %202, %207, %197, %195, %212
  %.31070 = phi i32 [ %.21144, %212 ], [ %.21144, %195 ], [ %.21144, %197 ], [ %.010331077, %207 ], [ %.21144, %202 ]
  %.sroa.71.11069 = phi <2 x float> [ %.sroa.71.12.vec.insert659, %212 ], [ %.sroa.71.12.vec.insert, %195 ], [ %.sroa.71.12.vec.insert, %197 ], [ %.sroa.71.12.vec.insert, %207 ], [ %.sroa.71.12.vec.insert, %202 ]
  %.sroa.0403.01068 = phi i32 [ %222, %212 ], [ %191, %195 ], [ %191, %197 ], [ %211, %207 ], [ %206, %202 ]
  %223 = phi i1 [ false, %212 ], [ false, %195 ], [ false, %197 ], [ true, %207 ], [ false, %202 ]
  %224 = phi i1 [ false, %212 ], [ false, %195 ], [ false, %197 ], [ false, %207 ], [ true, %202 ]
  %225 = load i16, ptr %167, align 8, !tbaa !9
  switch i16 %225, label %804 [
    i16 0, label %226
    i16 1, label %253
    i16 2, label %279
    i16 3, label %307
    i16 4, label %349
    i16 5, label %366
    i16 6, label %366
    i16 7, label %366
    i16 8, label %483
    i16 9, label %580
    i16 10, label %779
  ]

226:                                              ; preds = %.thread
  %227 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0366.4.vec.insert = insertelement <2 x float> %.sroa.073.0.vec.insert, float %182, i64 1
  %.sroa.71.8.vec.extract = extractelement <2 x float> %.sroa.71.11069, i64 0
  %228 = fmul float %.sroa.71.8.vec.extract, 5.000000e-01
  %229 = fadd float %228, -6.000000e+00
  %.sroa.3368.8.vec.insert = insertelement <2 x float> poison, float %229, i64 0
  %230 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %231 = sitofp i32 %230 to float
  %.sroa.3368.12.vec.insert = insertelement <2 x float> %.sroa.3368.8.vec.insert, float %231, i64 1
  call void @GuiDrawText(ptr noundef %227, <2 x float> %.sroa.0366.4.vec.insert, <2 x float> %.sroa.3368.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  br i1 %224, label %232, label %236

232:                                              ; preds = %226
  %233 = getelementptr inbounds i8, ptr %166, i64 16
  %234 = load i8, ptr %233, align 8, !tbaa !14, !range !19, !noundef !20
  %235 = xor i8 %234, 1
  store i8 %235, ptr %233, align 8, !tbaa !14
  br label %236

236:                                              ; preds = %232, %226
  %237 = load i8, ptr @guiLocked, align 1, !tbaa !17, !range !19, !noundef !20
  %238 = trunc nuw i8 %237 to i1
  call void @GuiLock()
  %239 = sdiv i32 %.01035, 4
  %240 = sitofp i32 %239 to float
  %241 = insertelement <2 x float> %161, float %182, i64 1
  %242 = insertelement <2 x float> poison, float %228, i64 0
  %243 = insertelement <2 x float> %242, float %240, i64 1
  %244 = fadd <2 x float> %241, %243
  %245 = sdiv i32 %.01035, 2
  %246 = sitofp i32 %245 to float
  %.sroa.3363.8.vec.insert = insertelement <2 x float> poison, float %246, i64 0
  %.sroa.3363.12.vec.insert = shufflevector <2 x float> %.sroa.3363.8.vec.insert, <2 x float> poison, <2 x i32> zeroinitializer
  %247 = getelementptr inbounds i8, ptr %166, i64 16
  %248 = load i8, ptr %247, align 8, !tbaa !14, !range !19, !noundef !20
  %249 = trunc nuw i8 %248 to i1
  %250 = select i1 %249, ptr @.str.9, ptr @.str.10
  %251 = call zeroext i1 @GuiCheckBox(<2 x float> %244, <2 x float> %.sroa.3363.12.vec.insert, ptr noundef nonnull %250, i1 noundef zeroext %249)
  br i1 %238, label %.thread1071, label %252

252:                                              ; preds = %236
  call void @GuiUnlock()
  br label %.thread1071

253:                                              ; preds = %.thread
  %254 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0357.4.vec.insert = insertelement <2 x float> %.sroa.073.0.vec.insert, float %182, i64 1
  %.sroa.71.8.vec.extract574 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %255 = fmul float %.sroa.71.8.vec.extract574, 5.000000e-01
  %256 = fadd float %255, -6.000000e+00
  %.sroa.3359.8.vec.insert = insertelement <2 x float> poison, float %256, i64 0
  %257 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %258 = sitofp i32 %257 to float
  %.sroa.3359.12.vec.insert = insertelement <2 x float> %.sroa.3359.8.vec.insert, float %258, i64 1
  call void @GuiDrawText(ptr noundef %254, <2 x float> %.sroa.0357.4.vec.insert, <2 x float> %.sroa.3359.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %259 = insertelement <2 x float> poison, float %255, i64 0
  %260 = insertelement <2 x float> %259, float %182, i64 1
  %261 = fadd <2 x float> %160, %260
  %.sroa.3355.8.vec.insert = insertelement <2 x float> poison, float %255, i64 0
  %262 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %263 = add nsw i32 %262, -2
  %264 = sitofp i32 %263 to float
  %.sroa.3355.12.vec.insert = insertelement <2 x float> %.sroa.3355.8.vec.insert, float %264, i64 1
  %265 = getelementptr inbounds i8, ptr %166, i64 16
  %266 = load i32, ptr %265, align 8, !tbaa !14
  %267 = sitofp i32 %266 to double
  %268 = getelementptr inbounds i8, ptr %166, i64 20
  %269 = load i32, ptr %268, align 4, !tbaa !14
  %270 = sitofp i32 %269 to double
  %271 = getelementptr inbounds i8, ptr %166, i64 24
  %272 = load i32, ptr %271, align 8, !tbaa !14
  %273 = sitofp i32 %272 to double
  %274 = getelementptr inbounds i8, ptr %166, i64 28
  %275 = load i32, ptr %274, align 4, !tbaa !14
  %276 = sitofp i32 %275 to double
  %277 = call double @GuiDMSpinner(<2 x float> %261, <2 x float> %.sroa.3355.12.vec.insert, double noundef %267, double noundef %270, double noundef %273, double noundef %276, i32 noundef 0, i1 noundef zeroext %223)
  %278 = fptosi double %277 to i32
  store i32 %278, ptr %265, align 8, !tbaa !14
  br label %.thread1071

279:                                              ; preds = %.thread
  %280 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0349.4.vec.insert = insertelement <2 x float> %.sroa.073.0.vec.insert, float %182, i64 1
  %.sroa.71.8.vec.extract580 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %281 = fmul float %.sroa.71.8.vec.extract580, 5.000000e-01
  %282 = fadd float %281, -6.000000e+00
  %.sroa.3351.8.vec.insert = insertelement <2 x float> poison, float %282, i64 0
  %283 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %284 = sitofp i32 %283 to float
  %.sroa.3351.12.vec.insert = insertelement <2 x float> %.sroa.3351.8.vec.insert, float %284, i64 1
  call void @GuiDrawText(ptr noundef %280, <2 x float> %.sroa.0349.4.vec.insert, <2 x float> %.sroa.3351.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %285 = insertelement <2 x float> poison, float %281, i64 0
  %286 = insertelement <2 x float> %285, float %182, i64 1
  %287 = fadd <2 x float> %160, %286
  %.sroa.3347.8.vec.insert = insertelement <2 x float> poison, float %281, i64 0
  %288 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %289 = add nsw i32 %288, -2
  %290 = sitofp i32 %289 to float
  %.sroa.3347.12.vec.insert = insertelement <2 x float> %.sroa.3347.8.vec.insert, float %290, i64 1
  %291 = getelementptr inbounds i8, ptr %166, i64 16
  %292 = load float, ptr %291, align 8, !tbaa !14
  %293 = fpext float %292 to double
  %294 = getelementptr inbounds i8, ptr %166, i64 20
  %295 = load float, ptr %294, align 4, !tbaa !14
  %296 = fpext float %295 to double
  %297 = getelementptr inbounds i8, ptr %166, i64 24
  %298 = load float, ptr %297, align 8, !tbaa !14
  %299 = fpext float %298 to double
  %300 = getelementptr inbounds i8, ptr %166, i64 28
  %301 = load float, ptr %300, align 4, !tbaa !14
  %302 = fpext float %301 to double
  %303 = getelementptr inbounds i8, ptr %166, i64 32
  %304 = load i32, ptr %303, align 8, !tbaa !14
  %305 = call double @GuiDMSpinner(<2 x float> %287, <2 x float> %.sroa.3347.12.vec.insert, double noundef %293, double noundef %296, double noundef %299, double noundef %302, i32 noundef %304, i1 noundef zeroext %223)
  %306 = fptrunc double %305 to float
  store float %306, ptr %291, align 8, !tbaa !14
  br label %.thread1071

307:                                              ; preds = %.thread
  %.sroa.71.8.vec.extract586 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %308 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %309 = sitofp i32 %308 to float
  %.sroa.6342.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %309, i64 1
  br i1 %224, label %310, label %._crit_edge1168

._crit_edge1168:                                  ; preds = %307
  %.pre1169 = load i16, ptr %192, align 2, !tbaa !13
  br label %314

310:                                              ; preds = %307
  %311 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6342.12.vec.insert) #9
  %.pre1170 = load i16, ptr %192, align 2, !tbaa !13
  br i1 %311, label %312, label %314

312:                                              ; preds = %310
  %313 = xor i16 %.pre1170, 1
  store i16 %313, ptr %192, align 2, !tbaa !13
  br label %314

314:                                              ; preds = %._crit_edge1168, %312, %310
  %315 = phi i16 [ %.pre1169, %._crit_edge1168 ], [ %313, %312 ], [ %.pre1170, %310 ]
  %316 = and i16 %315, 1
  %.not1056 = icmp eq i16 %316, 0
  %317 = select i1 %.not1056, ptr @.str.12, ptr @.str.11
  call void @GuiDrawText(ptr noundef nonnull %317, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6342.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %318 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0335.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %182, i64 1
  %319 = fadd float %.sroa.71.8.vec.extract586, -1.600000e+01
  %320 = fadd float %319, -6.000000e+00
  %.sroa.3337.8.vec.insert = insertelement <2 x float> poison, float %320, i64 0
  %321 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %322 = sitofp i32 %321 to float
  %.sroa.3337.12.vec.insert = insertelement <2 x float> %.sroa.3337.8.vec.insert, float %322, i64 1
  call void @GuiDrawText(ptr noundef %318, <2 x float> %.sroa.0335.4.vec.insert, <2 x float> %.sroa.3337.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %323 = getelementptr inbounds i8, ptr %166, i64 16
  %324 = load ptr, ptr %323, align 8, !tbaa !14
  %325 = call i64 @strlen(ptr noundef nonnull dereferenceable(1) %324) #10
  %326 = getelementptr inbounds i8, ptr %166, i64 24
  %327 = load i32, ptr %326, align 8, !tbaa !14
  %328 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str, i64 noundef %325, i32 noundef %327) #9
  %329 = fmul float %.sroa.71.8.vec.extract586, 5.000000e-01
  %330 = insertelement <2 x float> poison, float %329, i64 0
  %331 = insertelement <2 x float> %330, float %182, i64 1
  %332 = fadd <2 x float> %160, %331
  %.sroa.3333.8.vec.insert = insertelement <2 x float> poison, float %329, i64 0
  %333 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %334 = add nsw i32 %333, -2
  %335 = sitofp i32 %334 to float
  %.sroa.3333.12.vec.insert = insertelement <2 x float> %.sroa.3333.8.vec.insert, float %335, i64 1
  call void @GuiDrawText(ptr noundef %328, <2 x float> %332, <2 x float> %.sroa.3333.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %336 = load i16, ptr %192, align 2, !tbaa !13
  %337 = and i16 %336, 1
  %.not1057 = icmp eq i16 %337, 0
  br i1 %.not1057, label %338, label %.thread1071

338:                                              ; preds = %314
  %339 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %340 = sitofp i32 %339 to float
  %341 = fadd float %182, %340
  %342 = fadd float %341, 1.000000e+00
  %.sroa.0327.4.vec.insert = insertelement <2 x float> %.sroa.0437.0.vec.insert, float %342, i64 1
  %343 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %344 = add nsw i32 %343, -2
  %345 = sitofp i32 %344 to float
  %.sroa.3329.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %345, i64 1
  %346 = load ptr, ptr %323, align 8, !tbaa !14
  %347 = load i32, ptr %326, align 8, !tbaa !14
  %348 = call zeroext i1 @GuiTextBox(<2 x float> %.sroa.0327.4.vec.insert, <2 x float> %.sroa.3329.12.vec.insert, ptr noundef %346, i32 noundef %347, i1 noundef zeroext %223)
  br label %.thread1071

349:                                              ; preds = %.thread
  %350 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0323.4.vec.insert = insertelement <2 x float> %.sroa.073.0.vec.insert, float %182, i64 1
  %.sroa.71.8.vec.extract596 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %351 = fmul float %.sroa.71.8.vec.extract596, 5.000000e-01
  %352 = fadd float %351, -6.000000e+00
  %.sroa.3325.8.vec.insert = insertelement <2 x float> poison, float %352, i64 0
  %353 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %354 = sitofp i32 %353 to float
  %.sroa.3325.12.vec.insert = insertelement <2 x float> %.sroa.3325.8.vec.insert, float %354, i64 1
  call void @GuiDrawText(ptr noundef %350, <2 x float> %.sroa.0323.4.vec.insert, <2 x float> %.sroa.3325.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %355 = insertelement <2 x float> poison, float %351, i64 0
  %356 = insertelement <2 x float> %355, float %182, i64 1
  %357 = fadd <2 x float> %160, %356
  %.sroa.3321.8.vec.insert = insertelement <2 x float> poison, float %351, i64 0
  %358 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %359 = add nsw i32 %358, -2
  %360 = sitofp i32 %359 to float
  %.sroa.3321.12.vec.insert = insertelement <2 x float> %.sroa.3321.8.vec.insert, float %360, i64 1
  %361 = getelementptr inbounds i8, ptr %166, i64 16
  %362 = load ptr, ptr %361, align 8, !tbaa !14
  %363 = getelementptr inbounds i8, ptr %166, i64 24
  %364 = load i32, ptr %363, align 8, !tbaa !14
  %365 = call i32 @GuiComboBox(<2 x float> %357, <2 x float> %.sroa.3321.12.vec.insert, ptr noundef %362, i32 noundef %364)
  store i32 %365, ptr %363, align 8, !tbaa !14
  br label %.thread1071

366:                                              ; preds = %.thread, %.thread, %.thread
  %.sroa.71.8.vec.extract602 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %367 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %368 = sitofp i32 %367 to float
  %.sroa.6316.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %368, i64 1
  br i1 %224, label %369, label %374

369:                                              ; preds = %366
  %370 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6316.12.vec.insert) #9
  br i1 %370, label %371, label %374

371:                                              ; preds = %369
  %372 = load i16, ptr %192, align 2, !tbaa !13
  %373 = xor i16 %372, 1
  store i16 %373, ptr %192, align 2, !tbaa !13
  br label %374

374:                                              ; preds = %371, %369, %366
  %375 = load i16, ptr %167, align 8, !tbaa !9
  %376 = getelementptr inbounds i8, ptr %166, i64 16
  %377 = load float, ptr %376, align 8, !tbaa !14
  %378 = fpext float %377 to double
  %379 = getelementptr inbounds i8, ptr %166, i64 20
  %380 = load float, ptr %379, align 4, !tbaa !14
  %381 = fpext float %380 to double
  switch i16 %375, label %389 [
    i16 5, label %382
    i16 6, label %384
  ]

382:                                              ; preds = %374
  %383 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.14, double noundef %378, double noundef %381) #9
  br label %397

384:                                              ; preds = %374
  %385 = getelementptr inbounds i8, ptr %166, i64 24
  %386 = load float, ptr %385, align 8, !tbaa !14
  %387 = fpext float %386 to double
  %388 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.15, double noundef %378, double noundef %381, double noundef %387) #9
  br label %397

389:                                              ; preds = %374
  %390 = getelementptr inbounds i8, ptr %166, i64 24
  %391 = load float, ptr %390, align 8, !tbaa !14
  %392 = fpext float %391 to double
  %393 = getelementptr inbounds i8, ptr %166, i64 28
  %394 = load float, ptr %393, align 4, !tbaa !14
  %395 = fpext float %394 to double
  %396 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.16, double noundef %378, double noundef %381, double noundef %392, double noundef %395) #9
  br label %397

397:                                              ; preds = %384, %389, %382
  %.01029 = phi ptr [ %383, %382 ], [ %388, %384 ], [ %396, %389 ]
  %398 = load i16, ptr %192, align 2, !tbaa !13
  %399 = and i16 %398, 1
  %.not1054 = icmp eq i16 %399, 0
  %400 = select i1 %.not1054, ptr @.str.12, ptr @.str.11
  call void @GuiDrawText(ptr noundef nonnull %400, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6316.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %401 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0308.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %182, i64 1
  %402 = fadd float %.sroa.71.8.vec.extract602, -1.600000e+01
  %403 = fadd float %402, -6.000000e+00
  %.sroa.3310.8.vec.insert = insertelement <2 x float> poison, float %403, i64 0
  %404 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %405 = sitofp i32 %404 to float
  %.sroa.3310.12.vec.insert = insertelement <2 x float> %.sroa.3310.8.vec.insert, float %405, i64 1
  call void @GuiDrawText(ptr noundef %401, <2 x float> %.sroa.0308.4.vec.insert, <2 x float> %.sroa.3310.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %406 = fmul float %.sroa.71.8.vec.extract602, 5.000000e-01
  %407 = insertelement <2 x float> poison, float %406, i64 0
  %408 = insertelement <2 x float> %407, float %182, i64 1
  %409 = fadd <2 x float> %160, %408
  %.sroa.3306.8.vec.insert = insertelement <2 x float> poison, float %406, i64 0
  %410 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %411 = add nsw i32 %410, -2
  %412 = sitofp i32 %411 to float
  %.sroa.3306.12.vec.insert = insertelement <2 x float> %.sroa.3306.8.vec.insert, float %412, i64 1
  call void @GuiDrawText(ptr noundef %.01029, <2 x float> %409, <2 x float> %.sroa.3306.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %413 = load i16, ptr %192, align 2, !tbaa !13
  %414 = and i16 %413, 1
  %.not1055 = icmp eq i16 %414, 0
  br i1 %.not1055, label %415, label %.thread1071

415:                                              ; preds = %397
  %416 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %417 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %418 = add nsw i32 %417, -2
  %419 = sitofp i32 %418 to float
  %.sroa.19296.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %419, i64 1
  %420 = call i32 @GetTextWidth(ptr noundef nonnull @.str.17)
  %421 = insertelement <2 x i32> poison, i32 %420, i64 0
  %422 = insertelement <2 x i32> %421, i32 %416, i64 1
  %423 = sitofp <2 x i32> %422 to <2 x float>
  %424 = insertelement <2 x float> %162, float %182, i64 1
  %425 = fadd <2 x float> %424, %423
  %426 = fadd <2 x float> %425, <float 6.000000e+00, float 1.000000e+00>
  %427 = insertelement <2 x float> %426, float %.sroa.0840.1, i64 0
  %428 = insertelement <2 x float> %426, float %159, i64 0
  %.sroa.12262.12.vec.insert = insertelement <2 x float> %423, float %419, i64 1
  %429 = fsub <2 x float> %.sroa.71.11069, %423
  %430 = extractelement <2 x float> %429, i64 0
  %431 = fadd float %430, -1.200000e+01
  %.sroa.11245.8.vec.insert = insertelement <2 x float> poison, float %431, i64 0
  %.sroa.11245.12.vec.insert = insertelement <2 x float> %.sroa.11245.8.vec.insert, float %419, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.18, <2 x float> %428, <2 x float> %.sroa.12262.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %432 = getelementptr inbounds i8, ptr %166, i64 16
  %433 = load float, ptr %432, align 8, !tbaa !14
  %434 = fpext float %433 to double
  br i1 %223, label %435, label %437

435:                                              ; preds = %415
  %436 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %427, <2 x float> %.sroa.19296.12.vec.insert) #9
  br label %437

437:                                              ; preds = %435, %415
  %438 = phi i1 [ false, %415 ], [ %436, %435 ]
  %439 = call double @GuiDMSpinner(<2 x float> %426, <2 x float> %.sroa.11245.12.vec.insert, double noundef %434, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %438)
  %440 = fptrunc double %439 to float
  store float %440, ptr %432, align 8, !tbaa !14
  %441 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %442 = sitofp i32 %441 to float
  %443 = extractelement <2 x float> %426, i64 1
  %444 = fadd float %443, %442
  %.sroa.0270.4.vec.insert281 = insertelement <2 x float> %427, float %444, i64 1
  %.sroa.0234.4.vec.insert240 = insertelement <2 x float> %426, float %444, i64 1
  %.sroa.0250.4.vec.insert257 = insertelement <2 x float> %428, float %444, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.19, <2 x float> %.sroa.0250.4.vec.insert257, <2 x float> %.sroa.12262.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %445 = getelementptr inbounds i8, ptr %166, i64 20
  %446 = load float, ptr %445, align 4, !tbaa !14
  %447 = fpext float %446 to double
  br i1 %223, label %448, label %450

448:                                              ; preds = %437
  %449 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0270.4.vec.insert281, <2 x float> %.sroa.19296.12.vec.insert) #9
  br label %450

450:                                              ; preds = %448, %437
  %451 = phi i1 [ false, %437 ], [ %449, %448 ]
  %452 = call double @GuiDMSpinner(<2 x float> %.sroa.0234.4.vec.insert240, <2 x float> %.sroa.11245.12.vec.insert, double noundef %447, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %451)
  %453 = fptrunc double %452 to float
  store float %453, ptr %445, align 4, !tbaa !14
  %454 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %455 = sitofp i32 %454 to float
  %456 = fadd float %444, %455
  %.sroa.0270.4.vec.insert287 = insertelement <2 x float> %.sroa.0270.4.vec.insert281, float %456, i64 1
  %.sroa.0234.4.vec.insert242 = insertelement <2 x float> %.sroa.0234.4.vec.insert240, float %456, i64 1
  %.sroa.0250.4.vec.insert259 = insertelement <2 x float> %.sroa.0250.4.vec.insert257, float %456, i64 1
  %457 = load i16, ptr %167, align 8, !tbaa !9
  %458 = icmp sgt i16 %457, 5
  br i1 %458, label %459, label %.thread1071

459:                                              ; preds = %450
  call void @GuiDrawText(ptr noundef nonnull @.str.20, <2 x float> %.sroa.0250.4.vec.insert259, <2 x float> %.sroa.12262.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %460 = getelementptr inbounds i8, ptr %166, i64 24
  %461 = load float, ptr %460, align 8, !tbaa !14
  %462 = fpext float %461 to double
  br i1 %223, label %463, label %465

463:                                              ; preds = %459
  %464 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0270.4.vec.insert287, <2 x float> %.sroa.19296.12.vec.insert) #9
  br label %465

465:                                              ; preds = %459, %463
  %466 = phi i1 [ false, %459 ], [ %464, %463 ]
  %467 = call double @GuiDMSpinner(<2 x float> %.sroa.0234.4.vec.insert242, <2 x float> %.sroa.11245.12.vec.insert, double noundef %462, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %466)
  %468 = fptrunc double %467 to float
  store float %468, ptr %460, align 8, !tbaa !14
  %469 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %470 = sitofp i32 %469 to float
  %471 = fadd float %456, %470
  %.sroa.0270.4.vec.insert293 = insertelement <2 x float> %.sroa.0270.4.vec.insert287, float %471, i64 1
  %.sroa.0234.4.vec.insert244 = insertelement <2 x float> %.sroa.0234.4.vec.insert242, float %471, i64 1
  %.pr = load i16, ptr %167, align 8, !tbaa !9
  %472 = icmp sgt i16 %.pr, 6
  br i1 %472, label %473, label %.thread1071

473:                                              ; preds = %465
  %.sroa.0250.4.vec.insert261 = insertelement <2 x float> %.sroa.0250.4.vec.insert259, float %471, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.21, <2 x float> %.sroa.0250.4.vec.insert261, <2 x float> %.sroa.12262.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %474 = getelementptr inbounds i8, ptr %166, i64 28
  %475 = load float, ptr %474, align 4, !tbaa !14
  %476 = fpext float %475 to double
  br i1 %223, label %477, label %479

477:                                              ; preds = %473
  %478 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0270.4.vec.insert293, <2 x float> %.sroa.19296.12.vec.insert) #9
  br label %479

479:                                              ; preds = %477, %473
  %480 = phi i1 [ false, %473 ], [ %478, %477 ]
  %481 = call double @GuiDMSpinner(<2 x float> %.sroa.0234.4.vec.insert244, <2 x float> %.sroa.11245.12.vec.insert, double noundef %476, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 3, i1 noundef zeroext %480)
  %482 = fptrunc double %481 to float
  store float %482, ptr %474, align 4, !tbaa !14
  br label %.thread1071

483:                                              ; preds = %.thread
  %.sroa.71.8.vec.extract614 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %484 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %485 = sitofp i32 %484 to float
  %.sroa.6231.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %485, i64 1
  br i1 %224, label %486, label %._crit_edge1165

._crit_edge1165:                                  ; preds = %483
  %.pre1166 = load i16, ptr %192, align 2, !tbaa !13
  br label %490

486:                                              ; preds = %483
  %487 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6231.12.vec.insert) #9
  %.pre1167 = load i16, ptr %192, align 2, !tbaa !13
  br i1 %487, label %488, label %490

488:                                              ; preds = %486
  %489 = xor i16 %.pre1167, 1
  store i16 %489, ptr %192, align 2, !tbaa !13
  br label %490

490:                                              ; preds = %._crit_edge1165, %488, %486
  %491 = phi i16 [ %.pre1166, %._crit_edge1165 ], [ %489, %488 ], [ %.pre1167, %486 ]
  %492 = and i16 %491, 1
  %.not1052 = icmp eq i16 %492, 0
  %493 = select i1 %.not1052, ptr @.str.12, ptr @.str.11
  call void @GuiDrawText(ptr noundef nonnull %493, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6231.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %494 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.0224.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %182, i64 1
  %495 = fadd float %.sroa.71.8.vec.extract614, -1.600000e+01
  %496 = fadd float %495, -6.000000e+00
  %.sroa.3226.8.vec.insert = insertelement <2 x float> poison, float %496, i64 0
  %497 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %498 = sitofp i32 %497 to float
  %.sroa.3226.12.vec.insert = insertelement <2 x float> %.sroa.3226.8.vec.insert, float %498, i64 1
  call void @GuiDrawText(ptr noundef %494, <2 x float> %.sroa.0224.4.vec.insert, <2 x float> %.sroa.3226.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %499 = getelementptr inbounds i8, ptr %166, i64 16
  %500 = load float, ptr %499, align 8, !tbaa !14
  %501 = fpext float %500 to double
  %502 = getelementptr inbounds i8, ptr %166, i64 20
  %503 = load float, ptr %502, align 4, !tbaa !14
  %504 = fpext float %503 to double
  %505 = getelementptr inbounds i8, ptr %166, i64 24
  %506 = load float, ptr %505, align 8, !tbaa !14
  %507 = fpext float %506 to double
  %508 = getelementptr inbounds i8, ptr %166, i64 28
  %509 = load float, ptr %508, align 4, !tbaa !14
  %510 = fpext float %509 to double
  %511 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.16, double noundef %501, double noundef %504, double noundef %507, double noundef %510) #9
  %512 = fmul float %.sroa.71.8.vec.extract614, 5.000000e-01
  %513 = insertelement <2 x float> poison, float %512, i64 0
  %514 = insertelement <2 x float> %513, float %182, i64 1
  %515 = fadd <2 x float> %160, %514
  %.sroa.3222.8.vec.insert = insertelement <2 x float> poison, float %512, i64 0
  %516 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %517 = add nsw i32 %516, -2
  %518 = sitofp i32 %517 to float
  %.sroa.3222.12.vec.insert = insertelement <2 x float> %.sroa.3222.8.vec.insert, float %518, i64 1
  call void @GuiDrawText(ptr noundef %511, <2 x float> %515, <2 x float> %.sroa.3222.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %519 = load i16, ptr %192, align 2, !tbaa !13
  %520 = and i16 %519, 1
  %.not1053 = icmp eq i16 %520, 0
  br i1 %.not1053, label %521, label %.thread1071

521:                                              ; preds = %490
  %522 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %523 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %524 = add nsw i32 %523, -2
  %525 = sitofp i32 %524 to float
  %.sroa.19.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %525, i64 1
  %526 = call i32 @GetTextWidth(ptr noundef nonnull @.str.22)
  %527 = insertelement <2 x i32> poison, i32 %526, i64 0
  %528 = insertelement <2 x i32> %527, i32 %522, i64 1
  %529 = sitofp <2 x i32> %528 to <2 x float>
  %530 = insertelement <2 x float> %162, float %182, i64 1
  %531 = fadd <2 x float> %530, %529
  %532 = fadd <2 x float> %531, <float 6.000000e+00, float 1.000000e+00>
  %533 = insertelement <2 x float> %532, float %.sroa.0840.1, i64 0
  %534 = insertelement <2 x float> %532, float %159, i64 0
  %.sroa.12179.12.vec.insert = insertelement <2 x float> %529, float %525, i64 1
  %535 = fsub <2 x float> %.sroa.71.11069, %529
  %536 = extractelement <2 x float> %535, i64 0
  %537 = fadd float %536, -1.200000e+01
  %.sroa.11162.8.vec.insert = insertelement <2 x float> poison, float %537, i64 0
  %.sroa.11162.12.vec.insert = insertelement <2 x float> %.sroa.11162.8.vec.insert, float %525, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.18, <2 x float> %534, <2 x float> %.sroa.12179.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %538 = load float, ptr %499, align 8, !tbaa !14
  %539 = fpext float %538 to double
  br i1 %223, label %540, label %542

540:                                              ; preds = %521
  %541 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %533, <2 x float> %.sroa.19.12.vec.insert) #9
  br label %542

542:                                              ; preds = %540, %521
  %543 = phi i1 [ false, %521 ], [ %541, %540 ]
  %544 = call double @GuiDMSpinner(<2 x float> %532, <2 x float> %.sroa.11162.12.vec.insert, double noundef %539, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %543)
  %545 = fptrunc double %544 to float
  store float %545, ptr %499, align 8, !tbaa !14
  %546 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %547 = sitofp i32 %546 to float
  %548 = extractelement <2 x float> %532, i64 1
  %549 = fadd float %548, %547
  %.sroa.0187.4.vec.insert198 = insertelement <2 x float> %533, float %549, i64 1
  %.sroa.0151.4.vec.insert157 = insertelement <2 x float> %532, float %549, i64 1
  %.sroa.0167.4.vec.insert174 = insertelement <2 x float> %534, float %549, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.19, <2 x float> %.sroa.0167.4.vec.insert174, <2 x float> %.sroa.12179.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %550 = load float, ptr %502, align 4, !tbaa !14
  %551 = fpext float %550 to double
  br i1 %223, label %552, label %554

552:                                              ; preds = %542
  %553 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0187.4.vec.insert198, <2 x float> %.sroa.19.12.vec.insert) #9
  br label %554

554:                                              ; preds = %552, %542
  %555 = phi i1 [ false, %542 ], [ %553, %552 ]
  %556 = call double @GuiDMSpinner(<2 x float> %.sroa.0151.4.vec.insert157, <2 x float> %.sroa.11162.12.vec.insert, double noundef %551, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %555)
  %557 = fptrunc double %556 to float
  store float %557, ptr %502, align 4, !tbaa !14
  %558 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %559 = sitofp i32 %558 to float
  %560 = fadd float %549, %559
  %.sroa.0187.4.vec.insert204 = insertelement <2 x float> %.sroa.0187.4.vec.insert198, float %560, i64 1
  %.sroa.0151.4.vec.insert159 = insertelement <2 x float> %.sroa.0151.4.vec.insert157, float %560, i64 1
  %.sroa.0167.4.vec.insert176 = insertelement <2 x float> %.sroa.0167.4.vec.insert174, float %560, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.23, <2 x float> %.sroa.0167.4.vec.insert176, <2 x float> %.sroa.12179.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %561 = load float, ptr %505, align 8, !tbaa !14
  %562 = fpext float %561 to double
  br i1 %223, label %563, label %565

563:                                              ; preds = %554
  %564 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0187.4.vec.insert204, <2 x float> %.sroa.19.12.vec.insert) #9
  br label %565

565:                                              ; preds = %563, %554
  %566 = phi i1 [ false, %554 ], [ %564, %563 ]
  %567 = call double @GuiDMSpinner(<2 x float> %.sroa.0151.4.vec.insert159, <2 x float> %.sroa.11162.12.vec.insert, double noundef %562, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %566)
  %568 = fptrunc double %567 to float
  store float %568, ptr %505, align 8, !tbaa !14
  %569 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %570 = sitofp i32 %569 to float
  %571 = fadd float %560, %570
  %.sroa.0151.4.vec.insert161 = insertelement <2 x float> %.sroa.0151.4.vec.insert159, float %571, i64 1
  %.sroa.0167.4.vec.insert178 = insertelement <2 x float> %.sroa.0167.4.vec.insert176, float %571, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.22, <2 x float> %.sroa.0167.4.vec.insert178, <2 x float> %.sroa.12179.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %572 = load float, ptr %508, align 4, !tbaa !14
  %573 = fpext float %572 to double
  br i1 %223, label %574, label %576

574:                                              ; preds = %565
  %.sroa.0187.4.vec.insert210 = insertelement <2 x float> %.sroa.0187.4.vec.insert204, float %571, i64 1
  %575 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0187.4.vec.insert210, <2 x float> %.sroa.19.12.vec.insert) #9
  br label %576

576:                                              ; preds = %574, %565
  %577 = phi i1 [ false, %565 ], [ %575, %574 ]
  %578 = call double @GuiDMSpinner(<2 x float> %.sroa.0151.4.vec.insert161, <2 x float> %.sroa.11162.12.vec.insert, double noundef %573, double noundef 0.000000e+00, double noundef 0.000000e+00, double noundef 1.000000e+00, i32 noundef 0, i1 noundef zeroext %577)
  %579 = fptrunc double %578 to float
  store float %579, ptr %508, align 4, !tbaa !14
  br label %.thread1071

580:                                              ; preds = %.thread
  %.sroa.71.8.vec.extract626 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %581 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %582 = sitofp i32 %581 to float
  %.sroa.6.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %582, i64 1
  br i1 %224, label %583, label %._crit_edge1162

._crit_edge1162:                                  ; preds = %580
  %.pre1163 = load i16, ptr %192, align 2, !tbaa !13
  br label %587

583:                                              ; preds = %580
  %584 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6.12.vec.insert) #9
  %.pre1164 = load i16, ptr %192, align 2, !tbaa !13
  br i1 %584, label %585, label %587

585:                                              ; preds = %583
  %586 = xor i16 %.pre1164, 1
  store i16 %586, ptr %192, align 2, !tbaa !13
  br label %587

587:                                              ; preds = %._crit_edge1162, %585, %583
  %588 = phi i16 [ %.pre1163, %._crit_edge1162 ], [ %586, %585 ], [ %.pre1164, %583 ]
  %589 = and i16 %588, 1
  %.not1050 = icmp eq i16 %589, 0
  %590 = select i1 %.not1050, ptr @.str.12, ptr @.str.11
  call void @GuiDrawText(ptr noundef nonnull %590, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.6.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %591 = load ptr, ptr %166, align 8, !tbaa !23
  %592 = fadd float %182, 1.000000e+00
  %.sroa.0142.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %592, i64 1
  %593 = fadd float %.sroa.71.8.vec.extract626, -1.600000e+01
  %594 = fadd float %593, -6.000000e+00
  %.sroa.3144.8.vec.insert = insertelement <2 x float> poison, float %594, i64 0
  %595 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %596 = add nsw i32 %595, -2
  %597 = sitofp i32 %596 to float
  %.sroa.3144.12.vec.insert = insertelement <2 x float> %.sroa.3144.8.vec.insert, float %597, i64 1
  call void @GuiDrawText(ptr noundef %591, <2 x float> %.sroa.0142.4.vec.insert, <2 x float> %.sroa.3144.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %598 = fmul float %.sroa.71.8.vec.extract626, 5.000000e-01
  %599 = fadd float %.sroa.0840.1, %598
  %.sroa.0140.0.vec.insert = insertelement <2 x float> poison, float %599, i64 0
  %600 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %601 = sitofp i32 %600 to float
  %602 = fadd float %182, %601
  %603 = fadd float %602, -5.000000e+00
  %.sroa.0140.4.vec.insert = insertelement <2 x float> %.sroa.0140.0.vec.insert, float %603, i64 1
  %604 = fadd float %.sroa.0840.1, %.sroa.71.8.vec.extract626
  %.sroa.0138.0.vec.insert = insertelement <2 x float> poison, float %604, i64 0
  %605 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %606 = sitofp i32 %605 to float
  %607 = fadd float %182, %606
  %608 = fadd float %607, -5.000000e+00
  %.sroa.0138.4.vec.insert = insertelement <2 x float> %.sroa.0138.0.vec.insert, float %608, i64 1
  %609 = getelementptr inbounds i8, ptr %166, i64 16
  %610 = load i32, ptr %609, align 8
  call void @DrawLineEx(<2 x float> %.sroa.0140.4.vec.insert, <2 x float> %.sroa.0138.4.vec.insert, float noundef 6.000000e+00, i32 %610) #9
  %611 = load i8, ptr %609, align 8, !tbaa !14
  %612 = zext i8 %611 to i32
  %613 = getelementptr inbounds i8, ptr %166, i64 17
  %614 = load i8, ptr %613, align 1, !tbaa !14
  %615 = zext i8 %614 to i32
  %616 = getelementptr inbounds i8, ptr %166, i64 18
  %617 = load i8, ptr %616, align 2, !tbaa !14
  %618 = zext i8 %617 to i32
  %619 = getelementptr inbounds i8, ptr %166, i64 19
  %620 = load i8, ptr %619, align 1, !tbaa !14
  %621 = zext i8 %620 to i32
  %622 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.24, i32 noundef %612, i32 noundef %615, i32 noundef %618, i32 noundef %621) #9
  call void @llvm.lifetime.start.p0(i64 10, ptr nonnull %9) #9
  call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %9, i8 0, i64 10, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 1 dereferenceable(10) %9, ptr noundef nonnull align 1 dereferenceable(10) %622, i64 10, i1 false)
  %.sroa.0133.4.vec.insert = insertelement <2 x float> %.sroa.0140.0.vec.insert, float %592, i64 1
  %.sroa.3135.8.vec.insert = insertelement <2 x float> poison, float %598, i64 0
  %623 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %624 = add nsw i32 %623, -2
  %625 = sitofp i32 %624 to float
  %.sroa.3135.12.vec.insert = insertelement <2 x float> %.sroa.3135.8.vec.insert, float %625, i64 1
  call void @GuiDrawText(ptr noundef %622, <2 x float> %.sroa.0133.4.vec.insert, <2 x float> %.sroa.3135.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %626 = load i16, ptr %192, align 2, !tbaa !13
  %627 = and i16 %626, 1
  %.not1051 = icmp eq i16 %627, 0
  br i1 %.not1051, label %628, label %749

628:                                              ; preds = %587
  %629 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %630 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %631 = add nsw i32 %630, -2
  %632 = sitofp i32 %631 to float
  %.sroa.20.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %632, i64 1
  %633 = call i32 @GetTextWidth(ptr noundef nonnull @.str.17)
  %634 = sitofp i32 %633 to float
  %.sroa.1285.8.vec.insert = insertelement <2 x float> poison, float %634, i64 0
  %.sroa.1285.12.vec.insert = insertelement <2 x float> %.sroa.1285.8.vec.insert, float %632, i64 1
  %635 = fadd float %159, %634
  %636 = fadd float %635, 6.000000e+00
  %637 = call i32 @GetTextWidth(ptr noundef nonnull @.str.25)
  %638 = insertelement <2 x i32> poison, i32 %637, i64 0
  %639 = insertelement <2 x i32> %638, i32 %629, i64 1
  %640 = sitofp <2 x i32> %639 to <2 x float>
  %641 = insertelement <2 x float> poison, float %636, i64 0
  %642 = insertelement <2 x float> %641, float %182, i64 1
  %643 = fadd <2 x float> %642, %640
  %644 = fadd <2 x float> %643, <float 6.000000e+00, float 1.000000e+00>
  %645 = insertelement <2 x float> %644, float %.sroa.0840.1, i64 0
  %646 = insertelement <2 x float> %644, float %159, i64 0
  %647 = insertelement <2 x float> %644, float %636, i64 0
  %.sroa.12.12.vec.insert = insertelement <2 x float> %640, float %632, i64 1
  %648 = fadd float %.sroa.71.8.vec.extract626, -1.800000e+01
  %649 = fsub float %648, %634
  %650 = extractelement <2 x float> %640, i64 0
  %651 = fsub float %649, %650
  %.sroa.11.8.vec.insert = insertelement <2 x float> poison, float %651, i64 0
  %.sroa.11.12.vec.insert = insertelement <2 x float> %.sroa.11.8.vec.insert, float %632, i64 1
  %652 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %653 = add nsw i32 %652, -2
  %654 = sitofp i32 %653 to float
  %655 = fcmp ugt float %651, %654
  %656 = fsub float %.sroa.71.8.vec.extract626, %634
  %657 = fadd float %656, -1.200000e+01
  %.sroa.12.8.vec.insert72 = insertelement <2 x float> %.sroa.12.12.vec.insert, float %657, i64 0
  %.sroa.12.1 = select i1 %655, <2 x float> %.sroa.12.12.vec.insert, <2 x float> %.sroa.12.8.vec.insert72
  %658 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 18)
  %659 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 20)
  %660 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 12)
  %661 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 19)
  %662 = call i32 @GuiGetStyle(i32 noundef 14, i32 noundef 17)
  %663 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 9)
  %664 = call i32 @GetColor(i32 noundef %663) #9
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 18, i32 noundef 3)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 20, i32 noundef 10)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 12, i32 noundef 0)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 19, i32 noundef 6)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 17, i32 noundef 0)
  %665 = call i32 @GuiGetStyle(i32 noundef 0, i32 noundef 19)
  call void @GuiSetStyle(i32 noundef 0, i32 noundef 9, i32 noundef %665)
  call void @GuiDrawText(ptr noundef nonnull @.str.26, <2 x float> %646, <2 x float> %.sroa.1285.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %666 = load i8, ptr %609, align 8, !tbaa !14
  %667 = uitofp i8 %666 to double
  br i1 %223, label %668, label %670

668:                                              ; preds = %628
  %669 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %645, <2 x float> %.sroa.20.12.vec.insert) #9
  br label %670

670:                                              ; preds = %668, %628
  %671 = phi i1 [ false, %628 ], [ %669, %668 ]
  %672 = call double @GuiDMValueBox(<2 x float> %647, <2 x float> %.sroa.12.1, double noundef %667, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %671)
  %673 = fptoui double %672 to i8
  store i8 %673, ptr %609, align 8, !tbaa !14
  %674 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %675 = add nsw i32 %674, -2
  %676 = sitofp i32 %675 to float
  %677 = fcmp ogt float %651, %676
  br i1 %677, label %678, label %683

678:                                              ; preds = %670
  %679 = load i8, ptr %609, align 8, !tbaa !14
  %680 = zext i8 %679 to i32
  %681 = call i32 @GuiScrollBar(<2 x float> %644, <2 x float> %.sroa.11.12.vec.insert, i32 noundef %680, i32 noundef 0, i32 noundef 255)
  %682 = trunc i32 %681 to i8
  store i8 %682, ptr %609, align 8, !tbaa !14
  br label %683

683:                                              ; preds = %678, %670
  %684 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %685 = sitofp i32 %684 to float
  %686 = extractelement <2 x float> %644, i64 1
  %687 = fadd float %686, %685
  %.sroa.095.4.vec.insert108 = insertelement <2 x float> %645, float %687, i64 1
  %.sroa.028.4.vec.insert34 = insertelement <2 x float> %644, float %687, i64 1
  %.sroa.052.4.vec.insert59 = insertelement <2 x float> %647, float %687, i64 1
  %.sroa.073.4.vec.insert80 = insertelement <2 x float> %646, float %687, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.27, <2 x float> %.sroa.073.4.vec.insert80, <2 x float> %.sroa.1285.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %688 = load i8, ptr %613, align 1, !tbaa !14
  %689 = uitofp i8 %688 to double
  br i1 %223, label %690, label %692

690:                                              ; preds = %683
  %691 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.095.4.vec.insert108, <2 x float> %.sroa.20.12.vec.insert) #9
  br label %692

692:                                              ; preds = %690, %683
  %693 = phi i1 [ false, %683 ], [ %691, %690 ]
  %694 = call double @GuiDMValueBox(<2 x float> %.sroa.052.4.vec.insert59, <2 x float> %.sroa.12.1, double noundef %689, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %693)
  %695 = fptoui double %694 to i8
  store i8 %695, ptr %613, align 1, !tbaa !14
  %696 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %697 = add nsw i32 %696, -2
  %698 = sitofp i32 %697 to float
  %699 = fcmp ogt float %651, %698
  br i1 %699, label %700, label %705

700:                                              ; preds = %692
  %701 = load i8, ptr %613, align 1, !tbaa !14
  %702 = zext i8 %701 to i32
  %703 = call i32 @GuiScrollBar(<2 x float> %.sroa.028.4.vec.insert34, <2 x float> %.sroa.11.12.vec.insert, i32 noundef %702, i32 noundef 0, i32 noundef 255)
  %704 = trunc i32 %703 to i8
  store i8 %704, ptr %613, align 1, !tbaa !14
  br label %705

705:                                              ; preds = %700, %692
  %706 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %707 = sitofp i32 %706 to float
  %708 = fadd float %687, %707
  %.sroa.095.4.vec.insert114 = insertelement <2 x float> %.sroa.095.4.vec.insert108, float %708, i64 1
  %.sroa.028.4.vec.insert36 = insertelement <2 x float> %.sroa.028.4.vec.insert34, float %708, i64 1
  %.sroa.052.4.vec.insert61 = insertelement <2 x float> %.sroa.052.4.vec.insert59, float %708, i64 1
  %.sroa.073.4.vec.insert82 = insertelement <2 x float> %.sroa.073.4.vec.insert80, float %708, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.28, <2 x float> %.sroa.073.4.vec.insert82, <2 x float> %.sroa.1285.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %709 = load i8, ptr %616, align 2, !tbaa !14
  %710 = uitofp i8 %709 to double
  br i1 %223, label %711, label %713

711:                                              ; preds = %705
  %712 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.095.4.vec.insert114, <2 x float> %.sroa.20.12.vec.insert) #9
  br label %713

713:                                              ; preds = %711, %705
  %714 = phi i1 [ false, %705 ], [ %712, %711 ]
  %715 = call double @GuiDMValueBox(<2 x float> %.sroa.052.4.vec.insert61, <2 x float> %.sroa.12.1, double noundef %710, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %714)
  %716 = fptoui double %715 to i8
  store i8 %716, ptr %616, align 2, !tbaa !14
  %717 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %718 = add nsw i32 %717, -2
  %719 = sitofp i32 %718 to float
  %720 = fcmp ogt float %651, %719
  br i1 %720, label %721, label %726

721:                                              ; preds = %713
  %722 = load i8, ptr %616, align 2, !tbaa !14
  %723 = zext i8 %722 to i32
  %724 = call i32 @GuiScrollBar(<2 x float> %.sroa.028.4.vec.insert36, <2 x float> %.sroa.11.12.vec.insert, i32 noundef %723, i32 noundef 0, i32 noundef 255)
  %725 = trunc i32 %724 to i8
  store i8 %725, ptr %616, align 2, !tbaa !14
  br label %726

726:                                              ; preds = %721, %713
  %727 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %728 = sitofp i32 %727 to float
  %729 = fadd float %708, %728
  %.sroa.028.4.vec.insert38 = insertelement <2 x float> %.sroa.028.4.vec.insert36, float %729, i64 1
  %.sroa.052.4.vec.insert63 = insertelement <2 x float> %.sroa.052.4.vec.insert61, float %729, i64 1
  %.sroa.073.4.vec.insert84 = insertelement <2 x float> %.sroa.073.4.vec.insert82, float %729, i64 1
  call void @GuiDrawText(ptr noundef nonnull @.str.17, <2 x float> %.sroa.073.4.vec.insert84, <2 x float> %.sroa.1285.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %730 = load i8, ptr %619, align 1, !tbaa !14
  %731 = uitofp i8 %730 to double
  br i1 %223, label %732, label %734

732:                                              ; preds = %726
  %.sroa.095.4.vec.insert120 = insertelement <2 x float> %.sroa.095.4.vec.insert114, float %729, i64 1
  %733 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.095.4.vec.insert120, <2 x float> %.sroa.20.12.vec.insert) #9
  br label %734

734:                                              ; preds = %732, %726
  %735 = phi i1 [ false, %726 ], [ %733, %732 ]
  %736 = call double @GuiDMValueBox(<2 x float> %.sroa.052.4.vec.insert63, <2 x float> %.sroa.12.1, double noundef %731, double noundef 0.000000e+00, double noundef 2.550000e+02, i32 noundef 0, i1 noundef zeroext %735)
  %737 = fptoui double %736 to i8
  store i8 %737, ptr %619, align 1, !tbaa !14
  %738 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %739 = add nsw i32 %738, -2
  %740 = sitofp i32 %739 to float
  %741 = fcmp ogt float %651, %740
  br i1 %741, label %742, label %747

742:                                              ; preds = %734
  %743 = load i8, ptr %619, align 1, !tbaa !14
  %744 = zext i8 %743 to i32
  %745 = call i32 @GuiScrollBar(<2 x float> %.sroa.028.4.vec.insert38, <2 x float> %.sroa.11.12.vec.insert, i32 noundef %744, i32 noundef 0, i32 noundef 255)
  %746 = trunc i32 %745 to i8
  store i8 %746, ptr %619, align 1, !tbaa !14
  br label %747

747:                                              ; preds = %742, %734
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 18, i32 noundef %658)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 20, i32 noundef %659)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 12, i32 noundef %660)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 19, i32 noundef %661)
  call void @GuiSetStyle(i32 noundef 14, i32 noundef 17, i32 noundef %662)
  %748 = call i32 @ColorToInt(i32 %664) #9
  call void @GuiSetStyle(i32 noundef 0, i32 noundef 9, i32 noundef %748)
  br label %749

749:                                              ; preds = %747, %587
  br i1 %223, label %750, label %778

750:                                              ; preds = %749
  %751 = call zeroext i1 @IsKeyDown(i32 noundef 341) #9
  br i1 %751, label %752, label %755

752:                                              ; preds = %750
  %753 = call zeroext i1 @IsKeyPressed(i32 noundef 67) #9
  br i1 %753, label %754, label %755

754:                                              ; preds = %752
  call void @SetClipboardText(ptr noundef nonnull %9) #9
  br label %778

755:                                              ; preds = %752, %750
  %756 = call zeroext i1 @IsKeyDown(i32 noundef 341) #9
  br i1 %756, label %757, label %778

757:                                              ; preds = %755
  %758 = call zeroext i1 @IsKeyPressed(i32 noundef 86) #9
  br i1 %758, label %759, label %778

759:                                              ; preds = %757
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #9
  %760 = load i8, ptr %619, align 1, !tbaa !14
  %761 = zext i8 %760 to i32
  store i32 %761, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #9
  %762 = load i8, ptr %609, align 8, !tbaa !14
  %763 = zext i8 %762 to i32
  store i32 %763, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %12) #9
  %764 = load i8, ptr %613, align 1, !tbaa !14
  %765 = zext i8 %764 to i32
  store i32 %765, ptr %12, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #9
  %766 = load i8, ptr %616, align 2, !tbaa !14
  %767 = zext i8 %766 to i32
  store i32 %767, ptr %13, align 4, !tbaa !5
  %768 = call ptr @GetClipboardText() #9
  %769 = call i32 (ptr, ptr, ...) @__isoc99_sscanf(ptr noundef %768, ptr noundef nonnull @.str.24, ptr noundef nonnull %11, ptr noundef nonnull %12, ptr noundef nonnull %13, ptr noundef nonnull %10) #9
  %770 = load i32, ptr %11, align 4, !tbaa !5
  %771 = trunc i32 %770 to i8
  store i8 %771, ptr %609, align 8, !tbaa !14
  %772 = load i32, ptr %12, align 4, !tbaa !5
  %773 = trunc i32 %772 to i8
  store i8 %773, ptr %613, align 1, !tbaa !14
  %774 = load i32, ptr %13, align 4, !tbaa !5
  %775 = trunc i32 %774 to i8
  store i8 %775, ptr %616, align 2, !tbaa !14
  %776 = load i32, ptr %10, align 4, !tbaa !5
  %777 = trunc i32 %776 to i8
  store i8 %777, ptr %619, align 1, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %13) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %12) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #9
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #9
  br label %778

778:                                              ; preds = %754, %759, %757, %755, %749
  call void @llvm.lifetime.end.p0(i64 10, ptr nonnull %9) #9
  br label %.thread1071

779:                                              ; preds = %.thread
  %.sroa.71.8.vec.extract642 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %780 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %781 = sitofp i32 %780 to float
  %.sroa.7.12.vec.insert = insertelement <2 x float> %.sroa.71.11069, float %781, i64 1
  br i1 %224, label %782, label %._crit_edge1159

._crit_edge1159:                                  ; preds = %779
  %.pre1160 = load i16, ptr %192, align 2, !tbaa !13
  br label %786

782:                                              ; preds = %779
  %783 = call zeroext i1 @CheckCollisionPointRec(<2 x float> %120, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.7.12.vec.insert) #9
  %.pre1161 = load i16, ptr %192, align 2, !tbaa !13
  br i1 %783, label %784, label %786

784:                                              ; preds = %782
  %785 = xor i16 %.pre1161, 1
  store i16 %785, ptr %192, align 2, !tbaa !13
  br label %786

786:                                              ; preds = %._crit_edge1159, %784, %782
  %787 = phi i16 [ %.pre1160, %._crit_edge1159 ], [ %785, %784 ], [ %.pre1161, %782 ]
  %788 = and i16 %787, 1
  %.not1049 = icmp eq i16 %788, 0
  br i1 %.not1049, label %789, label %795

789:                                              ; preds = %786
  call void @GuiDrawText(ptr noundef nonnull @.str.12, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.7.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %790 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.012.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %182, i64 1
  %791 = fadd float %.sroa.71.8.vec.extract642, -1.600000e+01
  %792 = fadd float %791, -6.000000e+00
  %.sroa.314.8.vec.insert = insertelement <2 x float> poison, float %792, i64 0
  %793 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %794 = sitofp i32 %793 to float
  %.sroa.314.12.vec.insert = insertelement <2 x float> %.sroa.314.8.vec.insert, float %794, i64 1
  call void @GuiDrawText(ptr noundef %790, <2 x float> %.sroa.012.4.vec.insert, <2 x float> %.sroa.314.12.vec.insert, i32 noundef 1, i32 %.sroa.0403.01068)
  br label %.thread1071

795:                                              ; preds = %786
  call void @GuiDrawText(ptr noundef nonnull @.str.11, <2 x float> %.sroa.0437.4.vec.insert, <2 x float> %.sroa.7.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %796 = load ptr, ptr %166, align 8, !tbaa !23
  %797 = getelementptr inbounds i8, ptr %166, i64 16
  %798 = load i32, ptr %797, align 8, !tbaa !14
  %799 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.29, ptr noundef %796, i32 noundef %798) #9
  %.sroa.08.4.vec.insert = insertelement <2 x float> %.sroa.08.0.vec.insert, float %182, i64 1
  %800 = fadd float %.sroa.71.8.vec.extract642, -1.600000e+01
  %801 = fadd float %800, -6.000000e+00
  %.sroa.310.8.vec.insert = insertelement <2 x float> poison, float %801, i64 0
  %802 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %803 = sitofp i32 %802 to float
  %.sroa.310.12.vec.insert = insertelement <2 x float> %.sroa.310.8.vec.insert, float %803, i64 1
  call void @GuiDrawText(ptr noundef %799, <2 x float> %.sroa.08.4.vec.insert, <2 x float> %.sroa.310.12.vec.insert, i32 noundef 1, i32 %.sroa.0403.01068)
  br label %.thread1071

804:                                              ; preds = %.thread
  %805 = load ptr, ptr %166, align 8, !tbaa !23
  %.sroa.04.4.vec.insert = insertelement <2 x float> %.sroa.073.0.vec.insert, float %182, i64 1
  %.sroa.71.8.vec.extract648 = extractelement <2 x float> %.sroa.71.11069, i64 0
  %806 = fmul float %.sroa.71.8.vec.extract648, 5.000000e-01
  %807 = fadd float %806, -6.000000e+00
  %.sroa.36.8.vec.insert = insertelement <2 x float> poison, float %807, i64 0
  %808 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %809 = sitofp i32 %808 to float
  %.sroa.36.12.vec.insert = insertelement <2 x float> %.sroa.36.8.vec.insert, float %809, i64 1
  call void @GuiDrawText(ptr noundef %805, <2 x float> %.sroa.04.4.vec.insert, <2 x float> %.sroa.36.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  %810 = load i16, ptr %167, align 8, !tbaa !9
  %811 = sext i16 %810 to i32
  %812 = call ptr (ptr, ...) @TextFormat(ptr noundef nonnull @.str.30, i32 noundef %811) #9
  %813 = insertelement <2 x float> poison, float %806, i64 0
  %814 = insertelement <2 x float> %813, float %182, i64 1
  %815 = fadd <2 x float> %160, %814
  %.sroa.3.8.vec.insert = insertelement <2 x float> poison, float %806, i64 0
  %816 = call i32 @GuiGetStyle(i32 noundef 12, i32 noundef 16)
  %817 = add nsw i32 %816, -2
  %818 = sitofp i32 %817 to float
  %.sroa.3.12.vec.insert = insertelement <2 x float> %.sroa.3.8.vec.insert, float %818, i64 1
  call void @GuiDrawText(ptr noundef %812, <2 x float> %815, <2 x float> %.sroa.3.12.vec.insert, i32 noundef 0, i32 %.sroa.0403.01068)
  br label %.thread1071

.thread1071:                                      ; preds = %450, %789, %795, %490, %576, %397, %479, %465, %314, %338, %236, %252, %804, %778, %349, %279, %253
  call void @GuiSetState(i32 noundef %14)
  br label %819

819:                                              ; preds = %.thread1071, %180
  %.4 = phi i32 [ %.31070, %.thread1071 ], [ %.21144, %180 ]
  %820 = add i32 %.010321079, 1
  %821 = add i32 %820, %.01035
  %822 = load i16, ptr %167, align 8, !tbaa !9
  %823 = icmp eq i16 %822, 10
  br i1 %823, label %824, label %832

824:                                              ; preds = %819
  %825 = getelementptr inbounds i8, ptr %166, i64 10
  %826 = load i16, ptr %825, align 2, !tbaa !13
  %827 = and i16 %826, 1
  %.not1058 = icmp eq i16 %827, 0
  br i1 %.not1058, label %832, label %828

828:                                              ; preds = %824
  %829 = getelementptr inbounds i8, ptr %166, i64 16
  %830 = load i32, ptr %829, align 8, !tbaa !14
  %831 = add nsw i32 %830, %.010331077
  br label %832

832:                                              ; preds = %828, %824, %819
  %.11034 = phi i32 [ %831, %828 ], [ %.010331077, %824 ], [ %.010331077, %819 ]
  %833 = add nsw i32 %.11034, 1
  %834 = icmp slt i32 %833, %3
  br i1 %834, label %163, label %._crit_edge1157, !llvm.loop !24

835:                                              ; preds = %._crit_edge1157
  %836 = sub nsw i32 0, %.11026
  %837 = call i32 @GuiScrollBar(<2 x float> %.sroa.0820.1, <2 x float> %.sroa.6824.12.vec.insert, i32 noundef %836, i32 noundef 0, i32 noundef %119)
  %838 = sub nsw i32 0, %837
  store i32 %838, ptr %5, align 4, !tbaa !5
  br label %839

839:                                              ; preds = %835, %._crit_edge1157
  br i1 %15, label %841, label %840

840:                                              ; preds = %839
  store i32 %.2.lcssa, ptr %4, align 4, !tbaa !5
  br label %841

841:                                              ; preds = %840, %839
  ret void
}

declare void @DrawRectangleRec(<2 x float>, <2 x float>, i32) local_unnamed_addr #3

declare void @BeginScissorMode(i32 noundef, i32 noundef, i32 noundef, i32 noundef) local_unnamed_addr #3

declare void @DrawLineEx(<2 x float>, <2 x float>, float noundef, i32) local_unnamed_addr #3

declare i32 @ColorToInt(i32) local_unnamed_addr #3

declare void @EndScissorMode() local_unnamed_addr #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smin.i32(i32, i32) #8

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind uwtable "min-legal-vector-width"="64" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { mustprogress nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #7 = { nofree nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { nounwind willreturn memory(read) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !12, i64 8}
!10 = !{!"", !11, i64 0, !12, i64 8, !12, i64 10, !7, i64 16}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"short", !7, i64 0}
!13 = !{!10, !12, i64 10}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = !{!18, !18, i64 0}
!18 = !{!"_Bool", !7, i64 0}
!19 = !{i8 0, i8 2}
!20 = !{}
!21 = !{!22, !22, i64 0}
!22 = !{!"float", !7, i64 0}
!23 = !{!10, !11, i64 0}
!24 = distinct !{!24, !16}


; Effective O3 passes: BDCEPass,CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass