
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

dc_data dc_array_get(int array_id,int Index)

{
  int iVar1;
  int iVar2;
  dc_array *pdVar3;
  anon_union_4_2_78161589_for_v aVar4;
  int in_GS_OFFSET;
  dc_data dVar5;
  dc_data dVar6;
  dc_value_type in_stack_00000004;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  pdVar3 = dc_get_stacked_array(array_id);
  if (pdVar3 != (dc_array *)0x0) {
    iVar2 = pdVar3->Index;
    while (iVar2 < Index) {
      pdVar3 = pdVar3->next;
      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;
      iVar2 = pdVar3->Index;
    }
    if (iVar2 == Index) {
      dVar6.v = (anon_union_4_2_78161589_for_v)
                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;
      dVar6.dc_type = in_stack_00000004;
      dVar6 = dc_dup(dVar6);
      aVar4 = dVar6.v;
      goto LAB_0001444b;
    }
  }
LAB_0001443d:
  dVar6 = dc_int2data(0);
  aVar4 = dVar6.v;
LAB_0001444b:
  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {
    dVar5.v.number = aVar4.number;
    dVar5.dc_type = in_stack_00000004;
    return dVar5;
  }
                    /* WARNING: Subroutine does not return */
  __stack_chk_fail_local();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  int in_GS_OFFSET;
  int local_14;
  
  piVar2 = (int *)FUN_000141e0(param_2);
  if (piVar2 != (int *)0x0) {
    iVar1 = *piVar2;
    while (iVar1 < param_3) {
      piVar2 = (int *)piVar2[3];
      if (piVar2 == (int *)0x0) goto LAB_0001443d;
      iVar1 = *piVar2;
    }
    if (iVar1 == param_3) {
      FUN_00011d50(param_1,piVar2[1],piVar2[2]);
      goto LAB_0001444b;
    }
  }
LAB_0001443d:
  FUN_00014b50(param_1,0);
LAB_0001444b:
  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00018840();
}


PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00011640
ADD EBX,0x9af0
SUB ESP,0x1c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x18],EAX
XOR EAX,EAX
MOV ESI,dword ptr [ESP + 0x2c]
MOV EDI,dword ptr [ESP + 0x34]
PUSH dword ptr [ESP + 0x30]
CALL 0x000141e0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001443d
MOV EDX,dword ptr [EAX]
CMP EDI,EDX
JG 0x00014436
JMP 0x00014468
MOV EDX,dword ptr [EAX]
CMP EDX,EDI
JGE 0x00014468
MOV EAX,dword ptr [EAX + 0xc]
TEST EAX,EAX
JNZ 0x00014430
SUB ESP,0x8
PUSH 0x0
PUSH ESI
CALL 0x00014b50
ADD ESP,0xc
MOV ECX,dword ptr [ESP + 0xc]
XOR ECX,dword ptr GS:[0x14]
MOV EAX,ESI
JNZ 0x00014480
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET 0x4
CMP EDX,EDI
JNZ 0x0001443d
SUB ESP,0x4
PUSH dword ptr [EAX + 0x8]
PUSH dword ptr [EAX + 0x4]
PUSH ESI
CALL 0x00011d50
ADD ESP,0xc
JMP 0x0001444b
CALL 0x00018840
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00018840();\n}\n\n" comment (function_definition "undefined4 FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00018840();\n}" type_identifier (function_declarator "FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00018840();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "piVar2 = (int *)FUN_000141e0(param_2);" (assignment_expression "piVar2 = (int *)FUN_000141e0(param_2)" identifier = (cast_expression "(int *)FUN_000141e0(param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000141e0(param_2)" identifier (argument_list "(param_2)" ( identifier ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(iVar1 < param_3)" ( (binary_expression "iVar1 < param_3" identifier < identifier) )) (compound_statement "{\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)piVar2[3];" (assignment_expression "piVar2 = (int *)piVar2[3]" identifier = (cast_expression "(int *)piVar2[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[3]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0001443d;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001443d;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (if_statement "if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }" if (parenthesized_expression "(iVar1 == param_3)" ( (binary_expression "iVar1 == param_3" identifier == identifier) )) (compound_statement "{\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }" { (expression_statement "FUN_00011d50(param_1,piVar2[1],piVar2[2]);" (call_expression "FUN_00011d50(param_1,piVar2[1],piVar2[2])" identifier (argument_list "(param_1,piVar2[1],piVar2[2])" ( identifier , (subscript_expression "piVar2[1]" identifier [ number_literal ]) , (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) (goto_statement "goto LAB_0001444b;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0001443d:\n  FUN_00014b50(param_1,0);" statement_identifier : (expression_statement "FUN_00014b50(param_1,0);" (call_expression "FUN_00014b50(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;)) (labeled_statement "LAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }" if (parenthesized_expression "(local_14 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_14 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) comment (expression_statement "FUN_00018840();" (call_expression "FUN_00018840()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\ndc_data dc_array_get(int array_id,int Index)\n\n{\n  int iVar1;\n  int iVar2;\n  dc_array *pdVar3;\n  anon_union_4_2_78161589_for_v aVar4;\n  int in_GS_OFFSET;\n  dc_data dVar5;\n  dc_data dVar6;\n  dc_value_type in_stack_00000004;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pdVar3 = dc_get_stacked_array(array_id);\n  if (pdVar3 != (dc_array *)0x0) {\n    iVar2 = pdVar3->Index;\n    while (iVar2 < Index) {\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }\n    if (iVar2 == Index) {\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  dVar6 = dc_int2data(0);\n  aVar4 = dVar6.v;\nLAB_0001444b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    dVar5.v.number = aVar4.number;\n    dVar5.dc_type = in_stack_00000004;\n    return dVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}\n\n" comment comment (function_definition "dc_data dc_array_get(int array_id,int Index)\n\n{\n  int iVar1;\n  int iVar2;\n  dc_array *pdVar3;\n  anon_union_4_2_78161589_for_v aVar4;\n  int in_GS_OFFSET;\n  dc_data dVar5;\n  dc_data dVar6;\n  dc_value_type in_stack_00000004;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pdVar3 = dc_get_stacked_array(array_id);\n  if (pdVar3 != (dc_array *)0x0) {\n    iVar2 = pdVar3->Index;\n    while (iVar2 < Index) {\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }\n    if (iVar2 == Index) {\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  dVar6 = dc_int2data(0);\n  aVar4 = dVar6.v;\nLAB_0001444b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    dVar5.v.number = aVar4.number;\n    dVar5.dc_type = in_stack_00000004;\n    return dVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" type_identifier (function_declarator "dc_array_get(int array_id,int Index)" identifier (parameter_list "(int array_id,int Index)" ( (parameter_declaration "int array_id" primitive_type identifier) , (parameter_declaration "int Index" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  dc_array *pdVar3;\n  anon_union_4_2_78161589_for_v aVar4;\n  int in_GS_OFFSET;\n  dc_data dVar5;\n  dc_data dVar6;\n  dc_value_type in_stack_00000004;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pdVar3 = dc_get_stacked_array(array_id);\n  if (pdVar3 != (dc_array *)0x0) {\n    iVar2 = pdVar3->Index;\n    while (iVar2 < Index) {\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }\n    if (iVar2 == Index) {\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  dVar6 = dc_int2data(0);\n  aVar4 = dVar6.v;\nLAB_0001444b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    dVar5.v.number = aVar4.number;\n    dVar5.dc_type = in_stack_00000004;\n    return dVar5;\n  }\n                    /* WARNING: Subroutine does not return */\n  __stack_chk_fail_local();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "dc_array *pdVar3;" type_identifier (pointer_declarator "*pdVar3" * identifier) ;) (declaration "anon_union_4_2_78161589_for_v aVar4;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "dc_data dVar5;" type_identifier identifier ;) (declaration "dc_data dVar6;" type_identifier identifier ;) (declaration "dc_value_type in_stack_00000004;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pdVar3 = dc_get_stacked_array(array_id);" (assignment_expression "pdVar3 = dc_get_stacked_array(array_id)" identifier = (call_expression "dc_get_stacked_array(array_id)" identifier (argument_list "(array_id)" ( identifier )))) ;) (if_statement "if (pdVar3 != (dc_array *)0x0) {\n    iVar2 = pdVar3->Index;\n    while (iVar2 < Index) {\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }\n    if (iVar2 == Index) {\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }\n  }" if (parenthesized_expression "(pdVar3 != (dc_array *)0x0)" ( (binary_expression "pdVar3 != (dc_array *)0x0" identifier != (cast_expression "(dc_array *)0x0" ( (type_descriptor "dc_array *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = pdVar3->Index;\n    while (iVar2 < Index) {\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }\n    if (iVar2 == Index) {\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }\n  }" { (expression_statement "iVar2 = pdVar3->Index;" (assignment_expression "iVar2 = pdVar3->Index" identifier = (field_expression "pdVar3->Index" identifier -> field_identifier)) ;) (while_statement "while (iVar2 < Index) {\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }" while (parenthesized_expression "(iVar2 < Index)" ( (binary_expression "iVar2 < Index" identifier < identifier) )) (compound_statement "{\n      pdVar3 = pdVar3->next;\n      if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;\n      iVar2 = pdVar3->Index;\n    }" { (expression_statement "pdVar3 = pdVar3->next;" (assignment_expression "pdVar3 = pdVar3->next" identifier = (field_expression "pdVar3->next" identifier -> field_identifier)) ;) (if_statement "if (pdVar3 == (dc_array *)0x0) goto LAB_0001443d;" if (parenthesized_expression "(pdVar3 == (dc_array *)0x0)" ( (binary_expression "pdVar3 == (dc_array *)0x0" identifier == (cast_expression "(dc_array *)0x0" ( (type_descriptor "dc_array *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001443d;" goto statement_identifier ;)) (expression_statement "iVar2 = pdVar3->Index;" (assignment_expression "iVar2 = pdVar3->Index" identifier = (field_expression "pdVar3->Index" identifier -> field_identifier)) ;) })) (if_statement "if (iVar2 == Index) {\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }" if (parenthesized_expression "(iVar2 == Index)" ( (binary_expression "iVar2 == Index" identifier == identifier) )) (compound_statement "{\n      dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;\n      dVar6.dc_type = in_stack_00000004;\n      dVar6 = dc_dup(dVar6);\n      aVar4 = dVar6.v;\n      goto LAB_0001444b;\n    }" { (expression_statement "dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type;" (assignment_expression "dVar6.v = (anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type" (field_expression "dVar6.v" identifier . field_identifier) = (field_expression "(anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value).dc_type" (call_expression "(anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)(pdVar3->value)" (call_expression "(anon_union_4_2_78161589_for_v)\n                (anon_union_4_2_78161589_for_v)" (parenthesized_expression "(anon_union_4_2_78161589_for_v)" ( identifier )) (argument_list "(anon_union_4_2_78161589_for_v)" ( identifier ))) (argument_list "(pdVar3->value)" ( (field_expression "pdVar3->value" identifier -> field_identifier) ))) . field_identifier)) ;) (expression_statement "dVar6.dc_type = in_stack_00000004;" (assignment_expression "dVar6.dc_type = in_stack_00000004" (field_expression "dVar6.dc_type" identifier . field_identifier) = identifier) ;) (expression_statement "dVar6 = dc_dup(dVar6);" (assignment_expression "dVar6 = dc_dup(dVar6)" identifier = (call_expression "dc_dup(dVar6)" identifier (argument_list "(dVar6)" ( identifier )))) ;) (expression_statement "aVar4 = dVar6.v;" (assignment_expression "aVar4 = dVar6.v" identifier = (field_expression "dVar6.v" identifier . field_identifier)) ;) (goto_statement "goto LAB_0001444b;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0001443d:\n  dVar6 = dc_int2data(0);" statement_identifier : (expression_statement "dVar6 = dc_int2data(0);" (assignment_expression "dVar6 = dc_int2data(0)" identifier = (call_expression "dc_int2data(0)" identifier (argument_list "(0)" ( number_literal )))) ;)) (expression_statement "aVar4 = dVar6.v;" (assignment_expression "aVar4 = dVar6.v" identifier = (field_expression "dVar6.v" identifier . field_identifier)) ;) (labeled_statement "LAB_0001444b:\n  if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    dVar5.v.number = aVar4.number;\n    dVar5.dc_type = in_stack_00000004;\n    return dVar5;\n  }" statement_identifier : (if_statement "if (iVar1 == *(int *)(in_GS_OFFSET + 0x14)) {\n    dVar5.v.number = aVar4.number;\n    dVar5.dc_type = in_stack_00000004;\n    return dVar5;\n  }" if (parenthesized_expression "(iVar1 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    dVar5.v.number = aVar4.number;\n    dVar5.dc_type = in_stack_00000004;\n    return dVar5;\n  }" { (expression_statement "dVar5.v.number = aVar4.number;" (assignment_expression "dVar5.v.number = aVar4.number" (field_expression "dVar5.v.number" (field_expression "dVar5.v" identifier . field_identifier) . field_identifier) = (field_expression "aVar4.number" identifier . field_identifier)) ;) (expression_statement "dVar5.dc_type = in_stack_00000004;" (assignment_expression "dVar5.dc_type = in_stack_00000004" (field_expression "dVar5.dc_type" identifier . field_identifier) = identifier) ;) (return_statement "return dVar5;" return identifier ;) }))) comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "undefined4 FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    \n  FUN_00018840();\n}\n\n" (function_definition "undefined4 FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    \n  FUN_00018840();\n}" type_identifier (function_declarator "FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    \n  FUN_00018840();\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int local_14;" primitive_type identifier ;) (expression_statement "piVar2 = (int *)FUN_000141e0(param_2);" (assignment_expression "piVar2 = (int *)FUN_000141e0(param_2)" identifier = (cast_expression "(int *)FUN_000141e0(param_2)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000141e0(param_2)" identifier (argument_list "(param_2)" ( identifier ))))) ;) (if_statement "if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }" if (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }" { (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) (while_statement "while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }" while (parenthesized_expression "(iVar1 < param_3)" ( (binary_expression "iVar1 < param_3" identifier < identifier) )) (compound_statement "{\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }" { (expression_statement "piVar2 = (int *)piVar2[3];" (assignment_expression "piVar2 = (int *)piVar2[3]" identifier = (cast_expression "(int *)piVar2[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[3]" identifier [ number_literal ]))) ;) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0001443d;" if (parenthesized_expression "(piVar2 == (int *)0x0)" ( (binary_expression "piVar2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0001443d;" goto statement_identifier ;)) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" identifier = (pointer_expression "*piVar2" * identifier)) ;) })) (if_statement "if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }" if (parenthesized_expression "(iVar1 == param_3)" ( (binary_expression "iVar1 == param_3" identifier == identifier) )) (compound_statement "{\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }" { (expression_statement "FUN_00011d50(param_1,piVar2[1],piVar2[2]);" (call_expression "FUN_00011d50(param_1,piVar2[1],piVar2[2])" identifier (argument_list "(param_1,piVar2[1],piVar2[2])" ( identifier , (subscript_expression "piVar2[1]" identifier [ number_literal ]) , (subscript_expression "piVar2[2]" identifier [ number_literal ]) ))) ;) (goto_statement "goto LAB_0001444b;" goto statement_identifier ;) })) })) (labeled_statement "LAB_0001443d:\n  FUN_00014b50(param_1,0);" statement_identifier : (expression_statement "FUN_00014b50(param_1,0);" (call_expression "FUN_00014b50(param_1,0)" identifier (argument_list "(param_1,0)" ( identifier , number_literal ))) ;)) (labeled_statement "LAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }" statement_identifier : (if_statement "if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }" if (parenthesized_expression "(local_14 == *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_14 == *(int *)(in_GS_OFFSET + 0x14)" identifier == (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n    return param_1;\n  }" { (return_statement "return param_1;" return identifier ;) }))) (expression_statement "FUN_00018840();" (call_expression "FUN_00018840()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (while_statement while (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) ))) ;) (goto_statement goto statement_identifier ;) })) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) }))) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "undefined4 FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    \n  FUN_00018840();\n}" (type_identifier "undefined4") (function_declarator "FUN_000143f0(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_000143f0") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  int in_GS_OFFSET;\n  int local_14;\n  \n  piVar2 = (int *)FUN_000141e0(param_2);\n  if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }\nLAB_0001443d:\n  FUN_00014b50(param_1,0);\nLAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }\n                    \n  FUN_00018840();\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int local_14;" (primitive_type "int") (identifier "local_14") (; ";")) (expression_statement "piVar2 = (int *)FUN_000141e0(param_2);" (assignment_expression "piVar2 = (int *)FUN_000141e0(param_2)" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_000141e0(param_2)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000141e0(param_2)" (identifier "FUN_000141e0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")"))))) (; ";")) (if_statement "if (piVar2 != (int *)0x0) {\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }" (if "if") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar1 = *piVar2;\n    while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }\n    if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (while_statement "while (iVar1 < param_3) {\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }" (while "while") (parenthesized_expression "(iVar1 < param_3)" (( "(") (binary_expression "iVar1 < param_3" (identifier "iVar1") (< "<") (identifier "param_3")) () ")")) (compound_statement "{\n      piVar2 = (int *)piVar2[3];\n      if (piVar2 == (int *)0x0) goto LAB_0001443d;\n      iVar1 = *piVar2;\n    }" ({ "{") (expression_statement "piVar2 = (int *)piVar2[3];" (assignment_expression "piVar2 = (int *)piVar2[3]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[3]" (identifier "piVar2") ([ "[") (number_literal "3") (] "]")))) (; ";")) (if_statement "if (piVar2 == (int *)0x0) goto LAB_0001443d;" (if "if") (parenthesized_expression "(piVar2 == (int *)0x0)" (( "(") (binary_expression "piVar2 == (int *)0x0" (identifier "piVar2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_0001443d;" (goto "goto") (statement_identifier "LAB_0001443d") (; ";"))) (expression_statement "iVar1 = *piVar2;" (assignment_expression "iVar1 = *piVar2" (identifier "iVar1") (= "=") (pointer_expression "*piVar2" (* "*") (identifier "piVar2"))) (; ";")) (} "}"))) (if_statement "if (iVar1 == param_3) {\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }" (if "if") (parenthesized_expression "(iVar1 == param_3)" (( "(") (binary_expression "iVar1 == param_3" (identifier "iVar1") (== "==") (identifier "param_3")) () ")")) (compound_statement "{\n      FUN_00011d50(param_1,piVar2[1],piVar2[2]);\n      goto LAB_0001444b;\n    }" ({ "{") (expression_statement "FUN_00011d50(param_1,piVar2[1],piVar2[2]);" (call_expression "FUN_00011d50(param_1,piVar2[1],piVar2[2])" (identifier "FUN_00011d50") (argument_list "(param_1,piVar2[1],piVar2[2])" (( "(") (identifier "param_1") (, ",") (subscript_expression "piVar2[1]" (identifier "piVar2") ([ "[") (number_literal "1") (] "]")) (, ",") (subscript_expression "piVar2[2]" (identifier "piVar2") ([ "[") (number_literal "2") (] "]")) () ")"))) (; ";")) (goto_statement "goto LAB_0001444b;" (goto "goto") (statement_identifier "LAB_0001444b") (; ";")) (} "}"))) (} "}"))) (labeled_statement "LAB_0001443d:\n  FUN_00014b50(param_1,0);" (statement_identifier "LAB_0001443d") (: ":") (expression_statement "FUN_00014b50(param_1,0);" (call_expression "FUN_00014b50(param_1,0)" (identifier "FUN_00014b50") (argument_list "(param_1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "0") () ")"))) (; ";"))) (labeled_statement "LAB_0001444b:\n  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }" (statement_identifier "LAB_0001444b") (: ":") (if_statement "if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {\n    return param_1;\n  }" (if "if") (parenthesized_expression "(local_14 == *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_14 == *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_14") (== "==") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n    return param_1;\n  }" ({ "{") (return_statement "return param_1;" (return "return") (identifier "param_1") (; ";")) (} "}")))) (expression_statement "FUN_00018840();" (call_expression "FUN_00018840()" (identifier "FUN_00018840") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

type_1 function_1(int array_id,int var_5)

{
  int var_8;
  int var_4;
  type_2 *var_3;
  type_3 aVar4;
  int var_1;
  type_1 dVar5;
  type_1 dVar6;
  type_4 in_stack_00000004;
  
  var_8 = *(int *)(var_1 + 0x14);
  var_3 = var_2(array_id);
  if (var_3 != (type_2 *)0x0) {
    var_4 = var_3->var_5;
    while (var_4 < var_5) {
      var_3 = var_3->next;
      if (var_3 == (type_2 *)0x0) goto LAB_0001443d;
      var_4 = var_3->var_5;
    }
    if (var_4 == var_5) {
      dVar6.v = (type_3)
                (type_3)(var_3->value).dc_type;
      dVar6.dc_type = in_stack_00000004;
      dVar6 = var_6(dVar6);
      aVar4 = dVar6.v;
      goto LAB_0001444b;
    }
  }
LAB_0001443d:
  dVar6 = var_7(0);
  aVar4 = dVar6.v;
LAB_0001444b:
  if (var_8 == *(int *)(var_1 + 0x14)) {
    dVar5.v.number = aVar4.number;
    dVar5.dc_type = in_stack_00000004;
    return dVar5;
  }
                    /* WARNING: Subroutine does not return */
  var_9();
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal))))) (goto_statement label: (statement_identifier)))))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (return_statement (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  int *piVar2;
  int in_GS_OFFSET;
  int local_14;
  
  piVar2 = (int *)FUN_000141e0(param_2);
  if (piVar2 != (int *)0x0) {
    iVar1 = *piVar2;
    while (iVar1 < param_3) {
      piVar2 = (int *)piVar2[3];
      if (piVar2 == (int *)0x0) goto LAB_0001443d;
      iVar1 = *piVar2;
    }
    if (iVar1 == param_3) {
      FUN_00011d50(param_1,piVar2[1],piVar2[2]);
      goto LAB_0001444b;
    }
  }
LAB_0001443d:
  FUN_00014b50(param_1,0);
LAB_0001444b:
  if (local_14 == *(int *)(in_GS_OFFSET + 0x14)) {
    return param_1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_00018840();
}

