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

void __regparm3 initialize_cframe(conditional_frame *cframe)

{
  char *pcVar1;
  int iVar2;
  uint uVar3;
  conditional_frame *pcVar4;
  
  pcVar4 = cframe;
  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {
    (pcVar4->if_file_line).file = (char *)0x0;
    pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;
  }
  pcVar1 = as_where(&(cframe->if_file_line).line);
  uVar3 = 0;
  (cframe->if_file_line).file = pcVar1;
  pcVar4 = current_cframe;
  cframe->previous_cframe = current_cframe;
  if (pcVar4 != (conditional_frame *)0x0) {
    uVar3 = (uint)(pcVar4->ignoring != 0);
  }
  cframe->dead_tree = uVar3;
  cframe->macro_nest = macro_nest;
  return;
}



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

void __regparm3 FUN_000187c0(undefined4 *param_1)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  undefined4 *puVar4;
  
  puVar4 = param_1;
  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {
    *puVar4 = 0;
    puVar4 = puVar4 + 1;
  }
  uVar1 = FUN_000264c0(param_1 + 1);
  uVar3 = 0;
  *param_1 = uVar1;
  iVar2 = DAT_00077718;
  param_1[4] = DAT_00077718;
  if (iVar2 != 0) {
    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);
  }
  param_1[7] = uVar3;
  param_1[8] = DAT_00077eb4;
  return;
}


