
void __regparm3 unw_print_frmask(char *cp,uint mask)

{
  uint uVar1;
  char cVar2;
  bool bVar3;
  uint uVar4;
  char *pcVar5;
  
  bVar3 = false;
  uVar4 = 0;
LAB_0004ac68:
  do {
    uVar1 = uVar4 + 1;
    if ((mask & 1) != 0) {
      pcVar5 = cp;
      if (bVar3) {
        *cp = ',';
        pcVar5 = cp + 1;
      }
      *pcVar5 = 'f';
      if (uVar4 < 4) {
        cp = pcVar5 + 2;
        bVar3 = true;
        pcVar5[1] = (char)uVar4 + '2';
        uVar4 = uVar1;
        mask = mask >> 1;
        goto LAB_0004ac68;
      }
      cp = pcVar5 + 3;
      cVar2 = (char)((uVar4 + 2) / 10);
      pcVar5[1] = cVar2 + '1';
      bVar3 = true;
      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';
    }
    uVar4 = uVar1;
    mask = mask >> 1;
    if (uVar1 == 0x14) {
      *cp = '\0';
      return;
    }
  } while( true );
}



void __regparm3 FUN_0004ac50(undefined1 *param_1,uint param_2)

{
  uint uVar1;
  char cVar2;
  bool bVar3;
  uint uVar4;
  undefined1 *puVar5;
  
  bVar3 = false;
  uVar4 = 0;
LAB_0004ac68:
  do {
    uVar1 = uVar4 + 1;
    if ((param_2 & 1) != 0) {
      puVar5 = param_1;
      if (bVar3) {
        *param_1 = 0x2c;
        puVar5 = param_1 + 1;
      }
      *puVar5 = 0x66;
      if (uVar4 < 4) {
        param_1 = puVar5 + 2;
        bVar3 = true;
        puVar5[1] = (char)uVar4 + '2';
        uVar4 = uVar1;
        param_2 = param_2 >> 1;
        goto LAB_0004ac68;
      }
      param_1 = puVar5 + 3;
      cVar2 = (char)((uVar4 + 2) / 10);
      puVar5[1] = cVar2 + '1';
      bVar3 = true;
      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';
    }
    uVar4 = uVar1;
    param_2 = param_2 >> 1;
    if (uVar1 == 0x14) {
      *param_1 = 0;
      return;
    }
  } while( true );
}


