
/* std::__num_base::_S_format_float(std::ios_base const&, char*, char) */

void std::__num_base::_S_format_float(ios_base *param_1,char *param_2,char param_3)

{
  char *pcVar1;
  uint uVar2;
  char *pcVar3;
  char *pcVar4;
  uint uVar5;
  
  uVar2 = *(uint *)(param_1 + 0xc);
  pcVar4 = param_2 + 1;
  *param_2 = '%';
  if ((uVar2 & 0x800) != 0) {
    param_2[1] = '+';
    pcVar4 = param_2 + 2;
  }
  if ((uVar2 & 0x400) != 0) {
    *pcVar4 = '#';
    pcVar4 = pcVar4 + 1;
  }
  uVar5 = uVar2 & 0x104;
  if (uVar5 == 0x104) {
    pcVar3 = pcVar4;
    if (param_3 == '\0') goto LAB_001d087e;
LAB_001d0848:
    *pcVar3 = param_3;
    pcVar1 = pcVar3 + 2;
    pcVar4 = pcVar3 + 1;
  }
  else {
    pcVar4[0] = '.';
    pcVar4[1] = '*';
    pcVar3 = pcVar4 + 2;
    if (param_3 != '\0') goto LAB_001d0848;
    pcVar1 = pcVar4 + 3;
    pcVar4 = pcVar4 + 2;
  }
  if (uVar5 == 4) {
    *pcVar4 = 'f';
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 == 0x100) {
    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 != 0x104) {
    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;
    *pcVar1 = '\0';
    return;
  }
LAB_001d087e:
  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;
  pcVar4[1] = '\0';
  return;
}



void FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)

