
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Task_token * is_runnable(Relocate_task * this) */

Task_token * __thiscall gold::Relocate_task::is_runnable(Relocate_task *this)

{
  Task_token *pTVar1;
  Input_file *pIVar2;
  bool bVar3;
  Task_token *unaff_EBX;
  
  if (this->object_->relocs_must_follow_section_writes_ != false) {
    pTVar1 = this->output_sections_blocker_;
    if (pTVar1->is_blocker_ == false) {
                    /* WARNING: Subroutine does not return */
      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);
    }
    if (0 < pTVar1->blockers_) {
      return pTVar1;
    }
  }
  pIVar2 = (this->object_->super_Object).input_file_;
  if (((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)) &&
     (pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0)) {
    return &(pIVar2->file_).token_;
  }
  return (Task_token *)0x0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * FUN_000fa890(int param_1)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  
  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {
    pcVar1 = *(char **)(param_1 + 0x38);
    if (*pcVar1 == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_000fa700(0xfa897);
    }
    if (0 < *(int *)(pcVar1 + 4)) {
      return pcVar1;
    }
  }
  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);
  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&
     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {
    return (char *)(iVar2 + 0x48);
  }
  return (char *)0x0;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x207769
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
MOV EDX,dword ptr [ESI + 0x2c]
CMP byte ptr [EDX + 0x4c],0x0
JZ 0x000fa8bc
MOV EAX,dword ptr [ESI + 0x38]
CMP byte ptr [EAX],0x0
JZ 0x000fa8f8
MOV ECX,dword ptr [EAX + 0x4]
TEST ECX,ECX
JG 0x000fa8f2
MOV EAX,dword ptr [EDX + 0x1c]
TEST EAX,EAX
JZ 0x000fa8f0
SUB ESP,0xc
ADD EAX,0x1c
PUSH EAX
CALL 0x0005bde0
ADD ESP,0x10
TEST AL,AL
JZ 0x000fa8f0
MOV EAX,dword ptr [ESI + 0x2c]
MOV EAX,dword ptr [EAX + 0x1c]
TEST EAX,EAX
JZ 0x000fa8f0
ADD ESP,0x4
ADD EAX,0x48
POP EBX
POP ESI
RET
XOR EAX,EAX
ADD ESP,0x4
POP EBX
POP ESI
RET
CALL 0x000fa700
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nchar * FUN_000fa890(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}\n\n" comment (function_definition "char * FUN_000fa890(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_000fa890(int param_1)" * (function_declarator "FUN_000fa890(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (if_statement "if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0')" ( (binary_expression "*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0'" (pointer_expression "*(char *)(*(int *)(param_1 + 0x2c) + 0x4c)" * (cast_expression "(char *)(*(int *)(param_1 + 0x2c) + 0x4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x4c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x4c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" { (expression_statement "pcVar1 = *(char **)(param_1 + 0x38);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x38)" identifier = (pointer_expression "*(char **)(param_1 + 0x38)" * (cast_expression "(char **)(param_1 + 0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      FUN_000fa700(0xfa897);\n    }" { comment (expression_statement "FUN_000fa700(0xfa897);" (call_expression "FUN_000fa700(0xfa897)" identifier (argument_list "(0xfa897)" ( number_literal ))) ;) })) (if_statement "if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }" if (parenthesized_expression "(0 < *(int *)(pcVar1 + 4))" ( (binary_expression "0 < *(int *)(pcVar1 + 4)" number_literal < (pointer_expression "*(int *)(pcVar1 + 4)" * (cast_expression "(int *)(pcVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 4)" ( (binary_expression "pcVar1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      return pcVar1;\n    }" { (return_statement "return pcVar1;" return identifier ;) })) })) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }" if (parenthesized_expression "(((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0))" ( (binary_expression "((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0'))" ( (binary_expression "(iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')" ( (comma_expression "cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0'" (assignment_expression "cVar3 = FUN_0005bde0(iVar2 + 0x1c)" identifier = (call_expression "FUN_0005bde0(iVar2 + 0x1c)" identifier (argument_list "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) , (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return (char *)(iVar2 + 0x48);\n  }" { (return_statement "return (char *)(iVar2 + 0x48);" return (cast_expression "(char *)(iVar2 + 0x48)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))) ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: Task_token * is_runnable(Relocate_task * this) */\n\nTask_token * __thiscall gold::Relocate_task::is_runnable(Relocate_task *this)\n\n{\n  Task_token *pTVar1;\n  Input_file *pIVar2;\n  bool bVar3;\n  Task_token *unaff_EBX;\n  \n  if (this->object_->relocs_must_follow_section_writes_ != false) {\n    pTVar1 = this->output_sections_blocker_;\n    if (pTVar1->is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);\n    }\n    if (0 < pTVar1->blockers_) {\n      return pTVar1;\n    }\n  }\n  pIVar2 = (this->object_->super_Object).input_file_;\n  if (((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)) &&\n     (pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0)) {\n    return &(pIVar2->file_).token_;\n  }\n  return (Task_token *)0x0;\n}\n\n" comment comment comment (ERROR "Task_token * __thiscall gold::Relocate_task::is_runnable(Relocate_task *this)" (binary_expression "Task_token * __thiscall gold::Relocate_task::is_runnable(Relocate_task *this" (binary_expression "Task_token * __thiscall" identifier * identifier) (ERROR "gold::Relocate_task::is_runnable(Relocate_task" identifier : : identifier : : identifier ( identifier) * identifier) )) (compound_statement "{\n  Task_token *pTVar1;\n  Input_file *pIVar2;\n  bool bVar3;\n  Task_token *unaff_EBX;\n  \n  if (this->object_->relocs_must_follow_section_writes_ != false) {\n    pTVar1 = this->output_sections_blocker_;\n    if (pTVar1->is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);\n    }\n    if (0 < pTVar1->blockers_) {\n      return pTVar1;\n    }\n  }\n  pIVar2 = (this->object_->super_Object).input_file_;\n  if (((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)) &&\n     (pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0)) {\n    return &(pIVar2->file_).token_;\n  }\n  return (Task_token *)0x0;\n}" { (declaration "Task_token *pTVar1;" type_identifier (pointer_declarator "*pTVar1" * identifier) ;) (declaration "Input_file *pIVar2;" type_identifier (pointer_declarator "*pIVar2" * identifier) ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "Task_token *unaff_EBX;" type_identifier (pointer_declarator "*unaff_EBX" * identifier) ;) (if_statement "if (this->object_->relocs_must_follow_section_writes_ != false) {\n    pTVar1 = this->output_sections_blocker_;\n    if (pTVar1->is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);\n    }\n    if (0 < pTVar1->blockers_) {\n      return pTVar1;\n    }\n  }" if (parenthesized_expression "(this->object_->relocs_must_follow_section_writes_ != false)" ( (binary_expression "this->object_->relocs_must_follow_section_writes_ != false" (field_expression "this->object_->relocs_must_follow_section_writes_" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) != false) )) (compound_statement "{\n    pTVar1 = this->output_sections_blocker_;\n    if (pTVar1->is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);\n    }\n    if (0 < pTVar1->blockers_) {\n      return pTVar1;\n    }\n  }" { (expression_statement "pTVar1 = this->output_sections_blocker_;" (assignment_expression "pTVar1 = this->output_sections_blocker_" identifier = (field_expression "this->output_sections_blocker_" identifier -> field_identifier)) ;) (if_statement "if (pTVar1->is_blocker_ == false) {\n                    /* WARNING: Subroutine does not return */\n      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);\n    }" if (parenthesized_expression "(pTVar1->is_blocker_ == false)" ( (binary_expression "pTVar1->is_blocker_ == false" (field_expression "pTVar1->is_blocker_" identifier -> field_identifier) == false) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);\n    }" { comment (labeled_statement "Task_token::is_blocked((Task_token *)0xfa897,unaff_EBX);" statement_identifier : (ERROR ":" :) (expression_statement "is_blocked((Task_token *)0xfa897,unaff_EBX);" (call_expression "is_blocked((Task_token *)0xfa897,unaff_EBX)" identifier (argument_list "((Task_token *)0xfa897,unaff_EBX)" ( (cast_expression "(Task_token *)0xfa897" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , identifier ))) ;)) })) (if_statement "if (0 < pTVar1->blockers_) {\n      return pTVar1;\n    }" if (parenthesized_expression "(0 < pTVar1->blockers_)" ( (binary_expression "0 < pTVar1->blockers_" number_literal < (field_expression "pTVar1->blockers_" identifier -> field_identifier)) )) (compound_statement "{\n      return pTVar1;\n    }" { (return_statement "return pTVar1;" return identifier ;) })) })) (expression_statement "pIVar2 = (this->object_->super_Object).input_file_;" (assignment_expression "pIVar2 = (this->object_->super_Object).input_file_" identifier = (field_expression "(this->object_->super_Object).input_file_" (parenthesized_expression "(this->object_->super_Object)" ( (field_expression "this->object_->super_Object" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (if_statement "if (((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)) &&\n     (pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0)) {\n    return &(pIVar2->file_).token_;\n  }" if (parenthesized_expression "(((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)) &&\n     (pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0))" ( (binary_expression "((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)) &&\n     (pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0)" (parenthesized_expression "((pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3))" ( (binary_expression "(pIVar2 != (Input_file *)0x0) && (bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)" (parenthesized_expression "(pIVar2 != (Input_file *)0x0)" ( (binary_expression "pIVar2 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(bVar3 = File_read::is_locked(&pIVar2->file_), bVar3)" ( (ERROR "bVar3 = File_read::" (assignment_expression "bVar3 = File_read" identifier = identifier) : :) (comma_expression "is_locked(&pIVar2->file_), bVar3" (call_expression "is_locked(&pIVar2->file_)" identifier (argument_list "(&pIVar2->file_)" ( (pointer_expression "&pIVar2->file_" & (field_expression "pIVar2->file_" identifier -> field_identifier)) ))) , identifier) ))) )) && (parenthesized_expression "(pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0)" ( (comma_expression "pIVar2 = (this->object_->super_Object).input_file_, pIVar2 != (Input_file *)0x0" (assignment_expression "pIVar2 = (this->object_->super_Object).input_file_" identifier = (field_expression "(this->object_->super_Object).input_file_" (parenthesized_expression "(this->object_->super_Object)" ( (field_expression "this->object_->super_Object" (field_expression "this->object_" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) , (binary_expression "pIVar2 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (compound_statement "{\n    return &(pIVar2->file_).token_;\n  }" { (return_statement "return &(pIVar2->file_).token_;" return (pointer_expression "&(pIVar2->file_).token_" & (field_expression "(pIVar2->file_).token_" (parenthesized_expression "(pIVar2->file_)" ( (field_expression "pIVar2->file_" identifier -> field_identifier) )) . field_identifier)) ;) })) (return_statement "return (Task_token *)0x0;" return (cast_expression "(Task_token *)0x0" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "char * FUN_000fa890(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * FUN_000fa890(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_000fa890(int param_1)" * (function_declarator "FUN_000fa890(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) )))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (if_statement "if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0')" ( (binary_expression "*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0'" (pointer_expression "*(char *)(*(int *)(param_1 + 0x2c) + 0x4c)" * (cast_expression "(char *)(*(int *)(param_1 + 0x2c) + 0x4c)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x4c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x4c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" { (expression_statement "pcVar1 = *(char **)(param_1 + 0x38);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x38)" identifier = (pointer_expression "*(char **)(param_1 + 0x38)" * (cast_expression "(char **)(param_1 + 0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n      FUN_000fa700(0xfa897);\n    }" { (expression_statement "FUN_000fa700(0xfa897);" (call_expression "FUN_000fa700(0xfa897)" identifier (argument_list "(0xfa897)" ( number_literal ))) ;) })) (if_statement "if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }" if (parenthesized_expression "(0 < *(int *)(pcVar1 + 4))" ( (binary_expression "0 < *(int *)(pcVar1 + 4)" number_literal < (pointer_expression "*(int *)(pcVar1 + 4)" * (cast_expression "(int *)(pcVar1 + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar1 + 4)" ( (binary_expression "pcVar1 + 4" identifier + number_literal) ))))) )) (compound_statement "{\n      return pcVar1;\n    }" { (return_statement "return pcVar1;" return identifier ;) })) })) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }" if (parenthesized_expression "(((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0))" ( (binary_expression "((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0'))" ( (binary_expression "(iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')" (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')" ( (comma_expression "cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0'" (assignment_expression "cVar3 = FUN_0005bde0(iVar2 + 0x1c)" identifier = (call_expression "FUN_0005bde0(iVar2 + 0x1c)" identifier (argument_list "(iVar2 + 0x1c)" ( (binary_expression "iVar2 + 0x1c" identifier + number_literal) )))) , (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return (char *)(iVar2 + 0x48);\n  }" { (return_statement "return (char *)(iVar2 + 0x48);" return (cast_expression "(char *)(iVar2 + 0x48)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x48)" ( (binary_expression "iVar2 + 0x48" identifier + number_literal) ))) ;) })) (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_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 *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (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 (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (return_statement return IDENT ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) , (binary_expression IDENT != (char_literal ' escape_sequence '))) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) ;) })) (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) ;) })))
(function_definition "char * FUN_000fa890(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}" (primitive_type "char") (pointer_declarator "* FUN_000fa890(int param_1)" (* "*") (function_declarator "FUN_000fa890(int param_1)" (identifier "FUN_000fa890") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  \n  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }\n  return (char *)0x0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (if_statement "if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0'" (pointer_expression "*(char *)(*(int *)(param_1 + 0x2c) + 0x4c)" (* "*") (cast_expression "(char *)(*(int *)(param_1 + 0x2c) + 0x4c)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x4c)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + 0x4c" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x4c")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0x38);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" ({ "{") (expression_statement "pcVar1 = *(char **)(param_1 + 0x38);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x38)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(param_1 + 0x38)" (* "*") (cast_expression "(char **)(param_1 + 0x38)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if (*pcVar1 == '\0') {\n                    \n      FUN_000fa700(0xfa897);\n    }" (if "if") (parenthesized_expression "(*pcVar1 == '\0')" (( "(") (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n                    \n      FUN_000fa700(0xfa897);\n    }" ({ "{") (expression_statement "FUN_000fa700(0xfa897);" (call_expression "FUN_000fa700(0xfa897)" (identifier "FUN_000fa700") (argument_list "(0xfa897)" (( "(") (number_literal "0xfa897") () ")"))) (; ";")) (} "}"))) (if_statement "if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }" (if "if") (parenthesized_expression "(0 < *(int *)(pcVar1 + 4))" (( "(") (binary_expression "0 < *(int *)(pcVar1 + 4)" (number_literal "0") (< "<") (pointer_expression "*(int *)(pcVar1 + 4)" (* "*") (cast_expression "(int *)(pcVar1 + 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar1 + 4)" (( "(") (binary_expression "pcVar1 + 4" (identifier "pcVar1") (+ "+") (number_literal "4")) () ")"))))) () ")")) (compound_statement "{\n      return pcVar1;\n    }" ({ "{") (return_statement "return pcVar1;" (return "return") (identifier "pcVar1") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {\n    return (char *)(iVar2 + 0x48);\n  }" (if "if") (parenthesized_expression "(((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0))" (( "(") (binary_expression "((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&\n     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)" (parenthesized_expression "((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0'))" (( "(") (binary_expression "(iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')" (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')" (( "(") (comma_expression "cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0'" (assignment_expression "cVar3 = FUN_0005bde0(iVar2 + 0x1c)" (identifier "cVar3") (= "=") (call_expression "FUN_0005bde0(iVar2 + 0x1c)" (identifier "FUN_0005bde0") (argument_list "(iVar2 + 0x1c)" (( "(") (binary_expression "iVar2 + 0x1c" (identifier "iVar2") (+ "+") (number_literal "0x1c")) () ")")))) (, ",") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return (char *)(iVar2 + 0x48);\n  }" ({ "{") (return_statement "return (char *)(iVar2 + 0x48);" (return "return") (cast_expression "(char *)(iVar2 + 0x48)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x48)" (( "(") (binary_expression "iVar2 + 0x48" (identifier "iVar2") (+ "+") (number_literal "0x48")) () ")"))) (; ";")) (} "}"))) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: Task_token * is_runnable(Relocate_task * this) */

type_1 * __thiscall gold::Relocate_task::is_runnable(Relocate_task *this)

{
  type_1 *pTVar1;
  type_2 *var_2;
  bool bVar3;
  type_1 *unaff_EBX;
  
  if (this->object_->relocs_must_follow_section_writes_ != false) {
    pTVar1 = this->output_sections_blocker_;
    if (pTVar1->is_blocker_ == false) {
                    /* WARNING: Subroutine does not return */
      Task_token::var_1((type_1 *)0xfa897,unaff_EBX);
    }
    if (0 < pTVar1->blockers_) {
      return pTVar1;
    }
  }
  var_2 = (this->object_->super_Object).input_file_;
  if (((var_2 != (type_2 *)0x0) && (bVar3 = File_read::var_3(&var_2->file_), bVar3)) &&
     (var_2 = (this->object_->super_Object).input_file_, var_2 != (type_2 *)0x0)) {
    return &(var_2->file_).token_;
  }
  return (type_1 *)0x0;
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

char * MASKED(int param_1)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  
  if (*(char *)(*(int *)(param_1 + 0x2c) + 0x4c) != '\0') {
    pcVar1 = *(char **)(param_1 + 0x38);
    if (*pcVar1 == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_000fa700(0xfa897);
    }
    if (0 < *(int *)(pcVar1 + 4)) {
      return pcVar1;
    }
  }
  iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c);
  if (((iVar2 != 0) && (cVar3 = FUN_0005bde0(iVar2 + 0x1c), cVar3 != '\0')) &&
     (iVar2 = *(int *)(*(int *)(param_1 + 0x2c) + 0x1c), iVar2 != 0)) {
    return (char *)(iVar2 + 0x48);
  }
  return (char *)0x0;
}

