
/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int symbol_equated_reloc_p(symbolS *s)

{
  int iVar1;
  segT paVar2;
  
  if (((uint)s->sy_flags & 1) != 0) {
    if ((segT)s->bsym != reg_section) {
      return 0;
    }
    s = (s->sy_value).X_op_symbol;
  }
  iVar1 = 0;
  if ((s->sy_value).field_0x10 == '\x03') {
    if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {
      return 1;
    }
    paVar2 = (segT)s->bsym;
    if (((uint)s->sy_flags & 1) != 0) {
      if (reg_section != paVar2) {
        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));
      }
      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;
    }
    iVar1 = 1;
    if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {
      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;
    }
  }
  return iVar1;
}



/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

uint FUN_0003bcc0(byte *param_1)

{
  uint uVar1;
  undefined *puVar2;
  
  if ((*param_1 & 1) != 0) {
    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {
      return 0;
    }
    param_1 = *(byte **)(param_1 + 0xc);
  }
  uVar1 = 0;
  if (param_1[0x18] == 3) {
    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {
      return 1;
    }
    puVar2 = *(undefined **)(param_1 + 4);
    if ((*param_1 & 1) != 0) {
      if (DAT_000897ec != puVar2) {
        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);
      }
      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
    }
    uVar1 = 1;
    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {
      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;
    }
  }
  return uVar1;
}