{
  char *pcVar1;
  uint uVar2;
  char *pcVar3;
  char *pcVar4;
  uint uVar5;
  
  uVar2 = *(uint *)(param_1 + 0xc);
  pcVar4 = param_2 + 1;
  *param_2 = 0x25;
  if ((uVar2 & 0x800) != 0) {
    param_2[1] = 0x2b;
    pcVar4 = param_2 + 2;
  }
  if ((uVar2 & 0x400) != 0) {
    *pcVar4 = '#';
    pcVar4 = pcVar4 + 1;
  }
  uVar5 = uVar2 & 0x104;
  if (uVar5 == 0x104) {
    pcVar3 = pcVar4;
    if (param_3 == '\0') goto LAB_001d087e;
LAB_001d0848:
    *pcVar3 = param_3;
    pcVar1 = pcVar3 + 2;
    pcVar4 = pcVar3 + 1;
  }
  else {
    pcVar4[0] = '.';
    pcVar4[1] = '*';
    pcVar3 = pcVar4 + 2;
    if (param_3 != '\0') goto LAB_001d0848;
    pcVar1 = pcVar4 + 3;
    pcVar4 = pcVar4 + 2;
  }
  if (uVar5 == 4) {
    *pcVar4 = 'f';
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 == 0x100) {
    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 != 0x104) {
    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;
    *pcVar1 = '\0';
    return;
  }
LAB_001d087e:
  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;
  pcVar4[1] = '\0';
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EAX,dword ptr [ESP + 0x10]
MOV ECX,dword ptr [ESP + 0x14]
MOV ESI,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [EAX + 0xc]
LEA EDX,[ECX + 0x1]
MOV byte ptr [ECX],0x25
TEST AH,0x8
JZ 0x001d07d4
MOV byte ptr [ECX + 0x1],0x2b
LEA EDX,[ECX + 0x2]
TEST AH,0x4
JZ 0x001d07df
MOV byte ptr [EDX],0x23
ADD EDX,0x1
MOV EBX,EAX
AND EBX,0x104
MOV EDI,EBX
CMP EBX,0x104
JZ 0x001d0840
MOV EBX,0x2a2e
LEA ECX,[EDX + 0x2]
MOV word ptr [EDX],BX
MOV EDX,ESI
TEST DL,DL
JNZ 0x001d0848
LEA ESI,[ECX + 0x1]
CMP EDI,0x4
JZ 0x001d0858
MOV EDX,EAX
AND EDX,0x4000
CMP EDI,0x100
JZ 0x001d0868
CMP EDI,0x104
JZ 0x001d087c
CMP EDX,0x1
SBB EAX,EAX
AND EAX,0x20
ADD EAX,0x47
MOV byte ptr [ECX],AL
MOV byte ptr [ESI],0x0
POP EBX
POP ESI
POP EDI
RET
MOV EBX,ESI
MOV ECX,EDX
TEST BL,BL
JZ 0x001d087e
MOV EDX,ESI
ADD ECX,0x1
MOV byte ptr [ECX + -0x1],DL
LEA ESI,[ECX + 0x1]
CMP EDI,0x4
JNZ 0x001d080a
MOV byte ptr [ECX],0x66
MOV byte ptr [ESI],0x0
POP EBX
POP ESI
POP EDI
RET
CMP EDX,0x1
SBB EAX,EAX
AND EAX,0x20
ADD EAX,0x45
MOV byte ptr [ECX],AL
MOV byte ptr [ESI],0x0
POP EBX
POP ESI
POP EDI
RET
MOV EDX,ECX
AND EAX,0x4000
LEA ESI,[EDX + 0x1]
CMP EAX,0x1
SBB EAX,EAX
AND EAX,0x20
ADD EAX,0x41
MOV byte ptr [EDX],AL
MOV byte ptr [ESI],0x0
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}\n\n" (function_definition "void FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" primitive_type (function_declarator "FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)" identifier (parameter_list "(int param_1,undefined1 *param_2,char param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0xc)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = param_2 + 1;" (assignment_expression "pcVar4 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = 0x25;" (assignment_expression "*param_2 = 0x25" (pointer_expression "*param_2" * identifier) = number_literal) ;) (if_statement "if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }" if (parenthesized_expression "((uVar2 & 0x800) != 0)" ( (binary_expression "(uVar2 & 0x800) != 0" (parenthesized_expression "(uVar2 & 0x800)" ( (binary_expression "uVar2 & 0x800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }" { (expression_statement "param_2[1] = 0x2b;" (assignment_expression "param_2[1] = 0x2b" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar4 = param_2 + 2;" (assignment_expression "pcVar4 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "((uVar2 & 0x400) != 0)" ( (binary_expression "(uVar2 & 0x400) != 0" (parenthesized_expression "(uVar2 & 0x400)" ( (binary_expression "uVar2 & 0x400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "*pcVar4 = '#';" (assignment_expression "*pcVar4 = '#'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'#'" ' character ')) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar5 = uVar2 & 0x104;" (assignment_expression "uVar5 = uVar2 & 0x104" identifier = (binary_expression "uVar2 & 0x104" identifier & number_literal)) ;) (if_statement "if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" if (parenthesized_expression "(uVar5 == 0x104)" ( (binary_expression "uVar5 == 0x104" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }" { (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) (if_statement "if (param_3 == '\0') goto LAB_001d087e;" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001d087e;" goto statement_identifier ;)) (labeled_statement "LAB_001d0848:\n    *pcVar3 = param_3;" statement_identifier : (expression_statement "*pcVar3 = param_3;" (assignment_expression "*pcVar3 = param_3" (pointer_expression "*pcVar3" * identifier) = identifier) ;)) (expression_statement "pcVar1 = pcVar3 + 2;" (assignment_expression "pcVar1 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" else (compound_statement "{\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" { (expression_statement "pcVar4[0] = '.';" (assignment_expression "pcVar4[0] = '.'" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "'.'" ' character ')) ;) (expression_statement "pcVar4[1] = '*';" (assignment_expression "pcVar4[1] = '*'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'*'" ' character ')) ;) (expression_statement "pcVar3 = pcVar4 + 2;" (assignment_expression "pcVar3 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 != '\0') goto LAB_001d0848;" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001d0848;" goto statement_identifier ;)) (expression_statement "pcVar1 = pcVar4 + 3;" (assignment_expression "pcVar1 = pcVar4 + 3" identifier = (binary_expression "pcVar4 + 3" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) }))) (if_statement "if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 4)" ( (binary_expression "uVar5 == 4" identifier == number_literal) )) (compound_statement "{\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = 'f';" (assignment_expression "*pcVar4 = 'f'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'f'" ' character ')) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 0x100)" ( (binary_expression "uVar5 == 0x100" identifier == number_literal) )) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 != 0x104)" ( (binary_expression "uVar5 != 0x104" identifier != number_literal) )) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" statement_identifier : (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;)) (expression_statement "pcVar4[1] = '\0';" (assignment_expression "pcVar4[1] = '\0'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "/* std::__num_base::_S_format_float(std::ios_base const&, char*, char) */\n\nvoid std::__num_base::_S_format_float(ios_base *param_1,char *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = '%';\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}\n\n" comment (function_definition "void std::__num_base::_S_format_float(ios_base *param_1,char *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = '%';\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" primitive_type (ERROR "std::__num_base::" identifier : : identifier : :) (function_declarator "_S_format_float(ios_base *param_1,char *param_2,char param_3)" identifier (parameter_list "(ios_base *param_1,char *param_2,char param_3)" ( (parameter_declaration "ios_base *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = '%';\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0xc)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = param_2 + 1;" (assignment_expression "pcVar4 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = '%';" (assignment_expression "*param_2 = '%'" (pointer_expression "*param_2" * identifier) = (char_literal "'%'" ' character ')) ;) (if_statement "if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar4 = param_2 + 2;\n  }" if (parenthesized_expression "((uVar2 & 0x800) != 0)" ( (binary_expression "(uVar2 & 0x800) != 0" (parenthesized_expression "(uVar2 & 0x800)" ( (binary_expression "uVar2 & 0x800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    param_2[1] = '+';\n    pcVar4 = param_2 + 2;\n  }" { (expression_statement "param_2[1] = '+';" (assignment_expression "param_2[1] = '+'" (subscript_expression "param_2[1]" identifier [ number_literal ]) = (char_literal "'+'" ' character ')) ;) (expression_statement "pcVar4 = param_2 + 2;" (assignment_expression "pcVar4 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "((uVar2 & 0x400) != 0)" ( (binary_expression "(uVar2 & 0x400) != 0" (parenthesized_expression "(uVar2 & 0x400)" ( (binary_expression "uVar2 & 0x400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "*pcVar4 = '#';" (assignment_expression "*pcVar4 = '#'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'#'" ' character ')) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar5 = uVar2 & 0x104;" (assignment_expression "uVar5 = uVar2 & 0x104" identifier = (binary_expression "uVar2 & 0x104" identifier & number_literal)) ;) (if_statement "if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" if (parenthesized_expression "(uVar5 == 0x104)" ( (binary_expression "uVar5 == 0x104" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }" { (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) (if_statement "if (param_3 == '\0') goto LAB_001d087e;" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001d087e;" goto statement_identifier ;)) (labeled_statement "LAB_001d0848:\n    *pcVar3 = param_3;" statement_identifier : (expression_statement "*pcVar3 = param_3;" (assignment_expression "*pcVar3 = param_3" (pointer_expression "*pcVar3" * identifier) = identifier) ;)) (expression_statement "pcVar1 = pcVar3 + 2;" (assignment_expression "pcVar1 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" else (compound_statement "{\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" { (expression_statement "pcVar4[0] = '.';" (assignment_expression "pcVar4[0] = '.'" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "'.'" ' character ')) ;) (expression_statement "pcVar4[1] = '*';" (assignment_expression "pcVar4[1] = '*'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'*'" ' character ')) ;) (expression_statement "pcVar3 = pcVar4 + 2;" (assignment_expression "pcVar3 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 != '\0') goto LAB_001d0848;" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001d0848;" goto statement_identifier ;)) (expression_statement "pcVar1 = pcVar4 + 3;" (assignment_expression "pcVar1 = pcVar4 + 3" identifier = (binary_expression "pcVar4 + 3" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) }))) (if_statement "if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 4)" ( (binary_expression "uVar5 == 4" identifier == number_literal) )) (compound_statement "{\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = 'f';" (assignment_expression "*pcVar4 = 'f'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'f'" ' character ')) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 0x100)" ( (binary_expression "uVar5 == 0x100" identifier == number_literal) )) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 != 0x104)" ( (binary_expression "uVar5 != 0x104" identifier != number_literal) )) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" statement_identifier : (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;)) (expression_statement "pcVar4[1] = '\0';" (assignment_expression "pcVar4[1] = '\0'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}\n\n" (function_definition "void FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" primitive_type (function_declarator "FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)" identifier (parameter_list "(int param_1,undefined1 *param_2,char param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined1 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char param_3" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (declaration "char *pcVar4;" primitive_type (pointer_declarator "*pcVar4" * identifier) ;) (declaration "uint uVar5;" type_identifier identifier ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0xc)" identifier = (pointer_expression "*(uint *)(param_1 + 0xc)" * (cast_expression "(uint *)(param_1 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "pcVar4 = param_2 + 1;" (assignment_expression "pcVar4 = param_2 + 1" identifier = (binary_expression "param_2 + 1" identifier + number_literal)) ;) (expression_statement "*param_2 = 0x25;" (assignment_expression "*param_2 = 0x25" (pointer_expression "*param_2" * identifier) = number_literal) ;) (if_statement "if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }" if (parenthesized_expression "((uVar2 & 0x800) != 0)" ( (binary_expression "(uVar2 & 0x800) != 0" (parenthesized_expression "(uVar2 & 0x800)" ( (binary_expression "uVar2 & 0x800" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }" { (expression_statement "param_2[1] = 0x2b;" (assignment_expression "param_2[1] = 0x2b" (subscript_expression "param_2[1]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "pcVar4 = param_2 + 2;" (assignment_expression "pcVar4 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" if (parenthesized_expression "((uVar2 & 0x400) != 0)" ( (binary_expression "(uVar2 & 0x400) != 0" (parenthesized_expression "(uVar2 & 0x400)" ( (binary_expression "uVar2 & 0x400" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" { (expression_statement "*pcVar4 = '#';" (assignment_expression "*pcVar4 = '#'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'#'" ' character ')) ;) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar5 = uVar2 & 0x104;" (assignment_expression "uVar5 = uVar2 & 0x104" identifier = (binary_expression "uVar2 & 0x104" identifier & number_literal)) ;) (if_statement "if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" if (parenthesized_expression "(uVar5 == 0x104)" ( (binary_expression "uVar5 == 0x104" identifier == number_literal) )) (compound_statement "{\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }" { (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" identifier = identifier) ;) (if_statement "if (param_3 == '\0') goto LAB_001d087e;" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001d087e;" goto statement_identifier ;)) (labeled_statement "LAB_001d0848:\n    *pcVar3 = param_3;" statement_identifier : (expression_statement "*pcVar3 = param_3;" (assignment_expression "*pcVar3 = param_3" (pointer_expression "*pcVar3" * identifier) = identifier) ;)) (expression_statement "pcVar1 = pcVar3 + 2;" (assignment_expression "pcVar1 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" else (compound_statement "{\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" { (expression_statement "pcVar4[0] = '.';" (assignment_expression "pcVar4[0] = '.'" (subscript_expression "pcVar4[0]" identifier [ number_literal ]) = (char_literal "'.'" ' character ')) ;) (expression_statement "pcVar4[1] = '*';" (assignment_expression "pcVar4[1] = '*'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'*'" ' character ')) ;) (expression_statement "pcVar3 = pcVar4 + 2;" (assignment_expression "pcVar3 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 != '\0') goto LAB_001d0848;" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_001d0848;" goto statement_identifier ;)) (expression_statement "pcVar1 = pcVar4 + 3;" (assignment_expression "pcVar1 = pcVar4 + 3" identifier = (binary_expression "pcVar4 + 3" identifier + number_literal)) ;) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) }))) (if_statement "if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 4)" ( (binary_expression "uVar5 == 4" identifier == number_literal) )) (compound_statement "{\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = 'f';" (assignment_expression "*pcVar4 = 'f'" (pointer_expression "*pcVar4" * identifier) = (char_literal "'f'" ' character ')) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 0x100)" ( (binary_expression "uVar5 == 0x100" identifier == number_literal) )) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (if_statement "if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 != 0x104)" ( (binary_expression "uVar5 != 0x104" identifier != number_literal) )) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) (labeled_statement "LAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" statement_identifier : (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar4" * identifier) = (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" ( (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" - (parenthesized_expression "((uVar2 & 0x4000) == 0)" ( (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" ( (binary_expression "uVar2 & 0x4000" identifier & number_literal) )) == number_literal) ))) & number_literal) )) + number_literal)) ;)) (expression_statement "pcVar4[1] = '\0';" (assignment_expression "pcVar4[1] = '\0'" (subscript_expression "pcVar4[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' character ')) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) & LIT) )) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) & LIT) )) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (char_literal ' escape_sequence ')) ;) (return_statement return ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (parenthesized_expression ( (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) ))) & LIT) )) + LIT)) ;)) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (return_statement return ;) })))
(function_definition "void FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)\n\n{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001d07b0(int param_1,undefined1 *param_2,char param_3)" (identifier "FUN_001d07b0") (parameter_list "(int param_1,undefined1 *param_2,char param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined1 *param_2" (type_identifier "undefined1") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "char param_3" (primitive_type "char") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  uint uVar2;\n  char *pcVar3;\n  char *pcVar4;\n  uint uVar5;\n  \n  uVar2 = *(uint *)(param_1 + 0xc);\n  pcVar4 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar4[1] = '\0';\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (declaration "char *pcVar4;" (primitive_type "char") (pointer_declarator "*pcVar4" (* "*") (identifier "pcVar4")) (; ";")) (declaration "uint uVar5;" (type_identifier "uint") (identifier "uVar5") (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 0xc);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0xc)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0xc)" (* "*") (cast_expression "(uint *)(param_1 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "pcVar4 = param_2 + 1;" (assignment_expression "pcVar4 = param_2 + 1" (identifier "pcVar4") (= "=") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*param_2 = 0x25;" (assignment_expression "*param_2 = 0x25" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (number_literal "0x25")) (; ";")) (if_statement "if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }" (if "if") (parenthesized_expression "((uVar2 & 0x800) != 0)" (( "(") (binary_expression "(uVar2 & 0x800) != 0" (parenthesized_expression "(uVar2 & 0x800)" (( "(") (binary_expression "uVar2 & 0x800" (identifier "uVar2") (& "&") (number_literal "0x800")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    param_2[1] = 0x2b;\n    pcVar4 = param_2 + 2;\n  }" ({ "{") (expression_statement "param_2[1] = 0x2b;" (assignment_expression "param_2[1] = 0x2b" (subscript_expression "param_2[1]" (identifier "param_2") ([ "[") (number_literal "1") (] "]")) (= "=") (number_literal "0x2b")) (; ";")) (expression_statement "pcVar4 = param_2 + 2;" (assignment_expression "pcVar4 = param_2 + 2" (identifier "pcVar4") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" (if "if") (parenthesized_expression "((uVar2 & 0x400) != 0)" (( "(") (binary_expression "(uVar2 & 0x400) != 0" (parenthesized_expression "(uVar2 & 0x400)" (( "(") (binary_expression "uVar2 & 0x400" (identifier "uVar2") (& "&") (number_literal "0x400")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    *pcVar4 = '#';\n    pcVar4 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "*pcVar4 = '#';" (assignment_expression "*pcVar4 = '#'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (char_literal "'#'" (' "'") (character "#") (' "'"))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 1;" (assignment_expression "pcVar4 = pcVar4 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar5 = uVar2 & 0x104;" (assignment_expression "uVar5 = uVar2 & 0x104" (identifier "uVar5") (= "=") (binary_expression "uVar2 & 0x104" (identifier "uVar2") (& "&") (number_literal "0x104"))) (; ";")) (if_statement "if (uVar5 == 0x104) {\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }\n  else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0x104)" (( "(") (binary_expression "uVar5 == 0x104" (identifier "uVar5") (== "==") (number_literal "0x104")) () ")")) (compound_statement "{\n    pcVar3 = pcVar4;\n    if (param_3 == '\0') goto LAB_001d087e;\nLAB_001d0848:\n    *pcVar3 = param_3;\n    pcVar1 = pcVar3 + 2;\n    pcVar4 = pcVar3 + 1;\n  }" ({ "{") (expression_statement "pcVar3 = pcVar4;" (assignment_expression "pcVar3 = pcVar4" (identifier "pcVar3") (= "=") (identifier "pcVar4")) (; ";")) (if_statement "if (param_3 == '\0') goto LAB_001d087e;" (if "if") (parenthesized_expression "(param_3 == '\0')" (( "(") (binary_expression "param_3 == '\0'" (identifier "param_3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_001d087e;" (goto "goto") (statement_identifier "LAB_001d087e") (; ";"))) (labeled_statement "LAB_001d0848:\n    *pcVar3 = param_3;" (statement_identifier "LAB_001d0848") (: ":") (expression_statement "*pcVar3 = param_3;" (assignment_expression "*pcVar3 = param_3" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (identifier "param_3")) (; ";"))) (expression_statement "pcVar1 = pcVar3 + 2;" (assignment_expression "pcVar1 = pcVar3 + 2" (identifier "pcVar1") (= "=") (binary_expression "pcVar3 + 2" (identifier "pcVar3") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pcVar4 = pcVar3 + 1;" (assignment_expression "pcVar4 = pcVar3 + 1" (identifier "pcVar4") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" (else "else") (compound_statement "{\n    pcVar4[0] = '.';\n    pcVar4[1] = '*';\n    pcVar3 = pcVar4 + 2;\n    if (param_3 != '\0') goto LAB_001d0848;\n    pcVar1 = pcVar4 + 3;\n    pcVar4 = pcVar4 + 2;\n  }" ({ "{") (expression_statement "pcVar4[0] = '.';" (assignment_expression "pcVar4[0] = '.'" (subscript_expression "pcVar4[0]" (identifier "pcVar4") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'.'" (' "'") (character ".") (' "'"))) (; ";")) (expression_statement "pcVar4[1] = '*';" (assignment_expression "pcVar4[1] = '*'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'*'" (' "'") (character "*") (' "'"))) (; ";")) (expression_statement "pcVar3 = pcVar4 + 2;" (assignment_expression "pcVar3 = pcVar4 + 2" (identifier "pcVar3") (= "=") (binary_expression "pcVar4 + 2" (identifier "pcVar4") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (param_3 != '\0') goto LAB_001d0848;" (if "if") (parenthesized_expression "(param_3 != '\0')" (( "(") (binary_expression "param_3 != '\0'" (identifier "param_3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_001d0848;" (goto "goto") (statement_identifier "LAB_001d0848") (; ";"))) (expression_statement "pcVar1 = pcVar4 + 3;" (assignment_expression "pcVar1 = pcVar4 + 3" (identifier "pcVar1") (= "=") (binary_expression "pcVar4 + 3" (identifier "pcVar4") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pcVar4 = pcVar4 + 2;" (assignment_expression "pcVar4 = pcVar4 + 2" (identifier "pcVar4") (= "=") (binary_expression "pcVar4 + 2" (identifier "pcVar4") (+ "+") (number_literal "2"))) (; ";")) (} "}")))) (if_statement "if (uVar5 == 4) {\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" (if "if") (parenthesized_expression "(uVar5 == 4)" (( "(") (binary_expression "uVar5 == 4" (identifier "uVar5") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n    *pcVar4 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" ({ "{") (expression_statement "*pcVar4 = 'f';" (assignment_expression "*pcVar4 = 'f'" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (char_literal "'f'" (' "'") (character "f") (' "'"))) (; ";")) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar5 == 0x100) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0x100)" (( "(") (binary_expression "uVar5 == 0x100" (identifier "uVar5") (== "==") (number_literal "0x100")) () ")")) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" ({ "{") (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" (( "(") (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" (- "-") (parenthesized_expression "((uVar2 & 0x4000) == 0)" (( "(") (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" (( "(") (binary_expression "uVar2 & 0x4000" (identifier "uVar2") (& "&") (number_literal "0x4000")) () ")")) (== "==") (number_literal "0")) () ")"))) (& "&") (number_literal "0x20U")) () ")")) (+ "+") (number_literal "0x45"))) (; ";")) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (uVar5 != 0x104) {\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" (if "if") (parenthesized_expression "(uVar5 != 0x104)" (( "(") (binary_expression "uVar5 != 0x104" (identifier "uVar5") (!= "!=") (number_literal "0x104")) () ")")) (compound_statement "{\n    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" ({ "{") (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" (( "(") (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" (- "-") (parenthesized_expression "((uVar2 & 0x4000) == 0)" (( "(") (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" (( "(") (binary_expression "uVar2 & 0x4000" (identifier "uVar2") (& "&") (number_literal "0x4000")) () ")")) (== "==") (number_literal "0")) () ")"))) (& "&") (number_literal "0x20U")) () ")")) (+ "+") (number_literal "0x47"))) (; ";")) (expression_statement "*pcVar1 = '\0';" (assignment_expression "*pcVar1 = '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (labeled_statement "LAB_001d087e:\n  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (statement_identifier "LAB_001d087e") (: ":") (expression_statement "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (binary_expression "(-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (parenthesized_expression "(-((uVar2 & 0x4000) == 0) & 0x20U)" (( "(") (binary_expression "-((uVar2 & 0x4000) == 0) & 0x20U" (unary_expression "-((uVar2 & 0x4000) == 0)" (- "-") (parenthesized_expression "((uVar2 & 0x4000) == 0)" (( "(") (binary_expression "(uVar2 & 0x4000) == 0" (parenthesized_expression "(uVar2 & 0x4000)" (( "(") (binary_expression "uVar2 & 0x4000" (identifier "uVar2") (& "&") (number_literal "0x4000")) () ")")) (== "==") (number_literal "0")) () ")"))) (& "&") (number_literal "0x20U")) () ")")) (+ "+") (number_literal "0x41"))) (; ";"))) (expression_statement "pcVar4[1] = '\0';" (assignment_expression "pcVar4[1] = '\0'" (subscript_expression "pcVar4[1]" (identifier "pcVar4") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* std::__num_base::_S_format_float(std::ios_base const&, char*, char) */

void std::__num_base::function_1(type_1 *var_1,char *var_2,char var_6)

{
  char *pcVar1;
  type_2 var_3;
  char *var_7;
  char *var_4;
  type_2 var_5;
  
  var_3 = *(type_2 *)(var_1 + 0xc);
  var_4 = var_2 + 1;
  *var_2 = '%';
  if ((var_3 & 0x800) != 0) {
    var_2[1] = '+';
    var_4 = var_2 + 2;
  }
  if ((var_3 & 0x400) != 0) {
    *var_4 = '#';
    var_4 = var_4 + 1;
  }
  var_5 = var_3 & 0x104;
  if (var_5 == 0x104) {
    var_7 = var_4;
    if (var_6 == '\0') goto LAB_001d087e;
LAB_001d0848:
    *var_7 = var_6;
    pcVar1 = var_7 + 2;
    var_4 = var_7 + 1;
  }
  else {
    var_4[0] = '.';
    var_4[1] = '*';
    var_7 = var_4 + 2;
    if (var_6 != '\0') goto LAB_001d0848;
    pcVar1 = var_4 + 3;
    var_4 = var_4 + 2;
  }
  if (var_5 == 4) {
    *var_4 = 'f';
    *pcVar1 = '\0';
    return;
  }
  if (var_5 == 0x100) {
    *var_4 = (-((var_3 & 0x4000) == 0) & 0x20U) + 0x45;
    *pcVar1 = '\0';
    return;
  }
  if (var_5 != 0x104) {
    *var_4 = (-((var_3 & 0x4000) == 0) & 0x20U) + 0x47;
    *pcVar1 = '\0';
    return;
  }
LAB_001d087e:
  *var_4 = (-((var_3 & 0x4000) == 0) & 0x20U) + 0x41;
  var_4[1] = '\0';
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (number_literal))) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))) (return_statement))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (return_statement))))

void MASKED(int param_1,undefined1 *param_2,char param_3)

{
  char *pcVar1;
  uint uVar2;
  char *pcVar3;
  char *pcVar4;
  uint uVar5;
  
  uVar2 = *(uint *)(param_1 + 0xc);
  pcVar4 = param_2 + 1;
  *param_2 = 0x25;
  if ((uVar2 & 0x800) != 0) {
    param_2[1] = 0x2b;
    pcVar4 = param_2 + 2;
  }
  if ((uVar2 & 0x400) != 0) {
    *pcVar4 = '#';
    pcVar4 = pcVar4 + 1;
  }
  uVar5 = uVar2 & 0x104;
  if (uVar5 == 0x104) {
    pcVar3 = pcVar4;
    if (param_3 == '\0') goto LAB_001d087e;
LAB_001d0848:
    *pcVar3 = param_3;
    pcVar1 = pcVar3 + 2;
    pcVar4 = pcVar3 + 1;
  }
  else {
    pcVar4[0] = '.';
    pcVar4[1] = '*';
    pcVar3 = pcVar4 + 2;
    if (param_3 != '\0') goto LAB_001d0848;
    pcVar1 = pcVar4 + 3;
    pcVar4 = pcVar4 + 2;
  }
  if (uVar5 == 4) {
    *pcVar4 = 'f';
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 == 0x100) {
    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 != 0x104) {
    *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;
    *pcVar1 = '\0';
    return;
  }
LAB_001d087e:
  *pcVar4 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;
  pcVar4[1] = '\0';
  return;
}

