
/* WARNING: Unknown calling convention */

int eh_frame_relax_frag(fragS *frag)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = frag->fr_subtype;
  iVar2 = eh_frame_estimate_size_before_relax(frag);
  return iVar2 - (uVar1 & 7);
}



int FUN_00023870(int param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = *(uint *)(param_1 + 0x48);
  iVar2 = FUN_000237a0(param_1);
  return iVar2 - (uVar1 & 7);
}


PUSH EBX
SUB ESP,0x14
MOV EAX,dword ptr [ESP + 0x1c]
MOV EBX,dword ptr [EAX + 0x48]
PUSH EAX
AND EBX,0x7
CALL 0x000237a0
ADD ESP,0x18
SUB EAX,EBX
POP EBX
RET
(translation_unit "int FUN_00023870(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}\n\n" (function_definition "int FUN_00023870(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}" primitive_type (function_declarator "FUN_00023870(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = FUN_000237a0(param_1);" (assignment_expression "iVar2 = FUN_000237a0(param_1)" identifier = (call_expression "FUN_000237a0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return iVar2 - (uVar1 & 7);" return (binary_expression "iVar2 - (uVar1 & 7)" identifier - (parenthesized_expression "(uVar1 & 7)" ( (binary_expression "uVar1 & 7" identifier & number_literal) ))) ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nint eh_frame_relax_frag(fragS *frag)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = frag->fr_subtype;\n  iVar2 = eh_frame_estimate_size_before_relax(frag);\n  return iVar2 - (uVar1 & 7);\n}\n\n" comment (function_definition "int eh_frame_relax_frag(fragS *frag)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = frag->fr_subtype;\n  iVar2 = eh_frame_estimate_size_before_relax(frag);\n  return iVar2 - (uVar1 & 7);\n}" primitive_type (function_declarator "eh_frame_relax_frag(fragS *frag)" identifier (parameter_list "(fragS *frag)" ( (parameter_declaration "fragS *frag" type_identifier (pointer_declarator "*frag" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = frag->fr_subtype;\n  iVar2 = eh_frame_estimate_size_before_relax(frag);\n  return iVar2 - (uVar1 & 7);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = frag->fr_subtype;" (assignment_expression "uVar1 = frag->fr_subtype" identifier = (field_expression "frag->fr_subtype" identifier -> field_identifier)) ;) (expression_statement "iVar2 = eh_frame_estimate_size_before_relax(frag);" (assignment_expression "iVar2 = eh_frame_estimate_size_before_relax(frag)" identifier = (call_expression "eh_frame_estimate_size_before_relax(frag)" identifier (argument_list "(frag)" ( identifier )))) ;) (return_statement "return iVar2 - (uVar1 & 7);" return (binary_expression "iVar2 - (uVar1 & 7)" identifier - (parenthesized_expression "(uVar1 & 7)" ( (binary_expression "uVar1 & 7" identifier & number_literal) ))) ;) })))
(translation_unit "int FUN_00023870(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}\n\n" (function_definition "int FUN_00023870(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}" primitive_type (function_declarator "FUN_00023870(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "uVar1 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x48)" identifier = (pointer_expression "*(uint *)(param_1 + 0x48)" * (cast_expression "(uint *)(param_1 + 0x48)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) ))))) ;) (expression_statement "iVar2 = FUN_000237a0(param_1);" (assignment_expression "iVar2 = FUN_000237a0(param_1)" identifier = (call_expression "FUN_000237a0(param_1)" identifier (argument_list "(param_1)" ( identifier )))) ;) (return_statement "return iVar2 - (uVar1 & 7);" return (binary_expression "iVar2 - (uVar1 & 7)" identifier - (parenthesized_expression "(uVar1 & 7)" ( (binary_expression "uVar1 & 7" identifier & number_literal) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (return_statement return (binary_expression IDENT - (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ;) })))
(function_definition "int FUN_00023870(int param_1)\n\n{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}" (primitive_type "int") (function_declarator "FUN_00023870(int param_1)" (identifier "FUN_00023870") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  int iVar2;\n  \n  uVar1 = *(uint *)(param_1 + 0x48);\n  iVar2 = FUN_000237a0(param_1);\n  return iVar2 - (uVar1 & 7);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "uVar1 = *(uint *)(param_1 + 0x48);" (assignment_expression "uVar1 = *(uint *)(param_1 + 0x48)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)(param_1 + 0x48)" (* "*") (cast_expression "(uint *)(param_1 + 0x48)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")"))))) (; ";")) (expression_statement "iVar2 = FUN_000237a0(param_1);" (assignment_expression "iVar2 = FUN_000237a0(param_1)" (identifier "iVar2") (= "=") (call_expression "FUN_000237a0(param_1)" (identifier "FUN_000237a0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")")))) (; ";")) (return_statement "return iVar2 - (uVar1 & 7);" (return "return") (binary_expression "iVar2 - (uVar1 & 7)" (identifier "iVar2") (- "-") (parenthesized_expression "(uVar1 & 7)" (( "(") (binary_expression "uVar1 & 7" (identifier "uVar1") (& "&") (number_literal "7")) () ")"))) (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

int function_1(type_1 *frag)

{
  type_2 var_3;
  int var_2;
  
  var_3 = frag->fr_subtype;
  var_2 = var_1(frag);
  return var_2 - (var_3 & 7);
}


(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 (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (return_statement (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))

int MASKED(int param_1)

{
  uint uVar1;
  int iVar2;
  
  uVar1 = *(uint *)(param_1 + 0x48);
  iVar2 = FUN_000237a0(param_1);
  return iVar2 - (uVar1 & 7);
}

