
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void locks(Gc_process_relocs * this, Task_locker * tl) */

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

{
  char cVar1;
  bool bVar2;
  int iVar3;
  Task_token *pTVar4;
  Input_file *pIVar5;
  
  pIVar5 = (this->object_->super_Object).input_file_;
  if (pIVar5 != (Input_file *)0x0) {
    pIVar5 = (Input_file *)&(pIVar5->file_).token_;
  }
  iVar3 = tl->count_;
  if (iVar3 < 4) {
    cVar1 = *(char *)&pIVar5->input_argument_;
    tl->tokens_[iVar3] = (Task_token *)pIVar5;
    tl->count_ = iVar3 + 1;
    if (cVar1 == '\0') {
      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;
      (pIVar5->found_name_)._M_string_length = (size_type)this;
    }
    pTVar4 = this->next_blocker_;
    if (iVar3 + 1 != 4) {
      bVar2 = pTVar4->is_blocker_;
      tl->tokens_[iVar3 + 1] = pTVar4;
      tl->count_ = iVar3 + 2;
      if (bVar2 == false) {
        if (pTVar4->writer_ != (Task *)0x0) {
LAB_00146c88:
                    /* WARNING: Subroutine does not return */
          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");
        }
        pTVar4->writer_ = &this->super_Task;
      }
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  do_gold_unreachable("../../gold/token.h",0x12e,"add");
}



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

void FUN_00146c00(int param_1,int *param_2)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  
  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);
  if (pcVar3 != (char *)0x0) {
    pcVar3 = pcVar3 + 0x48;
  }
  iVar2 = *param_2;
  if (iVar2 < 4) {
    cVar1 = *pcVar3;
    param_2[iVar2 + 1] = (int)pcVar3;
    *param_2 = iVar2 + 1;
    if (cVar1 == '\0') {
      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;
      *(int *)(pcVar3 + 8) = param_1;
    }
    pcVar3 = *(char **)(param_1 + 0x38);
    if (iVar2 + 1 != 4) {
      cVar1 = *pcVar3;
      param_2[iVar2 + 2] = (int)pcVar3;
      *param_2 = iVar2 + 2;
      if (cVar1 == '\0') {
        if (*(int *)(pcVar3 + 8) != 0) {
LAB_00146c88:
                    /* WARNING: Subroutine does not return */
          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);
        }
        *(int *)(pcVar3 + 8) = param_1;
      }
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00035840
ADD EBX,0x2483f7
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
MOV ECX,dword ptr [ESP + 0x24]
MOV EAX,dword ptr [ESI + 0x2c]
MOV EAX,dword ptr [EAX + 0x1c]
LEA EDX,[EAX + 0x48]
TEST EAX,EAX
CMOVNZ EAX,EDX
MOV EDX,dword ptr [ECX]
CMP EDX,0x3
JG 0x00146c6f
LEA EDI,[ECX + EDX*0x4]
LEA EBP,[EDX + 0x1]
CMP byte ptr [EAX],0x0
MOV dword ptr [EDI + 0x4],EAX
MOV dword ptr [ECX],EBP
JNZ 0x00146c48
CMP dword ptr [EAX + 0x8],0x0
JNZ 0x00146c88
MOV dword ptr [EAX + 0x8],ESI
MOV EAX,dword ptr [ESI + 0x38]
CMP EBP,0x4
JZ 0x00146c6f
ADD EDX,0x2
CMP byte ptr [EAX],0x0
MOV dword ptr [EDI + 0x8],EAX
MOV dword ptr [ECX],EDX
JNZ 0x00146c67
MOV EDX,dword ptr [EAX + 0x8]
TEST EDX,EDX
JNZ 0x00146c88
MOV dword ptr [EAX + 0x8],ESI
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
PUSH EAX
LEA EAX,[EBX + 0xfff07fec]
PUSH EAX
LEA EAX,[EBX + 0xffef15bd]
PUSH 0x12e
PUSH EAX
CALL 0x00069d00
LEA EAX,[EBX + 0xfff07fe0]
PUSH ECX
PUSH EAX
LEA EAX,[EBX + 0xffef15bd]
PUSH 0x7c
PUSH EAX
CALL 0x00069d00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00146c00(int param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}\n\n" comment (function_definition "void FUN_00146c00(int param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}" primitive_type (function_declarator "FUN_00146c00(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = pcVar3 + 0x48;\n  }" { (expression_statement "pcVar3 = pcVar3 + 0x48;" (assignment_expression "pcVar3 = pcVar3 + 0x48" identifier = (binary_expression "pcVar3 + 0x48" identifier + number_literal)) ;) })) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 < 4)" ( (binary_expression "iVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }" { (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "param_2[iVar2 + 1] = (int)pcVar3;" (assignment_expression "param_2[iVar2 + 1] = (int)pcVar3" (subscript_expression "param_2[iVar2 + 1]" identifier [ (binary_expression "iVar2 + 1" identifier + number_literal) ]) = (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (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 (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }" { (if_statement "if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;" if (parenthesized_expression "(*(int *)(pcVar3 + 8) != 0)" ( (binary_expression "*(int *)(pcVar3 + 8) != 0" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00146c88;" goto statement_identifier ;)) (expression_statement "*(int *)(pcVar3 + 8) = param_1;" (assignment_expression "*(int *)(pcVar3 + 8) = param_1" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "pcVar3 = *(char **)(param_1 + 0x38);" (assignment_expression "pcVar3 = *(char **)(param_1 + 0x38)" identifier = (pointer_expression "*(char **)(param_1 + 0x38)" * (cast_expression "(char **)(param_1 + 0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }" if (parenthesized_expression "(iVar2 + 1 != 4)" ( (binary_expression "iVar2 + 1 != 4" (binary_expression "iVar2 + 1" identifier + number_literal) != number_literal) )) (compound_statement "{\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }" { (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "param_2[iVar2 + 2] = (int)pcVar3;" (assignment_expression "param_2[iVar2 + 2] = (int)pcVar3" (subscript_expression "param_2[iVar2 + 2]" identifier [ (binary_expression "iVar2 + 2" identifier + number_literal) ]) = (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_2 = iVar2 + 2;" (assignment_expression "*param_2 = iVar2 + 2" (pointer_expression "*param_2" * identifier) = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }" { (if_statement "if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }" if (parenthesized_expression "(*(int *)(pcVar3 + 8) != 0)" ( (binary_expression "*(int *)(pcVar3 + 8) != 0" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }" { (labeled_statement "LAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);" statement_identifier : comment (expression_statement "FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);" (call_expression "FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2)" identifier (argument_list "("../../gold/token.h",0x7c,"add_writer",param_2)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_writer"" " string_content ") , identifier ))) ;)) })) (expression_statement "*(int *)(pcVar3 + 8) = param_1;" (assignment_expression "*(int *)(pcVar3 + 8) = param_1" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })) })) comment (expression_statement "FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);" (call_expression "FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3)" identifier (argument_list "("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (pointer_expression "&DAT_00296fec" & identifier) , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "DT": Some values do not have unique names */\n/* DWARF original prototype: void locks(Gc_process_relocs * this, Task_locker * tl) */\n\nvoid __thiscall gold::Gc_process_relocs::locks(Gc_process_relocs *this,Task_locker *tl)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  Task_token *pTVar4;\n  Input_file *pIVar5;\n  \n  pIVar5 = (this->object_->super_Object).input_file_;\n  if (pIVar5 != (Input_file *)0x0) {\n    pIVar5 = (Input_file *)&(pIVar5->file_).token_;\n  }\n  iVar3 = tl->count_;\n  if (iVar3 < 4) {\n    cVar1 = *(char *)&pIVar5->input_argument_;\n    tl->tokens_[iVar3] = (Task_token *)pIVar5;\n    tl->count_ = iVar3 + 1;\n    if (cVar1 == '\0') {\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }\n    pTVar4 = this->next_blocker_;\n    if (iVar3 + 1 != 4) {\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x12e,"add");\n}\n\n" comment comment comment (function_definition "void __thiscall gold::Gc_process_relocs::locks(Gc_process_relocs *this,Task_locker *tl)\n\n{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  Task_token *pTVar4;\n  Input_file *pIVar5;\n  \n  pIVar5 = (this->object_->super_Object).input_file_;\n  if (pIVar5 != (Input_file *)0x0) {\n    pIVar5 = (Input_file *)&(pIVar5->file_).token_;\n  }\n  iVar3 = tl->count_;\n  if (iVar3 < 4) {\n    cVar1 = *(char *)&pIVar5->input_argument_;\n    tl->tokens_[iVar3] = (Task_token *)pIVar5;\n    tl->count_ = iVar3 + 1;\n    if (cVar1 == '\0') {\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }\n    pTVar4 = this->next_blocker_;\n    if (iVar3 + 1 != 4) {\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }\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::Gc_process_relocs::" identifier : : identifier : :) (function_declarator "locks(Gc_process_relocs *this,Task_locker *tl)" identifier (parameter_list "(Gc_process_relocs *this,Task_locker *tl)" ( (parameter_declaration "Gc_process_relocs *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Task_locker *tl" type_identifier (pointer_declarator "*tl" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  bool bVar2;\n  int iVar3;\n  Task_token *pTVar4;\n  Input_file *pIVar5;\n  \n  pIVar5 = (this->object_->super_Object).input_file_;\n  if (pIVar5 != (Input_file *)0x0) {\n    pIVar5 = (Input_file *)&(pIVar5->file_).token_;\n  }\n  iVar3 = tl->count_;\n  if (iVar3 < 4) {\n    cVar1 = *(char *)&pIVar5->input_argument_;\n    tl->tokens_[iVar3] = (Task_token *)pIVar5;\n    tl->count_ = iVar3 + 1;\n    if (cVar1 == '\0') {\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }\n    pTVar4 = this->next_blocker_;\n    if (iVar3 + 1 != 4) {\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }\n  }\n                    /* WARNING: Subroutine does not return */\n  do_gold_unreachable("../../gold/token.h",0x12e,"add");\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "Task_token *pTVar4;" type_identifier (pointer_declarator "*pTVar4" * identifier) ;) (declaration "Input_file *pIVar5;" type_identifier (pointer_declarator "*pIVar5" * identifier) ;) (expression_statement "pIVar5 = (this->object_->super_Object).input_file_;" (assignment_expression "pIVar5 = (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 (pIVar5 != (Input_file *)0x0) {\n    pIVar5 = (Input_file *)&(pIVar5->file_).token_;\n  }" if (parenthesized_expression "(pIVar5 != (Input_file *)0x0)" ( (binary_expression "pIVar5 != (Input_file *)0x0" identifier != (cast_expression "(Input_file *)0x0" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pIVar5 = (Input_file *)&(pIVar5->file_).token_;\n  }" { (expression_statement "pIVar5 = (Input_file *)&(pIVar5->file_).token_;" (assignment_expression "pIVar5 = (Input_file *)&(pIVar5->file_).token_" identifier = (cast_expression "(Input_file *)&(pIVar5->file_).token_" ( (type_descriptor "Input_file *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pIVar5->file_).token_" & (field_expression "(pIVar5->file_).token_" (parenthesized_expression "(pIVar5->file_)" ( (field_expression "pIVar5->file_" identifier -> field_identifier) )) . field_identifier)))) ;) })) (expression_statement "iVar3 = tl->count_;" (assignment_expression "iVar3 = tl->count_" identifier = (field_expression "tl->count_" identifier -> field_identifier)) ;) (if_statement "if (iVar3 < 4) {\n    cVar1 = *(char *)&pIVar5->input_argument_;\n    tl->tokens_[iVar3] = (Task_token *)pIVar5;\n    tl->count_ = iVar3 + 1;\n    if (cVar1 == '\0') {\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }\n    pTVar4 = this->next_blocker_;\n    if (iVar3 + 1 != 4) {\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }\n  }" if (parenthesized_expression "(iVar3 < 4)" ( (binary_expression "iVar3 < 4" identifier < number_literal) )) (compound_statement "{\n    cVar1 = *(char *)&pIVar5->input_argument_;\n    tl->tokens_[iVar3] = (Task_token *)pIVar5;\n    tl->count_ = iVar3 + 1;\n    if (cVar1 == '\0') {\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }\n    pTVar4 = this->next_blocker_;\n    if (iVar3 + 1 != 4) {\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }\n  }" { (expression_statement "cVar1 = *(char *)&pIVar5->input_argument_;" (assignment_expression "cVar1 = *(char *)&pIVar5->input_argument_" identifier = (pointer_expression "*(char *)&pIVar5->input_argument_" * (cast_expression "(char *)&pIVar5->input_argument_" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar5->input_argument_" & (field_expression "pIVar5->input_argument_" identifier -> field_identifier))))) ;) (expression_statement "tl->tokens_[iVar3] = (Task_token *)pIVar5;" (assignment_expression "tl->tokens_[iVar3] = (Task_token *)pIVar5" (subscript_expression "tl->tokens_[iVar3]" (field_expression "tl->tokens_" identifier -> field_identifier) [ identifier ]) = (cast_expression "(Task_token *)pIVar5" ( (type_descriptor "Task_token *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "tl->count_ = iVar3 + 1;" (assignment_expression "tl->count_ = iVar3 + 1" (field_expression "tl->count_" identifier -> field_identifier) = (binary_expression "iVar3 + 1" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;\n      (pIVar5->found_name_)._M_string_length = (size_type)this;\n    }" { (if_statement "if ((pIVar5->found_name_)._M_string_length != 0) goto LAB_00146c88;" if (parenthesized_expression "((pIVar5->found_name_)._M_string_length != 0)" ( (binary_expression "(pIVar5->found_name_)._M_string_length != 0" (field_expression "(pIVar5->found_name_)._M_string_length" (parenthesized_expression "(pIVar5->found_name_)" ( (field_expression "pIVar5->found_name_" identifier -> field_identifier) )) . field_identifier) != number_literal) )) (goto_statement "goto LAB_00146c88;" goto statement_identifier ;)) (expression_statement "(pIVar5->found_name_)._M_string_length = (size_type)this;" (assignment_expression "(pIVar5->found_name_)._M_string_length = (size_type)this" (field_expression "(pIVar5->found_name_)._M_string_length" (parenthesized_expression "(pIVar5->found_name_)" ( (field_expression "pIVar5->found_name_" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(size_type)this" ( (type_descriptor "size_type" type_identifier) ) identifier)) ;) })) (expression_statement "pTVar4 = this->next_blocker_;" (assignment_expression "pTVar4 = this->next_blocker_" identifier = (field_expression "this->next_blocker_" identifier -> field_identifier)) ;) (if_statement "if (iVar3 + 1 != 4) {\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }" if (parenthesized_expression "(iVar3 + 1 != 4)" ( (binary_expression "iVar3 + 1 != 4" (binary_expression "iVar3 + 1" identifier + number_literal) != number_literal) )) (compound_statement "{\n      bVar2 = pTVar4->is_blocker_;\n      tl->tokens_[iVar3 + 1] = pTVar4;\n      tl->count_ = iVar3 + 2;\n      if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }\n      return;\n    }" { (expression_statement "bVar2 = pTVar4->is_blocker_;" (assignment_expression "bVar2 = pTVar4->is_blocker_" identifier = (field_expression "pTVar4->is_blocker_" identifier -> field_identifier)) ;) (expression_statement "tl->tokens_[iVar3 + 1] = pTVar4;" (assignment_expression "tl->tokens_[iVar3 + 1] = pTVar4" (subscript_expression "tl->tokens_[iVar3 + 1]" (field_expression "tl->tokens_" identifier -> field_identifier) [ (binary_expression "iVar3 + 1" identifier + number_literal) ]) = identifier) ;) (expression_statement "tl->count_ = iVar3 + 2;" (assignment_expression "tl->count_ = iVar3 + 2" (field_expression "tl->count_" identifier -> field_identifier) = (binary_expression "iVar3 + 2" identifier + number_literal)) ;) (if_statement "if (bVar2 == false) {\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }" if (parenthesized_expression "(bVar2 == false)" ( (binary_expression "bVar2 == false" identifier == false) )) (compound_statement "{\n        if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }\n        pTVar4->writer_ = &this->super_Task;\n      }" { (if_statement "if (pTVar4->writer_ != (Task *)0x0) {\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }" if (parenthesized_expression "(pTVar4->writer_ != (Task *)0x0)" ( (binary_expression "pTVar4->writer_ != (Task *)0x0" (field_expression "pTVar4->writer_" identifier -> field_identifier) != (cast_expression "(Task *)0x0" ( (type_descriptor "Task *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");\n        }" { (labeled_statement "LAB_00146c88:\n                    /* WARNING: Subroutine does not return */\n          do_gold_unreachable("../../gold/token.h",0x7c,"add_writer");" statement_identifier : 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 "pTVar4->writer_ = &this->super_Task;" (assignment_expression "pTVar4->writer_ = &this->super_Task" (field_expression "pTVar4->writer_" 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_00146c00(int param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    \n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}\n\n" (function_definition "void FUN_00146c00(int param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    \n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}" primitive_type (function_declarator "FUN_00146c00(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    \n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}" { (declaration "char cVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *pcVar3;" primitive_type (pointer_declarator "*pcVar3" * identifier) ;) (expression_statement "pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" identifier = (pointer_expression "*(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" * (cast_expression "(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" ( (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + number_literal) ))))) ;) (if_statement "if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }" if (parenthesized_expression "(pcVar3 != (char *)0x0)" ( (binary_expression "pcVar3 != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = pcVar3 + 0x48;\n  }" { (expression_statement "pcVar3 = pcVar3 + 0x48;" (assignment_expression "pcVar3 = pcVar3 + 0x48" identifier = (binary_expression "pcVar3 + 0x48" identifier + number_literal)) ;) })) (expression_statement "iVar2 = *param_2;" (assignment_expression "iVar2 = *param_2" identifier = (pointer_expression "*param_2" * identifier)) ;) (if_statement "if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }" if (parenthesized_expression "(iVar2 < 4)" ( (binary_expression "iVar2 < 4" identifier < number_literal) )) (compound_statement "{\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }" { (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "param_2[iVar2 + 1] = (int)pcVar3;" (assignment_expression "param_2[iVar2 + 1] = (int)pcVar3" (subscript_expression "param_2[iVar2 + 1]" identifier [ (binary_expression "iVar2 + 1" identifier + number_literal) ]) = (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (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 (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }" { (if_statement "if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;" if (parenthesized_expression "(*(int *)(pcVar3 + 8) != 0)" ( (binary_expression "*(int *)(pcVar3 + 8) != 0" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) != number_literal) )) (goto_statement "goto LAB_00146c88;" goto statement_identifier ;)) (expression_statement "*(int *)(pcVar3 + 8) = param_1;" (assignment_expression "*(int *)(pcVar3 + 8) = param_1" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) = identifier) ;) })) (expression_statement "pcVar3 = *(char **)(param_1 + 0x38);" (assignment_expression "pcVar3 = *(char **)(param_1 + 0x38)" identifier = (pointer_expression "*(char **)(param_1 + 0x38)" * (cast_expression "(char **)(param_1 + 0x38)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }" if (parenthesized_expression "(iVar2 + 1 != 4)" ( (binary_expression "iVar2 + 1 != 4" (binary_expression "iVar2 + 1" identifier + number_literal) != number_literal) )) (compound_statement "{\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }" { (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" identifier = (pointer_expression "*pcVar3" * identifier)) ;) (expression_statement "param_2[iVar2 + 2] = (int)pcVar3;" (assignment_expression "param_2[iVar2 + 2] = (int)pcVar3" (subscript_expression "param_2[iVar2 + 2]" identifier [ (binary_expression "iVar2 + 2" identifier + number_literal) ]) = (cast_expression "(int)pcVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*param_2 = iVar2 + 2;" (assignment_expression "*param_2 = iVar2 + 2" (pointer_expression "*param_2" * identifier) = (binary_expression "iVar2 + 2" identifier + number_literal)) ;) (if_statement "if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }" if (parenthesized_expression "(cVar1 == '\0')" ( (binary_expression "cVar1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }" { (if_statement "if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }" if (parenthesized_expression "(*(int *)(pcVar3 + 8) != 0)" ( (binary_expression "*(int *)(pcVar3 + 8) != 0" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }" { (labeled_statement "LAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);" statement_identifier : (expression_statement "FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);" (call_expression "FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2)" identifier (argument_list "("../../gold/token.h",0x7c,"add_writer",param_2)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (string_literal ""add_writer"" " string_content ") , identifier ))) ;)) })) (expression_statement "*(int *)(pcVar3 + 8) = param_1;" (assignment_expression "*(int *)(pcVar3 + 8) = param_1" (pointer_expression "*(int *)(pcVar3 + 8)" * (cast_expression "(int *)(pcVar3 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pcVar3 + 8)" ( (binary_expression "pcVar3 + 8" identifier + number_literal) )))) = identifier) ;) })) (return_statement "return;" return ;) })) })) (expression_statement "FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);" (call_expression "FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3)" identifier (argument_list "("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3)" ( (string_literal ""../../gold/token.h"" " string_content ") , number_literal , (pointer_expression "&DAT_00296fec" & identifier) , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (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 * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) })) (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 (binary_expression IDENT + LIT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ (binary_expression IDENT + LIT) ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (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 TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;)) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (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) , IDENT ))) ;) })))
(function_definition "void FUN_00146c00(int param_1,int *param_2)\n\n{\n  char cVar1;\n  int iVar2;\n  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    \n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}" (primitive_type "void") (function_declarator "FUN_00146c00(int param_1,int *param_2)" (identifier "FUN_00146c00") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (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  char *pcVar3;\n  \n  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);\n  if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }\n  iVar2 = *param_2;\n  if (iVar2 < 4) {\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }\n                    \n  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);\n}" ({ "{") (declaration "char cVar1;" (primitive_type "char") (identifier "cVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char *pcVar3;" (primitive_type "char") (pointer_declarator "*pcVar3" (* "*") (identifier "pcVar3")) (; ";")) (expression_statement "pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);" (assignment_expression "pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" (* "*") (cast_expression "(char **)(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x2c) + 0x1c)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + 0x1c" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (pcVar3 != (char *)0x0) {\n    pcVar3 = pcVar3 + 0x48;\n  }" (if "if") (parenthesized_expression "(pcVar3 != (char *)0x0)" (( "(") (binary_expression "pcVar3 != (char *)0x0" (identifier "pcVar3") (!= "!=") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    pcVar3 = pcVar3 + 0x48;\n  }" ({ "{") (expression_statement "pcVar3 = pcVar3 + 0x48;" (assignment_expression "pcVar3 = pcVar3 + 0x48" (identifier "pcVar3") (= "=") (binary_expression "pcVar3 + 0x48" (identifier "pcVar3") (+ "+") (number_literal "0x48"))) (; ";")) (} "}"))) (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 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }" (if "if") (parenthesized_expression "(iVar2 < 4)" (( "(") (binary_expression "iVar2 < 4" (identifier "iVar2") (< "<") (number_literal "4")) () ")")) (compound_statement "{\n    cVar1 = *pcVar3;\n    param_2[iVar2 + 1] = (int)pcVar3;\n    *param_2 = iVar2 + 1;\n    if (cVar1 == '\0') {\n      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }\n    pcVar3 = *(char **)(param_1 + 0x38);\n    if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }\n  }" ({ "{") (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" (identifier "cVar1") (= "=") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) (; ";")) (expression_statement "param_2[iVar2 + 1] = (int)pcVar3;" (assignment_expression "param_2[iVar2 + 1] = (int)pcVar3" (subscript_expression "param_2[iVar2 + 1]" (identifier "param_2") ([ "[") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (] "]")) (= "=") (cast_expression "(int)pcVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar3"))) (; ";")) (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 (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = 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 (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;\n      *(int *)(pcVar3 + 8) = param_1;\n    }" ({ "{") (if_statement "if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;" (if "if") (parenthesized_expression "(*(int *)(pcVar3 + 8) != 0)" (( "(") (binary_expression "*(int *)(pcVar3 + 8) != 0" (pointer_expression "*(int *)(pcVar3 + 8)" (* "*") (cast_expression "(int *)(pcVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 8)" (( "(") (binary_expression "pcVar3 + 8" (identifier "pcVar3") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00146c88;" (goto "goto") (statement_identifier "LAB_00146c88") (; ";"))) (expression_statement "*(int *)(pcVar3 + 8) = param_1;" (assignment_expression "*(int *)(pcVar3 + 8) = param_1" (pointer_expression "*(int *)(pcVar3 + 8)" (* "*") (cast_expression "(int *)(pcVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 8)" (( "(") (binary_expression "pcVar3 + 8" (identifier "pcVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}"))) (expression_statement "pcVar3 = *(char **)(param_1 + 0x38);" (assignment_expression "pcVar3 = *(char **)(param_1 + 0x38)" (identifier "pcVar3") (= "=") (pointer_expression "*(char **)(param_1 + 0x38)" (* "*") (cast_expression "(char **)(param_1 + 0x38)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if (iVar2 + 1 != 4) {\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }" (if "if") (parenthesized_expression "(iVar2 + 1 != 4)" (( "(") (binary_expression "iVar2 + 1 != 4" (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1")) (!= "!=") (number_literal "4")) () ")")) (compound_statement "{\n      cVar1 = *pcVar3;\n      param_2[iVar2 + 2] = (int)pcVar3;\n      *param_2 = iVar2 + 2;\n      if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }\n      return;\n    }" ({ "{") (expression_statement "cVar1 = *pcVar3;" (assignment_expression "cVar1 = *pcVar3" (identifier "cVar1") (= "=") (pointer_expression "*pcVar3" (* "*") (identifier "pcVar3"))) (; ";")) (expression_statement "param_2[iVar2 + 2] = (int)pcVar3;" (assignment_expression "param_2[iVar2 + 2] = (int)pcVar3" (subscript_expression "param_2[iVar2 + 2]" (identifier "param_2") ([ "[") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2")) (] "]")) (= "=") (cast_expression "(int)pcVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pcVar3"))) (; ";")) (expression_statement "*param_2 = iVar2 + 2;" (assignment_expression "*param_2 = iVar2 + 2" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "iVar2 + 2" (identifier "iVar2") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (cVar1 == '\0') {\n        if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = 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 (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }\n        *(int *)(pcVar3 + 8) = param_1;\n      }" ({ "{") (if_statement "if (*(int *)(pcVar3 + 8) != 0) {\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }" (if "if") (parenthesized_expression "(*(int *)(pcVar3 + 8) != 0)" (( "(") (binary_expression "*(int *)(pcVar3 + 8) != 0" (pointer_expression "*(int *)(pcVar3 + 8)" (* "*") (cast_expression "(int *)(pcVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 8)" (( "(") (binary_expression "pcVar3 + 8" (identifier "pcVar3") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);\n        }" ({ "{") (labeled_statement "LAB_00146c88:\n                    \n          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);" (statement_identifier "LAB_00146c88") (: ":") (expression_statement "FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);" (call_expression "FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2)" (identifier "FUN_00069d00") (argument_list "("../../gold/token.h",0x7c,"add_writer",param_2)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x7c") (, ",") (string_literal ""add_writer"" (" """) (string_content "add_writer") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";"))) (} "}"))) (expression_statement "*(int *)(pcVar3 + 8) = param_1;" (assignment_expression "*(int *)(pcVar3 + 8) = param_1" (pointer_expression "*(int *)(pcVar3 + 8)" (* "*") (cast_expression "(int *)(pcVar3 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(pcVar3 + 8)" (( "(") (binary_expression "pcVar3 + 8" (identifier "pcVar3") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "param_1")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (} "}"))) (expression_statement "FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);" (call_expression "FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3)" (identifier "FUN_00069d00") (argument_list "("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3)" (( "(") (string_literal ""../../gold/token.h"" (" """) (string_content "../../gold/token.h") (" """)) (, ",") (number_literal "0x12e") (, ",") (pointer_expression "&DAT_00296fec" (& "&") (identifier "DAT_00296fec")) (, ",") (identifier "pcVar3") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "DT": Some values do not have unique names */
/* DWARF original prototype: void locks(Gc_process_relocs * this, Task_locker * tl) */

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

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


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

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

void MASKED(int param_1,int *param_2)

{
  char cVar1;
  int iVar2;
  char *pcVar3;
  
  pcVar3 = *(char **)(*(int *)(param_1 + 0x2c) + 0x1c);
  if (pcVar3 != (char *)0x0) {
    pcVar3 = pcVar3 + 0x48;
  }
  iVar2 = *param_2;
  if (iVar2 < 4) {
    cVar1 = *pcVar3;
    param_2[iVar2 + 1] = (int)pcVar3;
    *param_2 = iVar2 + 1;
    if (cVar1 == '\0') {
      if (*(int *)(pcVar3 + 8) != 0) goto LAB_00146c88;
      *(int *)(pcVar3 + 8) = param_1;
    }
    pcVar3 = *(char **)(param_1 + 0x38);
    if (iVar2 + 1 != 4) {
      cVar1 = *pcVar3;
      param_2[iVar2 + 2] = (int)pcVar3;
      *param_2 = iVar2 + 2;
      if (cVar1 == '\0') {
        if (*(int *)(pcVar3 + 8) != 0) {
LAB_00146c88:
                    /* WARNING: Subroutine does not return */
          FUN_00069d00("../../gold/token.h",0x7c,"add_writer",param_2);
        }
        *(int *)(pcVar3 + 8) = param_1;
      }
      return;
    }
  }
                    /* WARNING: Subroutine does not return */
  FUN_00069d00("../../gold/token.h",0x12e,&DAT_00296fec,pcVar3);
}

