
int S_FORCE_RELOC(symbolS *s,int strict)

{
  uint uVar1;
  segT paVar2;
  
  paVar2 = (segT)s->bsym;
  if (((uint)s->sy_flags & 1) != 0) {
    if (reg_section != paVar2) goto LAB_00129392;
    paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;
  }
  if ((strict != 0) && (((ulong)paVar2->prev & 0x82) != 0)) {
    return 1;
  }
  if (((ulong)paVar2->prev & 0x400000) != 0) {
    return 1;
  }
  paVar2 = *(segT *)&paVar2->flags;
LAB_00129392:
  uVar1 = 1;
  if (paVar2 != (segT)(_bfd_std_section + 0x118)) {
    uVar1 = paVar2->flags >> 0xc & 1;
  }
  return uVar1;
}



uint FUN_00129380(byte *param_1,int param_2)

{
  uint uVar1;
  long lVar2;
  
  lVar2 = *(long *)(param_1 + 8);
  if ((*param_1 & 1) != 0) {
    if (DAT_001e4578 != lVar2) goto LAB_00129392;
    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);
  }
  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {
    return 1;
  }
  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {
    return 1;
  }
  lVar2 = *(long *)(lVar2 + 0x20);
LAB_00129392:
  uVar1 = 1;
  if (lVar2 != 0x1dad78) {
    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;
  }
  return uVar1;
}


