
/* WARNING: Unknown calling convention */

long md_pcrel_from(fixS *fixP)

{
  return (uint)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;
}



int FUN_000503c0(int param_1)

{
  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);
}


MOV EDX,dword ptr [ESP + 0x4]
MOVZX EAX,byte ptr [EDX + 0x2]
ADD EAX,dword ptr [EDX + 0x8]
MOV EDX,dword ptr [EDX + 0x4]
ADD EAX,dword ptr [EDX]
RET
(translation_unit "int FUN_000503c0(int param_1)\n\n{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}\n\n" (function_definition "int FUN_000503c0(int param_1)\n\n{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}" primitive_type (function_declarator "FUN_000503c0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}" { (return_statement "return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);" return (binary_expression "(uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4)" (binary_expression "(uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8)" (binary_expression "(uint)*(byte *)(param_1 + 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nlong md_pcrel_from(fixS *fixP)\n\n{\n  return (uint)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;\n}\n\n" comment (function_definition "long md_pcrel_from(fixS *fixP)\n\n{\n  return (uint)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;\n}" (sized_type_specifier "long" long) (function_declarator "md_pcrel_from(fixS *fixP)" identifier (parameter_list "(fixS *fixP)" ( (parameter_declaration "fixS *fixP" type_identifier (pointer_declarator "*fixP" * identifier)) ))) (compound_statement "{\n  return (uint)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;\n}" { (return_statement "return (uint)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;" return (binary_expression "(uint)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address" (binary_expression "(uint)fixP->fx_size + fixP->fx_where" (cast_expression "(uint)fixP->fx_size" ( (type_descriptor "uint" type_identifier) ) (field_expression "fixP->fx_size" identifier -> field_identifier)) + (field_expression "fixP->fx_where" identifier -> field_identifier)) + (field_expression "fixP->fx_frag->fr_address" (field_expression "fixP->fx_frag" identifier -> field_identifier) -> field_identifier)) ;) })))
(translation_unit "int FUN_000503c0(int param_1)\n\n{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}\n\n" (function_definition "int FUN_000503c0(int param_1)\n\n{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}" primitive_type (function_declarator "FUN_000503c0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}" { (return_statement "return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);" return (binary_expression "(uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4)" (binary_expression "(uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8)" (binary_expression "(uint)*(byte *)(param_1 + 2)" (parenthesized_expression "(uint)" ( identifier )) * (cast_expression "(byte *)(param_1 + 2)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 8)" * (cast_expression "(int *)(param_1 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) + (pointer_expression "**(int **)(param_1 + 4)" * (pointer_expression "*(int **)(param_1 + 4)" * (cast_expression "(int **)(param_1 + 4)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (binary_expression (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })))
(function_definition "int FUN_000503c0(int param_1)\n\n{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}" (primitive_type "int") (function_declarator "FUN_000503c0(int param_1)" (identifier "FUN_000503c0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);\n}" ({ "{") (return_statement "return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);" (return "return") (binary_expression "(uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4)" (binary_expression "(uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8)" (binary_expression "(uint)*(byte *)(param_1 + 2)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (cast_expression "(byte *)(param_1 + 2)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 8)" (* "*") (cast_expression "(int *)(param_1 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (+ "+") (pointer_expression "**(int **)(param_1 + 4)" (* "*") (pointer_expression "*(int **)(param_1 + 4)" (* "*") (cast_expression "(int **)(param_1 + 4)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

long function_1(type_1 *fixP)

{
  return (type_2)fixP->fx_size + fixP->fx_where + fixP->fx_frag->fr_address;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (return_statement (binary_expression left: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))

int MASKED(int param_1)

{
  return (uint)*(byte *)(param_1 + 2) + *(int *)(param_1 + 8) + **(int **)(param_1 + 4);
}