PUSH EBP
MOV ECX,EAX
XOR EBP,EBP
XOR EAX,EAX
PUSH EDI
MOV EDI,0xcccccccd
PUSH ESI
PUSH EBX
MOV EBX,EDX
LEA ESI,[ESI]
MOV EDX,EBX
LEA ESI,[EAX + 0x1]
SHR EBX,0x1
AND EDX,0x1
TEST EDX,EDX
JZ 0x0004acaf
TEST EBP,EBP
JZ 0x0004ac80
MOV byte ptr [ECX],0x2c
ADD ECX,0x1
MOV byte ptr [ECX],0x66
CMP EAX,0x3
JBE 0x0004acd0
LEA EBP,[EAX + 0x2]
ADD ECX,0x3
MOV EAX,EBP
MUL EDI
SHR EDX,0x3
LEA EAX,[EDX + 0x31]
MOV byte ptr [ECX + -0x2],AL
LEA EAX,[EDX + EDX*0x4]
ADD EAX,EAX
SUB EBP,EAX
MOV EAX,EBP
MOV EBP,0x1
ADD EAX,0x30
MOV byte ptr [ECX + -0x1],AL
CMP ESI,0x14
JZ 0x0004acc0
MOV EAX,ESI
JMP 0x0004ac68
POP EBX
POP ESI
MOV byte ptr [ECX],0x0
POP EDI
POP EBP
RET
LEA EAX,[ESI + 0x31]
ADD ECX,0x2
MOV EBP,0x1
MOV byte ptr [ECX + -0x1],AL
MOV EAX,ESI
JMP 0x0004ac68
(translation_unit "void __regparm3 FUN_0004ac50(undefined1 *param_1,uint param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void __regparm3 FUN_0004ac50(undefined1 *param_1,uint param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004ac50(undefined1 *param_1,uint param_2)" identifier (parameter_list "(undefined1 *param_1,uint param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  }" { (expression_statement "uVar1 = uVar4 + 1;" (assignment_expression "uVar1 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (if_statement "if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" if (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" { (expression_statement "puVar5 = param_1;" (assignment_expression "puVar5 = param_1" identifier = identifier) ;) (if_statement "if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }" { (expression_statement "*param_1 = 0x2c;" (assignment_expression "*param_1 = 0x2c" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "puVar5 = param_1 + 1;" (assignment_expression "puVar5 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*puVar5 = 0x66;" (assignment_expression "*puVar5 = 0x66" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (if_statement "if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }" if (parenthesized_expression "(uVar4 < 4)" ( (binary_expression "uVar4 < 4" identifier < number_literal) )) (compound_statement "{\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }" { (expression_statement "param_1 = puVar5 + 2;" (assignment_expression "param_1 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "puVar5[1] = (char)uVar4 + '2';" (assignment_expression "puVar5[1] = (char)uVar4 + '2'" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "(char)uVar4 + '2'" (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'2'" ' character '))) ;) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" identifier = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (goto_statement "goto LAB_0004ac68;" goto statement_identifier ;) })) (expression_statement "param_1 = puVar5 + 3;" (assignment_expression "param_1 = puVar5 + 3" identifier = (binary_expression "puVar5 + 3" identifier + number_literal)) ;) (expression_statement "cVar2 = (char)((uVar4 + 2) / 10);" (assignment_expression "cVar2 = (char)((uVar4 + 2) / 10)" identifier = (cast_expression "(char)((uVar4 + 2) / 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar4 + 2) / 10)" ( (binary_expression "(uVar4 + 2) / 10" (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) )) / number_literal) )))) ;) (expression_statement "puVar5[1] = cVar2 + '1';" (assignment_expression "puVar5[1] = cVar2 + '1'" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "cVar2 + '1'" identifier + (char_literal "'1'" ' character '))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';" (assignment_expression "puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0'" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (binary_expression "(char)(uVar4 + 2) + cVar2 * -10 + '0'" (binary_expression "(char)(uVar4 + 2) + cVar2 * -10" (cast_expression "(char)(uVar4 + 2)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) ))) + (binary_expression "cVar2 * -10" identifier * number_literal)) + (char_literal "'0'" ' character '))) ;) })) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" identifier = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (if_statement "if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }" if (parenthesized_expression "(uVar1 == 0x14)" ( (binary_expression "uVar1 == 0x14" identifier == number_literal) )) (compound_statement "{\n      *param_1 = 0;\n      return;\n    }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "void __regparm3 unw_print_frmask(char *cp,uint mask)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  char *pcVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    mask = mask >> 1;\n    if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void __regparm3 unw_print_frmask(char *cp,uint mask)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  char *pcVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    mask = mask >> 1;\n    if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "unw_print_frmask(char *cp,uint mask)" identifier (parameter_list "(char *cp,uint mask)" ( (parameter_declaration "char *cp" primitive_type (pointer_declarator "*cp" * identifier)) , (parameter_declaration "uint mask" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  char *pcVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    mask = mask >> 1;\n    if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "char *pcVar5;" primitive_type (pointer_declarator "*pcVar5" * identifier) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    mask = mask >> 1;\n    if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    uVar1 = uVar4 + 1;\n    if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    mask = mask >> 1;\n    if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    uVar1 = uVar4 + 1;\n    if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    mask = mask >> 1;\n    if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }\n  }" { (expression_statement "uVar1 = uVar4 + 1;" (assignment_expression "uVar1 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (if_statement "if ((mask & 1) != 0) {\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" if (parenthesized_expression "((mask & 1) != 0)" ( (binary_expression "(mask & 1) != 0" (parenthesized_expression "(mask & 1)" ( (binary_expression "mask & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      pcVar5 = cp;\n      if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }\n      *pcVar5 = 'f';\n      if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }\n      cp = pcVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      pcVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" { (expression_statement "pcVar5 = cp;" (assignment_expression "pcVar5 = cp" identifier = identifier) ;) (if_statement "if (bVar3) {\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n        *cp = ',';\n        pcVar5 = cp + 1;\n      }" { (expression_statement "*cp = ',';" (assignment_expression "*cp = ','" (pointer_expression "*cp" * identifier) = (char_literal "','" ' character ')) ;) (expression_statement "pcVar5 = cp + 1;" (assignment_expression "pcVar5 = cp + 1" identifier = (binary_expression "cp + 1" identifier + number_literal)) ;) })) (expression_statement "*pcVar5 = 'f';" (assignment_expression "*pcVar5 = 'f'" (pointer_expression "*pcVar5" * identifier) = (char_literal "'f'" ' character ')) ;) (if_statement "if (uVar4 < 4) {\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }" if (parenthesized_expression "(uVar4 < 4)" ( (binary_expression "uVar4 < 4" identifier < number_literal) )) (compound_statement "{\n        cp = pcVar5 + 2;\n        bVar3 = true;\n        pcVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        mask = mask >> 1;\n        goto LAB_0004ac68;\n      }" { (expression_statement "cp = pcVar5 + 2;" (assignment_expression "cp = pcVar5 + 2" identifier = (binary_expression "pcVar5 + 2" identifier + number_literal)) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "pcVar5[1] = (char)uVar4 + '2';" (assignment_expression "pcVar5[1] = (char)uVar4 + '2'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (binary_expression "(char)uVar4 + '2'" (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'2'" ' character '))) ;) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "mask = mask >> 1;" (assignment_expression "mask = mask >> 1" identifier = (binary_expression "mask >> 1" identifier >> number_literal)) ;) (goto_statement "goto LAB_0004ac68;" goto statement_identifier ;) })) (expression_statement "cp = pcVar5 + 3;" (assignment_expression "cp = pcVar5 + 3" identifier = (binary_expression "pcVar5 + 3" identifier + number_literal)) ;) (expression_statement "cVar2 = (char)((uVar4 + 2) / 10);" (assignment_expression "cVar2 = (char)((uVar4 + 2) / 10)" identifier = (cast_expression "(char)((uVar4 + 2) / 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar4 + 2) / 10)" ( (binary_expression "(uVar4 + 2) / 10" (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) )) / number_literal) )))) ;) (expression_statement "pcVar5[1] = cVar2 + '1';" (assignment_expression "pcVar5[1] = cVar2 + '1'" (subscript_expression "pcVar5[1]" identifier [ number_literal ]) = (binary_expression "cVar2 + '1'" identifier + (char_literal "'1'" ' character '))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';" (assignment_expression "pcVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0'" (subscript_expression "pcVar5[2]" identifier [ number_literal ]) = (binary_expression "(char)(uVar4 + 2) + cVar2 * -10 + '0'" (binary_expression "(char)(uVar4 + 2) + cVar2 * -10" (cast_expression "(char)(uVar4 + 2)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) ))) + (binary_expression "cVar2 * -10" identifier * number_literal)) + (char_literal "'0'" ' character '))) ;) })) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "mask = mask >> 1;" (assignment_expression "mask = mask >> 1" identifier = (binary_expression "mask >> 1" identifier >> number_literal)) ;) (if_statement "if (uVar1 == 0x14) {\n      *cp = '\0';\n      return;\n    }" if (parenthesized_expression "(uVar1 == 0x14)" ( (binary_expression "uVar1 == 0x14" identifier == number_literal) )) (compound_statement "{\n      *cp = '\0';\n      return;\n    }" { (expression_statement "*cp = '\0';" (assignment_expression "*cp = '\0'" (pointer_expression "*cp" * identifier) = (char_literal "'\0'" ' escape_sequence ')) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit "void __regparm3 FUN_0004ac50(undefined1 *param_1,uint param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}\n\n" (function_definition "void __regparm3 FUN_0004ac50(undefined1 *param_1,uint param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0004ac50(undefined1 *param_1,uint param_2)" identifier (parameter_list "(undefined1 *param_1,uint param_2)" ( (parameter_declaration "undefined1 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "uint uVar4;" type_identifier identifier ;) (declaration "undefined1 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" identifier = false) ;) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );" statement_identifier : (do_statement "do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );" do (compound_statement "{\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  }" { (expression_statement "uVar1 = uVar4 + 1;" (assignment_expression "uVar1 = uVar4 + 1" identifier = (binary_expression "uVar4 + 1" identifier + number_literal)) ;) (if_statement "if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" if (parenthesized_expression "((param_2 & 1) != 0)" ( (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" ( (binary_expression "param_2 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" { (expression_statement "puVar5 = param_1;" (assignment_expression "puVar5 = param_1" identifier = identifier) ;) (if_statement "if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }" { (expression_statement "*param_1 = 0x2c;" (assignment_expression "*param_1 = 0x2c" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "puVar5 = param_1 + 1;" (assignment_expression "puVar5 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) })) (expression_statement "*puVar5 = 0x66;" (assignment_expression "*puVar5 = 0x66" (pointer_expression "*puVar5" * identifier) = number_literal) ;) (if_statement "if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }" if (parenthesized_expression "(uVar4 < 4)" ( (binary_expression "uVar4 < 4" identifier < number_literal) )) (compound_statement "{\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }" { (expression_statement "param_1 = puVar5 + 2;" (assignment_expression "param_1 = puVar5 + 2" identifier = (binary_expression "puVar5 + 2" identifier + number_literal)) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "puVar5[1] = (char)uVar4 + '2';" (assignment_expression "puVar5[1] = (char)uVar4 + '2'" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "(char)uVar4 + '2'" (cast_expression "(char)uVar4" ( (type_descriptor "char" primitive_type) ) identifier) + (char_literal "'2'" ' character '))) ;) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" identifier = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (goto_statement "goto LAB_0004ac68;" goto statement_identifier ;) })) (expression_statement "param_1 = puVar5 + 3;" (assignment_expression "param_1 = puVar5 + 3" identifier = (binary_expression "puVar5 + 3" identifier + number_literal)) ;) (expression_statement "cVar2 = (char)((uVar4 + 2) / 10);" (assignment_expression "cVar2 = (char)((uVar4 + 2) / 10)" identifier = (cast_expression "(char)((uVar4 + 2) / 10)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "((uVar4 + 2) / 10)" ( (binary_expression "(uVar4 + 2) / 10" (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) )) / number_literal) )))) ;) (expression_statement "puVar5[1] = cVar2 + '1';" (assignment_expression "puVar5[1] = cVar2 + '1'" (subscript_expression "puVar5[1]" identifier [ number_literal ]) = (binary_expression "cVar2 + '1'" identifier + (char_literal "'1'" ' character '))) ;) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" identifier = true) ;) (expression_statement "puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';" (assignment_expression "puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0'" (subscript_expression "puVar5[2]" identifier [ number_literal ]) = (binary_expression "(char)(uVar4 + 2) + cVar2 * -10 + '0'" (binary_expression "(char)(uVar4 + 2) + cVar2 * -10" (cast_expression "(char)(uVar4 + 2)" ( (type_descriptor "char" primitive_type) ) (parenthesized_expression "(uVar4 + 2)" ( (binary_expression "uVar4 + 2" identifier + number_literal) ))) + (binary_expression "cVar2 * -10" identifier * number_literal)) + (char_literal "'0'" ' character '))) ;) })) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" identifier = identifier) ;) (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" identifier = (binary_expression "param_2 >> 1" identifier >> number_literal)) ;) (if_statement "if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }" if (parenthesized_expression "(uVar1 == 0x14)" ( (binary_expression "uVar1 == 0x14" identifier == number_literal) )) (compound_statement "{\n      *param_1 = 0;\n      return;\n    }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (return_statement "return;" return ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (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 IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression (pointer_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 IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT >> LIT)) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) / LIT) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT + (char_literal ' character '))) ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) + (binary_expression IDENT * LIT)) + (char_literal ' character '))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (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) = LIT) ;) (return_statement return ;) })) }) while (parenthesized_expression ( BOOL )) ;)) })))
(function_definition "void __regparm3 FUN_0004ac50(undefined1 *param_1,uint param_2)\n\n{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0004ac50(undefined1 *param_1,uint param_2)" (identifier "FUN_0004ac50") (parameter_list "(undefined1 *param_1,uint param_2)" (( "(") (parameter_declaration "undefined1 *param_1" (type_identifier "undefined1") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  char cVar2;\n  bool bVar3;\n  uint uVar4;\n  undefined1 *puVar5;\n  \n  bVar3 = false;\n  uVar4 = 0;\nLAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "uint uVar4;" (type_identifier "uint") (identifier "uVar4") (; ";")) (declaration "undefined1 *puVar5;" (type_identifier "undefined1") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (expression_statement "bVar3 = false;" (assignment_expression "bVar3 = false" (identifier "bVar3") (= "=") (false "false")) (; ";")) (expression_statement "uVar4 = 0;" (assignment_expression "uVar4 = 0" (identifier "uVar4") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0004ac68:\n  do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );" (statement_identifier "LAB_0004ac68") (: ":") (do_statement "do {\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  } while( true );" (do "do") (compound_statement "{\n    uVar1 = uVar4 + 1;\n    if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }\n    uVar4 = uVar1;\n    param_2 = param_2 >> 1;\n    if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }\n  }" ({ "{") (expression_statement "uVar1 = uVar4 + 1;" (assignment_expression "uVar1 = uVar4 + 1" (identifier "uVar1") (= "=") (binary_expression "uVar4 + 1" (identifier "uVar4") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((param_2 & 1) != 0) {\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" (if "if") (parenthesized_expression "((param_2 & 1) != 0)" (( "(") (binary_expression "(param_2 & 1) != 0" (parenthesized_expression "(param_2 & 1)" (( "(") (binary_expression "param_2 & 1" (identifier "param_2") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      puVar5 = param_1;\n      if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }\n      *puVar5 = 0x66;\n      if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }\n      param_1 = puVar5 + 3;\n      cVar2 = (char)((uVar4 + 2) / 10);\n      puVar5[1] = cVar2 + '1';\n      bVar3 = true;\n      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';\n    }" ({ "{") (expression_statement "puVar5 = param_1;" (assignment_expression "puVar5 = param_1" (identifier "puVar5") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (bVar3) {\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n        *param_1 = 0x2c;\n        puVar5 = param_1 + 1;\n      }" ({ "{") (expression_statement "*param_1 = 0x2c;" (assignment_expression "*param_1 = 0x2c" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0x2c")) (; ";")) (expression_statement "puVar5 = param_1 + 1;" (assignment_expression "puVar5 = param_1 + 1" (identifier "puVar5") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "*puVar5 = 0x66;" (assignment_expression "*puVar5 = 0x66" (pointer_expression "*puVar5" (* "*") (identifier "puVar5")) (= "=") (number_literal "0x66")) (; ";")) (if_statement "if (uVar4 < 4) {\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }" (if "if") (parenthesized_expression "(uVar4 < 4)" (( "(") (binary_expression "uVar4 < 4" (identifier "uVar4") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n        param_1 = puVar5 + 2;\n        bVar3 = true;\n        puVar5[1] = (char)uVar4 + '2';\n        uVar4 = uVar1;\n        param_2 = param_2 >> 1;\n        goto LAB_0004ac68;\n      }" ({ "{") (expression_statement "param_1 = puVar5 + 2;" (assignment_expression "param_1 = puVar5 + 2" (identifier "param_1") (= "=") (binary_expression "puVar5 + 2" (identifier "puVar5") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (expression_statement "puVar5[1] = (char)uVar4 + '2';" (assignment_expression "puVar5[1] = (char)uVar4 + '2'" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "(char)uVar4 + '2'" (cast_expression "(char)uVar4" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar4")) (+ "+") (char_literal "'2'" (' "'") (character "2") (' "'")))) (; ";")) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" (identifier "uVar4") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" (identifier "param_2") (= "=") (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1"))) (; ";")) (goto_statement "goto LAB_0004ac68;" (goto "goto") (statement_identifier "LAB_0004ac68") (; ";")) (} "}"))) (expression_statement "param_1 = puVar5 + 3;" (assignment_expression "param_1 = puVar5 + 3" (identifier "param_1") (= "=") (binary_expression "puVar5 + 3" (identifier "puVar5") (+ "+") (number_literal "3"))) (; ";")) (expression_statement "cVar2 = (char)((uVar4 + 2) / 10);" (assignment_expression "cVar2 = (char)((uVar4 + 2) / 10)" (identifier "cVar2") (= "=") (cast_expression "(char)((uVar4 + 2) / 10)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "((uVar4 + 2) / 10)" (( "(") (binary_expression "(uVar4 + 2) / 10" (parenthesized_expression "(uVar4 + 2)" (( "(") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) () ")")) (/ "/") (number_literal "10")) () ")")))) (; ";")) (expression_statement "puVar5[1] = cVar2 + '1';" (assignment_expression "puVar5[1] = cVar2 + '1'" (subscript_expression "puVar5[1]" (identifier "puVar5") ([ "[") (number_literal "1") (] "]")) (= "=") (binary_expression "cVar2 + '1'" (identifier "cVar2") (+ "+") (char_literal "'1'" (' "'") (character "1") (' "'")))) (; ";")) (expression_statement "bVar3 = true;" (assignment_expression "bVar3 = true" (identifier "bVar3") (= "=") (true "true")) (; ";")) (expression_statement "puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';" (assignment_expression "puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0'" (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (= "=") (binary_expression "(char)(uVar4 + 2) + cVar2 * -10 + '0'" (binary_expression "(char)(uVar4 + 2) + cVar2 * -10" (cast_expression "(char)(uVar4 + 2)" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (parenthesized_expression "(uVar4 + 2)" (( "(") (binary_expression "uVar4 + 2" (identifier "uVar4") (+ "+") (number_literal "2")) () ")"))) (+ "+") (binary_expression "cVar2 * -10" (identifier "cVar2") (* "*") (number_literal "-10"))) (+ "+") (char_literal "'0'" (' "'") (character "0") (' "'")))) (; ";")) (} "}"))) (expression_statement "uVar4 = uVar1;" (assignment_expression "uVar4 = uVar1" (identifier "uVar4") (= "=") (identifier "uVar1")) (; ";")) (expression_statement "param_2 = param_2 >> 1;" (assignment_expression "param_2 = param_2 >> 1" (identifier "param_2") (= "=") (binary_expression "param_2 >> 1" (identifier "param_2") (>> ">>") (number_literal "1"))) (; ";")) (if_statement "if (uVar1 == 0x14) {\n      *param_1 = 0;\n      return;\n    }" (if "if") (parenthesized_expression "(uVar1 == 0x14)" (( "(") (binary_expression "uVar1 == 0x14" (identifier "uVar1") (== "==") (number_literal "0x14")) () ")")) (compound_statement "{\n      *param_1 = 0;\n      return;\n    }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}")))

void __regparm3 function_1(char *var_3,type_1 var_2)

{
  type_1 var_6;
  char var_5;
  bool bVar3;
  type_1 var_1;
  char *var_4;
  
  bVar3 = false;
  var_1 = 0;
LAB_0004ac68:
  do {
    var_6 = var_1 + 1;
    if ((var_2 & 1) != 0) {
      var_4 = var_3;
      if (bVar3) {
        *var_3 = ',';
        var_4 = var_3 + 1;
      }
      *var_4 = 'f';
      if (var_1 < 4) {
        var_3 = var_4 + 2;
        bVar3 = true;
        var_4[1] = (char)var_1 + '2';
        var_1 = var_6;
        var_2 = var_2 >> 1;
        goto LAB_0004ac68;
      }
      var_3 = var_4 + 3;
      var_5 = (char)((var_1 + 2) / 10);
      var_4[1] = var_5 + '1';
      bVar3 = true;
      var_4[2] = (char)(var_1 + 2) + var_5 * -10 + '0';
    }
    var_1 = var_6;
    var_2 = var_2 >> 1;
    if (var_6 == 0x14) {
      *var_3 = '\0';
      return;
    }
  } while( true );
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (false))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (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: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (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: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (true))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (character))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (char_literal (character))))) (expression_statement (assignment_expression left: (identifier) right: (true))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (binary_expression left: (identifier) right: (number_literal))) right: (char_literal (character))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (number_literal))) (return_statement)))) condition: (parenthesized_expression (true)))))))

void __regparm3 MASKED(undefined1 *param_1,uint param_2)

{
  uint uVar1;
  char cVar2;
  bool bVar3;
  uint uVar4;
  undefined1 *puVar5;
  
  bVar3 = false;
  uVar4 = 0;
LAB_0004ac68:
  do {
    uVar1 = uVar4 + 1;
    if ((param_2 & 1) != 0) {
      puVar5 = param_1;
      if (bVar3) {
        *param_1 = 0x2c;
        puVar5 = param_1 + 1;
      }
      *puVar5 = 0x66;
      if (uVar4 < 4) {
        param_1 = puVar5 + 2;
        bVar3 = true;
        puVar5[1] = (char)uVar4 + '2';
        uVar4 = uVar1;
        param_2 = param_2 >> 1;
        goto LAB_0004ac68;
      }
      param_1 = puVar5 + 3;
      cVar2 = (char)((uVar4 + 2) / 10);
      puVar5[1] = cVar2 + '1';
      bVar3 = true;
      puVar5[2] = (char)(uVar4 + 2) + cVar2 * -10 + '0';
    }
    uVar4 = uVar1;
    param_2 = param_2 >> 1;
    if (uVar1 == 0x14) {
      *param_1 = 0;
      return;
    }
  } while( true );
}

