
/* WARNING: Unknown calling convention */

void renumber_sections(bfd *abfd,asection *sec,void *countparg)

{
                    /* WARNING: Load size is inaccurate */
  sec->index = *countparg;
                    /* WARNING: Load size is inaccurate */
  *(int *)countparg = *countparg + 1;
  return;
}



void FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)

{
  *(int *)(param_2 + 8) = *param_3;
  *param_3 = *param_3 + 1;
  return;
}


MOV EAX,dword ptr [ESP + 0xc]
MOV EDX,dword ptr [ESP + 0x8]
MOV ECX,dword ptr [EAX]
MOV dword ptr [EDX + 0x8],ECX
ADD dword ptr [EAX],0x1
RET
(translation_unit "void FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}\n\n" (function_definition "void FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}" primitive_type (function_declarator "FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}" { (expression_statement "*(int *)(param_2 + 8) = *param_3;" (assignment_expression "*(int *)(param_2 + 8) = *param_3" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid renumber_sections(bfd *abfd,asection *sec,void *countparg)\n\n{\n                    /* WARNING: Load size is inaccurate */\n  sec->index = *countparg;\n                    /* WARNING: Load size is inaccurate */\n  *(int *)countparg = *countparg + 1;\n  return;\n}\n\n" comment (function_definition "void renumber_sections(bfd *abfd,asection *sec,void *countparg)\n\n{\n                    /* WARNING: Load size is inaccurate */\n  sec->index = *countparg;\n                    /* WARNING: Load size is inaccurate */\n  *(int *)countparg = *countparg + 1;\n  return;\n}" primitive_type (function_declarator "renumber_sections(bfd *abfd,asection *sec,void *countparg)" identifier (parameter_list "(bfd *abfd,asection *sec,void *countparg)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *sec" type_identifier (pointer_declarator "*sec" * identifier)) , (parameter_declaration "void *countparg" primitive_type (pointer_declarator "*countparg" * identifier)) ))) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n  sec->index = *countparg;\n                    /* WARNING: Load size is inaccurate */\n  *(int *)countparg = *countparg + 1;\n  return;\n}" { comment (expression_statement "sec->index = *countparg;" (assignment_expression "sec->index = *countparg" (field_expression "sec->index" identifier -> field_identifier) = (pointer_expression "*countparg" * identifier)) ;) comment (expression_statement "*(int *)countparg = *countparg + 1;" (assignment_expression "*(int *)countparg = *countparg + 1" (pointer_expression "*(int *)countparg" * (cast_expression "(int *)countparg" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (binary_expression "*countparg + 1" (pointer_expression "*countparg" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}\n\n" (function_definition "void FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}" primitive_type (function_declarator "FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}" { (expression_statement "*(int *)(param_2 + 8) = *param_3;" (assignment_expression "*(int *)(param_2 + 8) = *param_3" (pointer_expression "*(int *)(param_2 + 8)" * (cast_expression "(int *)(param_2 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 8)" ( (binary_expression "param_2 + 8" identifier + number_literal) )))) = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" * identifier) = (binary_expression "*param_3 + 1" (pointer_expression "*param_3" * identifier) + number_literal)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) + LIT)) ;) (return_statement return ;) })))
(function_definition "void FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)\n\n{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0003c7c0(undefined4 param_1,int param_2,int *param_3)" (identifier "FUN_0003c7c0") (parameter_list "(undefined4 param_1,int param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  *(int *)(param_2 + 8) = *param_3;\n  *param_3 = *param_3 + 1;\n  return;\n}" ({ "{") (expression_statement "*(int *)(param_2 + 8) = *param_3;" (assignment_expression "*(int *)(param_2 + 8) = *param_3" (pointer_expression "*(int *)(param_2 + 8)" (* "*") (cast_expression "(int *)(param_2 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 8)" (( "(") (binary_expression "param_2 + 8" (identifier "param_2") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*param_3 = *param_3 + 1;" (assignment_expression "*param_3 = *param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (binary_expression "*param_3 + 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void function_1(type_1 *abfd,type_2 *sec,void *countparg)

{
                    /* WARNING: Load size is inaccurate */
  sec->index = *countparg;
                    /* WARNING: Load size is inaccurate */
  *(int *)countparg = *countparg + 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (assignment_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: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))) (return_statement))))

void MASKED(undefined4 param_1,int param_2,int *param_3)

{
  *(int *)(param_2 + 8) = *param_3;
  *param_3 = *param_3 + 1;
  return;
}

