
void find_address_in_section(bfd *abfd,asection *section,void *data)

{
  ulong uVar1;
  
  if ((found == 0) && ((section->flags & 1) != 0)) {
    uVar1 = section->vma;
    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {
      found = (*abfd->xvec->_bfd_find_nearest_line)
                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);
      return;
    }
  }
  return;
}



void FUN_00102f40(long param_1,long param_2)

{
  ulong uVar1;
  
  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {
    uVar1 = *(ulong *)(param_2 + 0x28);
    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {
      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))
                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,
                                &DAT_00108460,&DAT_00108458,&DAT_00108454);
      return;
    }
  }
  return;
}


MOV EAX,dword ptr [0x00108450]
TEST EAX,EAX
JNZ 0x00102fb0
TEST byte ptr [RSI + 0x20],0x1
JZ 0x00102fb0
MOV RAX,qword ptr [RSI + 0x28]
MOV RCX,qword ptr [0x00108470]
CMP RAX,RCX
JA 0x00102fb0
MOV RDX,qword ptr [RSI + 0x38]
ADD RDX,RAX
CMP RCX,RDX
JNC 0x00102fb0
SUB RSP,0x8
MOV RDX,RSI
LEA RSI,[0x108454]
SUB RCX,RAX
PUSH RSI
LEA RSI,[0x108458]
MOV RAX,qword ptr [RDI + 0x8]
LEA R9,[0x108460]
PUSH RSI
LEA R8,[0x108468]
MOV RSI,qword ptr [0x00108478]
CALL qword ptr [RAX + 0x238]
MOV dword ptr [0x00108450],EAX
ADD RSP,0x18
RET
RET
(translation_unit "void FUN_00102f40(long param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00102f40(long param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00102f40(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }" if (parenthesized_expression "((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0))" ( (binary_expression "(DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)" (parenthesized_expression "(DAT_00108450 == 0)" ( (binary_expression "DAT_00108450 == 0" identifier == number_literal) )) && (parenthesized_expression "((*(byte *)(param_2 + 0x20) & 1) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x20) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x20) & 1)" ( (binary_expression "*(byte *)(param_2 + 0x20) & 1" (pointer_expression "*(byte *)(param_2 + 0x20)" * (cast_expression "(byte *)(param_2 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }" { (expression_statement "uVar1 = *(ulong *)(param_2 + 0x28);" (assignment_expression "uVar1 = *(ulong *)(param_2 + 0x28)" identifier = (pointer_expression "*(ulong *)(param_2 + 0x28)" * (cast_expression "(ulong *)(param_2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }" if (parenthesized_expression "((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1))" ( (binary_expression "(uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)" (parenthesized_expression "(uVar1 <= DAT_00108470)" ( (binary_expression "uVar1 <= DAT_00108470" identifier <= identifier) )) && (parenthesized_expression "(DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)" ( (binary_expression "DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1" identifier < (binary_expression "*(long *)(param_2 + 0x38) + uVar1" (pointer_expression "*(long *)(param_2 + 0x38)" * (cast_expression "(long *)(param_2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) + identifier)) ))) )) (compound_statement "{\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }" { (expression_statement "DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);" (assignment_expression "DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" identifier = (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x238))" ( (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x238)" * (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x238)" * (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x238)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x238)" ( (binary_expression "*(long *)(param_1 + 8) + 0x238" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" ( identifier , identifier , identifier , (binary_expression "DAT_00108470 - uVar1" identifier - identifier) , (pointer_expression "&DAT_00108468" & identifier) , (pointer_expression "&DAT_00108460" & identifier) , (pointer_expression "&DAT_00108458" & identifier) , (pointer_expression "&DAT_00108454" & identifier) )))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void find_address_in_section(bfd *abfd,asection *section,void *data)\n\n{\n  ulong uVar1;\n  \n  if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void find_address_in_section(bfd *abfd,asection *section,void *data)\n\n{\n  ulong uVar1;\n  \n  if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "find_address_in_section(bfd *abfd,asection *section,void *data)" identifier (parameter_list "(bfd *abfd,asection *section,void *data)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if ((found == 0) && ((section->flags & 1) != 0)) {\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }\n  }" if (parenthesized_expression "((found == 0) && ((section->flags & 1) != 0))" ( (binary_expression "(found == 0) && ((section->flags & 1) != 0)" (parenthesized_expression "(found == 0)" ( (binary_expression "found == 0" identifier == number_literal) )) && (parenthesized_expression "((section->flags & 1) != 0)" ( (binary_expression "(section->flags & 1) != 0" (parenthesized_expression "(section->flags & 1)" ( (binary_expression "section->flags & 1" (field_expression "section->flags" identifier -> field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar1 = section->vma;\n    if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }\n  }" { (expression_statement "uVar1 = section->vma;" (assignment_expression "uVar1 = section->vma" identifier = (field_expression "section->vma" identifier -> field_identifier)) ;) (if_statement "if ((uVar1 <= pc) && (pc < section->size + uVar1)) {\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }" if (parenthesized_expression "((uVar1 <= pc) && (pc < section->size + uVar1))" ( (binary_expression "(uVar1 <= pc) && (pc < section->size + uVar1)" (parenthesized_expression "(uVar1 <= pc)" ( (binary_expression "uVar1 <= pc" identifier <= identifier) )) && (parenthesized_expression "(pc < section->size + uVar1)" ( (binary_expression "pc < section->size + uVar1" identifier < (binary_expression "section->size + uVar1" (field_expression "section->size" identifier -> field_identifier) + identifier)) ))) )) (compound_statement "{\n      found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);\n      return;\n    }" { (expression_statement "found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator);" (assignment_expression "found = (*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator)" identifier = (call_expression "(*abfd->xvec->_bfd_find_nearest_line)\n                        (abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator)" (parenthesized_expression "(*abfd->xvec->_bfd_find_nearest_line)" ( (pointer_expression "*abfd->xvec->_bfd_find_nearest_line" * (field_expression "abfd->xvec->_bfd_find_nearest_line" (field_expression "abfd->xvec" identifier -> field_identifier) -> field_identifier)) )) (argument_list "(abfd,syms,section,pc - uVar1,&filename,&functionname,&line,&discriminator)" ( identifier , identifier , identifier , (binary_expression "pc - uVar1" identifier - identifier) , (pointer_expression "&filename" & identifier) , (pointer_expression "&functionname" & identifier) , (pointer_expression "&line" & identifier) , (pointer_expression "&discriminator" & identifier) )))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00102f40(long param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_00102f40(long param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00102f40(long param_1,long param_2)" identifier (parameter_list "(long param_1,long param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "long param_2" (sized_type_specifier "long" long) identifier) ))) (compound_statement "{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (if_statement "if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }" if (parenthesized_expression "((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0))" ( (binary_expression "(DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)" (parenthesized_expression "(DAT_00108450 == 0)" ( (binary_expression "DAT_00108450 == 0" identifier == number_literal) )) && (parenthesized_expression "((*(byte *)(param_2 + 0x20) & 1) != 0)" ( (binary_expression "(*(byte *)(param_2 + 0x20) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x20) & 1)" ( (binary_expression "*(byte *)(param_2 + 0x20) & 1" (pointer_expression "*(byte *)(param_2 + 0x20)" * (cast_expression "(byte *)(param_2 + 0x20)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }" { (expression_statement "uVar1 = *(ulong *)(param_2 + 0x28);" (assignment_expression "uVar1 = *(ulong *)(param_2 + 0x28)" identifier = (pointer_expression "*(ulong *)(param_2 + 0x28)" * (cast_expression "(ulong *)(param_2 + 0x28)" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x28)" ( (binary_expression "param_2 + 0x28" identifier + number_literal) ))))) ;) (if_statement "if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }" if (parenthesized_expression "((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1))" ( (binary_expression "(uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)" (parenthesized_expression "(uVar1 <= DAT_00108470)" ( (binary_expression "uVar1 <= DAT_00108470" identifier <= identifier) )) && (parenthesized_expression "(DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)" ( (binary_expression "DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1" identifier < (binary_expression "*(long *)(param_2 + 0x38) + uVar1" (pointer_expression "*(long *)(param_2 + 0x38)" * (cast_expression "(long *)(param_2 + 0x38)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x38)" ( (binary_expression "param_2 + 0x38" identifier + number_literal) )))) + identifier)) ))) )) (compound_statement "{\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }" { (expression_statement "DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);" (assignment_expression "DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" identifier = (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x238))" ( (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x238)" * (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x238)" * (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x238)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(long *)(param_1 + 8) + 0x238)" ( (binary_expression "*(long *)(param_1 + 8) + 0x238" (pointer_expression "*(long *)(param_1 + 8)" * (cast_expression "(long *)(param_1 + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) )))) + number_literal) ))))) )) (argument_list "(param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" ( identifier , identifier , identifier , (binary_expression "DAT_00108470 - uVar1" identifier - identifier) , (pointer_expression "&DAT_00108468" & identifier) , (pointer_expression "&DAT_00108460" & identifier) , (pointer_expression "&DAT_00108458" & identifier) , (pointer_expression "&DAT_00108454" & identifier) )))) ;) (return_statement "return;" return ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration (sized_type_specifier long) IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (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 * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) )) (argument_list ( IDENT , IDENT , IDENT , (binary_expression IDENT - IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) , (pointer_expression & IDENT) )))) ;) (return_statement return ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_00102f40(long param_1,long param_2)\n\n{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00102f40(long param_1,long param_2)" (identifier "FUN_00102f40") (parameter_list "(long param_1,long param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "long param_2" (sized_type_specifier "long" (long "long")) (identifier "param_2")) () ")"))) (compound_statement "{\n  ulong uVar1;\n  \n  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }\n  return;\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (if_statement "if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }" (if "if") (parenthesized_expression "((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0))" (( "(") (binary_expression "(DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)" (parenthesized_expression "(DAT_00108450 == 0)" (( "(") (binary_expression "DAT_00108450 == 0" (identifier "DAT_00108450") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(byte *)(param_2 + 0x20) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(param_2 + 0x20) & 1) != 0" (parenthesized_expression "(*(byte *)(param_2 + 0x20) & 1)" (( "(") (binary_expression "*(byte *)(param_2 + 0x20) & 1" (pointer_expression "*(byte *)(param_2 + 0x20)" (* "*") (cast_expression "(byte *)(param_2 + 0x20)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    uVar1 = *(ulong *)(param_2 + 0x28);\n    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }\n  }" ({ "{") (expression_statement "uVar1 = *(ulong *)(param_2 + 0x28);" (assignment_expression "uVar1 = *(ulong *)(param_2 + 0x28)" (identifier "uVar1") (= "=") (pointer_expression "*(ulong *)(param_2 + 0x28)" (* "*") (cast_expression "(ulong *)(param_2 + 0x28)" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x28)" (( "(") (binary_expression "param_2 + 0x28" (identifier "param_2") (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }" (if "if") (parenthesized_expression "((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1))" (( "(") (binary_expression "(uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)" (parenthesized_expression "(uVar1 <= DAT_00108470)" (( "(") (binary_expression "uVar1 <= DAT_00108470" (identifier "uVar1") (<= "<=") (identifier "DAT_00108470")) () ")")) (&& "&&") (parenthesized_expression "(DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)" (( "(") (binary_expression "DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1" (identifier "DAT_00108470") (< "<") (binary_expression "*(long *)(param_2 + 0x38) + uVar1" (pointer_expression "*(long *)(param_2 + 0x38)" (* "*") (cast_expression "(long *)(param_2 + 0x38)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x38)" (( "(") (binary_expression "param_2 + 0x38" (identifier "param_2") (+ "+") (number_literal "0x38")) () ")")))) (+ "+") (identifier "uVar1"))) () ")"))) () ")")) (compound_statement "{\n      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);\n      return;\n    }" ({ "{") (expression_statement "DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454);" (assignment_expression "DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" (identifier "DAT_00108450") (= "=") (call_expression "(**(code **)(*(long *)(param_1 + 8) + 0x238))\n                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" (parenthesized_expression "(**(code **)(*(long *)(param_1 + 8) + 0x238))" (( "(") (pointer_expression "**(code **)(*(long *)(param_1 + 8) + 0x238)" (* "*") (pointer_expression "*(code **)(*(long *)(param_1 + 8) + 0x238)" (* "*") (cast_expression "(code **)(*(long *)(param_1 + 8) + 0x238)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(long *)(param_1 + 8) + 0x238)" (( "(") (binary_expression "*(long *)(param_1 + 8) + 0x238" (pointer_expression "*(long *)(param_1 + 8)" (* "*") (cast_expression "(long *)(param_1 + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")")))) (+ "+") (number_literal "0x238")) () ")"))))) () ")")) (argument_list "(param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,\n                                &DAT_00108460,&DAT_00108458,&DAT_00108454)" (( "(") (identifier "param_1") (, ",") (identifier "DAT_00108478") (, ",") (identifier "param_2") (, ",") (binary_expression "DAT_00108470 - uVar1" (identifier "DAT_00108470") (- "-") (identifier "uVar1")) (, ",") (pointer_expression "&DAT_00108468" (& "&") (identifier "DAT_00108468")) (, ",") (pointer_expression "&DAT_00108460" (& "&") (identifier "DAT_00108460")) (, ",") (pointer_expression "&DAT_00108458" (& "&") (identifier "DAT_00108458")) (, ",") (pointer_expression "&DAT_00108454" (& "&") (identifier "DAT_00108454")) () ")")))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

{
  type_3 var_2;
  
  if ((var_1 == 0) && ((section->flags & 1) != 0)) {
    var_2 = section->vma;
    if ((var_2 <= var_3) && (var_3 < section->size + var_2)) {
      var_1 = (*abfd->xvec->_bfd_find_nearest_line)
                        (abfd,syms,section,var_3 - var_2,&filename,&functionname,&line,&discriminator);
      return;
    }
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (binary_expression left: (identifier) 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)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (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: (number_literal))))))) arguments: (argument_list (identifier) (identifier) (identifier) (binary_expression left: (identifier) right: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)) (pointer_expression argument: (identifier)))))) (return_statement))))) (return_statement))))

void MASKED(long param_1,long param_2)

{
  ulong uVar1;
  
  if ((DAT_00108450 == 0) && ((*(byte *)(param_2 + 0x20) & 1) != 0)) {
    uVar1 = *(ulong *)(param_2 + 0x28);
    if ((uVar1 <= DAT_00108470) && (DAT_00108470 < *(long *)(param_2 + 0x38) + uVar1)) {
      DAT_00108450 = (**(code **)(*(long *)(param_1 + 8) + 0x238))
                               (param_1,DAT_00108478,param_2,DAT_00108470 - uVar1,&DAT_00108468,
                                &DAT_00108460,&DAT_00108458,&DAT_00108454);
      return;
    }
  }
  return;
}

