
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void locks(Read_relocs * this, Task_locker * tl) */

void __thiscall gold::Read_relocs::locks(Read_relocs *this,Task_locker *tl)

{
  bool bVar1;
  int iVar2;
  Input_file *pIVar3;
  
  pIVar3 = (this->object_->super_Object).input_file_;
  if (pIVar3 == (Input_file *)0x0) {
    return;
  }
  iVar2 = tl->count_;
  if (iVar2 < 4) {
    bVar1 = (pIVar3->file_).token_.is_blocker_;
    tl->tokens_[iVar2] = &(pIVar3->file_).token_;
    tl->count_ = iVar2 + 1;
    if (bVar1 == false) {
      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {
                    /* WARNING: Subroutine does not return */
        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");
      }
      (pIVar3->file_).token_.writer_ = &this->super_Task;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/token.h",0x12e,"add");
}



void FUN_001f9430(long param_1,int *param_2)

{
  char cVar1;
  int iVar2;
  long lVar3;
  
  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);
  if (lVar3 == 0) {
    return;
  }
  iVar2 = *param_2;
  if (iVar2 < 4) {
    cVar1 = *(char *)(lVar3 + 0x60);
    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;
    *param_2 = iVar2 + 1;
    if (cVar1 == '\0') {
      if (*(long *)(lVar3 + 0x68) != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");
      }
      *(long *)(lVar3 + 0x68) = param_1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);
}


MOV RAX,qword ptr [RDI + 0x48]
MOV RDX,qword ptr [RAX + 0x28]
TEST RDX,RDX
JZ 0x001f9470
SUB RSP,0x8
MOV EAX,dword ptr [RSI]
LEA RCX,[RDX + 0x60]
CMP EAX,0x3
JG 0x001f9471
MOVSXD R8,EAX
ADD EAX,0x1
CMP byte ptr [RDX + 0x60],0x0
MOV qword ptr [RSI + R8*0x8 + 0x8],RCX
MOV dword ptr [RSI],EAX
JNZ 0x001f946a
CMP qword ptr [RDX + 0x68],0x0
JNZ 0x001f9489
MOV qword ptr [RDX + 0x68],RDI
ADD RSP,0x8
RET
RET
LEA RDX,[0x31c68b]
MOV ESI,0x12e
LEA RDI,[0x3075e5]
CALL 0x0016cdf0
LEA RDX,[0x31c680]
MOV ESI,0x7c
LEA RDI,[0x3075e5]
CALL 0x0016cdf0
(translation_unit "void FUN_001f9430(long param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}\n\n" (function_definition "void FUN_001f9430(long param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}" primitive_type (function_declarator "FUN_001f9430(long param_1,int *param_2)" identifier (parameter_list "(long param_1,int *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);" (assignment_expression "lVar3 = *(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 (lVar3 == 0) {\n    return;\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }" if (parenthesized_expression "(iVar2 < 4)" ( (binary_expression "iVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }" { (expression_statement "cVar1 = *(char *)(lVar3 + 0x60);" (assignment_expression "cVar1 = *(char *)(lVar3 + 0x60)" identifier = (pointer_expression "*(char *)(lVar3 + 0x60)" * (cast_expression "(char *)(lVar3 + 0x60)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x60)" ( (binary_expression "lVar3 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;" (assignment_expression "*(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60" (pointer_expression "*(long *)(param_2 + (long)iVar2 * 2 + 2)" * (cast_expression "(long *)(param_2 + (long)iVar2 * 2 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (long)iVar2 * 2 + 2)" ( (binary_expression "param_2 + (long)iVar2 * 2 + 2" (binary_expression "param_2 + (long)iVar2 * 2" identifier + (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) )))) = (binary_expression "lVar3 + 0x60" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar2 + 1;" (assignment_expression "*param_2 = iVar2 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }" { (if_statement "if (*(long *)(lVar3 + 0x68) != 0) {\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }" if (parenthesized_expression "(*(long *)(lVar3 + 0x68) != 0)" ( (binary_expression "*(long *)(lVar3 + 0x68) != 0" (pointer_expression "*(long *)(lVar3 + 0x68)" * (cast_expression "(long *)(lVar3 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x68)" ( (binary_expression "lVar3 + 0x68" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }" { comment (expression_statement "FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");" (call_expression "FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer")" identifier (argument_list "("../../gold/token.h",0x7c,"add_writer")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_writer"" " string_content ") ))) ;) })) (expression_statement "*(long *)(lVar3 + 0x68) = param_1;" (assignment_expression "*(long *)(lVar3 + 0x68) = param_1" (pointer_expression "*(long *)(lVar3 + 0x68)" * (cast_expression "(long *)(lVar3 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x68)" ( (binary_expression "lVar3 + 0x68" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);" (call_expression "FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b)" identifier (argument_list "("../../gold/token.h",0x12e,&DAT_0031c68b)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (pointer_expression "&DAT_0031c68b" & identifier) ))) ;) })))
(translation_unit "/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void locks(Read_relocs * this, Task_locker * tl) */\n\nvoid __thiscall gold::Read_relocs::locks(Read_relocs *this,Task_locker *tl)\n\n{\n  bool bVar1;\n  int iVar2;\n  Input_file *pIVar3;\n  \n  pIVar3 = (this->object_->super_Object).input_file_;\n  if (pIVar3 == (Input_file *)0x0) {\n    return;\n  }\n  iVar2 = tl->count_;\n  if (iVar2 < 4) {\n    bVar1 = (pIVar3->file_).token_.is_blocker_;\n    tl->tokens_[iVar2] = &(pIVar3->file_).token_;\n    tl->count_ = iVar2 + 1;\n    if (bVar1 == false) {\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x12e,"add");\n}\n\n" comment comment (function_definition "void __thiscall gold::Read_relocs::locks(Read_relocs *this,Task_locker *tl)\n\n{\n  bool bVar1;\n  int iVar2;\n  Input_file *pIVar3;\n  \n  pIVar3 = (this->object_->super_Object).input_file_;\n  if (pIVar3 == (Input_file *)0x0) {\n    return;\n  }\n  iVar2 = tl->count_;\n  if (iVar2 < 4) {\n    bVar1 = (pIVar3->file_).token_.is_blocker_;\n    tl->tokens_[iVar2] = &(pIVar3->file_).token_;\n    tl->count_ = iVar2 + 1;\n    if (bVar1 == false) {\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x12e,"add");\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Read_relocs::" identifier : : identifier : :) (function_declarator "locks(Read_relocs *this,Task_locker *tl)" identifier (parameter_list "(Read_relocs *this,Task_locker *tl)" ( (parameter_declaration "Read_relocs *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Task_locker *tl" type_identifier (pointer_declarator "*tl" * identifier)) ))) (compound_statement "{\n  bool bVar1;\n  int iVar2;\n  Input_file *pIVar3;\n  \n  pIVar3 = (this->object_->super_Object).input_file_;\n  if (pIVar3 == (Input_file *)0x0) {\n    return;\n  }\n  iVar2 = tl->count_;\n  if (iVar2 < 4) {\n    bVar1 = (pIVar3->file_).token_.is_blocker_;\n    tl->tokens_[iVar2] = &(pIVar3->file_).token_;\n    tl->count_ = iVar2 + 1;\n    if (bVar1 == false) {\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x12e,"add");\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Input_file *pIVar3;" type_identifier (pointer_declarator "*pIVar3" * identifier) ;) (expression_statement "pIVar3 = (this->object_->super_Object).input_file_;" (assignment_expression "pIVar3 = (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 (pIVar3 == (Input_file *)0x0) {\n    return;\n  }" if (parenthesized_expression "(pIVar3 == (Input_file *)0x0)" ( (binary_expression "pIVar3 == (Input_file *)0x0" identifier == (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = tl->count_;" (assignment_expression "iVar2 = tl->count_" identifier = (field_expression "tl->count_" identifier -> field_identifier)) ;) (if_statement "if (iVar2 < 4) {\n    bVar1 = (pIVar3->file_).token_.is_blocker_;\n    tl->tokens_[iVar2] = &(pIVar3->file_).token_;\n    tl->count_ = iVar2 + 1;\n    if (bVar1 == false) {\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }\n    return;\n  }" if (parenthesized_expression "(iVar2 < 4)" ( (binary_expression "iVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    bVar1 = (pIVar3->file_).token_.is_blocker_;\n    tl->tokens_[iVar2] = &(pIVar3->file_).token_;\n    tl->count_ = iVar2 + 1;\n    if (bVar1 == false) {\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }\n    return;\n  }" { (expression_statement "bVar1 = (pIVar3->file_).token_.is_blocker_;" (assignment_expression "bVar1 = (pIVar3->file_).token_.is_blocker_" identifier = (field_expression "(pIVar3->file_).token_.is_blocker_" (field_expression "(pIVar3->file_).token_" (parenthesized_expression "(pIVar3->file_)" ( (field_expression "pIVar3->file_" identifier -> field_identifier) )) . field_identifier) . field_identifier)) ;) (expression_statement "tl->tokens_[iVar2] = &(pIVar3->file_).token_;" (assignment_expression "tl->tokens_[iVar2] = &(pIVar3->file_).token_" (subscript_expression "tl->tokens_[iVar2]" (field_expression "tl->tokens_" identifier -> field_identifier) [ identifier ]) = (pointer_expression "&(pIVar3->file_).token_" & (field_expression "(pIVar3->file_).token_" (parenthesized_expression "(pIVar3->file_)" ( (field_expression "pIVar3->file_" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "tl->count_ = iVar2 + 1;" (assignment_expression "tl->count_ = iVar2 + 1" (field_expression "tl->count_" identifier -> field_identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (bVar1 == false) {\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }" if (parenthesized_expression "(bVar1 == false)" ( (binary_expression "bVar1 == false" identifier == false) )) (compound_statement "{\n      if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }\n      (pIVar3->file_).token_.writer_ = &this->super_Task;\n    }" { (if_statement "if ((pIVar3->file_).token_.writer_ != (Task *)0x0) {\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }" if (parenthesized_expression "((pIVar3->file_).token_.writer_ != (Task *)0x0)" ( (binary_expression "(pIVar3->file_).token_.writer_ != (Task *)0x0" (field_expression "(pIVar3->file_).token_.writer_" (field_expression "(pIVar3->file_).token_" (parenthesized_expression "(pIVar3->file_)" ( (field_expression "pIVar3->file_" identifier -> field_identifier) )) . field_identifier) . field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n        do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n      }" { comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");" (call_expression "do_gold_unreachable("../../gold/token.h",0x7c,"add_writer")" identifier (argument_list "("../../gold/token.h",0x7c,"add_writer")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_writer"" " string_content ") ))) ;) })) (expression_statement "(pIVar3->file_).token_.writer_ = &this->super_Task;" (assignment_expression "(pIVar3->file_).token_.writer_ = &this->super_Task" (field_expression "(pIVar3->file_).token_.writer_" (field_expression "(pIVar3->file_).token_" (parenthesized_expression "(pIVar3->file_)" ( (field_expression "pIVar3->file_" identifier -> field_identifier) )) . field_identifier) . field_identifier) = (pointer_expression "&this->super_Task" & (field_expression "this->super_Task" identifier -> field_identifier))) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "do_gold_unreachable("../../gold/token.h",0x12e,"add");" (call_expression "do_gold_unreachable("../../gold/token.h",0x12e,"add")" identifier (argument_list "("../../gold/token.h",0x12e,"add")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add"" " string_content ") ))) ;) })))
(translation_unit "void FUN_001f9430(long param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    \n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}\n\n" (function_definition "void FUN_001f9430(long param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    \n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}" primitive_type (function_declarator "FUN_001f9430(long param_1,int *param_2)" identifier (parameter_list "(long param_1,int *param_2)" ( (parameter_declaration "long param_1" (sized_type_specifier "long" long) identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    \n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (expression_statement "lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);" (assignment_expression "lVar3 = *(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 (lVar3 == 0) {\n    return;\n  }" if (parenthesized_expression "(lVar3 == 0)" ( (binary_expression "lVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }" if (parenthesized_expression "(iVar2 < 4)" ( (binary_expression "iVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }" { (expression_statement "cVar1 = *(char *)(lVar3 + 0x60);" (assignment_expression "cVar1 = *(char *)(lVar3 + 0x60)" identifier = (pointer_expression "*(char *)(lVar3 + 0x60)" * (cast_expression "(char *)(lVar3 + 0x60)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x60)" ( (binary_expression "lVar3 + 0x60" identifier + number_literal) ))))) ;) (expression_statement "*(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;" (assignment_expression "*(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60" (pointer_expression "*(long *)(param_2 + (long)iVar2 * 2 + 2)" * (cast_expression "(long *)(param_2 + (long)iVar2 * 2 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + (long)iVar2 * 2 + 2)" ( (binary_expression "param_2 + (long)iVar2 * 2 + 2" (binary_expression "param_2 + (long)iVar2 * 2" identifier + (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal)) + number_literal) )))) = (binary_expression "lVar3 + 0x60" identifier + number_literal)) ;) (expression_statement "*param_2 = iVar2 + 1;" (assignment_expression "*param_2 = iVar2 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }" { (if_statement "if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }" if (parenthesized_expression "(*(long *)(lVar3 + 0x68) != 0)" ( (binary_expression "*(long *)(lVar3 + 0x68) != 0" (pointer_expression "*(long *)(lVar3 + 0x68)" * (cast_expression "(long *)(lVar3 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x68)" ( (binary_expression "lVar3 + 0x68" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }" { (expression_statement "FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");" (call_expression "FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer")" identifier (argument_list "("../../gold/token.h",0x7c,"add_writer")" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_writer"" " string_content ") ))) ;) })) (expression_statement "*(long *)(lVar3 + 0x68) = param_1;" (assignment_expression "*(long *)(lVar3 + 0x68) = param_1" (pointer_expression "*(long *)(lVar3 + 0x68)" * (cast_expression "(long *)(lVar3 + 0x68)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(lVar3 + 0x68)" ( (binary_expression "lVar3 + 0x68" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);" (call_expression "FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b)" identifier (argument_list "("../../gold/token.h",0x12e,&DAT_0031c68b)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (pointer_expression "&DAT_0031c68b" & identifier) ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (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 IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT)) + LIT) )))) = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") ))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier long) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (pointer_expression & IDENT) ))) ;) })))
(function_definition "void FUN_001f9430(long param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    \n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}" (primitive_type "void") (function_declarator "FUN_001f9430(long param_1,int *param_2)" (identifier "FUN_001f9430") (parameter_list "(long param_1,int *param_2)" (( "(") (parameter_declaration "long param_1" (sized_type_specifier "long" (long "long")) (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  long lVar3;\n  \n  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);\n  if (lVar3 == 0) {\n    return;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }\n                    \n  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (expression_statement "lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);" (assignment_expression "lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28)" (identifier "lVar3") (= "=") (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 (lVar3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(lVar3 == 0)" (( "(") (binary_expression "lVar3 == 0" (identifier "lVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" (identifier "iVar2") (= "=") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (; ";")) (if_statement "if (iVar2 < 4) {\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(iVar2 < 4)" (( "(") (binary_expression "iVar2 < 4" (identifier "iVar2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    cVar1 = *(char *)(lVar3 + 0x60);\n    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }\n    return;\n  }" ({ "{") (expression_statement "cVar1 = *(char *)(lVar3 + 0x60);" (assignment_expression "cVar1 = *(char *)(lVar3 + 0x60)" (identifier "cVar1") (= "=") (pointer_expression "*(char *)(lVar3 + 0x60)" (* "*") (cast_expression "(char *)(lVar3 + 0x60)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x60)" (( "(") (binary_expression "lVar3 + 0x60" (identifier "lVar3") (+ "+") (number_literal "0x60")) () ")"))))) (; ";")) (expression_statement "*(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;" (assignment_expression "*(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60" (pointer_expression "*(long *)(param_2 + (long)iVar2 * 2 + 2)" (* "*") (cast_expression "(long *)(param_2 + (long)iVar2 * 2 + 2)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + (long)iVar2 * 2 + 2)" (( "(") (binary_expression "param_2 + (long)iVar2 * 2 + 2" (binary_expression "param_2 + (long)iVar2 * 2" (identifier "param_2") (+ "+") (binary_expression "(long)iVar2 * 2" (cast_expression "(long)iVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar2")) (* "*") (number_literal "2"))) (+ "+") (number_literal "2")) () ")")))) (= "=") (binary_expression "lVar3 + 0x60" (identifier "lVar3") (+ "+") (number_literal "0x60"))) (; ";")) (expression_statement "*param_2 = iVar2 + 1;" (assignment_expression "*param_2 = iVar2 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (cVar1 == '\0') {\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }" (if "if") (parenthesized_expression "(cVar1 == '\0')" (( "(") (binary_expression "cVar1 == '\0'" (identifier "cVar1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }\n      *(long *)(lVar3 + 0x68) = param_1;\n    }" ({ "{") (if_statement "if (*(long *)(lVar3 + 0x68) != 0) {\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }" (if "if") (parenthesized_expression "(*(long *)(lVar3 + 0x68) != 0)" (( "(") (binary_expression "*(long *)(lVar3 + 0x68) != 0" (pointer_expression "*(long *)(lVar3 + 0x68)" (* "*") (cast_expression "(long *)(lVar3 + 0x68)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x68)" (( "(") (binary_expression "lVar3 + 0x68" (identifier "lVar3") (+ "+") (number_literal "0x68")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    \n        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");\n      }" ({ "{") (expression_statement "FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");" (call_expression "FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer")" (identifier "FUN_0016cdf0") (argument_list "("../../gold/token.h",0x7c,"add_writer")" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x7c") (, ",") (string_literal ""add_writer"" (" """) (string_content "add_writer") (" """)) () ")"))) (; ";")) (} "}"))) (expression_statement "*(long *)(lVar3 + 0x68) = param_1;" (assignment_expression "*(long *)(lVar3 + 0x68) = param_1" (pointer_expression "*(long *)(lVar3 + 0x68)" (* "*") (cast_expression "(long *)(lVar3 + 0x68)" (( "(") (type_descriptor "long *" (sized_type_specifier "long" (long "long")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(lVar3 + 0x68)" (( "(") (binary_expression "lVar3 + 0x68" (identifier "lVar3") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);" (call_expression "FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b)" (identifier "FUN_0016cdf0") (argument_list "("../../gold/token.h",0x12e,&DAT_0031c68b)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x12e") (, ",") (pointer_expression "&DAT_0031c68b" (& "&") (identifier "DAT_0031c68b")) () ")"))) (; ";")) (} "}")))

/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void locks(Read_relocs * this, Task_locker * tl) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *tl)

{
  bool var_3;
  int var_2;
  type_3 *var_1;
  
  var_1 = (this->object_->super_Object).input_file_;
  if (var_1 == (type_3 *)0x0) {
    return;
  }
  var_2 = tl->count_;
  if (var_2 < 4) {
    var_3 = (var_1->file_).token_.is_blocker_;
    tl->tokens_[var_2] = &(var_1->file_).token_;
    tl->count_ = var_2 + 1;
    if (var_3 == false) {
      if ((var_1->file_).token_.writer_ != (type_4 *)0x0) {
                    /* WARNING: Subroutine does not return */
        var_4("../../gold/token.h",0x7c,"add_writer");
      }
      (var_1->file_).token_.writer_ = &this->super_Task;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  var_4("../../gold/token.h",0x12e,"add");
}


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

void MASKED(long param_1,int *param_2)

{
  char cVar1;
  int iVar2;
  long lVar3;
  
  lVar3 = *(long *)(*(long *)(param_1 + 0x48) + 0x28);
  if (lVar3 == 0) {
    return;
  }
  iVar2 = *param_2;
  if (iVar2 < 4) {
    cVar1 = *(char *)(lVar3 + 0x60);
    *(long *)(param_2 + (long)iVar2 * 2 + 2) = lVar3 + 0x60;
    *param_2 = iVar2 + 1;
    if (cVar1 == '\0') {
      if (*(long *)(lVar3 + 0x68) != 0) {
                    /* WARNING: Subroutine does not return */
        FUN_0016cdf0("../../gold/token.h",0x7c,"add_writer");
      }
      *(long *)(lVar3 + 0x68) = param_1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_0016cdf0("../../gold/token.h",0x12e,&DAT_0031c68b);
}

