
ssize_t pwrite(int __fd,void *__buf,size_t __n,__off_t __offset)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int *piVar4;
  char local_res4 [12];
  char cc [2];
  
  puVar1 = PTR___stack_chk_guard_00112630;
  uVar2 = (uint)__buf & 0xff;
  local_res4[0] = (char)__buf;
  iVar3 = *(int *)PTR___stack_chk_guard_00112630;
  if (uVar2 - 0x20 < 0x5f) {
LAB_0003368c:
    piVar4 = *(int **)(__fd + 0xc);
    uVar2 = 0;
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);
  }
  else if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&
          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {
    if (0x9f < uVar2) goto LAB_0003368c;
    if (-1 < local_res4[0]) goto LAB_000336d4;
    (*(code *)PTR___sprintf_chk_00112514)
              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);
    uVar2 = 0;
    piVar4 = *(int **)(__fd + 0xc);
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);
  }
  else {
    if (local_res4[0] < '\0') goto LAB_0003368c;
LAB_000336d4:
    if (uVar2 == 0x7f) {
      cc[1] = '?';
    }
    else {
      cc[1] = local_res4[0] + '@';
    }
    piVar4 = *(int **)(__fd + 0xc);
    uVar2 = 0;
    cc[0] = '^';
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);
  }
  if (iVar3 == *(int *)puVar1) {
    return *(int *)puVar1;
  }
  (*(code *)PTR___stack_chk_fail_001122c8)();
  if (uVar2 - 0x20 < 0x5f) {
    return 1;
  }
  if (uVar2 < 0xa0) {
    if (-1 < (char)uVar2) {
      return 2;
    }
    iVar3 = *piVar4;
    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;
  }
  else {
    iVar3 = *piVar4;
    if (*(int *)(iVar3 + 0xdc) == 0) {
      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {
        return 1;
      }
LAB_000337d0:
      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {
        return 4;
      }
      return (uint)(0xbf < uVar2);
    }
  }
  return uVar2 < 0xc0 ^ 1;
}



uint FUN_00033610(int *param_1,byte param_2)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int *piVar4;
  byte local_res4 [12];
  undefined1 local_1c;
  char local_1b;
  uint local_14;
  
  puVar1 = PTR___stack_chk_guard_00112630;
  uVar2 = (uint)param_2;
  local_14 = *(uint *)PTR___stack_chk_guard_00112630;
  local_res4[0] = param_2;
  if (uVar2 - 0x20 < 0x5f) {
LAB_0003368c:
    piVar4 = (int *)param_1[3];
    uVar2 = 0;
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);
  }
  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)
          ) {
    if (0x9f < uVar2) goto LAB_0003368c;
    if (-1 < (char)param_2) goto LAB_000336d4;
    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);
    uVar2 = 0;
    piVar4 = (int *)param_1[3];
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);
  }
  else {
    if ((char)param_2 < '\0') goto LAB_0003368c;
LAB_000336d4:
    if (uVar2 == 0x7f) {
      local_1b = '?';
    }
    else {
      local_1b = param_2 + 0x40;
    }
    piVar4 = (int *)param_1[3];
    uVar2 = 0;
    local_1c = 0x5e;
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);
  }
  if (local_14 == *(uint *)puVar1) {
    return *(uint *)puVar1;
  }
  (*(code *)PTR___stack_chk_fail_001122c8)();
  if (uVar2 - 0x20 < 0x5f) {
    return 1;
  }
  if (uVar2 < 0xa0) {
    if (-1 < (char)uVar2) {
      return 2;
    }
    iVar3 = *piVar4;
    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;
  }
  else {
    iVar3 = *piVar4;
    if (*(int *)(iVar3 + 0xdc) == 0) {
      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {
        return 1;
      }
LAB_000337d0:
      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {
        return 4;
      }
      return (uint)(0xbf < uVar2);
    }
  }
  return uVar2 < 0xc0 ^ 1;
}