MOV RDX,qword ptr [RDI + 0x8]
TEST byte ptr [RDI],0x1
JZ 0x001293b8
CMP qword ptr [0x001e4578],RDX
JZ 0x001293b0
LEA RCX,[0x1dad78]
MOV EAX,0x1
CMP RDX,RCX
JZ 0x001293ac
MOV EAX,dword ptr [RDX + 0x20]
SHR EAX,0xc
AND EAX,0x1
RET
MOV RAX,qword ptr [RDI + 0x18]
MOV RDX,qword ptr [RAX + 0x8]
MOV ECX,dword ptr [RDX + 0x18]
TEST ESI,ESI
JZ 0x001293c9
MOV EAX,0x1
TEST CL,0x82
JNZ 0x001293ac
AND ECX,0x400000
MOV EAX,0x1
JNZ 0x001293ac
MOV RDX,qword ptr [RDX + 0x20]
JMP 0x00129392
(translation_unit "uint FUN_00129380(byte *param_1,int param_2)\n\n{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00129380(byte *param_1,int param_2)\n\n{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00129380(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = *(long *)(param_1 + 8);" (assignment_expression "lVar2 = *(long *)(param_1 + 8)" identifier = (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) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }" { (if_statement "if (DAT_001e4578 != lVar2) goto LAB_00129392;" if (parenthesized_expression "(DAT_001e4578 != lVar2)" ( (binary_expression "DAT_001e4578 != lVar2" identifier != identifier) )) (goto_statement "goto LAB_00129392;" goto statement_identifier ;)) (expression_statement "lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x18) + 8)" ( (binary_expression "*(long *)(param_1 + 0x18) + 8" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) })) (if_statement "if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0))" ( (binary_expression "(param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(lVar2 + 0x18) & 0x82) != 0)" ( (binary_expression "(*(uint *)(lVar2 + 0x18) & 0x82) != 0" (parenthesized_expression "(*(uint *)(lVar2 + 0x18) & 0x82)" ( (binary_expression "*(uint *)(lVar2 + 0x18) & 0x82" (pointer_expression "*(uint *)(lVar2 + 0x18)" * (cast_expression "(uint *)(lVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x18)" ( (binary_expression "lVar2 + 0x18" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }" if (parenthesized_expression "((*(uint *)(lVar2 + 0x18) & 0x400000) != 0)" ( (binary_expression "(*(uint *)(lVar2 + 0x18) & 0x400000) != 0" (parenthesized_expression "(*(uint *)(lVar2 + 0x18) & 0x400000)" ( (binary_expression "*(uint *)(lVar2 + 0x18) & 0x400000" (pointer_expression "*(uint *)(lVar2 + 0x18)" * (cast_expression "(uint *)(lVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x18)" ( (binary_expression "lVar2 + 0x18" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "lVar2 = *(long *)(lVar2 + 0x20);" (assignment_expression "lVar2 = *(long *)(lVar2 + 0x20)" identifier = (pointer_expression "*(long *)(lVar2 + 0x20)" * (cast_expression "(long *)(lVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00129392:\n  uVar1 = 1;" statement_identifier : (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;)) (if_statement "if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }" if (parenthesized_expression "(lVar2 != 0x1dad78)" ( (binary_expression "lVar2 != 0x1dad78" identifier != number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }" { (expression_statement "uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;" (assignment_expression "uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1" identifier = (binary_expression "*(uint *)(lVar2 + 0x20) >> 0xc & 1" (binary_expression "*(uint *)(lVar2 + 0x20) >> 0xc" (pointer_expression "*(uint *)(lVar2 + 0x20)" * (cast_expression "(uint *)(lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) >> number_literal) & number_literal)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "int S_FORCE_RELOC(symbolS *s,int strict)\n\n{\n  uint uVar1;\n  segT paVar2;\n  \n  paVar2 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar2) goto LAB_00129392;\n    paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }\n  if ((strict != 0) && (((ulong)paVar2->prev & 0x82) != 0)) {\n    return 1;\n  }\n  if (((ulong)paVar2->prev & 0x400000) != 0) {\n    return 1;\n  }\n  paVar2 = *(segT *)&paVar2->flags;\nLAB_00129392:\n  uVar1 = 1;\n  if (paVar2 != (segT)(_bfd_std_section + 0x118)) {\n    uVar1 = paVar2->flags >> 0xc & 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "int S_FORCE_RELOC(symbolS *s,int strict)\n\n{\n  uint uVar1;\n  segT paVar2;\n  \n  paVar2 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar2) goto LAB_00129392;\n    paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }\n  if ((strict != 0) && (((ulong)paVar2->prev & 0x82) != 0)) {\n    return 1;\n  }\n  if (((ulong)paVar2->prev & 0x400000) != 0) {\n    return 1;\n  }\n  paVar2 = *(segT *)&paVar2->flags;\nLAB_00129392:\n  uVar1 = 1;\n  if (paVar2 != (segT)(_bfd_std_section + 0x118)) {\n    uVar1 = paVar2->flags >> 0xc & 1;\n  }\n  return uVar1;\n}" primitive_type (function_declarator "S_FORCE_RELOC(symbolS *s,int strict)" identifier (parameter_list "(symbolS *s,int strict)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) , (parameter_declaration "int strict" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  segT paVar2;\n  \n  paVar2 = (segT)s->bsym;\n  if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar2) goto LAB_00129392;\n    paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }\n  if ((strict != 0) && (((ulong)paVar2->prev & 0x82) != 0)) {\n    return 1;\n  }\n  if (((ulong)paVar2->prev & 0x400000) != 0) {\n    return 1;\n  }\n  paVar2 = *(segT *)&paVar2->flags;\nLAB_00129392:\n  uVar1 = 1;\n  if (paVar2 != (segT)(_bfd_std_section + 0x118)) {\n    uVar1 = paVar2->flags >> 0xc & 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "segT paVar2;" type_identifier identifier ;) (expression_statement "paVar2 = (segT)s->bsym;" (assignment_expression "paVar2 = (segT)s->bsym" identifier = (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier))) ;) (if_statement "if (((uint)s->sy_flags & 1) != 0) {\n    if (reg_section != paVar2) goto LAB_00129392;\n    paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }" if (parenthesized_expression "(((uint)s->sy_flags & 1) != 0)" ( (binary_expression "((uint)s->sy_flags & 1) != 0" (parenthesized_expression "((uint)s->sy_flags & 1)" ( (binary_expression "(uint)s->sy_flags & 1" (cast_expression "(uint)s->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (reg_section != paVar2) goto LAB_00129392;\n    paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n  }" { (if_statement "if (reg_section != paVar2) goto LAB_00129392;" if (parenthesized_expression "(reg_section != paVar2)" ( (binary_expression "reg_section != paVar2" identifier != identifier) )) (goto_statement "goto LAB_00129392;" goto statement_identifier ;)) (expression_statement "paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;" (assignment_expression "paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym" identifier = (field_expression "(segT)((s->sy_value).X_op_symbol)->bsym" (call_expression "(segT)((s->sy_value).X_op_symbol)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "((s->sy_value).X_op_symbol)" ( (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) ))) -> field_identifier)) ;) })) (if_statement "if ((strict != 0) && (((ulong)paVar2->prev & 0x82) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((strict != 0) && (((ulong)paVar2->prev & 0x82) != 0))" ( (binary_expression "(strict != 0) && (((ulong)paVar2->prev & 0x82) != 0)" (parenthesized_expression "(strict != 0)" ( (binary_expression "strict != 0" identifier != number_literal) )) && (parenthesized_expression "(((ulong)paVar2->prev & 0x82) != 0)" ( (binary_expression "((ulong)paVar2->prev & 0x82) != 0" (parenthesized_expression "((ulong)paVar2->prev & 0x82)" ( (binary_expression "(ulong)paVar2->prev & 0x82" (cast_expression "(ulong)paVar2->prev" ( (type_descriptor "ulong" type_identifier) ) (field_expression "paVar2->prev" identifier -> field_identifier)) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if (((ulong)paVar2->prev & 0x400000) != 0) {\n    return 1;\n  }" if (parenthesized_expression "(((ulong)paVar2->prev & 0x400000) != 0)" ( (binary_expression "((ulong)paVar2->prev & 0x400000) != 0" (parenthesized_expression "((ulong)paVar2->prev & 0x400000)" ( (binary_expression "(ulong)paVar2->prev & 0x400000" (cast_expression "(ulong)paVar2->prev" ( (type_descriptor "ulong" type_identifier) ) (field_expression "paVar2->prev" identifier -> field_identifier)) & number_literal) )) != number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "paVar2 = *(segT *)&paVar2->flags;" (assignment_expression "paVar2 = *(segT *)&paVar2->flags" identifier = (pointer_expression "*(segT *)&paVar2->flags" * (cast_expression "(segT *)&paVar2->flags" ( (type_descriptor "segT *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&paVar2->flags" & (field_expression "paVar2->flags" identifier -> field_identifier))))) ;) (labeled_statement "LAB_00129392:\n  uVar1 = 1;" statement_identifier : (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;)) (if_statement "if (paVar2 != (segT)(_bfd_std_section + 0x118)) {\n    uVar1 = paVar2->flags >> 0xc & 1;\n  }" if (parenthesized_expression "(paVar2 != (segT)(_bfd_std_section + 0x118))" ( (binary_expression "paVar2 != (segT)(_bfd_std_section + 0x118)" identifier != (call_expression "(segT)(_bfd_std_section + 0x118)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(_bfd_std_section + 0x118)" ( (binary_expression "_bfd_std_section + 0x118" identifier + number_literal) )))) )) (compound_statement "{\n    uVar1 = paVar2->flags >> 0xc & 1;\n  }" { (expression_statement "uVar1 = paVar2->flags >> 0xc & 1;" (assignment_expression "uVar1 = paVar2->flags >> 0xc & 1" identifier = (binary_expression "paVar2->flags >> 0xc & 1" (binary_expression "paVar2->flags >> 0xc" (field_expression "paVar2->flags" identifier -> field_identifier) >> number_literal) & number_literal)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "uint FUN_00129380(byte *param_1,int param_2)\n\n{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_00129380(byte *param_1,int param_2)\n\n{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_00129380(byte *param_1,int param_2)" identifier (parameter_list "(byte *param_1,int param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar2 = *(long *)(param_1 + 8);" (assignment_expression "lVar2 = *(long *)(param_1 + 8)" identifier = (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) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }" if (parenthesized_expression "((*param_1 & 1) != 0)" ( (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" ( (binary_expression "*param_1 & 1" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }" { (if_statement "if (DAT_001e4578 != lVar2) goto LAB_00129392;" if (parenthesized_expression "(DAT_001e4578 != lVar2)" ( (binary_expression "DAT_001e4578 != lVar2" identifier != identifier) )) (goto_statement "goto LAB_00129392;" goto statement_identifier ;)) (expression_statement "lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x18) + 8)" * (cast_expression "(long *)(*(long *)(param_1 + 0x18) + 8)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x18) + 8)" ( (binary_expression "*(long *)(param_1 + 0x18) + 8" (pointer_expression "*(long *)(param_1 + 0x18)" * (cast_expression "(long *)(param_1 + 0x18)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x18)" ( (binary_expression "param_1 + 0x18" identifier + number_literal) )))) + number_literal) ))))) ;) })) (if_statement "if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }" if (parenthesized_expression "((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0))" ( (binary_expression "(param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)" (parenthesized_expression "(param_2 != 0)" ( (binary_expression "param_2 != 0" identifier != number_literal) )) && (parenthesized_expression "((*(uint *)(lVar2 + 0x18) & 0x82) != 0)" ( (binary_expression "(*(uint *)(lVar2 + 0x18) & 0x82) != 0" (parenthesized_expression "(*(uint *)(lVar2 + 0x18) & 0x82)" ( (binary_expression "*(uint *)(lVar2 + 0x18) & 0x82" (pointer_expression "*(uint *)(lVar2 + 0x18)" * (cast_expression "(uint *)(lVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x18)" ( (binary_expression "lVar2 + 0x18" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (if_statement "if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }" if (parenthesized_expression "((*(uint *)(lVar2 + 0x18) & 0x400000) != 0)" ( (binary_expression "(*(uint *)(lVar2 + 0x18) & 0x400000) != 0" (parenthesized_expression "(*(uint *)(lVar2 + 0x18) & 0x400000)" ( (binary_expression "*(uint *)(lVar2 + 0x18) & 0x400000" (pointer_expression "*(uint *)(lVar2 + 0x18)" * (cast_expression "(uint *)(lVar2 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x18)" ( (binary_expression "lVar2 + 0x18" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "lVar2 = *(long *)(lVar2 + 0x20);" (assignment_expression "lVar2 = *(long *)(lVar2 + 0x20)" identifier = (pointer_expression "*(long *)(lVar2 + 0x20)" * (cast_expression "(long *)(lVar2 + 0x20)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) ))))) ;) (labeled_statement "LAB_00129392:\n  uVar1 = 1;" statement_identifier : (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;)) (if_statement "if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }" if (parenthesized_expression "(lVar2 != 0x1dad78)" ( (binary_expression "lVar2 != 0x1dad78" identifier != number_literal) )) (compound_statement "{\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }" { (expression_statement "uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;" (assignment_expression "uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1" identifier = (binary_expression "*(uint *)(lVar2 + 0x20) >> 0xc & 1" (binary_expression "*(uint *)(lVar2 + 0x20) >> 0xc" (pointer_expression "*(uint *)(lVar2 + 0x20)" * (cast_expression "(uint *)(lVar2 + 0x20)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x20)" ( (binary_expression "lVar2 + 0x20" identifier + number_literal) )))) >> number_literal) & number_literal)) ;) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (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) ))))) ;) })) (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 { (return_statement return LIT ;) })) (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 { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) >> LIT) & LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_00129380(byte *param_1,int param_2)\n\n{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_00129380(byte *param_1,int param_2)" (identifier "FUN_00129380") (parameter_list "(byte *param_1,int param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  long lVar2;\n  \n  lVar2 = *(long *)(param_1 + 8);\n  if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }\n  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }\n  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }\n  lVar2 = *(long *)(lVar2 + 0x20);\nLAB_00129392:\n  uVar1 = 1;\n  if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (expression_statement "lVar2 = *(long *)(param_1 + 8);" (assignment_expression "lVar2 = *(long *)(param_1 + 8)" (identifier "lVar2") (= "=") (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")) () ")"))))) (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }" (if "if") (parenthesized_expression "((*param_1 & 1) != 0)" (( "(") (binary_expression "(*param_1 & 1) != 0" (parenthesized_expression "(*param_1 & 1)" (( "(") (binary_expression "*param_1 & 1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (DAT_001e4578 != lVar2) goto LAB_00129392;\n    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);\n  }" ({ "{") (if_statement "if (DAT_001e4578 != lVar2) goto LAB_00129392;" (if "if") (parenthesized_expression "(DAT_001e4578 != lVar2)" (( "(") (binary_expression "DAT_001e4578 != lVar2" (identifier "DAT_001e4578") (!= "!=") (identifier "lVar2")) () ")")) (goto_statement "goto LAB_00129392;" (goto "goto") (statement_identifier "LAB_00129392") (; ";"))) (expression_statement "lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(param_1 + 0x18) + 8)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x18) + 8)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x18) + 8)" (( "(") (binary_expression "*(long *)(param_1 + 0x18) + 8" (pointer_expression "*(long *)(param_1 + 0x18)" (* "*") (cast_expression "(long *)(param_1 + 0x18)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x18)" (( "(") (binary_expression "param_1 + 0x18" (identifier "param_1") (+ "+") (number_literal "0x18")) () ")")))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (} "}"))) (if_statement "if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0))" (( "(") (binary_expression "(param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)" (parenthesized_expression "(param_2 != 0)" (( "(") (binary_expression "param_2 != 0" (identifier "param_2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(uint *)(lVar2 + 0x18) & 0x82) != 0)" (( "(") (binary_expression "(*(uint *)(lVar2 + 0x18) & 0x82) != 0" (parenthesized_expression "(*(uint *)(lVar2 + 0x18) & 0x82)" (( "(") (binary_expression "*(uint *)(lVar2 + 0x18) & 0x82" (pointer_expression "*(uint *)(lVar2 + 0x18)" (* "*") (cast_expression "(uint *)(lVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x18)" (( "(") (binary_expression "lVar2 + 0x18" (identifier "lVar2") (+ "+") (number_literal "0x18")) () ")")))) (& "&") (number_literal "0x82")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (if_statement "if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "((*(uint *)(lVar2 + 0x18) & 0x400000) != 0)" (( "(") (binary_expression "(*(uint *)(lVar2 + 0x18) & 0x400000) != 0" (parenthesized_expression "(*(uint *)(lVar2 + 0x18) & 0x400000)" (( "(") (binary_expression "*(uint *)(lVar2 + 0x18) & 0x400000" (pointer_expression "*(uint *)(lVar2 + 0x18)" (* "*") (cast_expression "(uint *)(lVar2 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x18)" (( "(") (binary_expression "lVar2 + 0x18" (identifier "lVar2") (+ "+") (number_literal "0x18")) () ")")))) (& "&") (number_literal "0x400000")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "lVar2 = *(long *)(lVar2 + 0x20);" (assignment_expression "lVar2 = *(long *)(lVar2 + 0x20)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(lVar2 + 0x20)" (* "*") (cast_expression "(long *)(lVar2 + 0x20)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (labeled_statement "LAB_00129392:\n  uVar1 = 1;" (statement_identifier "LAB_00129392") (: ":") (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";"))) (if_statement "if (lVar2 != 0x1dad78) {\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }" (if "if") (parenthesized_expression "(lVar2 != 0x1dad78)" (( "(") (binary_expression "lVar2 != 0x1dad78" (identifier "lVar2") (!= "!=") (number_literal "0x1dad78")) () ")")) (compound_statement "{\n    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;\n  }" ({ "{") (expression_statement "uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;" (assignment_expression "uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1" (identifier "uVar1") (= "=") (binary_expression "*(uint *)(lVar2 + 0x20) >> 0xc & 1" (binary_expression "*(uint *)(lVar2 + 0x20) >> 0xc" (pointer_expression "*(uint *)(lVar2 + 0x20)" (* "*") (cast_expression "(uint *)(lVar2 + 0x20)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x20)" (( "(") (binary_expression "lVar2 + 0x20" (identifier "lVar2") (+ "+") (number_literal "0x20")) () ")")))) (>> ">>") (number_literal "0xc")) (& "&") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

int function_1(type_1 *s,int var_3)

{
  type_2 uVar1;
  type_3 var_2;
  
  var_2 = (type_3)s->bsym;
  if (((type_2)s->sy_flags & 1) != 0) {
    if (var_1 != var_2) goto LAB_00129392;
    var_2 = (type_3)((s->sy_value).X_op_symbol)->bsym;
  }
  if ((var_3 != 0) && (((type_4)var_2->prev & 0x82) != 0)) {
    return 1;
  }
  if (((type_4)var_2->prev & 0x400000) != 0) {
    return 1;
  }
  var_2 = *(type_3 *)&var_2->flags;
LAB_00129392:
  uVar1 = 1;
  if (var_2 != (type_3)(var_4 + 0x118)) {
    uVar1 = var_2->flags >> 0xc & 1;
  }
  return uVar1;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) 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))))))))) (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 (return_statement (number_literal)))) (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 (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (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)))))) (return_statement (identifier)))))

uint MASKED(byte *param_1,int param_2)

{
  uint uVar1;
  long lVar2;
  
  lVar2 = *(long *)(param_1 + 8);
  if ((*param_1 & 1) != 0) {
    if (DAT_001e4578 != lVar2) goto LAB_00129392;
    lVar2 = *(long *)(*(long *)(param_1 + 0x18) + 8);
  }
  if ((param_2 != 0) && ((*(uint *)(lVar2 + 0x18) & 0x82) != 0)) {
    return 1;
  }
  if ((*(uint *)(lVar2 + 0x18) & 0x400000) != 0) {
    return 1;
  }
  lVar2 = *(long *)(lVar2 + 0x20);
LAB_00129392:
  uVar1 = 1;
  if (lVar2 != 0x1dad78) {
    uVar1 = *(uint *)(lVar2 + 0x20) >> 0xc & 1;
  }
  return uVar1;
}

