
/* 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 + 0x18);
  pcVar3 = param_2 + 1;
  *param_2 = '%';
  if ((uVar2 & 0x800) != 0) {
    param_2[1] = '+';
    pcVar3 = param_2 + 2;
  }
  if ((uVar2 & 0x400) != 0) {
    *pcVar3 = '#';
    pcVar3 = pcVar3 + 1;
  }
  uVar5 = uVar2 & 0x104;
  if (uVar5 == 0x104) {
    pcVar4 = pcVar3;
    if (param_3 == '\0') goto LAB_002bf264;
LAB_002bf237:
    *pcVar4 = param_3;
    pcVar1 = pcVar4 + 2;
    pcVar3 = pcVar4 + 1;
  }
  else {
    pcVar3[0] = '.';
    pcVar3[1] = '*';
    pcVar4 = pcVar3 + 2;
    if (param_3 != '\0') goto LAB_002bf237;
    pcVar1 = pcVar3 + 3;
    pcVar3 = pcVar3 + 2;
  }
  if (uVar5 == 4) {
    *pcVar3 = 'f';
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 == 0x100) {
    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;
    *pcVar1 = '\0';
    return;
  }
  if (uVar5 != 0x104) {
    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;
    *pcVar1 = '\0';
    return;
  }
LAB_002bf264:
  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;
  pcVar3[1] = '\0';
  return;
}



void FUN_002bf1b0(long param_1,undefined1 *param_2,char param_3)

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


MOV EAX,dword ptr [RDI + 0x18]
LEA RCX,[RSI + 0x1]
MOV byte ptr [RSI],0x25
TEST AH,0x8
JZ 0x002bf1c7
MOV byte ptr [RSI + 0x1],0x2b
LEA RCX,[RSI + 0x2]
TEST AH,0x4
JZ 0x002bf1d3
MOV byte ptr [RCX],0x23
ADD RCX,0x1
MOV EDI,EAX
AND EDI,0x104
CMP EDI,0x104
JZ 0x002bf230
MOV R8D,0x2a2e
LEA RSI,[RCX + 0x2]
MOV word ptr [RCX],R8W
TEST DL,DL
JNZ 0x002bf237
LEA RDX,[RSI + 0x1]
CMP EDI,0x4
JZ 0x002bf246
MOV ECX,EAX
AND ECX,0x4000
CMP EDI,0x100
JZ 0x002bf250
CMP EDI,0x104
JZ 0x002bf261
CMP ECX,0x1
SBB EAX,EAX
AND EAX,0x20
ADD EAX,0x47
MOV byte ptr [RSI],AL
MOV byte ptr [RDX],0x0
RET
MOV RSI,RCX
TEST DL,DL
JZ 0x002bf264
MOV byte ptr [RSI],DL
ADD RSI,0x1
LEA RDX,[RSI + 0x1]
CMP EDI,0x4
JNZ 0x002bf1fe
MOV byte ptr [RSI],0x66
MOV byte ptr [RDX],0x0
RET
CMP ECX,0x1
SBB EAX,EAX
AND EAX,0x20
ADD EAX,0x45
MOV byte ptr [RSI],AL
MOV byte ptr [RDX],0x0
RET
MOV RCX,RSI
AND EAX,0x4000
LEA RDX,[RCX + 0x1]
CMP EAX,0x1
SBB EAX,EAX
AND EAX,0x20
ADD EAX,0x41
MOV byte ptr [RCX],AL
MOV byte ptr [RDX],0x0
RET
(translation_unit "void FUN_002bf1b0(long 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[1] = '\0';\n  return;\n}\n\n" (function_definition "void FUN_002bf1b0(long 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[1] = '\0';\n  return;\n}" primitive_type (function_declarator "FUN_002bf1b0(long param_1,undefined1 *param_2,char param_3)" identifier (parameter_list "(long param_1,undefined1 *param_2,char param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[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 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = param_2 + 1;" (assignment_expression "pcVar3 = 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    pcVar3 = 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    pcVar3 = 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 "pcVar3 = param_2 + 2;" (assignment_expression "pcVar3 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 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    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "*pcVar3 = '#';" (assignment_expression "*pcVar3 = '#'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'#'" ' character ')) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 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    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" if (parenthesized_expression "(uVar5 == 0x104)" ( (binary_expression "uVar5 == 0x104" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }" { (expression_statement "pcVar4 = pcVar3;" (assignment_expression "pcVar4 = pcVar3" identifier = identifier) ;) (if_statement "if (param_3 == '\0') goto LAB_002bf264;" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002bf264;" goto statement_identifier ;)) (labeled_statement "LAB_002bf237:\n    *pcVar4 = param_3;" statement_identifier : (expression_statement "*pcVar4 = param_3;" (assignment_expression "*pcVar4 = param_3" (pointer_expression "*pcVar4" * identifier) = identifier) ;)) (expression_statement "pcVar1 = pcVar4 + 2;" (assignment_expression "pcVar1 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (expression_statement "pcVar3 = pcVar4 + 1;" (assignment_expression "pcVar3 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" else (compound_statement "{\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" { (expression_statement "pcVar3[0] = '.';" (assignment_expression "pcVar3[0] = '.'" (subscript_expression "pcVar3[0]" identifier [ number_literal ]) = (char_literal "'.'" ' character ')) ;) (expression_statement "pcVar3[1] = '*';" (assignment_expression "pcVar3[1] = '*'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) = (char_literal "'*'" ' character ')) ;) (expression_statement "pcVar4 = pcVar3 + 2;" (assignment_expression "pcVar4 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 != '\0') goto LAB_002bf237;" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002bf237;" goto statement_identifier ;)) (expression_statement "pcVar1 = pcVar3 + 3;" (assignment_expression "pcVar1 = pcVar3 + 3" identifier = (binary_expression "pcVar3 + 3" identifier + number_literal)) ;) (expression_statement "pcVar3 = pcVar3 + 2;" (assignment_expression "pcVar3 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) }))) (if_statement "if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 4)" ( (binary_expression "uVar5 == 4" identifier == number_literal) )) (compound_statement "{\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = 'f';" (assignment_expression "*pcVar3 = 'f'" (pointer_expression "*pcVar3" * 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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar3" * 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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar3" * 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_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" statement_identifier : (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar3" * 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 "pcVar3[1] = '\0';" (assignment_expression "pcVar3[1] = '\0'" (subscript_expression "pcVar3[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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = '%';\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = '%';\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = '%';\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = '+';\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[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 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = param_2 + 1;" (assignment_expression "pcVar3 = 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    pcVar3 = 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    pcVar3 = 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 "pcVar3 = param_2 + 2;" (assignment_expression "pcVar3 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 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    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "*pcVar3 = '#';" (assignment_expression "*pcVar3 = '#'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'#'" ' character ')) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 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    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" if (parenthesized_expression "(uVar5 == 0x104)" ( (binary_expression "uVar5 == 0x104" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }" { (expression_statement "pcVar4 = pcVar3;" (assignment_expression "pcVar4 = pcVar3" identifier = identifier) ;) (if_statement "if (param_3 == '\0') goto LAB_002bf264;" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002bf264;" goto statement_identifier ;)) (labeled_statement "LAB_002bf237:\n    *pcVar4 = param_3;" statement_identifier : (expression_statement "*pcVar4 = param_3;" (assignment_expression "*pcVar4 = param_3" (pointer_expression "*pcVar4" * identifier) = identifier) ;)) (expression_statement "pcVar1 = pcVar4 + 2;" (assignment_expression "pcVar1 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (expression_statement "pcVar3 = pcVar4 + 1;" (assignment_expression "pcVar3 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" else (compound_statement "{\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" { (expression_statement "pcVar3[0] = '.';" (assignment_expression "pcVar3[0] = '.'" (subscript_expression "pcVar3[0]" identifier [ number_literal ]) = (char_literal "'.'" ' character ')) ;) (expression_statement "pcVar3[1] = '*';" (assignment_expression "pcVar3[1] = '*'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) = (char_literal "'*'" ' character ')) ;) (expression_statement "pcVar4 = pcVar3 + 2;" (assignment_expression "pcVar4 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 != '\0') goto LAB_002bf237;" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002bf237;" goto statement_identifier ;)) (expression_statement "pcVar1 = pcVar3 + 3;" (assignment_expression "pcVar1 = pcVar3 + 3" identifier = (binary_expression "pcVar3 + 3" identifier + number_literal)) ;) (expression_statement "pcVar3 = pcVar3 + 2;" (assignment_expression "pcVar3 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) }))) (if_statement "if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 4)" ( (binary_expression "uVar5 == 4" identifier == number_literal) )) (compound_statement "{\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = 'f';" (assignment_expression "*pcVar3 = 'f'" (pointer_expression "*pcVar3" * 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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar3" * 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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar3" * 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_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" statement_identifier : (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar3" * 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 "pcVar3[1] = '\0';" (assignment_expression "pcVar3[1] = '\0'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_002bf1b0(long 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[1] = '\0';\n  return;\n}\n\n" (function_definition "void FUN_002bf1b0(long 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[1] = '\0';\n  return;\n}" primitive_type (function_declarator "FUN_002bf1b0(long param_1,undefined1 *param_2,char param_3)" identifier (parameter_list "(long param_1,undefined1 *param_2,char param_3)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[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 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" identifier = (pointer_expression "*(uint *)(param_1 + 0x18)" * (cast_expression "(uint *)(param_1 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) ))))) ;) (expression_statement "pcVar3 = param_2 + 1;" (assignment_expression "pcVar3 = 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    pcVar3 = 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    pcVar3 = 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 "pcVar3 = param_2 + 2;" (assignment_expression "pcVar3 = param_2 + 2" identifier = (binary_expression "param_2 + 2" identifier + number_literal)) ;) })) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 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    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }" { (expression_statement "*pcVar3 = '#';" (assignment_expression "*pcVar3 = '#'" (pointer_expression "*pcVar3" * identifier) = (char_literal "'#'" ' character ')) ;) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" identifier = (binary_expression "pcVar3 + 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    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" if (parenthesized_expression "(uVar5 == 0x104)" ( (binary_expression "uVar5 == 0x104" identifier == number_literal) )) (compound_statement "{\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }" { (expression_statement "pcVar4 = pcVar3;" (assignment_expression "pcVar4 = pcVar3" identifier = identifier) ;) (if_statement "if (param_3 == '\0') goto LAB_002bf264;" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002bf264;" goto statement_identifier ;)) (labeled_statement "LAB_002bf237:\n    *pcVar4 = param_3;" statement_identifier : (expression_statement "*pcVar4 = param_3;" (assignment_expression "*pcVar4 = param_3" (pointer_expression "*pcVar4" * identifier) = identifier) ;)) (expression_statement "pcVar1 = pcVar4 + 2;" (assignment_expression "pcVar1 = pcVar4 + 2" identifier = (binary_expression "pcVar4 + 2" identifier + number_literal)) ;) (expression_statement "pcVar3 = pcVar4 + 1;" (assignment_expression "pcVar3 = pcVar4 + 1" identifier = (binary_expression "pcVar4 + 1" identifier + number_literal)) ;) }) (else_clause "else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" else (compound_statement "{\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" { (expression_statement "pcVar3[0] = '.';" (assignment_expression "pcVar3[0] = '.'" (subscript_expression "pcVar3[0]" identifier [ number_literal ]) = (char_literal "'.'" ' character ')) ;) (expression_statement "pcVar3[1] = '*';" (assignment_expression "pcVar3[1] = '*'" (subscript_expression "pcVar3[1]" identifier [ number_literal ]) = (char_literal "'*'" ' character ')) ;) (expression_statement "pcVar4 = pcVar3 + 2;" (assignment_expression "pcVar4 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) (if_statement "if (param_3 != '\0') goto LAB_002bf237;" if (parenthesized_expression "(param_3 != '\0')" ( (binary_expression "param_3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_002bf237;" goto statement_identifier ;)) (expression_statement "pcVar1 = pcVar3 + 3;" (assignment_expression "pcVar1 = pcVar3 + 3" identifier = (binary_expression "pcVar3 + 3" identifier + number_literal)) ;) (expression_statement "pcVar3 = pcVar3 + 2;" (assignment_expression "pcVar3 = pcVar3 + 2" identifier = (binary_expression "pcVar3 + 2" identifier + number_literal)) ;) }))) (if_statement "if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" if (parenthesized_expression "(uVar5 == 4)" ( (binary_expression "uVar5 == 4" identifier == number_literal) )) (compound_statement "{\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = 'f';" (assignment_expression "*pcVar3 = 'f'" (pointer_expression "*pcVar3" * 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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar3" * 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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" { (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar3" * 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_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" statement_identifier : (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar3" * 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 "pcVar3[1] = '\0';" (assignment_expression "pcVar3[1] = '\0'" (subscript_expression "pcVar3[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 (sized_type_specifier long) 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_002bf1b0(long 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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[1] = '\0';\n  return;\n}" (primitive_type "void") (function_declarator "FUN_002bf1b0(long param_1,undefined1 *param_2,char param_3)" (identifier "FUN_002bf1b0") (parameter_list "(long param_1,undefined1 *param_2,char param_3)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (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 + 0x18);\n  pcVar3 = param_2 + 1;\n  *param_2 = 0x25;\n  if ((uVar2 & 0x800) != 0) {\n    param_2[1] = 0x2b;\n    pcVar3 = param_2 + 2;\n  }\n  if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }\n  uVar5 = uVar2 & 0x104;\n  if (uVar5 == 0x104) {\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }\n  if (uVar5 == 4) {\n    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 == 0x100) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }\n  if (uVar5 != 0x104) {\n    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }\nLAB_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;\n  pcVar3[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 + 0x18);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x18)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x18)" (* "*") (cast_expression "(uint *)(param_1 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (expression_statement "pcVar3 = param_2 + 1;" (assignment_expression "pcVar3 = param_2 + 1" (identifier "pcVar3") (= "=") (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    pcVar3 = 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    pcVar3 = 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 "pcVar3 = param_2 + 2;" (assignment_expression "pcVar3 = param_2 + 2" (identifier "pcVar3") (= "=") (binary_expression "param_2 + 2" (identifier "param_2") (+ "+") (number_literal "2"))) (; ";")) (} "}"))) (if_statement "if ((uVar2 & 0x400) != 0) {\n    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 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    *pcVar3 = '#';\n    pcVar3 = pcVar3 + 1;\n  }" ({ "{") (expression_statement "*pcVar3 = '#';" (assignment_expression "*pcVar3 = '#'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (char_literal "'#'" (' "'") (character "#") (' "'"))) (; ";")) (expression_statement "pcVar3 = pcVar3 + 1;" (assignment_expression "pcVar3 = pcVar3 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 1" (identifier "pcVar3") (+ "+") (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    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }\n  else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" (if "if") (parenthesized_expression "(uVar5 == 0x104)" (( "(") (binary_expression "uVar5 == 0x104" (identifier "uVar5") (== "==") (number_literal "0x104")) () ")")) (compound_statement "{\n    pcVar4 = pcVar3;\n    if (param_3 == '\0') goto LAB_002bf264;\nLAB_002bf237:\n    *pcVar4 = param_3;\n    pcVar1 = pcVar4 + 2;\n    pcVar3 = pcVar4 + 1;\n  }" ({ "{") (expression_statement "pcVar4 = pcVar3;" (assignment_expression "pcVar4 = pcVar3" (identifier "pcVar4") (= "=") (identifier "pcVar3")) (; ";")) (if_statement "if (param_3 == '\0') goto LAB_002bf264;" (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_002bf264;" (goto "goto") (statement_identifier "LAB_002bf264") (; ";"))) (labeled_statement "LAB_002bf237:\n    *pcVar4 = param_3;" (statement_identifier "LAB_002bf237") (: ":") (expression_statement "*pcVar4 = param_3;" (assignment_expression "*pcVar4 = param_3" (pointer_expression "*pcVar4" (* "*") (identifier "pcVar4")) (= "=") (identifier "param_3")) (; ";"))) (expression_statement "pcVar1 = pcVar4 + 2;" (assignment_expression "pcVar1 = pcVar4 + 2" (identifier "pcVar1") (= "=") (binary_expression "pcVar4 + 2" (identifier "pcVar4") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "pcVar3 = pcVar4 + 1;" (assignment_expression "pcVar3 = pcVar4 + 1" (identifier "pcVar3") (= "=") (binary_expression "pcVar4 + 1" (identifier "pcVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else {\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" (else "else") (compound_statement "{\n    pcVar3[0] = '.';\n    pcVar3[1] = '*';\n    pcVar4 = pcVar3 + 2;\n    if (param_3 != '\0') goto LAB_002bf237;\n    pcVar1 = pcVar3 + 3;\n    pcVar3 = pcVar3 + 2;\n  }" ({ "{") (expression_statement "pcVar3[0] = '.';" (assignment_expression "pcVar3[0] = '.'" (subscript_expression "pcVar3[0]" (identifier "pcVar3") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'.'" (' "'") (character ".") (' "'"))) (; ";")) (expression_statement "pcVar3[1] = '*';" (assignment_expression "pcVar3[1] = '*'" (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (number_literal "1") (] "]")) (= "=") (char_literal "'*'" (' "'") (character "*") (' "'"))) (; ";")) (expression_statement "pcVar4 = pcVar3 + 2;" (assignment_expression "pcVar4 = pcVar3 + 2" (identifier "pcVar4") (= "=") (binary_expression "pcVar3 + 2" (identifier "pcVar3") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (param_3 != '\0') goto LAB_002bf237;" (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_002bf237;" (goto "goto") (statement_identifier "LAB_002bf237") (; ";"))) (expression_statement "pcVar1 = pcVar3 + 3;" (assignment_expression "pcVar1 = pcVar3 + 3" (identifier "pcVar1") (= "=") (binary_expression "pcVar3 + 3" (identifier "pcVar3") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "pcVar3 = pcVar3 + 2;" (assignment_expression "pcVar3 = pcVar3 + 2" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 2" (identifier "pcVar3") (+ "+") (number_literal "2"))) (; ";")) (} "}")))) (if_statement "if (uVar5 == 4) {\n    *pcVar3 = '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    *pcVar3 = 'f';\n    *pcVar1 = '\0';\n    return;\n  }" ({ "{") (expression_statement "*pcVar3 = 'f';" (assignment_expression "*pcVar3 = 'f'" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;\n    *pcVar1 = '\0';\n    return;\n  }" ({ "{") (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x45" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (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    *pcVar3 = (-((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    *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;\n    *pcVar1 = '\0';\n    return;\n  }" ({ "{") (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x47" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (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_002bf264:\n  *pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (statement_identifier "LAB_002bf264") (: ":") (expression_statement "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41;" (assignment_expression "*pcVar3 = (-((uVar2 & 0x4000) == 0) & 0x20U) + 0x41" (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3")) (= "=") (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 "pcVar3[1] = '\0';" (assignment_expression "pcVar3[1] = '\0'" (subscript_expression "pcVar3[1]" (identifier "pcVar3") ([ "[") (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_4;
  char *var_7;
  type_2 var_5;
  
  var_3 = *(type_2 *)(var_1 + 0x18);
  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_002bf264;
LAB_002bf237:
    *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_002bf237;
    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_002bf264:
  *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: (sized_type_specifier) 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(long param_1,undefined1 *param_2,char param_3)

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

