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

void __regparm3 print_operands(char *buf,aarch64_opcode *opcode,aarch64_opnd_info *opnds)

{
  char *__src;
  int iVar1;
  aarch64_instruction *paVar2;
  char str [128];
  
  iVar1 = 0;
  paVar2 = &inst;
  while( true ) {
    if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {
      return;
    }
    if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;
    aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);
    if (str[0] != '\0') {
      __src = " ";
      if (iVar1 != 0) {
        __src = ", ";
      }
      strcat(buf,__src);
    }
    iVar1 = iVar1 + 1;
    paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;
    strcat(buf,str);
    if (iVar1 == 6) {
      return;
    }
  }
  return;
}



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

void __regparm3 FUN_00045860(char *param_1,int param_2)

{
  char *__src;
  int iVar1;
  undefined4 *puVar2;
  char local_9c [136];
  undefined4 uStack_14;
  
  iVar1 = 0;
  uStack_14 = 0x4586d;
  puVar2 = &DAT_00081520;
  while( true ) {
    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {
      return;
    }
    if (puVar2[3] == 0) break;
    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);
    if (local_9c[0] != '\0') {
      __src = " ";
      if (iVar1 != 0) {
        __src = ", ";
      }
      strcat(param_1,__src);
    }
    iVar1 = iVar1 + 1;
    puVar2 = puVar2 + 0xc;
    strcat(param_1,local_9c);
    if (iVar1 == 6) {
      return;
    }
  }
  return;
}