PUSH EDI
MOV ECX,0x9
PUSH ESI
MOV ESI,EAX
XOR EAX,EAX
PUSH EBX
MOV EDI,ESI
STOSD.REP ES:EDI
LEA EAX,[ESI + 0x4]
CALL 0x00016090
ADD EBX,0x56828
SUB ESP,0xc
PUSH EAX
CALL 0x000264c0
ADD ESP,0x10
XOR EDX,EDX
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [EBX + 0x8718]
MOV dword ptr [ESI + 0x10],EAX
TEST EAX,EAX
JZ 0x00018805
MOV EAX,dword ptr [EAX + 0x18]
XOR EDX,EDX
TEST EAX,EAX
SETNZ DL
LEA EAX,[EBX + 0x8eb4]
POP EBX
MOV dword ptr [ESI + 0x1c],EDX
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x20],EAX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000187c0(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000187c0(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000187c0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" for ( (assignment_expression "iVar2 = 9" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = FUN_000264c0(param_1 + 1);" (assignment_expression "uVar1 = FUN_000264c0(param_1 + 1)" identifier = (call_expression "FUN_000264c0(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar2 = DAT_00077718;" (assignment_expression "iVar2 = DAT_00077718" identifier = identifier) ;) (expression_statement "param_1[4] = DAT_00077718;" (assignment_expression "param_1[4] = DAT_00077718" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }" { (expression_statement "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);" (assignment_expression "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0)" identifier = (call_expression "(uint)(*(int *)(iVar2 + 0x18) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar2 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) != number_literal) )))) ;) })) (expression_statement "param_1[7] = uVar3;" (assignment_expression "param_1[7] = uVar3" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = DAT_00077eb4;" (assignment_expression "param_1[8] = DAT_00077eb4" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 initialize_cframe(conditional_frame *cframe)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  conditional_frame *pcVar4;\n  \n  pcVar4 = cframe;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    (pcVar4->if_file_line).file = (char *)0x0;\n    pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n  }\n  pcVar1 = as_where(&(cframe->if_file_line).line);\n  uVar3 = 0;\n  (cframe->if_file_line).file = pcVar1;\n  pcVar4 = current_cframe;\n  cframe->previous_cframe = current_cframe;\n  if (pcVar4 != (conditional_frame *)0x0) {\n    uVar3 = (uint)(pcVar4->ignoring != 0);\n  }\n  cframe->dead_tree = uVar3;\n  cframe->macro_nest = macro_nest;\n  return;\n}\n\n" comment (function_definition "void __regparm3 initialize_cframe(conditional_frame *cframe)\n\n{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  conditional_frame *pcVar4;\n  \n  pcVar4 = cframe;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    (pcVar4->if_file_line).file = (char *)0x0;\n    pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n  }\n  pcVar1 = as_where(&(cframe->if_file_line).line);\n  uVar3 = 0;\n  (cframe->if_file_line).file = pcVar1;\n  pcVar4 = current_cframe;\n  cframe->previous_cframe = current_cframe;\n  if (pcVar4 != (conditional_frame *)0x0) {\n    uVar3 = (uint)(pcVar4->ignoring != 0);\n  }\n  cframe->dead_tree = uVar3;\n  cframe->macro_nest = macro_nest;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "initialize_cframe(conditional_frame *cframe)" identifier (parameter_list "(conditional_frame *cframe)" ( (parameter_declaration "conditional_frame *cframe" type_identifier (pointer_declarator "*cframe" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  uint uVar3;\n  conditional_frame *pcVar4;\n  \n  pcVar4 = cframe;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    (pcVar4->if_file_line).file = (char *)0x0;\n    pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n  }\n  pcVar1 = as_where(&(cframe->if_file_line).line);\n  uVar3 = 0;\n  (cframe->if_file_line).file = pcVar1;\n  pcVar4 = current_cframe;\n  cframe->previous_cframe = current_cframe;\n  if (pcVar4 != (conditional_frame *)0x0) {\n    uVar3 = (uint)(pcVar4->ignoring != 0);\n  }\n  cframe->dead_tree = uVar3;\n  cframe->macro_nest = macro_nest;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "conditional_frame *pcVar4;" type_identifier (pointer_declarator "*pcVar4" * identifier) ;) (expression_statement "pcVar4 = cframe;" (assignment_expression "pcVar4 = cframe" identifier = identifier) ;) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    (pcVar4->if_file_line).file = (char *)0x0;\n    pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n  }" for ( (assignment_expression "iVar2 = 9" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    (pcVar4->if_file_line).file = (char *)0x0;\n    pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;\n  }" { (expression_statement "(pcVar4->if_file_line).file = (char *)0x0;" (assignment_expression "(pcVar4->if_file_line).file = (char *)0x0" (field_expression "(pcVar4->if_file_line).file" (parenthesized_expression "(pcVar4->if_file_line)" ( (field_expression "pcVar4->if_file_line" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line;" (assignment_expression "pcVar4 = (conditional_frame *)&(pcVar4->if_file_line).line" identifier = (cast_expression "(conditional_frame *)&(pcVar4->if_file_line).line" ( (type_descriptor "conditional_frame *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pcVar4->if_file_line).line" & (field_expression "(pcVar4->if_file_line).line" (parenthesized_expression "(pcVar4->if_file_line)" ( (field_expression "pcVar4->if_file_line" identifier -> field_identifier) )) . field_identifier)))) ;) })) (expression_statement "pcVar1 = as_where(&(cframe->if_file_line).line);" (assignment_expression "pcVar1 = as_where(&(cframe->if_file_line).line)" identifier = (call_expression "as_where(&(cframe->if_file_line).line)" identifier (argument_list "(&(cframe->if_file_line).line)" ( (pointer_expression "&(cframe->if_file_line).line" & (field_expression "(cframe->if_file_line).line" (parenthesized_expression "(cframe->if_file_line)" ( (field_expression "cframe->if_file_line" identifier -> field_identifier) )) . field_identifier)) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "(cframe->if_file_line).file = pcVar1;" (assignment_expression "(cframe->if_file_line).file = pcVar1" (field_expression "(cframe->if_file_line).file" (parenthesized_expression "(cframe->if_file_line)" ( (field_expression "cframe->if_file_line" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pcVar4 = current_cframe;" (assignment_expression "pcVar4 = current_cframe" identifier = identifier) ;) (expression_statement "cframe->previous_cframe = current_cframe;" (assignment_expression "cframe->previous_cframe = current_cframe" (field_expression "cframe->previous_cframe" identifier -> field_identifier) = identifier) ;) (if_statement "if (pcVar4 != (conditional_frame *)0x0) {\n    uVar3 = (uint)(pcVar4->ignoring != 0);\n  }" if (parenthesized_expression "(pcVar4 != (conditional_frame *)0x0)" ( (binary_expression "pcVar4 != (conditional_frame *)0x0" identifier != (cast_expression "(conditional_frame *)0x0" ( (type_descriptor "conditional_frame *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar3 = (uint)(pcVar4->ignoring != 0);\n  }" { (expression_statement "uVar3 = (uint)(pcVar4->ignoring != 0);" (assignment_expression "uVar3 = (uint)(pcVar4->ignoring != 0)" identifier = (call_expression "(uint)(pcVar4->ignoring != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pcVar4->ignoring != 0)" ( (binary_expression "pcVar4->ignoring != 0" (field_expression "pcVar4->ignoring" identifier -> field_identifier) != number_literal) )))) ;) })) (expression_statement "cframe->dead_tree = uVar3;" (assignment_expression "cframe->dead_tree = uVar3" (field_expression "cframe->dead_tree" identifier -> field_identifier) = identifier) ;) (expression_statement "cframe->macro_nest = macro_nest;" (assignment_expression "cframe->macro_nest = macro_nest" (field_expression "cframe->macro_nest" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000187c0(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000187c0(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000187c0(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" identifier = identifier) ;) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" for ( (assignment_expression "iVar2 = 9" identifier = number_literal) ; (binary_expression "iVar2 != 0" identifier != number_literal) ; (assignment_expression "iVar2 = iVar2 + -1" identifier = (binary_expression "iVar2 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" { (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" identifier = (binary_expression "puVar4 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = FUN_000264c0(param_1 + 1);" (assignment_expression "uVar1 = FUN_000264c0(param_1 + 1)" identifier = (call_expression "FUN_000264c0(param_1 + 1)" identifier (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) )))) ;) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" identifier = number_literal) ;) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" * identifier) = identifier) ;) (expression_statement "iVar2 = DAT_00077718;" (assignment_expression "iVar2 = DAT_00077718" identifier = identifier) ;) (expression_statement "param_1[4] = DAT_00077718;" (assignment_expression "param_1[4] = DAT_00077718" (subscript_expression "param_1[4]" identifier [ number_literal ]) = identifier) ;) (if_statement "if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }" { (expression_statement "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);" (assignment_expression "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0)" identifier = (call_expression "(uint)(*(int *)(iVar2 + 0x18) != 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(*(int *)(iVar2 + 0x18) != 0)" ( (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" * (cast_expression "(int *)(iVar2 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x18)" ( (binary_expression "iVar2 + 0x18" identifier + number_literal) )))) != number_literal) )))) ;) })) (expression_statement "param_1[7] = uVar3;" (assignment_expression "param_1[7] = uVar3" (subscript_expression "param_1[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "param_1[8] = DAT_00077eb4;" (assignment_expression "param_1[8] = DAT_00077eb4" (subscript_expression "param_1[8]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )))) ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000187c0(undefined4 *param_1)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000187c0(undefined4 *param_1)" (identifier "FUN_000187c0") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  uint uVar3;\n  undefined4 *puVar4;\n  \n  puVar4 = param_1;\n  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }\n  uVar1 = FUN_000264c0(param_1 + 1);\n  uVar3 = 0;\n  *param_1 = uVar1;\n  iVar2 = DAT_00077718;\n  param_1[4] = DAT_00077718;\n  if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }\n  param_1[7] = uVar3;\n  param_1[8] = DAT_00077eb4;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "puVar4 = param_1;" (assignment_expression "puVar4 = param_1" (identifier "puVar4") (= "=") (identifier "param_1")) (; ";")) (for_statement "for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar2 = 9" (identifier "iVar2") (= "=") (number_literal "9")) (; ";") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar2 = iVar2 + -1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + -1" (identifier "iVar2") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar4 = 0;\n    puVar4 = puVar4 + 1;\n  }" ({ "{") (expression_statement "*puVar4 = 0;" (assignment_expression "*puVar4 = 0" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar4 = puVar4 + 1;" (assignment_expression "puVar4 = puVar4 + 1" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 1" (identifier "puVar4") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar1 = FUN_000264c0(param_1 + 1);" (assignment_expression "uVar1 = FUN_000264c0(param_1 + 1)" (identifier "uVar1") (= "=") (call_expression "FUN_000264c0(param_1 + 1)" (identifier "FUN_000264c0") (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")")))) (; ";")) (expression_statement "uVar3 = 0;" (assignment_expression "uVar3 = 0" (identifier "uVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_1 = uVar1;" (assignment_expression "*param_1 = uVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (identifier "uVar1")) (; ";")) (expression_statement "iVar2 = DAT_00077718;" (assignment_expression "iVar2 = DAT_00077718" (identifier "iVar2") (= "=") (identifier "DAT_00077718")) (; ";")) (expression_statement "param_1[4] = DAT_00077718;" (assignment_expression "param_1[4] = DAT_00077718" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (= "=") (identifier "DAT_00077718")) (; ";")) (if_statement "if (iVar2 != 0) {\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);\n  }" ({ "{") (expression_statement "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);" (assignment_expression "uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0)" (identifier "uVar3") (= "=") (call_expression "(uint)(*(int *)(iVar2 + 0x18) != 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(*(int *)(iVar2 + 0x18) != 0)" (( "(") (binary_expression "*(int *)(iVar2 + 0x18) != 0" (pointer_expression "*(int *)(iVar2 + 0x18)" (* "*") (cast_expression "(int *)(iVar2 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x18)" (( "(") (binary_expression "iVar2 + 0x18" (identifier "iVar2") (+ "+") (number_literal "0x18")) () ")")))) (!= "!=") (number_literal "0")) () ")")))) (; ";")) (} "}"))) (expression_statement "param_1[7] = uVar3;" (assignment_expression "param_1[7] = uVar3" (subscript_expression "param_1[7]" (identifier "param_1") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "param_1[8] = DAT_00077eb4;" (assignment_expression "param_1[8] = DAT_00077eb4" (subscript_expression "param_1[8]" (identifier "param_1") ([ "[") (number_literal "8") (] "]")) (= "=") (identifier "DAT_00077eb4")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *cframe)

{
  char *pcVar1;
  int var_1;
  type_2 uVar3;
  type_1 *var_3;
  
  var_3 = cframe;
  for (var_1 = 9; var_1 != 0; var_1 = var_1 + -1) {
    (var_3->if_file_line).file = (char *)0x0;
    var_3 = (type_1 *)&(var_3->if_file_line).line;
  }
  pcVar1 = var_2(&(cframe->if_file_line).line);
  uVar3 = 0;
  (cframe->if_file_line).file = pcVar1;
  var_3 = current_cframe;
  cframe->previous_cframe = current_cframe;
  if (var_3 != (type_1 *)0x0) {
    uVar3 = (type_2)(var_3->ignoring != 0);
  }
  cframe->dead_tree = uVar3;
  cframe->macro_nest = macro_nest;
  return;
}


(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))))) body: (compound_statement (declaration type: (type_identifier) 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: (identifier))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (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: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

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

void __regparm3 MASKED(undefined4 *param_1)

{
  undefined4 uVar1;
  int iVar2;
  uint uVar3;
  undefined4 *puVar4;
  
  puVar4 = param_1;
  for (iVar2 = 9; iVar2 != 0; iVar2 = iVar2 + -1) {
    *puVar4 = 0;
    puVar4 = puVar4 + 1;
  }
  uVar1 = FUN_000264c0(param_1 + 1);
  uVar3 = 0;
  *param_1 = uVar1;
  iVar2 = DAT_00077718;
  param_1[4] = DAT_00077718;
  if (iVar2 != 0) {
    uVar3 = (uint)(*(int *)(iVar2 + 0x18) != 0);
  }
  param_1[7] = uVar3;
  param_1[8] = DAT_00077eb4;
  return;
}

