
/* WARNING: Unknown calling convention */

ip_address * address_list_address_at(address_list *al,int pos)

{
  return al->addresses + pos;
}



int FUN_00029fe0(int param_1,int param_2)

{
  return *(int *)(param_1 + 4) + param_2 * 0x18;
}


MOV EAX,dword ptr [ESP + 0x8]
LEA EDX,[EAX + EAX*0x2]
MOV EAX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EAX + 0x4]
LEA EAX,[EAX + EDX*0x8]
RET
(translation_unit "int FUN_00029fe0(int param_1,int param_2)\n\n{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}\n\n" (function_definition "int FUN_00029fe0(int param_1,int param_2)\n\n{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}" primitive_type (function_declarator "FUN_00029fe0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}" { (return_statement "return *(int *)(param_1 + 4) + param_2 * 0x18;" return (binary_expression "*(int *)(param_1 + 4) + param_2 * 0x18" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + (binary_expression "param_2 * 0x18" identifier * number_literal)) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nip_address * address_list_address_at(address_list *al,int pos)\n\n{\n  return al->addresses + pos;\n}\n\n" comment (function_definition "ip_address * address_list_address_at(address_list *al,int pos)\n\n{\n  return al->addresses + pos;\n}" type_identifier (pointer_declarator "* address_list_address_at(address_list *al,int pos)" * (function_declarator "address_list_address_at(address_list *al,int pos)" identifier (parameter_list "(address_list *al,int pos)" ( (parameter_declaration "address_list *al" type_identifier (pointer_declarator "*al" * identifier)) , (parameter_declaration "int pos" primitive_type identifier) )))) (compound_statement "{\n  return al->addresses + pos;\n}" { (return_statement "return al->addresses + pos;" return (binary_expression "al->addresses + pos" (field_expression "al->addresses" identifier -> field_identifier) + identifier) ;) })))
(translation_unit "int FUN_00029fe0(int param_1,int param_2)\n\n{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}\n\n" (function_definition "int FUN_00029fe0(int param_1,int param_2)\n\n{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}" primitive_type (function_declarator "FUN_00029fe0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}" { (return_statement "return *(int *)(param_1 + 4) + param_2 * 0x18;" return (binary_expression "*(int *)(param_1 + 4) + param_2 * 0x18" (pointer_expression "*(int *)(param_1 + 4)" * (cast_expression "(int *)(param_1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) + (binary_expression "param_2 * 0x18" identifier * number_literal)) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (return_statement return (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression IDENT * LIT)) ;) })))
(function_definition "int FUN_00029fe0(int param_1,int param_2)\n\n{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}" (primitive_type "int") (function_declarator "FUN_00029fe0(int param_1,int param_2)" (identifier "FUN_00029fe0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  return *(int *)(param_1 + 4) + param_2 * 0x18;\n}" ({ "{") (return_statement "return *(int *)(param_1 + 4) + param_2 * 0x18;" (return "return") (binary_expression "*(int *)(param_1 + 4) + param_2 * 0x18" (pointer_expression "*(int *)(param_1 + 4)" (* "*") (cast_expression "(int *)(param_1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (+ "+") (binary_expression "param_2 * 0x18" (identifier "param_2") (* "*") (number_literal "0x18"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

type_1 * function_1(type_2 *al,int var_1)

{
  return al->addresses + var_1;
}


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

int MASKED(int param_1,int param_2)

{
  return *(int *)(param_1 + 4) + param_2 * 0x18;
}

