
void adjust_addresses(bfd *abfd,asection *section,void *arg)

{
  int iVar1;
  bfd_vma bVar2;
  
  bVar2 = adjust_section_vma;
  if ((section->flags & 0x2000) == 0) {
                    /* WARNING: Load size is inaccurate */
    iVar1 = *arg;
    section->vma = section->vma + adjust_section_vma;
    if (iVar1 != 0) {
      section->lma = section->lma + bVar2;
    }
  }
  return;
}



void FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)

{
  int iVar1;
  long lVar2;
  
  lVar2 = DAT_00157308;
  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {
    iVar1 = *param_3;
    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;
    if (iVar1 != 0) {
      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;
    }
  }
  return;
}


TEST byte ptr [RSI + 0x21],0x20
JNZ 0x0010a3fb
MOV EDX,dword ptr [RDX]
MOV RAX,qword ptr [0x00157308]
ADD qword ptr [RSI + 0x28],RAX
TEST EDX,EDX
JZ 0x0010a3fb
ADD qword ptr [RSI + 0x30],RAX
RET
(translation_unit "void FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,int *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = DAT_00157308;" (assignment_expression "lVar2 = DAT_00157308" identifier = identifier) ;) (if_statement "if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x21) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x21) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x21) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x21) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x21)" * (cast_expression "(byte *)(param_2 + 0x21)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x21)" ( (binary_expression "param_2 + 0x21" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }" { (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;" (assignment_expression "*(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308" (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) = (binary_expression "*(long *)(param_2 + 0x28) + DAT_00157308" (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }" { (expression_statement "*(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;" (assignment_expression "*(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2" (pointer_expression "*(long *)(param_2 + 0x30)" * (cast_expression "(long *)(param_2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) = (binary_expression "*(long *)(param_2 + 0x30) + lVar2" (pointer_expression "*(long *)(param_2 + 0x30)" * (cast_expression "(long *)(param_2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) + identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void adjust_addresses(bfd *abfd,asection *section,void *arg)\n\n{\n  int iVar1;\n  bfd_vma bVar2;\n  \n  bVar2 = adjust_section_vma;\n  if ((section->flags & 0x2000) == 0) {\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = *arg;\n    section->vma = section->vma + adjust_section_vma;\n    if (iVar1 != 0) {\n      section->lma = section->lma + bVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void adjust_addresses(bfd *abfd,asection *section,void *arg)\n\n{\n  int iVar1;\n  bfd_vma bVar2;\n  \n  bVar2 = adjust_section_vma;\n  if ((section->flags & 0x2000) == 0) {\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = *arg;\n    section->vma = section->vma + adjust_section_vma;\n    if (iVar1 != 0) {\n      section->lma = section->lma + bVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "adjust_addresses(bfd *abfd,asection *section,void *arg)" identifier (parameter_list "(bfd *abfd,asection *section,void *arg)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  bfd_vma bVar2;\n  \n  bVar2 = adjust_section_vma;\n  if ((section->flags & 0x2000) == 0) {\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = *arg;\n    section->vma = section->vma + adjust_section_vma;\n    if (iVar1 != 0) {\n      section->lma = section->lma + bVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bfd_vma bVar2;" type_identifier identifier ;) (expression_statement "bVar2 = adjust_section_vma;" (assignment_expression "bVar2 = adjust_section_vma" identifier = identifier) ;) (if_statement "if ((section->flags & 0x2000) == 0) {\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = *arg;\n    section->vma = section->vma + adjust_section_vma;\n    if (iVar1 != 0) {\n      section->lma = section->lma + bVar2;\n    }\n  }" if (parenthesized_expression "((section->flags & 0x2000) == 0)" ( (binary_expression "(section->flags & 0x2000) == 0" (parenthesized_expression "(section->flags & 0x2000)" ( (binary_expression "section->flags & 0x2000" (field_expression "section->flags" identifier -> field_identifier) & number_literal) )) == number_literal) )) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n    iVar1 = *arg;\n    section->vma = section->vma + adjust_section_vma;\n    if (iVar1 != 0) {\n      section->lma = section->lma + bVar2;\n    }\n  }" { comment (expression_statement "iVar1 = *arg;" (assignment_expression "iVar1 = *arg" identifier = (pointer_expression "*arg" * identifier)) ;) (expression_statement "section->vma = section->vma + adjust_section_vma;" (assignment_expression "section->vma = section->vma + adjust_section_vma" (field_expression "section->vma" identifier -> field_identifier) = (binary_expression "section->vma + adjust_section_vma" (field_expression "section->vma" identifier -> field_identifier) + identifier)) ;) (if_statement "if (iVar1 != 0) {\n      section->lma = section->lma + bVar2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      section->lma = section->lma + bVar2;\n    }" { (expression_statement "section->lma = section->lma + bVar2;" (assignment_expression "section->lma = section->lma + bVar2" (field_expression "section->lma" identifier -> field_identifier) = (binary_expression "section->lma + bVar2" (field_expression "section->lma" identifier -> field_identifier) + identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)" identifier (parameter_list "(undefined8 param_1,long param_2,int *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = DAT_00157308;" (assignment_expression "lVar2 = DAT_00157308" identifier = identifier) ;) (if_statement "if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }" if (parenthesized_expression "((*(byte *)(param_2 + 0x21) & 0x20) == 0)" ( (binary_expression "(*(byte *)(param_2 + 0x21) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x21) & 0x20)" ( (binary_expression "*(byte *)(param_2 + 0x21) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x21)" * (cast_expression "(byte *)(param_2 + 0x21)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x21)" ( (binary_expression "param_2 + 0x21" identifier + number_literal) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }" { (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" identifier = (pointer_expression "*param_3" * identifier)) ;) (expression_statement "*(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;" (assignment_expression "*(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308" (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) = (binary_expression "*(long *)(param_2 + 0x28) + DAT_00157308" (pointer_expression "*(long *)(param_2 + 0x28)" * (cast_expression "(long *)(param_2 + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) )))) + identifier)) ;) (if_statement "if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }" { (expression_statement "*(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;" (assignment_expression "*(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2" (pointer_expression "*(long *)(param_2 + 0x30)" * (cast_expression "(long *)(param_2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) = (binary_expression "*(long *)(param_2 + 0x30) + lVar2" (pointer_expression "*(long *)(param_2 + 0x30)" * (cast_expression "(long *)(param_2 + 0x30)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x30)" ( (binary_expression "param_2 + 0x30" identifier + number_literal) )))) + identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)\n\n{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010a3e0(undefined8 param_1,long param_2,int *param_3)" (identifier "FUN_0010a3e0") (parameter_list "(undefined8 param_1,long param_2,int *param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  long lVar2;\n  \n  lVar2 = DAT_00157308;\n  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "lVar2 = DAT_00157308;" (assignment_expression "lVar2 = DAT_00157308" (identifier "lVar2") (= "=") (identifier "DAT_00157308")) (; ";")) (if_statement "if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_2 + 0x21) & 0x20) == 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x21) & 0x20) == 0" (parenthesized_expression "(*(byte *)(param_2 + 0x21) & 0x20)" (( "(") (binary_expression "*(byte *)(param_2 + 0x21) & 0x20" (pointer_expression "*(byte *)(param_2 + 0x21)" (* "*") (cast_expression "(byte *)(param_2 + 0x21)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x21)" (( "(") (binary_expression "param_2 + 0x21" (identifier "param_2") (+ "+") (number_literal "0x21")) () ")")))) (& "&") (number_literal "0x20")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar1 = *param_3;\n    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;\n    if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }\n  }" ({ "{") (expression_statement "iVar1 = *param_3;" (assignment_expression "iVar1 = *param_3" (identifier "iVar1") (= "=") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (; ";")) (expression_statement "*(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;" (assignment_expression "*(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308" (pointer_expression "*(long *)(param_2 + 0x28)" (* "*") (cast_expression "(long *)(param_2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (binary_expression "*(long *)(param_2 + 0x28) + DAT_00157308" (pointer_expression "*(long *)(param_2 + 0x28)" (* "*") (cast_expression "(long *)(param_2 + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")")))) (+ "+") (identifier "DAT_00157308"))) (; ";")) (if_statement "if (iVar1 != 0) {\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;\n    }" ({ "{") (expression_statement "*(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;" (assignment_expression "*(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2" (pointer_expression "*(long *)(param_2 + 0x30)" (* "*") (cast_expression "(long *)(param_2 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (binary_expression "*(long *)(param_2 + 0x30) + lVar2" (pointer_expression "*(long *)(param_2 + 0x30)" (* "*") (cast_expression "(long *)(param_2 + 0x30)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x30)" (( "(") (binary_expression "param_2 + 0x30" (identifier "param_2") (+ "+") (number_literal "0x30")) () ")")))) (+ "+") (identifier "lVar2"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *abfd,type_2 *section,void *arg)

{
  int var_2;
  type_3 var_3;
  
  var_3 = var_1;
  if ((section->flags & 0x2000) == 0) {
                    /* WARNING: Load size is inaccurate */
    var_2 = *arg;
    section->vma = section->vma + var_1;
    if (var_2 != 0) {
      section->lma = section->lma + var_3;
    }
  }
  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: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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))))) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier)))))))) (return_statement))))

void MASKED(undefined8 param_1,long param_2,int *param_3)

{
  int iVar1;
  long lVar2;
  
  lVar2 = DAT_00157308;
  if ((*(byte *)(param_2 + 0x21) & 0x20) == 0) {
    iVar1 = *param_3;
    *(long *)(param_2 + 0x28) = *(long *)(param_2 + 0x28) + DAT_00157308;
    if (iVar1 != 0) {
      *(long *)(param_2 + 0x30) = *(long *)(param_2 + 0x30) + lVar2;
    }
  }
  return;
}