lui gp,0xe
addiu gp,gp,0x5ca0
addu gp,gp,t9
addiu sp,sp,-0x40
andi v0,a1,0xff
addiu v1,v0,-0x20
sw s0,0x30(sp)
sw s1,0x34(sp)
or s1,a0,zero
lw s0,-0x6c80(gp)
sltiu v1,v1,0x5f
sw gp,0x18(sp)
sw ra,0x3c(sp)
sw s2,0x38(sp)
sb a1,0x44(sp)
lw a0,0x0(s0)
sw a0,0x2c(sp)
bne v1,zero,0x0003368c
_lw t9,-0x7ef8(gp)
lw v1,0x0(s1)
lw a0,0xdc(v1)
bne a0,zero,0x000336c8
_nop
lw a0,0x1090(v1)
li v1,0x37
lw a0,0xc(a0)
beq a0,v1,0x000336c8
_sltiu v1,v0,0xa0
bne v1,zero,0x00033714
_seb v1,v0
lw t9,-0x7ef8(gp)
li a3,0x1
lw a0,0xc(s1)
addiu a2,sp,0x44
jalr t9
_or a1,zero,zero
lw gp,0x18(sp)
lw v1,0x2c(sp)
lw v0,0x0(s0)
bne v1,v0,0x00033768
_lw ra,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x40
seb v1,v0
bltz v1,0x0003368c
_lw t9,-0x7ef8(gp)
li v1,0x7f
beq v0,v1,0x00033760
_nop
addiu v0,v0,0x40
seb v0,v0
lw t9,-0x7ef8(gp)
li a3,0x2
lw a0,0xc(s1)
addiu a2,sp,0x24
sb v0,0x25(sp)
li v0,0x5e
or a1,zero,zero
jalr t9
_sb v0,0x24(sp)
b 0x000336a4
_lw gp,0x18(sp)
bgez v1,0x000336d4
_lw a3,-0x7f9c(gp)
addiu s2,sp,0x24
lw t9,-0x6d9c(gp)
li a2,0x5
li a1,0x1
sw v0,0x10(sp)
addiu a3,a3,0x4c10
jalr t9
_or a0,s2,zero
li a3,0x4
lw gp,0x18(sp)
or a1,zero,zero
lw a0,0xc(s1)
lw t9,-0x7ef8(gp)
jalr t9
_or a2,s2,zero
b 0x000336a4
_lw gp,0x18(sp)
b 0x000336e8
_li v0,0x3f
lw t9,-0x6fe8(gp)
jalr t9
_nop
(translation_unit "uint FUN_00033610(int *param_1,byte param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}\n\n" (function_definition "uint FUN_00033610(int *param_1,byte param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" type_identifier (function_declarator "FUN_00033610(int *param_1,byte param_2)" identifier (parameter_list "(int *param_1,byte param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "byte local_res4 [12];" type_identifier (array_declarator "local_res4 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1c;" type_identifier identifier ;) (declaration "char local_1b;" primitive_type identifier ;) (declaration "uint local_14;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00112630" identifier = identifier) ;) (expression_statement "uVar2 = (uint)param_2;" (assignment_expression "uVar2 = (uint)param_2" identifier = (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_14 = *(uint *)PTR___stack_chk_guard_00112630;" (assignment_expression "local_14 = *(uint *)PTR___stack_chk_guard_00112630" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_00112630" * (cast_expression "(uint *)PTR___stack_chk_guard_00112630" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res4[0] = param_2;" (assignment_expression "local_res4[0] = param_2" (subscript_expression "local_res4[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }" { (labeled_statement "LAB_0003368c:\n    piVar4 = (int *)param_1[3];" statement_identifier : (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" identifier = (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;)) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,local_res4,1)" ( identifier , number_literal , identifier , number_literal ))) ;) }) (else_clause "else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" else (if_statement "if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" if (parenthesized_expression "((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          )" ( (binary_expression "(*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)" (parenthesized_expression "(*(int *)(*param_1 + 0xdc) == 0)" ( (binary_expression "*(int *)(*param_1 + 0xdc) == 0" (pointer_expression "*(int *)(*param_1 + 0xdc)" * (cast_expression "(int *)(*param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xdc)" ( (binary_expression "*param_1 + 0xdc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(*param_1 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(*param_1 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(*param_1 + 0x1090) + 0xc" (pointer_expression "*(int *)(*param_1 + 0x1090)" * (cast_expression "(int *)(*param_1 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x1090)" ( (binary_expression "*param_1 + 0x1090" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }" { (if_statement "if (0x9f < uVar2) goto LAB_0003368c;" if (parenthesized_expression "(0x9f < uVar2)" ( (binary_expression "0x9f < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0003368c;" goto statement_identifier ;)) (if_statement "if (-1 < (char)param_2) goto LAB_000336d4;" if (parenthesized_expression "(-1 < (char)param_2)" ( (binary_expression "-1 < (char)param_2" number_literal < (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (goto_statement "goto LAB_000336d4;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);" (call_expression "(*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00112514)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00112514" * (cast_expression "(code *)PTR___sprintf_chk_00112514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2)" ( (pointer_expression "&local_1c" & identifier) , number_literal , number_literal , (binary_expression "PTR_DAT_00111314 + 0x4c10" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" identifier = (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,&local_1c,4)" ( identifier , number_literal , (pointer_expression "&local_1c" & identifier) , number_literal ))) ;) }) (else_clause "else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" else (compound_statement "{\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" { (if_statement "if ((char)param_2 < '\0') goto LAB_0003368c;" if (parenthesized_expression "((char)param_2 < '\0')" ( (binary_expression "(char)param_2 < '\0'" (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0003368c;" goto statement_identifier ;)) (labeled_statement "LAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }" statement_identifier : (if_statement "if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }" if (parenthesized_expression "(uVar2 == 0x7f)" ( (binary_expression "uVar2 == 0x7f" identifier == number_literal) )) (compound_statement "{\n      local_1b = '?';\n    }" { (expression_statement "local_1b = '?';" (assignment_expression "local_1b = '?'" identifier = (char_literal "'?'" ' character ')) ;) }) (else_clause "else {\n      local_1b = param_2 + 0x40;\n    }" else (compound_statement "{\n      local_1b = param_2 + 0x40;\n    }" { (expression_statement "local_1b = param_2 + 0x40;" (assignment_expression "local_1b = param_2 + 0x40" identifier = (binary_expression "param_2 + 0x40" identifier + number_literal)) ;) })))) (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" identifier = (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "local_1c = 0x5e;" (assignment_expression "local_1c = 0x5e" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,&local_1c,2)" ( identifier , number_literal , (pointer_expression "&local_1c" & identifier) , number_literal ))) ;) }))))) (if_statement "if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }" if (parenthesized_expression "(local_14 == *(uint *)puVar1)" ( (binary_expression "local_14 == *(uint *)puVar1" identifier == (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(uint *)puVar1;\n  }" { (return_statement "return *(uint *)puVar1;" return (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" * (cast_expression "(code *)PTR___stack_chk_fail_001122c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" if (parenthesized_expression "(uVar2 < 0xa0)" ( (binary_expression "uVar2 < 0xa0" identifier < number_literal) )) (compound_statement "{\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }" { (if_statement "if (-1 < (char)uVar2) {\n      return 2;\n    }" if (parenthesized_expression "(-1 < (char)uVar2)" ( (binary_expression "-1 < (char)uVar2" number_literal < (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;" if (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_000337d0;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" else (compound_statement "{\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" { (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" { (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" * (cast_expression "(int *)(iVar3 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1090)" ( (binary_expression "iVar3 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" statement_identifier : (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" * (cast_expression "(int *)(iVar3 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1090)" ( (binary_expression "iVar3 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return 4;\n      }" { (return_statement "return 4;" return number_literal ;) }))) (return_statement "return (uint)(0xbf < uVar2);" return (call_expression "(uint)(0xbf < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xbf < uVar2)" ( (binary_expression "0xbf < uVar2" number_literal < identifier) ))) ;) })) }))) (return_statement "return uVar2 < 0xc0 ^ 1;" return (binary_expression "uVar2 < 0xc0 ^ 1" (binary_expression "uVar2 < 0xc0" identifier < number_literal) ^ number_literal) ;) })))
(translation_unit "ssize_t pwrite(int __fd,void *__buf,size_t __n,__off_t __offset)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  char local_res4 [12];\n  char cc [2];\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)__buf & 0xff;\n  local_res4[0] = (char)__buf;\n  iVar3 = *(int *)PTR___stack_chk_guard_00112630;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }\n  else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }\n  if (iVar3 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}\n\n" (function_definition "ssize_t pwrite(int __fd,void *__buf,size_t __n,__off_t __offset)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  char local_res4 [12];\n  char cc [2];\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)__buf & 0xff;\n  local_res4[0] = (char)__buf;\n  iVar3 = *(int *)PTR___stack_chk_guard_00112630;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }\n  else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }\n  if (iVar3 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" primitive_type (function_declarator "pwrite(int __fd,void *__buf,size_t __n,__off_t __offset)" identifier (parameter_list "(int __fd,void *__buf,size_t __n,__off_t __offset)" ( (parameter_declaration "int __fd" primitive_type identifier) , (parameter_declaration "void *__buf" primitive_type (pointer_declarator "*__buf" * identifier)) , (parameter_declaration "size_t __n" primitive_type identifier) , (parameter_declaration "__off_t __offset" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  char local_res4 [12];\n  char cc [2];\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)__buf & 0xff;\n  local_res4[0] = (char)__buf;\n  iVar3 = *(int *)PTR___stack_chk_guard_00112630;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }\n  else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }\n  if (iVar3 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "char local_res4 [12];" primitive_type (array_declarator "local_res4 [12]" identifier [ number_literal ]) ;) (declaration "char cc [2];" primitive_type (array_declarator "cc [2]" identifier [ number_literal ]) ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00112630" identifier = identifier) ;) (expression_statement "uVar2 = (uint)__buf & 0xff;" (assignment_expression "uVar2 = (uint)__buf & 0xff" identifier = (binary_expression "(uint)__buf & 0xff" (cast_expression "(uint)__buf" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal)) ;) (expression_statement "local_res4[0] = (char)__buf;" (assignment_expression "local_res4[0] = (char)__buf" (subscript_expression "local_res4[0]" identifier [ number_literal ]) = (cast_expression "(char)__buf" ( (type_descriptor "char" primitive_type) ) identifier)) ;) (expression_statement "iVar3 = *(int *)PTR___stack_chk_guard_00112630;" (assignment_expression "iVar3 = *(int *)PTR___stack_chk_guard_00112630" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_00112630" * (cast_expression "(int *)PTR___stack_chk_guard_00112630" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }\n  else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\nLAB_0003368c:\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }" { (labeled_statement "LAB_0003368c:\n    piVar4 = *(int **)(__fd + 0xc);" statement_identifier : (expression_statement "piVar4 = *(int **)(__fd + 0xc);" (assignment_expression "piVar4 = *(int **)(__fd + 0xc)" identifier = (pointer_expression "*(int **)(__fd + 0xc)" * (cast_expression "(int **)(__fd + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__fd + 0xc)" ( (binary_expression "__fd + 0xc" identifier + number_literal) ))))) ;)) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,local_res4,1)" ( identifier , number_literal , identifier , number_literal ))) ;) }) (else_clause "else if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }\n  else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }" else (if_statement "if ((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }\n  else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }" if (parenthesized_expression "((*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37))" ( (binary_expression "(*(int *)(*(int *)__fd + 0xdc) == 0) &&\n          (*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)" (parenthesized_expression "(*(int *)(*(int *)__fd + 0xdc) == 0)" ( (binary_expression "*(int *)(*(int *)__fd + 0xdc) == 0" (pointer_expression "*(int *)(*(int *)__fd + 0xdc)" * (cast_expression "(int *)(*(int *)__fd + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)__fd + 0xdc)" ( (binary_expression "*(int *)__fd + 0xdc" (pointer_expression "*(int *)__fd" * (cast_expression "(int *)__fd" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(*(int *)__fd + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*(int *)__fd + 0x1090) + 0xc)" ( (binary_expression "*(int *)(*(int *)__fd + 0x1090) + 0xc" (pointer_expression "*(int *)(*(int *)__fd + 0x1090)" * (cast_expression "(int *)(*(int *)__fd + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)__fd + 0x1090)" ( (binary_expression "*(int *)__fd + 0x1090" (pointer_expression "*(int *)__fd" * (cast_expression "(int *)__fd" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < local_res4[0]) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = *(int **)(__fd + 0xc);\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);\n  }" { (if_statement "if (0x9f < uVar2) goto LAB_0003368c;" if (parenthesized_expression "(0x9f < uVar2)" ( (binary_expression "0x9f < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0003368c;" goto statement_identifier ;)) (if_statement "if (-1 < local_res4[0]) goto LAB_000336d4;" if (parenthesized_expression "(-1 < local_res4[0])" ( (binary_expression "-1 < local_res4[0]" number_literal < (subscript_expression "local_res4[0]" identifier [ number_literal ])) )) (goto_statement "goto LAB_000336d4;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2);" (call_expression "(*(code *)PTR___sprintf_chk_00112514)\n              (cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00112514)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00112514" * (cast_expression "(code *)PTR___sprintf_chk_00112514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(cc,1,5,PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10,uVar2)" ( identifier , number_literal , number_literal , (binary_expression "PTR_data_CS_ISO8859_4_sbcs2ucs_142__00111314 + 0x4c10" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = *(int **)(__fd + 0xc);" (assignment_expression "piVar4 = *(int **)(__fd + 0xc)" identifier = (pointer_expression "*(int **)(__fd + 0xc)" * (cast_expression "(int **)(__fd + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__fd + 0xc)" ( (binary_expression "__fd + 0xc" identifier + number_literal) ))))) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,4)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,cc,4)" ( identifier , number_literal , identifier , number_literal ))) ;) }) (else_clause "else {\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }" else (compound_statement "{\n    if (local_res4[0] < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }\n    piVar4 = *(int **)(__fd + 0xc);\n    uVar2 = 0;\n    cc[0] = '^';\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);\n  }" { (if_statement "if (local_res4[0] < '\0') goto LAB_0003368c;" if (parenthesized_expression "(local_res4[0] < '\0')" ( (binary_expression "local_res4[0] < '\0'" (subscript_expression "local_res4[0]" identifier [ number_literal ]) < (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0003368c;" goto statement_identifier ;)) (labeled_statement "LAB_000336d4:\n    if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }" statement_identifier : (if_statement "if (uVar2 == 0x7f) {\n      cc[1] = '?';\n    }\n    else {\n      cc[1] = local_res4[0] + '@';\n    }" if (parenthesized_expression "(uVar2 == 0x7f)" ( (binary_expression "uVar2 == 0x7f" identifier == number_literal) )) (compound_statement "{\n      cc[1] = '?';\n    }" { (expression_statement "cc[1] = '?';" (assignment_expression "cc[1] = '?'" (subscript_expression "cc[1]" identifier [ number_literal ]) = (char_literal "'?'" ' character ')) ;) }) (else_clause "else {\n      cc[1] = local_res4[0] + '@';\n    }" else (compound_statement "{\n      cc[1] = local_res4[0] + '@';\n    }" { (expression_statement "cc[1] = local_res4[0] + '@';" (assignment_expression "cc[1] = local_res4[0] + '@'" (subscript_expression "cc[1]" identifier [ number_literal ]) = (binary_expression "local_res4[0] + '@'" (subscript_expression "local_res4[0]" identifier [ number_literal ]) + (char_literal "'@'" ' character '))) ;) })))) (expression_statement "piVar4 = *(int **)(__fd + 0xc);" (assignment_expression "piVar4 = *(int **)(__fd + 0xc)" identifier = (pointer_expression "*(int **)(__fd + 0xc)" * (cast_expression "(int **)(__fd + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(__fd + 0xc)" ( (binary_expression "__fd + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "cc[0] = '^';" (assignment_expression "cc[0] = '^'" (subscript_expression "cc[0]" identifier [ number_literal ]) = (char_literal "'^'" ' character ')) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,cc,2)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,cc,2)" ( identifier , number_literal , identifier , number_literal ))) ;) }))))) (if_statement "if (iVar3 == *(int *)puVar1) {\n    return *(int *)puVar1;\n  }" if (parenthesized_expression "(iVar3 == *(int *)puVar1)" ( (binary_expression "iVar3 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(int *)puVar1;\n  }" { (return_statement "return *(int *)puVar1;" return (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" * (cast_expression "(code *)PTR___stack_chk_fail_001122c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" if (parenthesized_expression "(uVar2 < 0xa0)" ( (binary_expression "uVar2 < 0xa0" identifier < number_literal) )) (compound_statement "{\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }" { (if_statement "if (-1 < (char)uVar2) {\n      return 2;\n    }" if (parenthesized_expression "(-1 < (char)uVar2)" ( (binary_expression "-1 < (char)uVar2" number_literal < (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;" if (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_000337d0;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" else (compound_statement "{\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" { (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" { (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" * (cast_expression "(int *)(iVar3 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1090)" ( (binary_expression "iVar3 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" statement_identifier : (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" * (cast_expression "(int *)(iVar3 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1090)" ( (binary_expression "iVar3 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return 4;\n      }" { (return_statement "return 4;" return number_literal ;) }))) (return_statement "return (uint)(0xbf < uVar2);" return (call_expression "(uint)(0xbf < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xbf < uVar2)" ( (binary_expression "0xbf < uVar2" number_literal < identifier) ))) ;) })) }))) (return_statement "return uVar2 < 0xc0 ^ 1;" return (binary_expression "uVar2 < 0xc0 ^ 1" (binary_expression "uVar2 < 0xc0" identifier < number_literal) ^ number_literal) ;) })))
(translation_unit "uint FUN_00033610(int *param_1,byte param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}\n\n" (function_definition "uint FUN_00033610(int *param_1,byte param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" type_identifier (function_declarator "FUN_00033610(int *param_1,byte param_2)" identifier (parameter_list "(int *param_1,byte param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "byte local_res4 [12];" type_identifier (array_declarator "local_res4 [12]" identifier [ number_literal ]) ;) (declaration "undefined1 local_1c;" type_identifier identifier ;) (declaration "char local_1b;" primitive_type identifier ;) (declaration "uint local_14;" type_identifier identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00112630" identifier = identifier) ;) (expression_statement "uVar2 = (uint)param_2;" (assignment_expression "uVar2 = (uint)param_2" identifier = (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "local_14 = *(uint *)PTR___stack_chk_guard_00112630;" (assignment_expression "local_14 = *(uint *)PTR___stack_chk_guard_00112630" identifier = (pointer_expression "*(uint *)PTR___stack_chk_guard_00112630" * (cast_expression "(uint *)PTR___stack_chk_guard_00112630" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "local_res4[0] = param_2;" (assignment_expression "local_res4[0] = param_2" (subscript_expression "local_res4[0]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }" { (labeled_statement "LAB_0003368c:\n    piVar4 = (int *)param_1[3];" statement_identifier : (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" identifier = (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;)) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,local_res4,1)" ( identifier , number_literal , identifier , number_literal ))) ;) }) (else_clause "else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" else (if_statement "if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" if (parenthesized_expression "((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          )" ( (binary_expression "(*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)" (parenthesized_expression "(*(int *)(*param_1 + 0xdc) == 0)" ( (binary_expression "*(int *)(*param_1 + 0xdc) == 0" (pointer_expression "*(int *)(*param_1 + 0xdc)" * (cast_expression "(int *)(*param_1 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0xdc)" ( (binary_expression "*param_1 + 0xdc" (pointer_expression "*param_1" * identifier) + number_literal) )))) == number_literal) )) && (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(*param_1 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(*param_1 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(*param_1 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(*param_1 + 0x1090) + 0xc" (pointer_expression "*(int *)(*param_1 + 0x1090)" * (cast_expression "(int *)(*param_1 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 0x1090)" ( (binary_expression "*param_1 + 0x1090" (pointer_expression "*param_1" * identifier) + number_literal) )))) + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }" { (if_statement "if (0x9f < uVar2) goto LAB_0003368c;" if (parenthesized_expression "(0x9f < uVar2)" ( (binary_expression "0x9f < uVar2" number_literal < identifier) )) (goto_statement "goto LAB_0003368c;" goto statement_identifier ;)) (if_statement "if (-1 < (char)param_2) goto LAB_000336d4;" if (parenthesized_expression "(-1 < (char)param_2)" ( (binary_expression "-1 < (char)param_2" number_literal < (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (goto_statement "goto LAB_000336d4;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);" (call_expression "(*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00112514)" ( (pointer_expression "*(code *)PTR___sprintf_chk_00112514" * (cast_expression "(code *)PTR___sprintf_chk_00112514" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2)" ( (pointer_expression "&local_1c" & identifier) , number_literal , number_literal , (binary_expression "PTR_DAT_00111314 + 0x4c10" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" identifier = (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,&local_1c,4)" ( identifier , number_literal , (pointer_expression "&local_1c" & identifier) , number_literal ))) ;) }) (else_clause "else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" else (compound_statement "{\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" { (if_statement "if ((char)param_2 < '\0') goto LAB_0003368c;" if (parenthesized_expression "((char)param_2 < '\0')" ( (binary_expression "(char)param_2 < '\0'" (cast_expression "(char)param_2" ( (type_descriptor "char" primitive_type) ) identifier) < (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0003368c;" goto statement_identifier ;)) (labeled_statement "LAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }" statement_identifier : (if_statement "if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }" if (parenthesized_expression "(uVar2 == 0x7f)" ( (binary_expression "uVar2 == 0x7f" identifier == number_literal) )) (compound_statement "{\n      local_1b = '?';\n    }" { (expression_statement "local_1b = '?';" (assignment_expression "local_1b = '?'" identifier = (char_literal "'?'" ' character ')) ;) }) (else_clause "else {\n      local_1b = param_2 + 0x40;\n    }" else (compound_statement "{\n      local_1b = param_2 + 0x40;\n    }" { (expression_statement "local_1b = param_2 + 0x40;" (assignment_expression "local_1b = param_2 + 0x40" identifier = (binary_expression "param_2 + 0x40" identifier + number_literal)) ;) })))) (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" identifier = (cast_expression "(int *)param_1[3]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[3]" identifier [ number_literal ]))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "local_1c = 0x5e;" (assignment_expression "local_1c = 0x5e" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" ( (pointer_expression "*(code *)PTR_from_backend_001113b8" * (cast_expression "(code *)PTR_from_backend_001113b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar4,0,&local_1c,2)" ( identifier , number_literal , (pointer_expression "&local_1c" & identifier) , number_literal ))) ;) }))))) (if_statement "if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }" if (parenthesized_expression "(local_14 == *(uint *)puVar1)" ( (binary_expression "local_14 == *(uint *)puVar1" identifier == (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return *(uint *)puVar1;\n  }" { (return_statement "return *(uint *)puVar1;" return (pointer_expression "*(uint *)puVar1" * (cast_expression "(uint *)puVar1" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) })) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" * (cast_expression "(code *)PTR___stack_chk_fail_001122c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (if_statement "if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }" if (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" ( (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" identifier - number_literal) < number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" if (parenthesized_expression "(uVar2 < 0xa0)" ( (binary_expression "uVar2 < 0xa0" identifier < number_literal) )) (compound_statement "{\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }" { (if_statement "if (-1 < (char)uVar2) {\n      return 2;\n    }" if (parenthesized_expression "(-1 < (char)uVar2)" ( (binary_expression "-1 < (char)uVar2" number_literal < (cast_expression "(char)uVar2" ( (type_descriptor "char" primitive_type) ) identifier)) )) (compound_statement "{\n      return 2;\n    }" { (return_statement "return 2;" return number_literal ;) })) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;" if (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_000337d0;" goto statement_identifier ;)) }) (else_clause "else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" else (compound_statement "{\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" { (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" identifier = (pointer_expression "*piVar4" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" * (cast_expression "(int *)(iVar3 + 0xdc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xdc)" ( (binary_expression "iVar3 + 0xdc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" { (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" * (cast_expression "(int *)(iVar3 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1090)" ( (binary_expression "iVar3 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return 1;\n      }" { (return_statement "return 1;" return number_literal ;) })) (labeled_statement "LAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" statement_identifier : (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" if (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" ( (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" * (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" ( (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" * (cast_expression "(int *)(iVar3 + 0x1090)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x1090)" ( (binary_expression "iVar3 + 0x1090" identifier + number_literal) )))) + number_literal) )))) != number_literal) )) (compound_statement "{\n        return 4;\n      }" { (return_statement "return 4;" return number_literal ;) }))) (return_statement "return (uint)(0xbf < uVar2);" return (call_expression "(uint)(0xbf < uVar2)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(0xbf < uVar2)" ( (binary_expression "0xbf < uVar2" number_literal < identifier) ))) ;) })) }))) (return_statement "return uVar2 < 0xc0 ^ 1;" return (binary_expression "uVar2 < 0xc0 ^ 1" (binary_expression "uVar2 < 0xc0" identifier < number_literal) ^ number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , LIT ))) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) + LIT) )))) != LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT , LIT , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (pointer_expression & IDENT) , LIT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (pointer_expression & IDENT) , LIT ))) ;) }))))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) < LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != LIT) )) (compound_statement { (return_statement return LIT ;) }))) (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression LIT < IDENT) ))) ;) })) }))) (return_statement return (binary_expression (binary_expression IDENT < LIT) ^ LIT) ;) })))
(function_definition "uint FUN_00033610(int *param_1,byte param_2)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" (type_identifier "uint") (function_declarator "FUN_00033610(int *param_1,byte param_2)" (identifier "FUN_00033610") (parameter_list "(int *param_1,byte param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte param_2" (type_identifier "byte") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int *piVar4;\n  byte local_res4 [12];\n  undefined1 local_1c;\n  char local_1b;\n  uint local_14;\n  \n  puVar1 = PTR___stack_chk_guard_00112630;\n  uVar2 = (uint)param_2;\n  local_14 = *(uint *)PTR___stack_chk_guard_00112630;\n  local_res4[0] = param_2;\n  if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }\n  if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }\n  (*(code *)PTR___stack_chk_fail_001122c8)();\n  if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }\n  if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }\n  return uVar2 < 0xc0 ^ 1;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *piVar4;" (primitive_type "int") (pointer_declarator "*piVar4" (* "*") (identifier "piVar4")) (; ";")) (declaration "byte local_res4 [12];" (type_identifier "byte") (array_declarator "local_res4 [12]" (identifier "local_res4") ([ "[") (number_literal "12") (] "]")) (; ";")) (declaration "undefined1 local_1c;" (type_identifier "undefined1") (identifier "local_1c") (; ";")) (declaration "char local_1b;" (primitive_type "char") (identifier "local_1b") (; ";")) (declaration "uint local_14;" (type_identifier "uint") (identifier "local_14") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_00112630;" (assignment_expression "puVar1 = PTR___stack_chk_guard_00112630" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_00112630")) (; ";")) (expression_statement "uVar2 = (uint)param_2;" (assignment_expression "uVar2 = (uint)param_2" (identifier "uVar2") (= "=") (cast_expression "(uint)param_2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_2"))) (; ";")) (expression_statement "local_14 = *(uint *)PTR___stack_chk_guard_00112630;" (assignment_expression "local_14 = *(uint *)PTR___stack_chk_guard_00112630" (identifier "local_14") (= "=") (pointer_expression "*(uint *)PTR___stack_chk_guard_00112630" (* "*") (cast_expression "(uint *)PTR___stack_chk_guard_00112630" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_00112630")))) (; ";")) (expression_statement "local_res4[0] = param_2;" (assignment_expression "local_res4[0] = param_2" (subscript_expression "local_res4[0]" (identifier "local_res4") ([ "[") (number_literal "0") (] "]")) (= "=") (identifier "param_2")) (; ";")) (if_statement "if (uVar2 - 0x20 < 0x5f) {\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }\n  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" (if "if") (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" (( "(") (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" (identifier "uVar2") (- "-") (number_literal "0x20")) (< "<") (number_literal "0x5f")) () ")")) (compound_statement "{\nLAB_0003368c:\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);\n  }" ({ "{") (labeled_statement "LAB_0003368c:\n    piVar4 = (int *)param_1[3];" (statement_identifier "LAB_0003368c") (: ":") (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" (identifier "piVar4") (= "=") (cast_expression "(int *)param_1[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";"))) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" (( "(") (pointer_expression "*(code *)PTR_from_backend_001113b8" (* "*") (cast_expression "(code *)PTR_from_backend_001113b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_from_backend_001113b8"))) () ")")) (argument_list "(piVar4,0,local_res4,1)" (( "(") (identifier "piVar4") (, ",") (number_literal "0") (, ",") (identifier "local_res4") (, ",") (number_literal "1") () ")"))) (; ";")) (} "}")) (else_clause "else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" (else "else") (if_statement "if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          ) {\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }\n  else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" (if "if") (parenthesized_expression "((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)\n          )" (( "(") (binary_expression "(*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)" (parenthesized_expression "(*(int *)(*param_1 + 0xdc) == 0)" (( "(") (binary_expression "*(int *)(*param_1 + 0xdc) == 0" (pointer_expression "*(int *)(*param_1 + 0xdc)" (* "*") (cast_expression "(int *)(*param_1 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0xdc)" (( "(") (binary_expression "*param_1 + 0xdc" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0xdc")) () ")")))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)" (( "(") (binary_expression "*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(*param_1 + 0x1090) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(*param_1 + 0x1090) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(*param_1 + 0x1090) + 0xc)" (( "(") (binary_expression "*(int *)(*param_1 + 0x1090) + 0xc" (pointer_expression "*(int *)(*param_1 + 0x1090)" (* "*") (cast_expression "(int *)(*param_1 + 0x1090)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 0x1090)" (( "(") (binary_expression "*param_1 + 0x1090" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "0x1090")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0x37")) () ")"))) () ")")) (compound_statement "{\n    if (0x9f < uVar2) goto LAB_0003368c;\n    if (-1 < (char)param_2) goto LAB_000336d4;\n    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);\n    uVar2 = 0;\n    piVar4 = (int *)param_1[3];\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);\n  }" ({ "{") (if_statement "if (0x9f < uVar2) goto LAB_0003368c;" (if "if") (parenthesized_expression "(0x9f < uVar2)" (( "(") (binary_expression "0x9f < uVar2" (number_literal "0x9f") (< "<") (identifier "uVar2")) () ")")) (goto_statement "goto LAB_0003368c;" (goto "goto") (statement_identifier "LAB_0003368c") (; ";"))) (if_statement "if (-1 < (char)param_2) goto LAB_000336d4;" (if "if") (parenthesized_expression "(-1 < (char)param_2)" (( "(") (binary_expression "-1 < (char)param_2" (number_literal "-1") (< "<") (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2"))) () ")")) (goto_statement "goto LAB_000336d4;" (goto "goto") (statement_identifier "LAB_000336d4") (; ";"))) (expression_statement "(*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);" (call_expression "(*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2)" (parenthesized_expression "(*(code *)PTR___sprintf_chk_00112514)" (( "(") (pointer_expression "*(code *)PTR___sprintf_chk_00112514" (* "*") (cast_expression "(code *)PTR___sprintf_chk_00112514" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___sprintf_chk_00112514"))) () ")")) (argument_list "(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2)" (( "(") (pointer_expression "&local_1c" (& "&") (identifier "local_1c")) (, ",") (number_literal "1") (, ",") (number_literal "5") (, ",") (binary_expression "PTR_DAT_00111314 + 0x4c10" (identifier "PTR_DAT_00111314") (+ "+") (number_literal "0x4c10")) (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" (identifier "piVar4") (= "=") (cast_expression "(int *)param_1[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" (( "(") (pointer_expression "*(code *)PTR_from_backend_001113b8" (* "*") (cast_expression "(code *)PTR_from_backend_001113b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_from_backend_001113b8"))) () ")")) (argument_list "(piVar4,0,&local_1c,4)" (( "(") (identifier "piVar4") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_1c" (& "&") (identifier "local_1c")) (, ",") (number_literal "4") () ")"))) (; ";")) (} "}")) (else_clause "else {\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" (else "else") (compound_statement "{\n    if ((char)param_2 < '\0') goto LAB_0003368c;\nLAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }\n    piVar4 = (int *)param_1[3];\n    uVar2 = 0;\n    local_1c = 0x5e;\n    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);\n  }" ({ "{") (if_statement "if ((char)param_2 < '\0') goto LAB_0003368c;" (if "if") (parenthesized_expression "((char)param_2 < '\0')" (( "(") (binary_expression "(char)param_2 < '\0'" (cast_expression "(char)param_2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_2")) (< "<") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0003368c;" (goto "goto") (statement_identifier "LAB_0003368c") (; ";"))) (labeled_statement "LAB_000336d4:\n    if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }" (statement_identifier "LAB_000336d4") (: ":") (if_statement "if (uVar2 == 0x7f) {\n      local_1b = '?';\n    }\n    else {\n      local_1b = param_2 + 0x40;\n    }" (if "if") (parenthesized_expression "(uVar2 == 0x7f)" (( "(") (binary_expression "uVar2 == 0x7f" (identifier "uVar2") (== "==") (number_literal "0x7f")) () ")")) (compound_statement "{\n      local_1b = '?';\n    }" ({ "{") (expression_statement "local_1b = '?';" (assignment_expression "local_1b = '?'" (identifier "local_1b") (= "=") (char_literal "'?'" (' "'") (character "?") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n      local_1b = param_2 + 0x40;\n    }" (else "else") (compound_statement "{\n      local_1b = param_2 + 0x40;\n    }" ({ "{") (expression_statement "local_1b = param_2 + 0x40;" (assignment_expression "local_1b = param_2 + 0x40" (identifier "local_1b") (= "=") (binary_expression "param_2 + 0x40" (identifier "param_2") (+ "+") (number_literal "0x40"))) (; ";")) (} "}"))))) (expression_statement "piVar4 = (int *)param_1[3];" (assignment_expression "piVar4 = (int *)param_1[3]" (identifier "piVar4") (= "=") (cast_expression "(int *)param_1[3]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1c = 0x5e;" (assignment_expression "local_1c = 0x5e" (identifier "local_1c") (= "=") (number_literal "0x5e")) (; ";")) (expression_statement "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);" (call_expression "(*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2)" (parenthesized_expression "(*(code *)PTR_from_backend_001113b8)" (( "(") (pointer_expression "*(code *)PTR_from_backend_001113b8" (* "*") (cast_expression "(code *)PTR_from_backend_001113b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_from_backend_001113b8"))) () ")")) (argument_list "(piVar4,0,&local_1c,2)" (( "(") (identifier "piVar4") (, ",") (number_literal "0") (, ",") (pointer_expression "&local_1c" (& "&") (identifier "local_1c")) (, ",") (number_literal "2") () ")"))) (; ";")) (} "}")))))) (if_statement "if (local_14 == *(uint *)puVar1) {\n    return *(uint *)puVar1;\n  }" (if "if") (parenthesized_expression "(local_14 == *(uint *)puVar1)" (( "(") (binary_expression "local_14 == *(uint *)puVar1" (identifier "local_14") (== "==") (pointer_expression "*(uint *)puVar1" (* "*") (cast_expression "(uint *)puVar1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return *(uint *)puVar1;\n  }" ({ "{") (return_statement "return *(uint *)puVar1;" (return "return") (pointer_expression "*(uint *)puVar1" (* "*") (cast_expression "(uint *)puVar1" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR___stack_chk_fail_001122c8)();" (call_expression "(*(code *)PTR___stack_chk_fail_001122c8)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_001122c8)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_001122c8" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_001122c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_001122c8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (uVar2 - 0x20 < 0x5f) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(uVar2 - 0x20 < 0x5f)" (( "(") (binary_expression "uVar2 - 0x20 < 0x5f" (binary_expression "uVar2 - 0x20" (identifier "uVar2") (- "-") (number_literal "0x20")) (< "<") (number_literal "0x5f")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if (uVar2 < 0xa0) {\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }\n  else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" (if "if") (parenthesized_expression "(uVar2 < 0xa0)" (( "(") (binary_expression "uVar2 < 0xa0" (identifier "uVar2") (< "<") (number_literal "0xa0")) () ")")) (compound_statement "{\n    if (-1 < (char)uVar2) {\n      return 2;\n    }\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;\n  }" ({ "{") (if_statement "if (-1 < (char)uVar2) {\n      return 2;\n    }" (if "if") (parenthesized_expression "(-1 < (char)uVar2)" (( "(") (binary_expression "-1 < (char)uVar2" (number_literal "-1") (< "<") (cast_expression "(char)uVar2" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar2"))) () ")")) (compound_statement "{\n      return 2;\n    }" ({ "{") (return_statement "return 2;" (return "return") (number_literal "2") (; ";")) (} "}"))) (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" (identifier "iVar3") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" (* "*") (cast_expression "(int *)(iVar3 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xdc)" (( "(") (binary_expression "iVar3 + 0xdc" (identifier "iVar3") (+ "+") (number_literal "0xdc")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_000337d0;" (goto "goto") (statement_identifier "LAB_000337d0") (; ";"))) (} "}")) (else_clause "else {\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" (else "else") (compound_statement "{\n    iVar3 = *piVar4;\n    if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }\n  }" ({ "{") (expression_statement "iVar3 = *piVar4;" (assignment_expression "iVar3 = *piVar4" (identifier "iVar3") (= "=") (pointer_expression "*piVar4" (* "*") (identifier "piVar4"))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0xdc) == 0) {\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0xdc) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0xdc) == 0" (pointer_expression "*(int *)(iVar3 + 0xdc)" (* "*") (cast_expression "(int *)(iVar3 + 0xdc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xdc)" (( "(") (binary_expression "iVar3 + 0xdc" (identifier "iVar3") (+ "+") (number_literal "0xdc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }\nLAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }\n      return (uint)(0xbf < uVar2);\n    }" ({ "{") (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 1;\n      }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" (( "(") (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" (( "(") (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" (* "*") (cast_expression "(int *)(iVar3 + 0x1090)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1090)" (( "(") (binary_expression "iVar3 + 0x1090" (identifier "iVar3") (+ "+") (number_literal "0x1090")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0x37")) () ")")) (compound_statement "{\n        return 1;\n      }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (labeled_statement "LAB_000337d0:\n      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" (statement_identifier "LAB_000337d0") (: ":") (if_statement "if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {\n        return 4;\n      }" (if "if") (parenthesized_expression "(*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37)" (( "(") (binary_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37" (pointer_expression "*(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" (* "*") (cast_expression "(int *)(*(int *)(iVar3 + 0x1090) + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x1090) + 0xc)" (( "(") (binary_expression "*(int *)(iVar3 + 0x1090) + 0xc" (pointer_expression "*(int *)(iVar3 + 0x1090)" (* "*") (cast_expression "(int *)(iVar3 + 0x1090)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x1090)" (( "(") (binary_expression "iVar3 + 0x1090" (identifier "iVar3") (+ "+") (number_literal "0x1090")) () ")")))) (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0x37")) () ")")) (compound_statement "{\n        return 4;\n      }" ({ "{") (return_statement "return 4;" (return "return") (number_literal "4") (; ";")) (} "}")))) (return_statement "return (uint)(0xbf < uVar2);" (return "return") (call_expression "(uint)(0xbf < uVar2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(0xbf < uVar2)" (( "(") (binary_expression "0xbf < uVar2" (number_literal "0xbf") (< "<") (identifier "uVar2")) () ")"))) (; ";")) (} "}"))) (} "}")))) (return_statement "return uVar2 < 0xc0 ^ 1;" (return "return") (binary_expression "uVar2 < 0xc0 ^ 1" (binary_expression "uVar2 < 0xc0" (identifier "uVar2") (< "<") (number_literal "0xc0")) (^ "^") (number_literal "1")) (; ";")) (} "}")))

ssize_t function_1(int var_2,void *__buf,size_t __n,type_1 __offset)

{
  type_2 *puVar1;
  type_3 var_1;
  int var_4;
  int *piVar4;
  char local_res4 [12];
  char cc [2];
  
  puVar1 = PTR___stack_chk_guard_00112630;
  var_1 = (type_3)__buf & 0xff;
  local_res4[0] = (char)__buf;
  var_4 = *(int *)PTR___stack_chk_guard_00112630;
  if (var_1 - 0x20 < 0x5f) {
LAB_0003368c:
    piVar4 = *(int **)(var_2 + 0xc);
    var_1 = 0;
    (*(type_4 *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);
  }
  else if ((*(int *)(*(int *)var_2 + 0xdc) == 0) &&
          (*(int *)(*(int *)(*(int *)var_2 + 0x1090) + 0xc) != 0x37)) {
    if (0x9f < var_1) goto LAB_0003368c;
    if (-1 < local_res4[0]) goto LAB_000336d4;
    (*(type_4 *)PTR___sprintf_chk_00112514)
              (cc,1,5,var_3 + 0x4c10,var_1);
    var_1 = 0;
    piVar4 = *(int **)(var_2 + 0xc);
    (*(type_4 *)PTR_from_backend_001113b8)(piVar4,0,cc,4);
  }
  else {
    if (local_res4[0] < '\0') goto LAB_0003368c;
LAB_000336d4:
    if (var_1 == 0x7f) {
      cc[1] = '?';
    }
    else {
      cc[1] = local_res4[0] + '@';
    }
    piVar4 = *(int **)(var_2 + 0xc);
    var_1 = 0;
    cc[0] = '^';
    (*(type_4 *)PTR_from_backend_001113b8)(piVar4,0,cc,2);
  }
  if (var_4 == *(int *)puVar1) {
    return *(int *)puVar1;
  }
  (*(type_4 *)PTR___stack_chk_fail_001122c8)();
  if (var_1 - 0x20 < 0x5f) {
    return 1;
  }
  if (var_1 < 0xa0) {
    if (-1 < (char)var_1) {
      return 2;
    }
    var_4 = *piVar4;
    if (*(int *)(var_4 + 0xdc) == 0) goto LAB_000337d0;
  }
  else {
    var_4 = *piVar4;
    if (*(int *)(var_4 + 0xdc) == 0) {
      if (*(int *)(*(int *)(var_4 + 0x1090) + 0xc) != 0x37) {
        return 1;
      }
LAB_000337d0:
      if (*(int *)(*(int *)(var_4 + 0x1090) + 0xc) != 0x37) {
        return 4;
      }
      return (type_3)(0xbf < var_1);
    }
  }
  return var_1 < 0xc0 ^ 1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (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)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier) (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (number_literal))))) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (character))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (pointer_expression argument: (identifier)) (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal))))) (return_statement (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (number_literal) right: (identifier)))))))))) (return_statement (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))))

uint MASKED(int *param_1,byte param_2)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int *piVar4;
  byte local_res4 [12];
  undefined1 local_1c;
  char local_1b;
  uint local_14;
  
  puVar1 = PTR___stack_chk_guard_00112630;
  uVar2 = (uint)param_2;
  local_14 = *(uint *)PTR___stack_chk_guard_00112630;
  local_res4[0] = param_2;
  if (uVar2 - 0x20 < 0x5f) {
LAB_0003368c:
    piVar4 = (int *)param_1[3];
    uVar2 = 0;
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,local_res4,1);
  }
  else if ((*(int *)(*param_1 + 0xdc) == 0) && (*(int *)(*(int *)(*param_1 + 0x1090) + 0xc) != 0x37)
          ) {
    if (0x9f < uVar2) goto LAB_0003368c;
    if (-1 < (char)param_2) goto LAB_000336d4;
    (*(code *)PTR___sprintf_chk_00112514)(&local_1c,1,5,PTR_DAT_00111314 + 0x4c10,uVar2);
    uVar2 = 0;
    piVar4 = (int *)param_1[3];
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,4);
  }
  else {
    if ((char)param_2 < '\0') goto LAB_0003368c;
LAB_000336d4:
    if (uVar2 == 0x7f) {
      local_1b = '?';
    }
    else {
      local_1b = param_2 + 0x40;
    }
    piVar4 = (int *)param_1[3];
    uVar2 = 0;
    local_1c = 0x5e;
    (*(code *)PTR_from_backend_001113b8)(piVar4,0,&local_1c,2);
  }
  if (local_14 == *(uint *)puVar1) {
    return *(uint *)puVar1;
  }
  (*(code *)PTR___stack_chk_fail_001122c8)();
  if (uVar2 - 0x20 < 0x5f) {
    return 1;
  }
  if (uVar2 < 0xa0) {
    if (-1 < (char)uVar2) {
      return 2;
    }
    iVar3 = *piVar4;
    if (*(int *)(iVar3 + 0xdc) == 0) goto LAB_000337d0;
  }
  else {
    iVar3 = *piVar4;
    if (*(int *)(iVar3 + 0xdc) == 0) {
      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {
        return 1;
      }
LAB_000337d0:
      if (*(int *)(*(int *)(iVar3 + 0x1090) + 0xc) != 0x37) {
        return 4;
      }
      return (uint)(0xbf < uVar2);
    }
  }
  return uVar2 < 0xc0 ^ 1;
}