CALL 0x00019a25
ADD ECX,0x4433b
PUSH EBX
MOV EDX,dword ptr [ESP + 0x8]
TEST byte ptr [EDX],0x1
JZ 0x0003bcf3
LEA EBX,[ECX + 0x97ec]
XOR EAX,EAX
MOV EBX,dword ptr [EBX]
CMP dword ptr [EDX + 0x4],EBX
JZ 0x0003bcf0
POP EBX
RET
MOV EDX,dword ptr [EDX + 0xc]
XOR EAX,EAX
CMP byte ptr [EDX + 0x18],0x3
JNZ 0x0003bce4
MOVZX EBX,byte ptr [EDX]
TEST BL,0x4
JNZ 0x0003bd30
AND EBX,0x1
MOV EAX,dword ptr [EDX + 0x4]
JZ 0x0003bd46
LEA EBX,[ECX + 0x97ec]
CMP dword ptr [EBX],EAX
JZ 0x0003bd40
MOV EDX,dword ptr [ECX + 0xffffffb0]
POP EBX
ADD EDX,0xc0
CMP EAX,EDX
SETZ AL
MOVZX EAX,AL
RET
CMP dword ptr [EDX + 0xc],0x0
MOV EAX,0x1
JZ 0x0003bd03
POP EBX
RET
MOV EAX,dword ptr [EDX + 0xc]
MOV EAX,dword ptr [EAX + 0x4]
MOV ECX,dword ptr [ECX + 0xffffffb0]
MOV EDX,dword ptr [EAX + 0x14]
MOV EAX,0x1
ADD ECX,0xc0
CMP EDX,ECX
JZ 0x0003bce4
MOV EAX,dword ptr [EDX + 0x14]
POP EBX
SHR EAX,0xc
AND EAX,0x1
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nuint FUN_0003bcc0(byte *param_1)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}\n\n" comment (function_definition "uint FUN_0003bcc0(byte *param_1)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0003bcc0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\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 (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" { (if_statement "if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }" if (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_000897ec)" ( (binary_expression "*(undefined **)(param_1 + 4) != DAT_000897ec" (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }" if (parenthesized_expression "(param_1[0x18] == 3)" ( (binary_expression "param_1[0x18] == 3" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }" { (if_statement "if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }" if (parenthesized_expression "(((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0))" ( (binary_expression "((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)" (parenthesized_expression "((*param_1 & 4) != 0)" ( (binary_expression "(*param_1 & 4) != 0" (parenthesized_expression "(*param_1 & 4)" ( (binary_expression "*param_1 & 4" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar2 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar2 = *(undefined **)(param_1 + 4)" identifier = (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\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_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" { (if_statement "if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }" if (parenthesized_expression "(DAT_000897ec != puVar2)" ( (binary_expression "DAT_000897ec != puVar2" identifier != identifier) )) (compound_statement "{\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }" { (return_statement "return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);" return (call_expression "(uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ))) ;) })) (expression_statement "puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }" if (parenthesized_expression "(*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0" (pointer_expression "*(undefined **)(puVar2 + 0x14)" * (cast_expression "(undefined **)(puVar2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x14)" ( (binary_expression "puVar2 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) )) (compound_statement "{\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }" { (return_statement "return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;" return (binary_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1" (binary_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc" (pointer_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14)" * (cast_expression "(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(undefined **)(puVar2 + 0x14) + 0x14)" ( (binary_expression "*(undefined **)(puVar2 + 0x14) + 0x14" (pointer_expression "*(undefined **)(puVar2 + 0x14)" * (cast_expression "(undefined **)(puVar2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x14)" ( (binary_expression "puVar2 + 0x14" identifier + number_literal) )))) + number_literal) )))) >> number_literal) & number_literal) ;) })) })) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */\n\nint symbol_equated_reloc_p(symbolS *s)\n\n{\n  int iVar1;\n  segT paVar2;\n  \n  if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym != reg_section) {\n      return 0;\n    }\n    s = (s->sy_value).X_op_symbol;\n  }\n  iVar1 = 0;\n  if ((s->sy_value).field_0x10 == '\x03') {\n    if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {\n      return 1;\n    }\n    paVar2 = (segT)s->bsym;\n    if (((uint)s->sy_flags & 1) != 0) {\n      if (reg_section != paVar2) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\n      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    iVar1 = 1;\n    if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }\n  }\n  return iVar1;\n}\n\n" comment (function_definition "int symbol_equated_reloc_p(symbolS *s)\n\n{\n  int iVar1;\n  segT paVar2;\n  \n  if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym != reg_section) {\n      return 0;\n    }\n    s = (s->sy_value).X_op_symbol;\n  }\n  iVar1 = 0;\n  if ((s->sy_value).field_0x10 == '\x03') {\n    if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {\n      return 1;\n    }\n    paVar2 = (segT)s->bsym;\n    if (((uint)s->sy_flags & 1) != 0) {\n      if (reg_section != paVar2) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\n      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    iVar1 = 1;\n    if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }\n  }\n  return iVar1;\n}" primitive_type (function_declarator "symbol_equated_reloc_p(symbolS *s)" identifier (parameter_list "(symbolS *s)" ( (parameter_declaration "symbolS *s" type_identifier (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  segT paVar2;\n  \n  if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym != reg_section) {\n      return 0;\n    }\n    s = (s->sy_value).X_op_symbol;\n  }\n  iVar1 = 0;\n  if ((s->sy_value).field_0x10 == '\x03') {\n    if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {\n      return 1;\n    }\n    paVar2 = (segT)s->bsym;\n    if (((uint)s->sy_flags & 1) != 0) {\n      if (reg_section != paVar2) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\n      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    iVar1 = 1;\n    if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }\n  }\n  return iVar1;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "segT paVar2;" type_identifier identifier ;) (if_statement "if (((uint)s->sy_flags & 1) != 0) {\n    if ((segT)s->bsym != reg_section) {\n      return 0;\n    }\n    s = (s->sy_value).X_op_symbol;\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 ((segT)s->bsym != reg_section) {\n      return 0;\n    }\n    s = (s->sy_value).X_op_symbol;\n  }" { (if_statement "if ((segT)s->bsym != reg_section) {\n      return 0;\n    }" if (parenthesized_expression "((segT)s->bsym != reg_section)" ( (binary_expression "(segT)s->bsym != reg_section" (cast_expression "(segT)s->bsym" ( (type_descriptor "segT" type_identifier) ) (field_expression "s->bsym" identifier -> field_identifier)) != identifier) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "s = (s->sy_value).X_op_symbol;" (assignment_expression "s = (s->sy_value).X_op_symbol" identifier = (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier)) ;) })) (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (if_statement "if ((s->sy_value).field_0x10 == '\x03') {\n    if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {\n      return 1;\n    }\n    paVar2 = (segT)s->bsym;\n    if (((uint)s->sy_flags & 1) != 0) {\n      if (reg_section != paVar2) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\n      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    iVar1 = 1;\n    if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }\n  }" if (parenthesized_expression "((s->sy_value).field_0x10 == '\x03')" ( (binary_expression "(s->sy_value).field_0x10 == '\x03'" (field_expression "(s->sy_value).field_0x10" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) == (char_literal "'\x03'" ' escape_sequence ')) )) (compound_statement "{\n    if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {\n      return 1;\n    }\n    paVar2 = (segT)s->bsym;\n    if (((uint)s->sy_flags & 1) != 0) {\n      if (reg_section != paVar2) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\n      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }\n    iVar1 = 1;\n    if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }\n  }" { (if_statement "if ((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)) {\n      return 1;\n    }" if (parenthesized_expression "((((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0))" ( (binary_expression "(((uint)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (symbolS *)0x0)" (parenthesized_expression "(((uint)s->sy_flags & 4) != 0)" ( (binary_expression "((uint)s->sy_flags & 4) != 0" (parenthesized_expression "((uint)s->sy_flags & 4)" ( (binary_expression "(uint)s->sy_flags & 4" (cast_expression "(uint)s->sy_flags" ( (type_descriptor "uint" type_identifier) ) (field_expression "s->sy_flags" identifier -> field_identifier)) & number_literal) )) != number_literal) )) && (parenthesized_expression "((s->sy_value).X_op_symbol != (symbolS *)0x0)" ( (binary_expression "(s->sy_value).X_op_symbol != (symbolS *)0x0" (field_expression "(s->sy_value).X_op_symbol" (parenthesized_expression "(s->sy_value)" ( (field_expression "s->sy_value" identifier -> field_identifier) )) . field_identifier) != (cast_expression "(symbolS *)0x0" ( (type_descriptor "symbolS *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (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) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\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) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }\n      paVar2 = (segT)((s->sy_value).X_op_symbol)->bsym;\n    }" { (if_statement "if (reg_section != paVar2) {\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }" if (parenthesized_expression "(reg_section != paVar2)" ( (binary_expression "reg_section != paVar2" identifier != identifier) )) (compound_statement "{\n        return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));\n      }" { (return_statement "return (uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0));" return (call_expression "(uint)(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0))" ( (binary_expression "paVar2 == (segT)(PTR__bfd_std_section_0007ffb0 + 0xc0)" identifier == (call_expression "(segT)(PTR__bfd_std_section_0007ffb0 + 0xc0)" (parenthesized_expression "(segT)" ( identifier )) (argument_list "(PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal) )))) ))) ;) })) (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)) ;) })) (expression_statement "iVar1 = 1;" (assignment_expression "iVar1 = 1" identifier = number_literal) ;) (if_statement "if ((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }" if (parenthesized_expression "((undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "(undefined *)paVar2->flags != PTR__bfd_std_section_0007ffb0 + 0xc0" (cast_expression "(undefined *)paVar2->flags" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "paVar2->flags" identifier -> field_identifier)) != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) )) (compound_statement "{\n      return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;\n    }" { (return_statement "return *(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1;" return (binary_expression "*(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc & 1" (binary_expression "*(uint *)((undefined *)paVar2->flags + 0x14) >> 0xc" (pointer_expression "*(uint *)((undefined *)paVar2->flags + 0x14)" * (cast_expression "(uint *)((undefined *)paVar2->flags + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((undefined *)paVar2->flags + 0x14)" ( (binary_expression "(undefined *)paVar2->flags + 0x14" (cast_expression "(undefined *)paVar2->flags" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "paVar2->flags" identifier -> field_identifier)) + number_literal) )))) >> number_literal) & number_literal) ;) })) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "uint FUN_0003bcc0(byte *param_1)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}\n\n" (function_definition "uint FUN_0003bcc0(byte *param_1)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}" type_identifier (function_declarator "FUN_0003bcc0(byte *param_1)" identifier (parameter_list "(byte *param_1)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\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 (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" { (if_statement "if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }" if (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_000897ec)" ( (binary_expression "*(undefined **)(param_1 + 4) != DAT_000897ec" (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) )))) != identifier) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" identifier = (pointer_expression "*(byte **)(param_1 + 0xc)" * (cast_expression "(byte **)(param_1 + 0xc)" ( (type_descriptor "byte **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) })) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" identifier = number_literal) ;) (if_statement "if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }" if (parenthesized_expression "(param_1[0x18] == 3)" ( (binary_expression "param_1[0x18] == 3" (subscript_expression "param_1[0x18]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }" { (if_statement "if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }" if (parenthesized_expression "(((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0))" ( (binary_expression "((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)" (parenthesized_expression "((*param_1 & 4) != 0)" ( (binary_expression "(*param_1 & 4) != 0" (parenthesized_expression "(*param_1 & 4)" ( (binary_expression "*param_1 & 4" (pointer_expression "*param_1" * identifier) & number_literal) )) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) ))) )) (compound_statement "{\n      return 1;\n    }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "puVar2 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar2 = *(undefined **)(param_1 + 4)" identifier = (pointer_expression "*(undefined **)(param_1 + 4)" * (cast_expression "(undefined **)(param_1 + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))))) ;) (if_statement "if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\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_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" { (if_statement "if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }" if (parenthesized_expression "(DAT_000897ec != puVar2)" ( (binary_expression "DAT_000897ec != puVar2" identifier != identifier) )) (compound_statement "{\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }" { (return_statement "return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);" return (call_expression "(uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0" identifier == (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) ))) ;) })) (expression_statement "puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" identifier = (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" * (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" ( (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) + number_literal) ))))) ;) })) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" identifier = number_literal) ;) (if_statement "if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }" if (parenthesized_expression "(*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0)" ( (binary_expression "*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0" (pointer_expression "*(undefined **)(puVar2 + 0x14)" * (cast_expression "(undefined **)(puVar2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x14)" ( (binary_expression "puVar2 + 0x14" identifier + number_literal) )))) != (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" identifier + number_literal)) )) (compound_statement "{\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }" { (return_statement "return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;" return (binary_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1" (binary_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc" (pointer_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14)" * (cast_expression "(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(undefined **)(puVar2 + 0x14) + 0x14)" ( (binary_expression "*(undefined **)(puVar2 + 0x14) + 0x14" (pointer_expression "*(undefined **)(puVar2 + 0x14)" * (cast_expression "(undefined **)(puVar2 + 0x14)" ( (type_descriptor "undefined **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar2 + 0x14)" ( (binary_expression "puVar2 + 0x14" identifier + number_literal) )))) + 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)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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) )) (compound_statement { (return_statement return (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == (binary_expression IDENT + LIT)) ))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (binary_expression IDENT + LIT)) )) (compound_statement { (return_statement return (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) >> LIT) & LIT) ;) })) })) (return_statement return IDENT ;) })))
(function_definition "uint FUN_0003bcc0(byte *param_1)\n\n{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}" (type_identifier "uint") (function_declarator "FUN_0003bcc0(byte *param_1)" (identifier "FUN_0003bcc0") (parameter_list "(byte *param_1)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined *puVar2;\n  \n  if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }\n  uVar1 = 0;\n  if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }\n  return uVar1;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\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 (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }\n    param_1 = *(byte **)(param_1 + 0xc);\n  }" ({ "{") (if_statement "if (*(undefined **)(param_1 + 4) != DAT_000897ec) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(undefined **)(param_1 + 4) != DAT_000897ec)" (( "(") (binary_expression "*(undefined **)(param_1 + 4) != DAT_000897ec" (pointer_expression "*(undefined **)(param_1 + 4)" (* "*") (cast_expression "(undefined **)(param_1 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (!= "!=") (identifier "DAT_000897ec")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "param_1 = *(byte **)(param_1 + 0xc);" (assignment_expression "param_1 = *(byte **)(param_1 + 0xc)" (identifier "param_1") (= "=") (pointer_expression "*(byte **)(param_1 + 0xc)" (* "*") (cast_expression "(byte **)(param_1 + 0xc)" (( "(") (type_descriptor "byte **" (type_identifier "byte") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar1 = 0;" (assignment_expression "uVar1 = 0" (identifier "uVar1") (= "=") (number_literal "0")) (; ";")) (if_statement "if (param_1[0x18] == 3) {\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }" (if "if") (parenthesized_expression "(param_1[0x18] == 3)" (( "(") (binary_expression "param_1[0x18] == 3" (subscript_expression "param_1[0x18]" (identifier "param_1") ([ "[") (number_literal "0x18") (] "]")) (== "==") (number_literal "3")) () ")")) (compound_statement "{\n    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }\n    puVar2 = *(undefined **)(param_1 + 4);\n    if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }\n    uVar1 = 1;\n    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }\n  }" ({ "{") (if_statement "if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {\n      return 1;\n    }" (if "if") (parenthesized_expression "(((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0))" (( "(") (binary_expression "((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)" (parenthesized_expression "((*param_1 & 4) != 0)" (( "(") (binary_expression "(*param_1 & 4) != 0" (parenthesized_expression "(*param_1 & 4)" (( "(") (binary_expression "*param_1 & 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n      return 1;\n    }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined **)(param_1 + 4);" (assignment_expression "puVar2 = *(undefined **)(param_1 + 4)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined **)(param_1 + 4)" (* "*") (cast_expression "(undefined **)(param_1 + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))))) (; ";")) (if_statement "if ((*param_1 & 1) != 0) {\n      if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\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_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }\n      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);\n    }" ({ "{") (if_statement "if (DAT_000897ec != puVar2) {\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }" (if "if") (parenthesized_expression "(DAT_000897ec != puVar2)" (( "(") (binary_expression "DAT_000897ec != puVar2" (identifier "DAT_000897ec") (!= "!=") (identifier "puVar2")) () ")")) (compound_statement "{\n        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);\n      }" ({ "{") (return_statement "return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);" (return "return") (call_expression "(uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0)" (( "(") (binary_expression "puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0" (identifier "puVar2") (== "==") (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" (identifier "PTR__bfd_std_section_0007ffb0") (+ "+") (number_literal "0xc0"))) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);" (assignment_expression "puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4)" (identifier "puVar2") (= "=") (pointer_expression "*(undefined **)(*(int *)(param_1 + 0xc) + 4)" (* "*") (cast_expression "(undefined **)(*(int *)(param_1 + 0xc) + 4)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) + 4)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) + 4" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (+ "+") (number_literal "4")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar1 = 1;" (assignment_expression "uVar1 = 1" (identifier "uVar1") (= "=") (number_literal "1")) (; ";")) (if_statement "if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }" (if "if") (parenthesized_expression "(*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0)" (( "(") (binary_expression "*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0" (pointer_expression "*(undefined **)(puVar2 + 0x14)" (* "*") (cast_expression "(undefined **)(puVar2 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x14)" (( "(") (binary_expression "puVar2 + 0x14" (identifier "puVar2") (+ "+") (number_literal "0x14")) () ")")))) (!= "!=") (binary_expression "PTR__bfd_std_section_0007ffb0 + 0xc0" (identifier "PTR__bfd_std_section_0007ffb0") (+ "+") (number_literal "0xc0"))) () ")")) (compound_statement "{\n      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;\n    }" ({ "{") (return_statement "return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;" (return "return") (binary_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1" (binary_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc" (pointer_expression "*(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14)" (* "*") (cast_expression "(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(undefined **)(puVar2 + 0x14) + 0x14)" (( "(") (binary_expression "*(undefined **)(puVar2 + 0x14) + 0x14" (pointer_expression "*(undefined **)(puVar2 + 0x14)" (* "*") (cast_expression "(undefined **)(puVar2 + 0x14)" (( "(") (type_descriptor "undefined **" (type_identifier "undefined") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar2 + 0x14)" (( "(") (binary_expression "puVar2 + 0x14" (identifier "puVar2") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (number_literal "0x14")) () ")")))) (>> ">>") (number_literal "0xc")) (& "&") (number_literal "1")) (; ";")) (} "}"))) (} "}"))) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

int function_1(type_1 *s)

{
  int iVar1;
  type_2 var_2;
  
  if (((type_3)s->sy_flags & 1) != 0) {
    if ((type_2)s->bsym != var_1) {
      return 0;
    }
    s = (s->sy_value).X_op_symbol;
  }
  iVar1 = 0;
  if ((s->sy_value).field_0x10 == '\x03') {
    if ((((type_3)s->sy_flags & 4) != 0) && ((s->sy_value).X_op_symbol != (type_1 *)0x0)) {
      return 1;
    }
    var_2 = (type_2)s->bsym;
    if (((type_3)s->sy_flags & 1) != 0) {
      if (var_1 != var_2) {
        return (type_3)(var_2 == (type_2)(var_3 + 0xc0));
      }
      var_2 = (type_2)((s->sy_value).X_op_symbol)->bsym;
    }
    iVar1 = 1;
    if ((type_4 *)var_2->flags != var_3 + 0xc0) {
      return *(type_3 *)((type_4 *)var_2->flags + 0x14) >> 0xc & 1;
    }
  }
  return iVar1;
}


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

/* WARNING: Function: __i686.get_pc_thunk.cx replaced with injection: get_pc_thunk_cx */

uint MASKED(byte *param_1)

{
  uint uVar1;
  undefined *puVar2;
  
  if ((*param_1 & 1) != 0) {
    if (*(undefined **)(param_1 + 4) != DAT_000897ec) {
      return 0;
    }
    param_1 = *(byte **)(param_1 + 0xc);
  }
  uVar1 = 0;
  if (param_1[0x18] == 3) {
    if (((*param_1 & 4) != 0) && (*(int *)(param_1 + 0xc) != 0)) {
      return 1;
    }
    puVar2 = *(undefined **)(param_1 + 4);
    if ((*param_1 & 1) != 0) {
      if (DAT_000897ec != puVar2) {
        return (uint)(puVar2 == PTR__bfd_std_section_0007ffb0 + 0xc0);
      }
      puVar2 = *(undefined **)(*(int *)(param_1 + 0xc) + 4);
    }
    uVar1 = 1;
    if (*(undefined **)(puVar2 + 0x14) != PTR__bfd_std_section_0007ffb0 + 0xc0) {
      return *(uint *)(*(undefined **)(puVar2 + 0x14) + 0x14) >> 0xc & 1;
    }
  }
  return uVar1;
}

