
/* 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 *in_RSI;
  
  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 *)this,in_RSI);
    }
    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;
}



char * FUN_00243930(long param_1)

{
  char *pcVar1;
  long lVar2;
  char cVar3;
  
  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {
    pcVar1 = *(char **)(param_1 + 0x60);
    if (*pcVar1 == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_002437e0();
    }
    if (0 < *(int *)(pcVar1 + 4)) {
      return pcVar1;
    }
  }
  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);
  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&
     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {
    return (char *)(lVar2 + 0x60);
  }
  return (char *)0x0;
}


PUSH RBX
MOV RDX,qword ptr [RDI + 0x48]
MOV RBX,RDI
CMP byte ptr [RDX + 0x78],0x0
JZ 0x0024394e
MOV RAX,qword ptr [RDI + 0x60]
CMP byte ptr [RAX],0x0
JZ 0x00243984
MOV ECX,dword ptr [RAX + 0x4]
TEST ECX,ECX
JG 0x00243975
MOV RDI,qword ptr [RDX + 0x28]
TEST RDI,RDI
JZ 0x00243980
ADD RDI,0x28
CALL 0x00179b60
TEST AL,AL
JZ 0x00243980
MOV RAX,qword ptr [RBX + 0x48]
MOV RAX,qword ptr [RAX + 0x28]
TEST RAX,RAX
JZ 0x00243980
ADD RAX,0x60
POP RBX
RET
XOR EAX,EAX
POP RBX
RET
CALL 0x002437e0
(translation_unit "char * FUN_00243930(long param_1)\n\n{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * FUN_00243930(long param_1)\n\n{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_00243930(long param_1)" * (function_declarator "FUN_00243930(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (if_statement "if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0')" ( (binary_expression "*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0'" (pointer_expression "*(char *)(*(long *)(param_1 + 0x48) + 0x78)" * (cast_expression "(char *)(*(long *)(param_1 + 0x48) + 0x78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x78)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x78" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" { (expression_statement "pcVar1 = *(char **)(param_1 + 0x60);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x60)" identifier = (pointer_expression "*(char **)(param_1 + 0x60)" * (cast_expression "(char **)(param_1 + 0x60)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar1 == '\0') {\n                    /* WARNING: Subroutine does not return */\n      FUN_002437e0();\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_002437e0();\n    }" { comment (expression_statement "FUN_002437e0();" (call_expression "FUN_002437e0()" identifier (argument_list "()" ( ))) ;) })) (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 "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x48) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0x48) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x28" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }" if (parenthesized_expression "(((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0))" ( (binary_expression "((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)" (parenthesized_expression "((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0'))" ( (binary_expression "(lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')" (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')" ( (comma_expression "cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0'" (assignment_expression "cVar3 = FUN_00179b60(lVar2 + 0x28)" identifier = (call_expression "FUN_00179b60(lVar2 + 0x28)" identifier (argument_list "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) , (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)" ( (comma_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x48) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0x48) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x28" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "lVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return (char *)(lVar2 + 0x60);\n  }" { (return_statement "return (char *)(lVar2 + 0x60);" return (cast_expression "(char *)(lVar2 + 0x60)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x60)" ( (binary_expression "lVar2 + 0x60" 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: 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 *in_RSI;\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 *)this,in_RSI);\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 (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 *in_RSI;\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 *)this,in_RSI);\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 *in_RSI;" type_identifier (pointer_declarator "*in_RSI" * 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 *)this,in_RSI);\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 *)this,in_RSI);\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 *)this,in_RSI);\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 *)this,in_RSI);\n    }" { comment (labeled_statement "Task_token::is_blocked((Task_token *)this,in_RSI);" statement_identifier : (ERROR ":" :) (expression_statement "is_blocked((Task_token *)this,in_RSI);" (call_expression "is_blocked((Task_token *)this,in_RSI)" identifier (argument_list "((Task_token *)this,in_RSI)" ( (cast_expression "(Task_token *)this" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , 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_00243930(long param_1)\n\n{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}\n\n" (function_definition "char * FUN_00243930(long param_1)\n\n{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}" primitive_type (pointer_declarator "* FUN_00243930(long param_1)" * (function_declarator "FUN_00243930(long param_1)" identifier (parameter_list "(long param_1)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) )))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "long lVar2;" (sized_type_specifier "long" long) identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (if_statement "if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" if (parenthesized_expression "(*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0')" ( (binary_expression "*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0'" (pointer_expression "*(char *)(*(long *)(param_1 + 0x48) + 0x78)" * (cast_expression "(char *)(*(long *)(param_1 + 0x48) + 0x78)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x78)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x78" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" { (expression_statement "pcVar1 = *(char **)(param_1 + 0x60);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x60)" identifier = (pointer_expression "*(char **)(param_1 + 0x60)" * (cast_expression "(char **)(param_1 + 0x60)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x60)" ( (binary_expression "param_1 + 0x60" identifier + number_literal) ))))) ;) (if_statement "if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }" if (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n                    \n      FUN_002437e0();\n    }" { (expression_statement "FUN_002437e0();" (call_expression "FUN_002437e0()" identifier (argument_list "()" ( ))) ;) })) (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 "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x48) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0x48) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x28" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }" if (parenthesized_expression "(((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0))" ( (binary_expression "((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)" (parenthesized_expression "((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0'))" ( (binary_expression "(lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')" (parenthesized_expression "(lVar2 != 0)" ( (binary_expression "lVar2 != 0" identifier != number_literal) )) && (parenthesized_expression "(cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')" ( (comma_expression "cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0'" (assignment_expression "cVar3 = FUN_00179b60(lVar2 + 0x28)" identifier = (call_expression "FUN_00179b60(lVar2 + 0x28)" identifier (argument_list "(lVar2 + 0x28)" ( (binary_expression "lVar2 + 0x28" identifier + number_literal) )))) , (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence '))) ))) )) && (parenthesized_expression "(lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)" ( (comma_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" identifier = (pointer_expression "*(long *)(*(long *)(param_1 + 0x48) + 0x28)" * (cast_expression "(long *)(*(long *)(param_1 + 0x48) + 0x28)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x28)" ( (binary_expression "*(long *)(param_1 + 0x48) + 0x28" (pointer_expression "*(long *)(param_1 + 0x48)" * (cast_expression "(long *)(param_1 + 0x48)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x48)" ( (binary_expression "param_1 + 0x48" identifier + number_literal) )))) + number_literal) ))))) , (binary_expression "lVar2 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    return (char *)(lVar2 + 0x60);\n  }" { (return_statement "return (char *)(lVar2 + 0x60);" return (cast_expression "(char *)(lVar2 + 0x60)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar2 + 0x60)" ( (binary_expression "lVar2 + 0x60" 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 (sized_type_specifier long) IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier long) 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 (sized_type_specifier long) (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 ( ))) ;) })) (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (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 (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) , (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_00243930(long param_1)\n\n{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}" (primitive_type "char") (pointer_declarator "* FUN_00243930(long param_1)" (* "*") (function_declarator "FUN_00243930(long param_1)" (identifier "FUN_00243930") (parameter_list "(long param_1)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) () ")")))) (compound_statement "{\n  char *pcVar1;\n  long lVar2;\n  char cVar3;\n  \n  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }\n  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }\n  return (char *)0x0;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "long lVar2;" (sized_type_specifier "long" (long "long")) (identifier "lVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (if_statement "if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" (if "if") (parenthesized_expression "(*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0')" (( "(") (binary_expression "*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0'" (pointer_expression "*(char *)(*(long *)(param_1 + 0x48) + 0x78)" (* "*") (cast_expression "(char *)(*(long *)(param_1 + 0x48) + 0x78)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x78)" (( "(") (binary_expression "*(long *)(param_1 + 0x48) + 0x78" (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (number_literal "0x78")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    pcVar1 = *(char **)(param_1 + 0x60);\n    if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\n    }\n    if (0 < *(int *)(pcVar1 + 4)) {\n      return pcVar1;\n    }\n  }" ({ "{") (expression_statement "pcVar1 = *(char **)(param_1 + 0x60);" (assignment_expression "pcVar1 = *(char **)(param_1 + 0x60)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(param_1 + 0x60)" (* "*") (cast_expression "(char **)(param_1 + 0x60)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x60)" (( "(") (binary_expression "param_1 + 0x60" (identifier "param_1") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (if_statement "if (*pcVar1 == '\0') {\n                    \n      FUN_002437e0();\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_002437e0();\n    }" ({ "{") (expression_statement "FUN_002437e0();" (call_expression "FUN_002437e0()" (identifier "FUN_002437e0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (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 "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(param_1 + 0x48) + 0x28)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x48) + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x28)" (( "(") (binary_expression "*(long *)(param_1 + 0x48) + 0x28" (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) (; ";")) (if_statement "if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {\n    return (char *)(lVar2 + 0x60);\n  }" (if "if") (parenthesized_expression "(((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0))" (( "(") (binary_expression "((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&\n     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)" (parenthesized_expression "((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0'))" (( "(") (binary_expression "(lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')" (parenthesized_expression "(lVar2 != 0)" (( "(") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')" (( "(") (comma_expression "cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0'" (assignment_expression "cVar3 = FUN_00179b60(lVar2 + 0x28)" (identifier "cVar3") (= "=") (call_expression "FUN_00179b60(lVar2 + 0x28)" (identifier "FUN_00179b60") (argument_list "(lVar2 + 0x28)" (( "(") (binary_expression "lVar2 + 0x28" (identifier "lVar2") (+ "+") (number_literal "0x28")) () ")")))) (, ",") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)" (( "(") (comma_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0" (assignment_expression "lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" (identifier "lVar2") (= "=") (pointer_expression "*(long *)(*(long *)(param_1 + 0x48) + 0x28)" (* "*") (cast_expression "(long *)(*(long *)(param_1 + 0x48) + 0x28)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(long *)(param_1 + 0x48) + 0x28)" (( "(") (binary_expression "*(long *)(param_1 + 0x48) + 0x28" (pointer_expression "*(long *)(param_1 + 0x48)" (* "*") (cast_expression "(long *)(param_1 + 0x48)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x48)" (( "(") (binary_expression "param_1 + 0x48" (identifier "param_1") (+ "+") (number_literal "0x48")) () ")")))) (+ "+") (number_literal "0x28")) () ")"))))) (, ",") (binary_expression "lVar2 != 0" (identifier "lVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    return (char *)(lVar2 + 0x60);\n  }" ({ "{") (return_statement "return (char *)(lVar2 + 0x60);" (return "return") (cast_expression "(char *)(lVar2 + 0x60)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar2 + 0x60)" (( "(") (binary_expression "lVar2 + 0x60" (identifier "lVar2") (+ "+") (number_literal "0x60")) () ")"))) (; ";")) (} "}"))) (return_statement "return (char *)0x0;" (return "return") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (; ";")) (} "}")))

/* 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 *in_RSI;
  
  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 *)this,in_RSI);
    }
    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: (sized_type_specifier) declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) 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: (sized_type_specifier) 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))))) (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) 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))))))

char * MASKED(long param_1)

{
  char *pcVar1;
  long lVar2;
  char cVar3;
  
  if (*(char *)(*(long *)(param_1 + 0x48) + 0x78) != '\0') {
    pcVar1 = *(char **)(param_1 + 0x60);
    if (*pcVar1 == '\0') {
                    /* WARNING: Subroutine does not return */
      FUN_002437e0();
    }
    if (0 < *(int *)(pcVar1 + 4)) {
      return pcVar1;
    }
  }
  lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);
  if (((lVar2 != 0) && (cVar3 = FUN_00179b60(lVar2 + 0x28), cVar3 != '\0')) &&
     (lVar2 = *(long *)(*(long *)(param_1 + 0x48) + 0x28), lVar2 != 0)) {
    return (char *)(lVar2 + 0x60);
  }
  return (char *)0x0;
}