PUSH EBP
XOR EBP,EBP
PUSH EDI
MOV EDI,EDX
PUSH ESI
PUSH EBX
CALL 0x00017140
ADD EBX,0x32793
SUB ESP,0x9c
MOV dword ptr [ESP + 0x8],EAX
LEA EAX,[EBX + 0x952c]
LEA ESI,[EBX + 0x9520]
MOV dword ptr [ESP + 0xc],EAX
LEA EAX,[ESP + 0x10]
MOV dword ptr [ESP + 0x4],EAX
MOV EDX,dword ptr [EDI + EBP*0x4 + 0x18]
TEST EDX,EDX
JZ 0x0004590e
MOV EAX,dword ptr [ESI + 0xc]
TEST EAX,EAX
JZ 0x0004590e
SUB ESP,0x8
PUSH 0x0
PUSH 0x0
PUSH 0x0
PUSH EBP
PUSH dword ptr [ESP + 0x24]
PUSH EDI
PUSH 0x0
PUSH 0x0
PUSH 0x80
PUSH dword ptr [ESP + 0x30]
CALL 0x00015200
ADD ESP,0x30
CMP byte ptr [ESP + 0x10],0x0
JZ 0x000458f0
TEST EBP,EBP
LEA ECX,[EBX + 0xfffe2f83]
LEA EAX,[EBX + 0xfffde12c]
CMOVNZ EAX,ECX
SUB ESP,0x8
PUSH EAX
PUSH dword ptr [ESP + 0x14]
CALL 0x00015350
ADD ESP,0x10
SUB ESP,0x8
ADD EBP,0x1
ADD ESI,0x30
PUSH dword ptr [ESP + 0xc]
PUSH dword ptr [ESP + 0x14]
CALL 0x00015350
ADD ESP,0x10
CMP EBP,0x6
JNZ 0x00045895
ADD ESP,0x9c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00045860(char *param_1,int param_2)\n\n{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00045860(char *param_1,int param_2)\n\n{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00045860(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" { (declaration "char *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char local_9c [136];" primitive_type (array_declarator "local_9c [136]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x4586d;" (assignment_expression "uStack_14 = 0x4586d" identifier = number_literal) ;) (expression_statement "puVar2 = &DAT_00081520;" (assignment_expression "puVar2 = &DAT_00081520" identifier = (pointer_expression "&DAT_00081520" & identifier)) ;) (while_statement "while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" { (if_statement "if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x18 + iVar1 * 4) == 0)" ( (binary_expression "*(int *)(param_2 + 0x18 + iVar1 * 4) == 0" (pointer_expression "*(int *)(param_2 + 0x18 + iVar1 * 4)" * (cast_expression "(int *)(param_2 + 0x18 + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18 + iVar1 * 4)" ( (binary_expression "param_2 + 0x18 + iVar1 * 4" (binary_expression "param_2 + 0x18" identifier + number_literal) + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (puVar2[3] == 0) break;" if (parenthesized_expression "(puVar2[3] == 0)" ( (binary_expression "puVar2[3] == 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);" (call_expression "aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0)" identifier (argument_list "(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0)" ( identifier , number_literal , number_literal , number_literal , identifier , (pointer_expression "&DAT_0008152c" & identifier) , identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }" if (parenthesized_expression "(local_9c[0] != '\0')" ( (binary_expression "local_9c[0] != '\0'" (subscript_expression "local_9c[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }" { (expression_statement "__src = " ";" (assignment_expression "__src = " "" identifier = (string_literal "" "" " string_content ")) ;) (if_statement "if (iVar1 != 0) {\n        __src = ", ";\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        __src = ", ";\n      }" { (expression_statement "__src = ", ";" (assignment_expression "__src = ", "" identifier = (string_literal "", "" " string_content ")) ;) })) (expression_statement "strcat(param_1,__src);" (call_expression "strcat(param_1,__src)" identifier (argument_list "(param_1,__src)" ( identifier , identifier ))) ;) })) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 0xc;" (assignment_expression "puVar2 = puVar2 + 0xc" identifier = (binary_expression "puVar2 + 0xc" identifier + number_literal)) ;) (expression_statement "strcat(param_1,local_9c);" (call_expression "strcat(param_1,local_9c)" identifier (argument_list "(param_1,local_9c)" ( identifier , identifier ))) ;) (if_statement "if (iVar1 == 6) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 print_operands(char *buf,aarch64_opcode *opcode,aarch64_opnd_info *opnds)\n\n{\n  char *__src;\n  int iVar1;\n  aarch64_instruction *paVar2;\n  char str [128];\n  \n  iVar1 = 0;\n  paVar2 = &inst;\n  while( true ) {\n    if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {\n      return;\n    }\n    if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;\n    aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);\n    if (str[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }\n    iVar1 = iVar1 + 1;\n    paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;\n    strcat(buf,str);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 print_operands(char *buf,aarch64_opcode *opcode,aarch64_opnd_info *opnds)\n\n{\n  char *__src;\n  int iVar1;\n  aarch64_instruction *paVar2;\n  char str [128];\n  \n  iVar1 = 0;\n  paVar2 = &inst;\n  while( true ) {\n    if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {\n      return;\n    }\n    if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;\n    aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);\n    if (str[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }\n    iVar1 = iVar1 + 1;\n    paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;\n    strcat(buf,str);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "print_operands(char *buf,aarch64_opcode *opcode,aarch64_opnd_info *opnds)" identifier (parameter_list "(char *buf,aarch64_opcode *opcode,aarch64_opnd_info *opnds)" ( (parameter_declaration "char *buf" primitive_type (pointer_declarator "*buf" * identifier)) , (parameter_declaration "aarch64_opcode *opcode" type_identifier (pointer_declarator "*opcode" * identifier)) , (parameter_declaration "aarch64_opnd_info *opnds" type_identifier (pointer_declarator "*opnds" * identifier)) ))) (compound_statement "{\n  char *__src;\n  int iVar1;\n  aarch64_instruction *paVar2;\n  char str [128];\n  \n  iVar1 = 0;\n  paVar2 = &inst;\n  while( true ) {\n    if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {\n      return;\n    }\n    if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;\n    aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);\n    if (str[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }\n    iVar1 = iVar1 + 1;\n    paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;\n    strcat(buf,str);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" { (declaration "char *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "aarch64_instruction *paVar2;" type_identifier (pointer_declarator "*paVar2" * identifier) ;) (declaration "char str [128];" primitive_type (array_declarator "str [128]" identifier [ number_literal ]) ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "paVar2 = &inst;" (assignment_expression "paVar2 = &inst" identifier = (pointer_expression "&inst" & identifier)) ;) (while_statement "while( true ) {\n    if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {\n      return;\n    }\n    if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;\n    aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);\n    if (str[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }\n    iVar1 = iVar1 + 1;\n    paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;\n    strcat(buf,str);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {\n      return;\n    }\n    if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;\n    aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);\n    if (str[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }\n    iVar1 = iVar1 + 1;\n    paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;\n    strcat(buf,str);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" { (if_statement "if (opcode->operands[iVar1] == AARCH64_OPND_NIL) {\n      return;\n    }" if (parenthesized_expression "(opcode->operands[iVar1] == AARCH64_OPND_NIL)" ( (binary_expression "opcode->operands[iVar1] == AARCH64_OPND_NIL" (subscript_expression "opcode->operands[iVar1]" (field_expression "opcode->operands" identifier -> field_identifier) [ identifier ]) == identifier) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if ((paVar2->base).operands[0].type == AARCH64_OPND_NIL) break;" if (parenthesized_expression "((paVar2->base).operands[0].type == AARCH64_OPND_NIL)" ( (binary_expression "(paVar2->base).operands[0].type == AARCH64_OPND_NIL" (field_expression "(paVar2->base).operands[0].type" (subscript_expression "(paVar2->base).operands[0]" (field_expression "(paVar2->base).operands" (parenthesized_expression "(paVar2->base)" ( (field_expression "paVar2->base" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) . field_identifier) == identifier) )) (break_statement "break;" break ;)) (expression_statement "aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0);" (call_expression "aarch64_print_operand(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0)" identifier (argument_list "(str,0x80,0,0,opcode,0x8152c,iVar1,0,0,0)" ( identifier , number_literal , number_literal , number_literal , identifier , number_literal , identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if (str[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }" if (parenthesized_expression "(str[0] != '\0')" ( (binary_expression "str[0] != '\0'" (subscript_expression "str[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(buf,__src);\n    }" { (expression_statement "__src = " ";" (assignment_expression "__src = " "" identifier = (string_literal "" "" " string_content ")) ;) (if_statement "if (iVar1 != 0) {\n        __src = ", ";\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        __src = ", ";\n      }" { (expression_statement "__src = ", ";" (assignment_expression "__src = ", "" identifier = (string_literal "", "" " string_content ")) ;) })) (expression_statement "strcat(buf,__src);" (call_expression "strcat(buf,__src)" identifier (argument_list "(buf,__src)" ( identifier , identifier ))) ;) })) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount;" (assignment_expression "paVar2 = (aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount" identifier = (cast_expression "(aarch64_instruction *)&(paVar2->base).operands[0].shifter.amount" ( (type_descriptor "aarch64_instruction *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(paVar2->base).operands[0].shifter.amount" & (field_expression "(paVar2->base).operands[0].shifter.amount" (field_expression "(paVar2->base).operands[0].shifter" (subscript_expression "(paVar2->base).operands[0]" (field_expression "(paVar2->base).operands" (parenthesized_expression "(paVar2->base)" ( (field_expression "paVar2->base" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) . field_identifier) . field_identifier)))) ;) (expression_statement "strcat(buf,str);" (call_expression "strcat(buf,str)" identifier (argument_list "(buf,str)" ( identifier , identifier ))) ;) (if_statement "if (iVar1 == 6) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00045860(char *param_1,int param_2)\n\n{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00045860(char *param_1,int param_2)\n\n{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00045860(char *param_1,int param_2)" identifier (parameter_list "(char *param_1,int param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" { (declaration "char *__src;" primitive_type (pointer_declarator "*__src" * identifier) ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "char local_9c [136];" primitive_type (array_declarator "local_9c [136]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (expression_statement "uStack_14 = 0x4586d;" (assignment_expression "uStack_14 = 0x4586d" identifier = number_literal) ;) (expression_statement "puVar2 = &DAT_00081520;" (assignment_expression "puVar2 = &DAT_00081520" identifier = (pointer_expression "&DAT_00081520" & identifier)) ;) (while_statement "while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" { (if_statement "if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x18 + iVar1 * 4) == 0)" ( (binary_expression "*(int *)(param_2 + 0x18 + iVar1 * 4) == 0" (pointer_expression "*(int *)(param_2 + 0x18 + iVar1 * 4)" * (cast_expression "(int *)(param_2 + 0x18 + iVar1 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x18 + iVar1 * 4)" ( (binary_expression "param_2 + 0x18 + iVar1 * 4" (binary_expression "param_2 + 0x18" identifier + number_literal) + (binary_expression "iVar1 * 4" identifier * number_literal)) )))) == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) (if_statement "if (puVar2[3] == 0) break;" if (parenthesized_expression "(puVar2[3] == 0)" ( (binary_expression "puVar2[3] == 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) (break_statement "break;" break ;)) (expression_statement "aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);" (call_expression "aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0)" identifier (argument_list "(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0)" ( identifier , number_literal , number_literal , number_literal , identifier , (pointer_expression "&DAT_0008152c" & identifier) , identifier , number_literal , number_literal , number_literal ))) ;) (if_statement "if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }" if (parenthesized_expression "(local_9c[0] != '\0')" ( (binary_expression "local_9c[0] != '\0'" (subscript_expression "local_9c[0]" identifier [ number_literal ]) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }" { (expression_statement "__src = " ";" (assignment_expression "__src = " "" identifier = (string_literal "" "" " string_content ")) ;) (if_statement "if (iVar1 != 0) {\n        __src = ", ";\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        __src = ", ";\n      }" { (expression_statement "__src = ", ";" (assignment_expression "__src = ", "" identifier = (string_literal "", "" " string_content ")) ;) })) (expression_statement "strcat(param_1,__src);" (call_expression "strcat(param_1,__src)" identifier (argument_list "(param_1,__src)" ( identifier , identifier ))) ;) })) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "puVar2 = puVar2 + 0xc;" (assignment_expression "puVar2 = puVar2 + 0xc" identifier = (binary_expression "puVar2 + 0xc" identifier + number_literal)) ;) (expression_statement "strcat(param_1,local_9c);" (call_expression "strcat(param_1,local_9c)" identifier (argument_list "(param_1,local_9c)" ( identifier , identifier ))) ;) (if_statement "if (iVar1 == 6) {\n      return;\n    }" if (parenthesized_expression "(iVar1 == 6)" ( (binary_expression "iVar1 == 6" identifier == number_literal) )) (compound_statement "{\n      return;\n    }" { (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) == LIT) )) (compound_statement { (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , IDENT , (pointer_expression & IDENT) , IDENT , LIT , LIT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00045860(char *param_1,int param_2)\n\n{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00045860(char *param_1,int param_2)" (identifier "FUN_00045860") (parameter_list "(char *param_1,int param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  char *__src;\n  int iVar1;\n  undefined4 *puVar2;\n  char local_9c [136];\n  undefined4 uStack_14;\n  \n  iVar1 = 0;\n  uStack_14 = 0x4586d;\n  puVar2 = &DAT_00081520;\n  while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "char *__src;" (primitive_type "char") (pointer_declarator "*__src" (* "*") (identifier "__src")) (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "char local_9c [136];" (primitive_type "char") (array_declarator "local_9c [136]" (identifier "local_9c") ([ "[") (number_literal "136") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (expression_statement "uStack_14 = 0x4586d;" (assignment_expression "uStack_14 = 0x4586d" (identifier "uStack_14") (= "=") (number_literal "0x4586d")) (; ";")) (expression_statement "puVar2 = &DAT_00081520;" (assignment_expression "puVar2 = &DAT_00081520" (identifier "puVar2") (= "=") (pointer_expression "&DAT_00081520" (& "&") (identifier "DAT_00081520"))) (; ";")) (while_statement "while( true ) {\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }\n    if (puVar2[3] == 0) break;\n    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);\n    if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }\n    iVar1 = iVar1 + 1;\n    puVar2 = puVar2 + 0xc;\n    strcat(param_1,local_9c);\n    if (iVar1 == 6) {\n      return;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {\n      return;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x18 + iVar1 * 4) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x18 + iVar1 * 4) == 0" (pointer_expression "*(int *)(param_2 + 0x18 + iVar1 * 4)" (* "*") (cast_expression "(int *)(param_2 + 0x18 + iVar1 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x18 + iVar1 * 4)" (( "(") (binary_expression "param_2 + 0x18 + iVar1 * 4" (binary_expression "param_2 + 0x18" (identifier "param_2") (+ "+") (number_literal "0x18")) (+ "+") (binary_expression "iVar1 * 4" (identifier "iVar1") (* "*") (number_literal "4"))) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (puVar2[3] == 0) break;" (if "if") (parenthesized_expression "(puVar2[3] == 0)" (( "(") (binary_expression "puVar2[3] == 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);" (call_expression "aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0)" (identifier "aarch64_print_operand") (argument_list "(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0)" (( "(") (identifier "local_9c") (, ",") (number_literal "0x80") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "param_2") (, ",") (pointer_expression "&DAT_0008152c" (& "&") (identifier "DAT_0008152c")) (, ",") (identifier "iVar1") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") () ")"))) (; ";")) (if_statement "if (local_9c[0] != '\0') {\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }" (if "if") (parenthesized_expression "(local_9c[0] != '\0')" (( "(") (binary_expression "local_9c[0] != '\0'" (subscript_expression "local_9c[0]" (identifier "local_9c") ([ "[") (number_literal "0") (] "]")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      __src = " ";\n      if (iVar1 != 0) {\n        __src = ", ";\n      }\n      strcat(param_1,__src);\n    }" ({ "{") (expression_statement "__src = " ";" (assignment_expression "__src = " "" (identifier "__src") (= "=") (string_literal "" "" (" """) (string_content " ") (" """))) (; ";")) (if_statement "if (iVar1 != 0) {\n        __src = ", ";\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        __src = ", ";\n      }" ({ "{") (expression_statement "__src = ", ";" (assignment_expression "__src = ", "" (identifier "__src") (= "=") (string_literal "", "" (" """) (string_content ", ") (" """))) (; ";")) (} "}"))) (expression_statement "strcat(param_1,__src);" (call_expression "strcat(param_1,__src)" (identifier "strcat") (argument_list "(param_1,__src)" (( "(") (identifier "param_1") (, ",") (identifier "__src") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar1 = iVar1 + 1;" (assignment_expression "iVar1 = iVar1 + 1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar2 = puVar2 + 0xc;" (assignment_expression "puVar2 = puVar2 + 0xc" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 0xc" (identifier "puVar2") (+ "+") (number_literal "0xc"))) (; ";")) (expression_statement "strcat(param_1,local_9c);" (call_expression "strcat(param_1,local_9c)" (identifier "strcat") (argument_list "(param_1,local_9c)" (( "(") (identifier "param_1") (, ",") (identifier "local_9c") () ")"))) (; ";")) (if_statement "if (iVar1 == 6) {\n      return;\n    }" (if "if") (parenthesized_expression "(iVar1 == 6)" (( "(") (binary_expression "iVar1 == 6" (identifier "iVar1") (== "==") (number_literal "6")) () ")")) (compound_statement "{\n      return;\n    }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(char *buf,type_1 *opcode,type_2 *opnds)

{
  char *__src;
  int var_3;
  type_3 *paVar2;
  char str [128];
  
  var_3 = 0;
  paVar2 = &inst;
  while( true ) {
    if (opcode->operands[var_3] == var_1) {
      return;
    }
    if ((paVar2->base).operands[0].type == var_1) break;
    var_2(str,0x80,0,0,opcode,0x8152c,var_3,0,0,0);
    if (str[0] != '\0') {
      __src = " ";
      if (var_3 != 0) {
        __src = ", ";
      }
      var_4(buf,__src);
    }
    var_3 = var_3 + 1;
    paVar2 = (type_3 *)&(paVar2->base).operands[0].shifter.amount;
    var_4(buf,str);
    if (var_3 == 6) {
      return;
    }
  }
  return;
}


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

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

void __regparm3 MASKED(char *param_1,int param_2)

{
  char *__src;
  int iVar1;
  undefined4 *puVar2;
  char local_9c [136];
  undefined4 uStack_14;
  
  iVar1 = 0;
  uStack_14 = 0x4586d;
  puVar2 = &DAT_00081520;
  while( true ) {
    if (*(int *)(param_2 + 0x18 + iVar1 * 4) == 0) {
      return;
    }
    if (puVar2[3] == 0) break;
    aarch64_print_operand(local_9c,0x80,0,0,param_2,&DAT_0008152c,iVar1,0,0,0);
    if (local_9c[0] != '\0') {
      __src = " ";
      if (iVar1 != 0) {
        __src = ", ";
      }
      strcat(param_1,__src);
    }
    iVar1 = iVar1 + 1;
    puVar2 = puVar2 + 0xc;
    strcat(param_1,local_9c);
    if (iVar1 == 6) {
      return;
    }
  }
  return;
}

