
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Memory_region * find_memory_region(Script_sections * this,
   Output_section_definition * section, bool find_vma_region, bool explicit_only,
   Output_section_definition * * previous_section_return) */

Memory_region * __thiscall
gold::Script_sections::find_memory_region
          (Script_sections *this,Output_section_definition *section,bool find_vma_region,
          bool explicit_only,Output_section_definition **previous_section_return)

{
  Output_section_definition *pOVar1;
  Memory_region *pMVar2;
  pointer ppOVar3;
  _func_int_varargs *p_Var4;
  bool bVar5;
  int iVar6;
  Output_section *pOVar7;
  pointer ppOVar8;
  Memory_region *this_00;
  Memory_regions *pMVar9;
  pointer ppMVar10;
  
  if (previous_section_return != (Output_section_definition **)0x0) {
    *previous_section_return = (Output_section_definition *)0x0;
  }
  if ((this->memory_regions_ != (Memory_regions *)0x0) &&
     (iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0)) {
    pMVar9 = this->memory_regions_;
    ppMVar10 = (pMVar9->
               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
               _M_impl._M_start;
    if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
        _M_impl._M_finish != ppMVar10) {
      this_00 = (Memory_region *)0x0;
LAB_0016d0c6:
      do {
        pMVar2 = *ppMVar10;
        if (find_vma_region) {
          ppOVar8 = (pMVar2->vma_sections_).
                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
                    ._M_impl._M_start;
          ppOVar3 = (pMVar2->vma_sections_).
                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
                    ._M_impl._M_finish;
          if (ppOVar8 != ppOVar3) {
            pOVar1 = *ppOVar8;
            do {
              if (section == pOVar1) {
LAB_0016d180:
                pMVar2->last_section_ = section;
                return pMVar2;
              }
              ppOVar8 = ppOVar8 + 1;
              if (ppOVar3 == ppOVar8) break;
              pOVar1 = *ppOVar8;
            } while( true );
          }
        }
        else {
          ppOVar8 = (pMVar2->lma_sections_).
                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
                    ._M_impl._M_start;
          ppOVar3 = (pMVar2->lma_sections_).
                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>
                    ._M_impl._M_finish;
          if (ppOVar8 != ppOVar3) {
            pOVar1 = *ppOVar8;
            while( true ) {
              if (section == pOVar1) goto LAB_0016d180;
              ppOVar8 = ppOVar8 + 1;
              if (ppOVar3 == ppOVar8) break;
              pOVar1 = *ppOVar8;
            }
          }
        }
        if (explicit_only) {
LAB_0016d121:
          ppMVar10 = ppMVar10 + 1;
          if ((pMVar9->
              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).
              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;
          goto LAB_0016d0c6;
        }
        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];
        if (p_Var4 == Output_section_definition::get_output_section) {
          pOVar7 = section->output_section_;
        }
        else {
          pOVar7 = (Output_section *)(*p_Var4)(section);
          pMVar9 = this->memory_regions_;
        }
        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))
        goto LAB_0016d121;
        this_00 = *ppMVar10;
        bVar5 = Memory_region::attributes_compatible
                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);
        if (!bVar5) {
          this_00 = (Memory_region *)0x0;
        }
        ppMVar10 = ppMVar10 + 1;
        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>
            )._M_impl._M_finish == ppMVar10) {
LAB_0016d129:
          if ((this_00 != (Memory_region *)0x0) &&
             (previous_section_return != (Output_section_definition **)0x0)) {
            *previous_section_return = this_00->last_section_;
          }
          return this_00;
        }
      } while( true );
    }
  }
  return (Memory_region *)0x0;
}



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

int FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int *piVar7;
  
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = 0;
  }
  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))
  {
    piVar6 = *(int **)(param_1 + 0xc);
    piVar7 = (int *)*piVar6;
    if ((int *)piVar6[1] != piVar7) {
      iVar3 = 0;
LAB_0016d0c6:
      do {
        iVar4 = *piVar7;
        if (param_3 == '\0') {
          piVar5 = *(int **)(iVar4 + 0x38);
          if (piVar5 != *(int **)(iVar4 + 0x3c)) {
            piVar1 = (int *)*piVar5;
            while( true ) {
              if (param_2 == piVar1) goto LAB_0016d180;
              piVar5 = piVar5 + 1;
              if (*(int **)(iVar4 + 0x3c) == piVar5) break;
              piVar1 = (int *)*piVar5;
            }
          }
        }
        else {
          piVar5 = *(int **)(iVar4 + 0x2c);
          if (piVar5 != *(int **)(iVar4 + 0x30)) {
            piVar1 = (int *)*piVar5;
            do {
              if (param_2 == piVar1) {
LAB_0016d180:
                *(int **)(iVar4 + 0x44) = param_2;
                return iVar4;
              }
              piVar5 = piVar5 + 1;
              if (*(int **)(iVar4 + 0x30) == piVar5) break;
              piVar1 = (int *)*piVar5;
            } while( true );
          }
        }
        if (param_4 != '\0') {
LAB_0016d121:
          piVar7 = piVar7 + 1;
          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;
          goto LAB_0016d0c6;
        }
        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {
          iVar4 = param_2[0x11];
        }
        else {
          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);
          piVar6 = *(int **)(param_1 + 0xc);
        }
        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;
        iVar3 = *piVar7;
        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),
                             *(undefined4 *)(iVar4 + 0x50),0);
        if (cVar2 == '\0') {
          iVar3 = 0;
        }
        piVar7 = piVar7 + 1;
        if ((int *)piVar6[1] == piVar7) {
LAB_0016d129:
          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {
            *param_5 = *(undefined4 *)(iVar3 + 0x44);
          }
          return iVar3;
        }
      } while( true );
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00036db0
ADD EBX,0x23cfb7
SUB ESP,0x1c
MOVZX EAX,byte ptr [ESP + 0x38]
MOV ECX,dword ptr [ESP + 0x40]
MOV ESI,dword ptr [ESP + 0x34]
MOV byte ptr [ESP + 0x6],AL
MOVZX EAX,byte ptr [ESP + 0x3c]
MOV byte ptr [ESP + 0x7],AL
TEST ECX,ECX
JZ 0x0016d07a
MOV EAX,dword ptr [ESP + 0x40]
MOV dword ptr [EAX],0x0
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [EAX + 0xc]
TEST EDX,EDX
JZ 0x0016d190
SUB ESP,0x8
LEA EAX,[EBX + 0xfff05364]
PUSH EAX
LEA EAX,[ESI + 0x4]
PUSH EAX
CALL 0x002075e0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0016d190
MOV EAX,dword ptr [ESP + 0x30]
MOV EBP,dword ptr [EAX + 0xc]
MOV EDI,dword ptr [EBP]
CMP dword ptr [EBP + 0x4],EDI
JZ 0x0016d190
LEA EAX,[EBX + 0xffdc9910]
XOR EDX,EDX
MOV dword ptr [ESP + 0x8],EAX
CMP byte ptr [ESP + 0x6],0x0
MOV EAX,dword ptr [EDI]
JZ 0x0016d150
MOV ECX,dword ptr [EAX + 0x2c]
MOV EBX,dword ptr [EAX + 0x30]
CMP ECX,EBX
JZ 0x0016d100
CMP ESI,dword ptr [ECX]
JZ 0x0016d180
ADD ECX,0x4
JMP 0x0016d0fc
ADD ECX,0x4
CMP ESI,dword ptr [ECX + -0x4]
JZ 0x0016d180
CMP EBX,ECX
JNZ 0x0016d0f0
CMP byte ptr [ESP + 0x7],0x0
JNZ 0x0016d121
MOV EAX,dword ptr [ESI]
MOV EAX,dword ptr [EAX + 0x38]
CMP EAX,dword ptr [ESP + 0x8]
JNZ 0x0016d1e0
MOV EAX,dword ptr [ESI + 0x44]
TEST EDX,EDX
JNZ 0x0016d121
TEST EAX,EAX
JNZ 0x0016d1a0
ADD EDI,0x4
CMP dword ptr [EBP + 0x4],EDI
JNZ 0x0016d0c6
TEST EDX,EDX
JZ 0x0016d1fd
MOV EAX,dword ptr [ESP + 0x40]
TEST EAX,EAX
JZ 0x0016d1fd
MOV EAX,dword ptr [EDX + 0x44]
MOV EDI,dword ptr [ESP + 0x40]
MOV dword ptr [EDI],EAX
MOV EAX,EDX
JMP 0x0016d183
MOV ECX,dword ptr [EAX + 0x38]
MOV EBX,dword ptr [EAX + 0x3c]
CMP ECX,EBX
JZ 0x0016d100
CMP ESI,dword ptr [ECX]
JZ 0x0016d180
ADD ECX,0x4
JMP 0x0016d170
ADD ECX,0x4
CMP ESI,dword ptr [ECX + -0x4]
JZ 0x0016d180
CMP EBX,ECX
JNZ 0x0016d168
JMP 0x0016d100
MOV dword ptr [EAX + 0x44],ESI
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EDX,dword ptr [EDI]
MOV ECX,dword ptr [EAX + 0x50]
SUB ESP,0xc
XOR EBX,EBX
PUSH EBX
PUSH ECX
PUSH dword ptr [EAX + 0x58]
PUSH dword ptr [EAX + 0x54]
PUSH EDX
MOV dword ptr [ESP + 0x2c],EDX
CALL 0x0016c1c0
ADD ESP,0x20
MOV EDX,dword ptr [ESP + 0xc]
TEST AL,AL
MOV EAX,0x0
CMOVZ EDX,EAX
ADD EDI,0x4
CMP dword ptr [EBP + 0x4],EDI
JNZ 0x0016d0c6
JMP 0x0016d129
MOV dword ptr [ESP + 0xc],EDX
SUB ESP,0xc
PUSH ESI
CALL EAX
MOV EDX,dword ptr [ESP + 0x40]
ADD ESP,0x10
MOV EBP,dword ptr [EDX + 0xc]
MOV EDX,dword ptr [ESP + 0xc]
JMP 0x0016d119
MOV EAX,EDX
JMP 0x0016d183
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "int FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)" identifier (parameter_list "(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char param_3" primitive_type identifier) , (parameter_declaration "char param_4" primitive_type identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = 0;\n  }" { (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) })) (if_statement "if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))" ( (binary_expression "(*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0" (assignment_expression "iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/")" identifier = (call_expression "FUN_002075e0(param_2 + 1,"/DISCARD/")" identifier (argument_list "(param_2 + 1,"/DISCARD/")" ( (binary_expression "param_2 + 1" identifier + number_literal) , (string_literal ""/DISCARD/"" " string_content ") )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "piVar6 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar6 = *(int **)(param_1 + 0xc)" identifier = (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar7 = (int *)*piVar6;" (assignment_expression "piVar7 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }" if (parenthesized_expression "((int *)piVar6[1] != piVar7)" ( (binary_expression "(int *)piVar6[1] != piVar7" (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) != identifier) )) (compound_statement "{\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );" statement_identifier : (do_statement "do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );" do (compound_statement "{\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      }" { (expression_statement "iVar4 = *piVar7;" (assignment_expression "iVar4 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }" { (expression_statement "piVar5 = *(int **)(iVar4 + 0x38);" (assignment_expression "piVar5 = *(int **)(iVar4 + 0x38)" identifier = (pointer_expression "*(int **)(iVar4 + 0x38)" * (cast_expression "(int **)(iVar4 + 0x38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }" if (parenthesized_expression "(piVar5 != *(int **)(iVar4 + 0x3c))" ( (binary_expression "piVar5 != *(int **)(iVar4 + 0x3c)" identifier != (pointer_expression "*(int **)(iVar4 + 0x3c)" * (cast_expression "(int **)(iVar4 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) )) (compound_statement "{\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }" { (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (while_statement "while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" { (if_statement "if (param_2 == piVar1) goto LAB_0016d180;" if (parenthesized_expression "(param_2 == piVar1)" ( (binary_expression "param_2 == piVar1" identifier == identifier) )) (goto_statement "goto LAB_0016d180;" goto statement_identifier ;)) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(iVar4 + 0x3c) == piVar5) break;" if (parenthesized_expression "(*(int **)(iVar4 + 0x3c) == piVar5)" ( (binary_expression "*(int **)(iVar4 + 0x3c) == piVar5" (pointer_expression "*(int **)(iVar4 + 0x3c)" * (cast_expression "(int **)(iVar4 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) })) })) }) (else_clause "else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" else (compound_statement "{\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" { (expression_statement "piVar5 = *(int **)(iVar4 + 0x2c);" (assignment_expression "piVar5 = *(int **)(iVar4 + 0x2c)" identifier = (pointer_expression "*(int **)(iVar4 + 0x2c)" * (cast_expression "(int **)(iVar4 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }" if (parenthesized_expression "(piVar5 != *(int **)(iVar4 + 0x30))" ( (binary_expression "piVar5 != *(int **)(iVar4 + 0x30)" identifier != (pointer_expression "*(int **)(iVar4 + 0x30)" * (cast_expression "(int **)(iVar4 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) )) (compound_statement "{\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }" { (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (do_statement "do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );" do (compound_statement "{\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" { (if_statement "if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }" if (parenthesized_expression "(param_2 == piVar1)" ( (binary_expression "param_2 == piVar1" identifier == identifier) )) (compound_statement "{\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }" { (labeled_statement "LAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;" statement_identifier : (expression_statement "*(int **)(iVar4 + 0x44) = param_2;" (assignment_expression "*(int **)(iVar4 + 0x44) = param_2" (pointer_expression "*(int **)(iVar4 + 0x44)" * (cast_expression "(int **)(iVar4 + 0x44)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) = identifier) ;)) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(iVar4 + 0x30) == piVar5) break;" if (parenthesized_expression "(*(int **)(iVar4 + 0x30) == piVar5)" ( (binary_expression "*(int **)(iVar4 + 0x30) == piVar5" (pointer_expression "*(int **)(iVar4 + 0x30)" * (cast_expression "(int **)(iVar4 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) }))) (if_statement "if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" if (parenthesized_expression "(param_4 != '\0')" ( (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" { (labeled_statement "LAB_0016d121:\n          piVar7 = piVar7 + 1;" statement_identifier : (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;)) (if_statement "if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;" if (parenthesized_expression "((int *)piVar6[1] == piVar7)" ( (binary_expression "(int *)piVar6[1] == piVar7" (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_0016d129;" goto statement_identifier ;)) (goto_statement "goto LAB_0016d0c6;" goto statement_identifier ;) })) (if_statement "if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" if (parenthesized_expression "(*(code **)(*param_2 + 0x38) == FUN_00173910)" ( (binary_expression "*(code **)(*param_2 + 0x38) == FUN_00173910" (pointer_expression "*(code **)(*param_2 + 0x38)" * (cast_expression "(code **)(*param_2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x38)" ( (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n          iVar4 = param_2[0x11];\n        }" { (expression_statement "iVar4 = param_2[0x11];" (assignment_expression "iVar4 = param_2[0x11]" identifier = (subscript_expression "param_2[0x11]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" else (compound_statement "{\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" { (expression_statement "iVar4 = (**(code **)(*param_2 + 0x38))(param_2);" (assignment_expression "iVar4 = (**(code **)(*param_2 + 0x38))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0x38))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x38))" ( (pointer_expression "**(code **)(*param_2 + 0x38)" * (pointer_expression "*(code **)(*param_2 + 0x38)" * (cast_expression "(code **)(*param_2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x38)" ( (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "piVar6 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar6 = *(int **)(param_1 + 0xc)" identifier = (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;" if (parenthesized_expression "((iVar3 != 0) || (iVar4 == 0))" ( (binary_expression "(iVar3 != 0) || (iVar4 == 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_0016d121;" goto statement_identifier ;)) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);" (assignment_expression "cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" identifier = (call_expression "FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" identifier (argument_list "(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" ( identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x54)" * (cast_expression "(undefined4 *)(iVar4 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" * (cast_expression "(undefined4 *)(iVar4 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x58)" ( (binary_expression "iVar4 + 0x58" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0x50)" * (cast_expression "(undefined4 *)(iVar4 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x50)" ( (binary_expression "iVar4 + 0x50" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (cVar2 == '\0') {\n          iVar3 = 0;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar3 = 0;\n        }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }" if (parenthesized_expression "((int *)piVar6[1] == piVar7)" ( (binary_expression "(int *)piVar6[1] == piVar7" (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }" { (labeled_statement "LAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" statement_identifier : (if_statement "if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" if (parenthesized_expression "((iVar3 != 0) && (param_5 != (undefined4 *)0x0))" ( (binary_expression "(iVar3 != 0) && (param_5 != (undefined4 *)0x0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" { (expression_statement "*param_5 = *(undefined4 *)(iVar3 + 0x44);" (assignment_expression "*param_5 = *(undefined4 *)(iVar3 + 0x44)" (pointer_expression "*param_5" * identifier) = (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" * (cast_expression "(undefined4 *)(iVar3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) ))))) ;) }))) (return_statement "return iVar3;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* DWARF original prototype: Memory_region * find_memory_region(Script_sections * this,\n   Output_section_definition * section, bool find_vma_region, bool explicit_only,\n   Output_section_definition * * previous_section_return) */\n\nMemory_region * __thiscall\ngold::Script_sections::find_memory_region\n          (Script_sections *this,Output_section_definition *section,bool find_vma_region,\n          bool explicit_only,Output_section_definition **previous_section_return)\n\n{\n  Output_section_definition *pOVar1;\n  Memory_region *pMVar2;\n  pointer ppOVar3;\n  _func_int_varargs *p_Var4;\n  bool bVar5;\n  int iVar6;\n  Output_section *pOVar7;\n  pointer ppOVar8;\n  Memory_region *this_00;\n  Memory_regions *pMVar9;\n  pointer ppMVar10;\n  \n  if (previous_section_return != (Output_section_definition **)0x0) {\n    *previous_section_return = (Output_section_definition *)0x0;\n  }\n  if ((this->memory_regions_ != (Memory_regions *)0x0) &&\n     (iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0)) {\n    pMVar9 = this->memory_regions_;\n    ppMVar10 = (pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start;\n    if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10) {\n      this_00 = (Memory_region *)0x0;\nLAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );\n    }\n  }\n  return (Memory_region *)0x0;\n}\n\n" comment comment (ERROR "Memory_region * __thiscall\ngold::Script_sections::find_memory_region\n          (Script_sections *this,Output_section_definition *section,bool find_vma_region,\n          bool explicit_only,Output_section_definition **previous_section_return)" (binary_expression "Memory_region * __thiscall\ngold::Script_sections::find_memory_region\n          (Script_sections *this,Output_section_definition *section,bool find_vma_region,\n          bool explicit_only,Output_section_definition **previous_section_return)" identifier * (call_expression "__thiscall\ngold::Script_sections::find_memory_region\n          (Script_sections *this,Output_section_definition *section,bool find_vma_region,\n          bool explicit_only,Output_section_definition **previous_section_return)" identifier (ERROR "gold::Script_sections::find_memory_region" identifier : : identifier : : identifier) (argument_list "(Script_sections *this,Output_section_definition *section,bool find_vma_region,\n          bool explicit_only,Output_section_definition **previous_section_return)" ( (binary_expression "Script_sections *this" identifier * identifier) , (binary_expression "Output_section_definition *section" identifier * identifier) , (ERROR "bool" identifier) identifier , (ERROR "bool" identifier) identifier , (binary_expression "Output_section_definition **previous_section_return" identifier * (pointer_expression "*previous_section_return" * identifier)) ))))) (compound_statement "{\n  Output_section_definition *pOVar1;\n  Memory_region *pMVar2;\n  pointer ppOVar3;\n  _func_int_varargs *p_Var4;\n  bool bVar5;\n  int iVar6;\n  Output_section *pOVar7;\n  pointer ppOVar8;\n  Memory_region *this_00;\n  Memory_regions *pMVar9;\n  pointer ppMVar10;\n  \n  if (previous_section_return != (Output_section_definition **)0x0) {\n    *previous_section_return = (Output_section_definition *)0x0;\n  }\n  if ((this->memory_regions_ != (Memory_regions *)0x0) &&\n     (iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0)) {\n    pMVar9 = this->memory_regions_;\n    ppMVar10 = (pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start;\n    if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10) {\n      this_00 = (Memory_region *)0x0;\nLAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );\n    }\n  }\n  return (Memory_region *)0x0;\n}" { (declaration "Output_section_definition *pOVar1;" type_identifier (pointer_declarator "*pOVar1" * identifier) ;) (declaration "Memory_region *pMVar2;" type_identifier (pointer_declarator "*pMVar2" * identifier) ;) (declaration "pointer ppOVar3;" type_identifier identifier ;) (declaration "_func_int_varargs *p_Var4;" type_identifier (pointer_declarator "*p_Var4" * identifier) ;) (declaration "bool bVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "Output_section *pOVar7;" type_identifier (pointer_declarator "*pOVar7" * identifier) ;) (declaration "pointer ppOVar8;" type_identifier identifier ;) (declaration "Memory_region *this_00;" type_identifier (pointer_declarator "*this_00" * identifier) ;) (declaration "Memory_regions *pMVar9;" type_identifier (pointer_declarator "*pMVar9" * identifier) ;) (declaration "pointer ppMVar10;" type_identifier identifier ;) (if_statement "if (previous_section_return != (Output_section_definition **)0x0) {\n    *previous_section_return = (Output_section_definition *)0x0;\n  }" if (parenthesized_expression "(previous_section_return != (Output_section_definition **)0x0)" ( (binary_expression "previous_section_return != (Output_section_definition **)0x0" identifier != (cast_expression "(Output_section_definition **)0x0" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    *previous_section_return = (Output_section_definition *)0x0;\n  }" { (expression_statement "*previous_section_return = (Output_section_definition *)0x0;" (assignment_expression "*previous_section_return = (Output_section_definition *)0x0" (pointer_expression "*previous_section_return" * identifier) = (cast_expression "(Output_section_definition *)0x0" ( (type_descriptor "Output_section_definition *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (if_statement "if ((this->memory_regions_ != (Memory_regions *)0x0) &&\n     (iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0)) {\n    pMVar9 = this->memory_regions_;\n    ppMVar10 = (pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start;\n    if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10) {\n      this_00 = (Memory_region *)0x0;\nLAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "((this->memory_regions_ != (Memory_regions *)0x0) &&\n     (iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0))" ( (binary_expression "(this->memory_regions_ != (Memory_regions *)0x0) &&\n     (iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0)" (parenthesized_expression "(this->memory_regions_ != (Memory_regions *)0x0)" ( (binary_expression "this->memory_regions_ != (Memory_regions *)0x0" (field_expression "this->memory_regions_" identifier -> field_identifier) != (cast_expression "(Memory_regions *)0x0" ( (type_descriptor "Memory_regions *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 = std::string::compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0)" ( (ERROR "iVar6 = std::string::" (assignment_expression "iVar6 = std" identifier = identifier) : : identifier : :) (comma_expression "compare((string *)&section->name_,"/DISCARD/"), iVar6 != 0" (call_expression "compare((string *)&section->name_,"/DISCARD/")" identifier (argument_list "((string *)&section->name_,"/DISCARD/")" ( (cast_expression "(string *)&section->name_" ( (type_descriptor "string *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&section->name_" & (field_expression "section->name_" identifier -> field_identifier))) , (string_literal ""/DISCARD/"" " string_content ") ))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    pMVar9 = this->memory_regions_;\n    ppMVar10 = (pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start;\n    if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10) {\n      this_00 = (Memory_region *)0x0;\nLAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "pMVar9 = this->memory_regions_;" (assignment_expression "pMVar9 = this->memory_regions_" identifier = (field_expression "this->memory_regions_" identifier -> field_identifier)) ;) (expression_statement "ppMVar10 = (pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start;" (assignment_expression "ppMVar10 = (pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start" identifier = (field_expression "(pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl._M_start" (field_expression "(pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n               _M_impl" (parenthesized_expression "(pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (ERROR "pMVar9->\n               super__Vector_base<gold::Memory_region*,_std::allocator<gold::" (comma_expression "pMVar9->\n               super__Vector_base<gold::Memory_region*,_std" (binary_expression "pMVar9->\n               super__Vector_base<gold::Memory_region*" (binary_expression "pMVar9->\n               super__Vector_base<gold" (field_expression "pMVar9->\n               super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * identifier) , identifier) : : (binary_expression "allocator<gold" identifier < identifier) : :) (binary_expression "Memory_region*>_>" (binary_expression "Memory_region*>_" identifier * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier)) ;) (if_statement "if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10) {\n      this_00 = (Memory_region *)0x0;\nLAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );\n    }" if (parenthesized_expression "((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10)" ( (binary_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish != ppMVar10" (field_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl._M_finish" (field_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n        _M_impl" (parenthesized_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std" (binary_expression "pMVar9->super__Vector_base<gold" (field_expression "pMVar9->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) != identifier) )) (compound_statement "{\n      this_00 = (Memory_region *)0x0;\nLAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );\n    }" { (expression_statement "this_00 = (Memory_region *)0x0;" (assignment_expression "this_00 = (Memory_region *)0x0" identifier = (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0016d0c6:\n      do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );" statement_identifier : (do_statement "do {\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      } while( true );" do (compound_statement "{\n        pMVar2 = *ppMVar10;\n        if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }\n        if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];\n        if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }\n        if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;\n        this_00 = *ppMVar10;\n        bVar5 = Memory_region::attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);\n        if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }\n        ppMVar10 = ppMVar10 + 1;\n        if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }\n      }" { (expression_statement "pMVar2 = *ppMVar10;" (assignment_expression "pMVar2 = *ppMVar10" identifier = (pointer_expression "*ppMVar10" * identifier)) ;) (if_statement "if (find_vma_region) {\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }\n        else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }" if (parenthesized_expression "(find_vma_region)" ( identifier )) (compound_statement "{\n          ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }\n        }" { (expression_statement "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;" (field_expression "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start" (field_expression "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl" (binary_expression "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std" (assignment_expression "ppOVar8 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold" identifier = (binary_expression "(pMVar2->vma_sections_).\n                    super__Vector_base<gold" (field_expression "(pMVar2->vma_sections_).\n                    super__Vector_base" (parenthesized_expression "(pMVar2->vma_sections_)" ( (field_expression "pMVar2->vma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;" (field_expression "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish" (field_expression "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl" (binary_expression "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std" (assignment_expression "ppOVar3 = (pMVar2->vma_sections_).\n                    super__Vector_base<gold" identifier = (binary_expression "(pMVar2->vma_sections_).\n                    super__Vector_base<gold" (field_expression "(pMVar2->vma_sections_).\n                    super__Vector_base" (parenthesized_expression "(pMVar2->vma_sections_)" ( (field_expression "pMVar2->vma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }" if (parenthesized_expression "(ppOVar8 != ppOVar3)" ( (binary_expression "ppOVar8 != ppOVar3" identifier != identifier) )) (compound_statement "{\n            pOVar1 = *ppOVar8;\n            do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );\n          }" { (expression_statement "pOVar1 = *ppOVar8;" (assignment_expression "pOVar1 = *ppOVar8" identifier = (pointer_expression "*ppOVar8" * identifier)) ;) (do_statement "do {\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            } while( true );" do (compound_statement "{\n              if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }" { (if_statement "if (section == pOVar1) {\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }" if (parenthesized_expression "(section == pOVar1)" ( (binary_expression "section == pOVar1" identifier == identifier) )) (compound_statement "{\nLAB_0016d180:\n                pMVar2->last_section_ = section;\n                return pMVar2;\n              }" { (labeled_statement "LAB_0016d180:\n                pMVar2->last_section_ = section;" statement_identifier : (expression_statement "pMVar2->last_section_ = section;" (assignment_expression "pMVar2->last_section_ = section" (field_expression "pMVar2->last_section_" identifier -> field_identifier) = identifier) ;)) (return_statement "return pMVar2;" return identifier ;) })) (expression_statement "ppOVar8 = ppOVar8 + 1;" (assignment_expression "ppOVar8 = ppOVar8 + 1" identifier = (binary_expression "ppOVar8 + 1" identifier + number_literal)) ;) (if_statement "if (ppOVar3 == ppOVar8) break;" if (parenthesized_expression "(ppOVar3 == ppOVar8)" ( (binary_expression "ppOVar3 == ppOVar8" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pOVar1 = *ppOVar8;" (assignment_expression "pOVar1 = *ppOVar8" identifier = (pointer_expression "*ppOVar8" * identifier)) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) }) (else_clause "else {\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }" else (compound_statement "{\n          ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;\n          ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;\n          if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }\n        }" { (expression_statement "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start;" (field_expression "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_start" (field_expression "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl" (binary_expression "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std" (assignment_expression "ppOVar8 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold" identifier = (binary_expression "(pMVar2->lma_sections_).\n                    super__Vector_base<gold" (field_expression "(pMVar2->lma_sections_).\n                    super__Vector_base" (parenthesized_expression "(pMVar2->lma_sections_)" ( (field_expression "pMVar2->lma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (expression_statement "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish;" (field_expression "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl._M_finish" (field_expression "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_>\n                    ._M_impl" (binary_expression "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold::Output_section_definition*>_" (binary_expression "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std::allocator<gold" (binary_expression "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold::Output_section_definition*,_std" (assignment_expression "ppOVar3 = (pMVar2->lma_sections_).\n                    super__Vector_base<gold" identifier = (binary_expression "(pMVar2->lma_sections_).\n                    super__Vector_base<gold" (field_expression "(pMVar2->lma_sections_).\n                    super__Vector_base" (parenthesized_expression "(pMVar2->lma_sections_)" ( (field_expression "pMVar2->lma_sections_" identifier -> field_identifier) )) . field_identifier) < identifier)) (ERROR "::Output_section_definition" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Output_section_definition" : : identifier) * (ERROR ">" >) identifier) (ERROR ">" >) . field_identifier) . field_identifier) ;) (if_statement "if (ppOVar8 != ppOVar3) {\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }" if (parenthesized_expression "(ppOVar8 != ppOVar3)" ( (binary_expression "ppOVar8 != ppOVar3" identifier != identifier) )) (compound_statement "{\n            pOVar1 = *ppOVar8;\n            while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }\n          }" { (expression_statement "pOVar1 = *ppOVar8;" (assignment_expression "pOVar1 = *ppOVar8" identifier = (pointer_expression "*ppOVar8" * identifier)) ;) (while_statement "while( true ) {\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if (section == pOVar1) goto LAB_0016d180;\n              ppOVar8 = ppOVar8 + 1;\n              if (ppOVar3 == ppOVar8) break;\n              pOVar1 = *ppOVar8;\n            }" { (if_statement "if (section == pOVar1) goto LAB_0016d180;" if (parenthesized_expression "(section == pOVar1)" ( (binary_expression "section == pOVar1" identifier == identifier) )) (goto_statement "goto LAB_0016d180;" goto statement_identifier ;)) (expression_statement "ppOVar8 = ppOVar8 + 1;" (assignment_expression "ppOVar8 = ppOVar8 + 1" identifier = (binary_expression "ppOVar8 + 1" identifier + number_literal)) ;) (if_statement "if (ppOVar3 == ppOVar8) break;" if (parenthesized_expression "(ppOVar3 == ppOVar8)" ( (binary_expression "ppOVar3 == ppOVar8" identifier == identifier) )) (break_statement "break;" break ;)) (expression_statement "pOVar1 = *ppOVar8;" (assignment_expression "pOVar1 = *ppOVar8" identifier = (pointer_expression "*ppOVar8" * identifier)) ;) })) })) }))) (if_statement "if (explicit_only) {\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" if (parenthesized_expression "(explicit_only)" ( identifier )) (compound_statement "{\nLAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;\n          if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" { (labeled_statement "LAB_0016d121:\n          ppMVar10 = ppMVar10 + 1;" statement_identifier : (expression_statement "ppMVar10 = ppMVar10 + 1;" (assignment_expression "ppMVar10 = ppMVar10 + 1" identifier = (binary_expression "ppMVar10 + 1" identifier + number_literal)) ;)) (if_statement "if ((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10) goto LAB_0016d129;" if (parenthesized_expression "((pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10)" ( (binary_expression "(pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish == ppMVar10" (field_expression "(pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl._M_finish" (field_expression "(pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>).\n              _M_impl" (parenthesized_expression "(pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>)" ( (binary_expression "pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "pMVar9->\n              super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "pMVar9->\n              super__Vector_base<gold::Memory_region*,_std" (binary_expression "pMVar9->\n              super__Vector_base<gold" (field_expression "pMVar9->\n              super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) == identifier) )) (goto_statement "goto LAB_0016d129;" goto statement_identifier ;)) (goto_statement "goto LAB_0016d0c6;" goto statement_identifier ;) })) (expression_statement "p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe];" (assignment_expression "p_Var4 = (section->super_Sections_element)._vptr_Sections_element[0xe]" identifier = (subscript_expression "(section->super_Sections_element)._vptr_Sections_element[0xe]" (field_expression "(section->super_Sections_element)._vptr_Sections_element" (parenthesized_expression "(section->super_Sections_element)" ( (field_expression "section->super_Sections_element" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (if_statement "if (p_Var4 == Output_section_definition::get_output_section) {\n          pOVar7 = section->output_section_;\n        }\n        else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }" if (parenthesized_expression "(p_Var4 == Output_section_definition::get_output_section)" ( (binary_expression "p_Var4 == Output_section_definition" identifier == identifier) (ERROR "::get_output_section" : : identifier) )) (compound_statement "{\n          pOVar7 = section->output_section_;\n        }" { (expression_statement "pOVar7 = section->output_section_;" (assignment_expression "pOVar7 = section->output_section_" identifier = (field_expression "section->output_section_" identifier -> field_identifier)) ;) }) (else_clause "else {\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }" else (compound_statement "{\n          pOVar7 = (Output_section *)(*p_Var4)(section);\n          pMVar9 = this->memory_regions_;\n        }" { (expression_statement "pOVar7 = (Output_section *)(*p_Var4)(section);" (assignment_expression "pOVar7 = (Output_section *)(*p_Var4)(section)" identifier = (cast_expression "(Output_section *)(*p_Var4)(section)" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*p_Var4)(section)" (parenthesized_expression "(*p_Var4)" ( (pointer_expression "*p_Var4" * identifier) )) (argument_list "(section)" ( identifier ))))) ;) (expression_statement "pMVar9 = this->memory_regions_;" (assignment_expression "pMVar9 = this->memory_regions_" identifier = (field_expression "this->memory_regions_" identifier -> field_identifier)) ;) }))) (if_statement "if ((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))\n        goto LAB_0016d121;" if (parenthesized_expression "((this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0))" ( (binary_expression "(this_00 != (Memory_region *)0x0) || (pOVar7 == (Output_section *)0x0)" (parenthesized_expression "(this_00 != (Memory_region *)0x0)" ( (binary_expression "this_00 != (Memory_region *)0x0" identifier != (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pOVar7 == (Output_section *)0x0)" ( (binary_expression "pOVar7 == (Output_section *)0x0" identifier == (cast_expression "(Output_section *)0x0" ( (type_descriptor "Output_section *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (goto_statement "goto LAB_0016d121;" goto statement_identifier ;)) (expression_statement "this_00 = *ppMVar10;" (assignment_expression "this_00 = *ppMVar10" identifier = (pointer_expression "*ppMVar10" * identifier)) ;) (ERROR "bVar5 = Memory_region::" (assignment_expression "bVar5 = Memory_region" identifier = identifier) : :) (expression_statement "attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_);" (call_expression "attributes_compatible\n                          (this_00,pOVar7->flags_,(ulonglong)pOVar7->type_)" identifier (argument_list "(this_00,pOVar7->flags_,(ulonglong)pOVar7->type_)" ( identifier , (field_expression "pOVar7->flags_" identifier -> field_identifier) , (cast_expression "(ulonglong)pOVar7->type_" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "pOVar7->type_" identifier -> field_identifier)) ))) ;) (if_statement "if (!bVar5) {\n          this_00 = (Memory_region *)0x0;\n        }" if (parenthesized_expression "(!bVar5)" ( (unary_expression "!bVar5" ! identifier) )) (compound_statement "{\n          this_00 = (Memory_region *)0x0;\n        }" { (expression_statement "this_00 = (Memory_region *)0x0;" (assignment_expression "this_00 = (Memory_region *)0x0" identifier = (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "ppMVar10 = ppMVar10 + 1;" (assignment_expression "ppMVar10 = ppMVar10 + 1" identifier = (binary_expression "ppMVar10 + 1" identifier + number_literal)) ;) (if_statement "if ((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10) {\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }" if (parenthesized_expression "((pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10)" ( (binary_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish == ppMVar10" (field_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl._M_finish" (field_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )._M_impl" (parenthesized_expression "(pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>\n            )" ( (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_>" (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold::Memory_region*>_" (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std::allocator<gold" (binary_expression "pMVar9->super__Vector_base<gold::Memory_region*,_std" (binary_expression "pMVar9->super__Vector_base<gold" (field_expression "pMVar9->super__Vector_base" identifier -> field_identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR "," ,) identifier) (ERROR "::allocator" : : identifier) < identifier) (ERROR "::Memory_region" : : identifier) * (ERROR ">" >) identifier) > identifier) )) . field_identifier) . field_identifier) == identifier) )) (compound_statement "{\nLAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }\n          return this_00;\n        }" { (labeled_statement "LAB_0016d129:\n          if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }" statement_identifier : (if_statement "if ((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)) {\n            *previous_section_return = this_00->last_section_;\n          }" if (parenthesized_expression "((this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0))" ( (binary_expression "(this_00 != (Memory_region *)0x0) &&\n             (previous_section_return != (Output_section_definition **)0x0)" (parenthesized_expression "(this_00 != (Memory_region *)0x0)" ( (binary_expression "this_00 != (Memory_region *)0x0" identifier != (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(previous_section_return != (Output_section_definition **)0x0)" ( (binary_expression "previous_section_return != (Output_section_definition **)0x0" identifier != (cast_expression "(Output_section_definition **)0x0" ( (type_descriptor "Output_section_definition **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ))) )) (compound_statement "{\n            *previous_section_return = this_00->last_section_;\n          }" { (expression_statement "*previous_section_return = this_00->last_section_;" (assignment_expression "*previous_section_return = this_00->last_section_" (pointer_expression "*previous_section_return" * identifier) = (field_expression "this_00->last_section_" identifier -> field_identifier)) ;) }))) (return_statement "return this_00;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) })) })) (return_statement "return (Memory_region *)0x0;" return (cast_expression "(Memory_region *)0x0" ( (type_descriptor "Memory_region *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) }))
(translation_unit "int FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}\n\n" (function_definition "int FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}" primitive_type (function_declarator "FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)" identifier (parameter_list "(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "char param_3" primitive_type identifier) , (parameter_declaration "char param_4" primitive_type identifier) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int *piVar5;" primitive_type (pointer_declarator "*piVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }" if (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_5 = 0;\n  }" { (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) })) (if_statement "if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }" if (parenthesized_expression "((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))" ( (binary_expression "(*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" ( (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0)" ( (comma_expression "iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0" (assignment_expression "iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/")" identifier = (call_expression "FUN_002075e0(param_2 + 1,"/DISCARD/")" identifier (argument_list "(param_2 + 1,"/DISCARD/")" ( (binary_expression "param_2 + 1" identifier + number_literal) , (string_literal ""/DISCARD/"" " string_content ") )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }" { (expression_statement "piVar6 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar6 = *(int **)(param_1 + 0xc)" identifier = (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "piVar7 = (int *)*piVar6;" (assignment_expression "piVar7 = (int *)*piVar6" identifier = (cast_expression "(int *)*piVar6" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar6" * identifier))) ;) (if_statement "if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }" if (parenthesized_expression "((int *)piVar6[1] != piVar7)" ( (binary_expression "(int *)piVar6[1] != piVar7" (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) != identifier) )) (compound_statement "{\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) (labeled_statement "LAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );" statement_identifier : (do_statement "do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );" do (compound_statement "{\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      }" { (expression_statement "iVar4 = *piVar7;" (assignment_expression "iVar4 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (if_statement "if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" if (parenthesized_expression "(param_3 == '\0')" ( (binary_expression "param_3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }" { (expression_statement "piVar5 = *(int **)(iVar4 + 0x38);" (assignment_expression "piVar5 = *(int **)(iVar4 + 0x38)" identifier = (pointer_expression "*(int **)(iVar4 + 0x38)" * (cast_expression "(int **)(iVar4 + 0x38)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }" if (parenthesized_expression "(piVar5 != *(int **)(iVar4 + 0x3c))" ( (binary_expression "piVar5 != *(int **)(iVar4 + 0x3c)" identifier != (pointer_expression "*(int **)(iVar4 + 0x3c)" * (cast_expression "(int **)(iVar4 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) ))))) )) (compound_statement "{\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }" { (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (while_statement "while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" { (if_statement "if (param_2 == piVar1) goto LAB_0016d180;" if (parenthesized_expression "(param_2 == piVar1)" ( (binary_expression "param_2 == piVar1" identifier == identifier) )) (goto_statement "goto LAB_0016d180;" goto statement_identifier ;)) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(iVar4 + 0x3c) == piVar5) break;" if (parenthesized_expression "(*(int **)(iVar4 + 0x3c) == piVar5)" ( (binary_expression "*(int **)(iVar4 + 0x3c) == piVar5" (pointer_expression "*(int **)(iVar4 + 0x3c)" * (cast_expression "(int **)(iVar4 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x3c)" ( (binary_expression "iVar4 + 0x3c" identifier + number_literal) )))) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) })) })) }) (else_clause "else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" else (compound_statement "{\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" { (expression_statement "piVar5 = *(int **)(iVar4 + 0x2c);" (assignment_expression "piVar5 = *(int **)(iVar4 + 0x2c)" identifier = (pointer_expression "*(int **)(iVar4 + 0x2c)" * (cast_expression "(int **)(iVar4 + 0x2c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x2c)" ( (binary_expression "iVar4 + 0x2c" identifier + number_literal) ))))) ;) (if_statement "if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }" if (parenthesized_expression "(piVar5 != *(int **)(iVar4 + 0x30))" ( (binary_expression "piVar5 != *(int **)(iVar4 + 0x30)" identifier != (pointer_expression "*(int **)(iVar4 + 0x30)" * (cast_expression "(int **)(iVar4 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) ))))) )) (compound_statement "{\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }" { (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) (do_statement "do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );" do (compound_statement "{\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" { (if_statement "if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }" if (parenthesized_expression "(param_2 == piVar1)" ( (binary_expression "param_2 == piVar1" identifier == identifier) )) (compound_statement "{\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }" { (labeled_statement "LAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;" statement_identifier : (expression_statement "*(int **)(iVar4 + 0x44) = param_2;" (assignment_expression "*(int **)(iVar4 + 0x44) = param_2" (pointer_expression "*(int **)(iVar4 + 0x44)" * (cast_expression "(int **)(iVar4 + 0x44)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x44)" ( (binary_expression "iVar4 + 0x44" identifier + number_literal) )))) = identifier) ;)) (return_statement "return iVar4;" return identifier ;) })) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" identifier = (binary_expression "piVar5 + 1" identifier + number_literal)) ;) (if_statement "if (*(int **)(iVar4 + 0x30) == piVar5) break;" if (parenthesized_expression "(*(int **)(iVar4 + 0x30) == piVar5)" ( (binary_expression "*(int **)(iVar4 + 0x30) == piVar5" (pointer_expression "*(int **)(iVar4 + 0x30)" * (cast_expression "(int **)(iVar4 + 0x30)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x30)" ( (binary_expression "iVar4 + 0x30" identifier + number_literal) )))) == identifier) )) (break_statement "break;" break ;)) (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" identifier = (cast_expression "(int *)*piVar5" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar5" * identifier))) ;) }) while (parenthesized_expression "( true )" ( true )) ;) })) }))) (if_statement "if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" if (parenthesized_expression "(param_4 != '\0')" ( (binary_expression "param_4 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" { (labeled_statement "LAB_0016d121:\n          piVar7 = piVar7 + 1;" statement_identifier : (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;)) (if_statement "if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;" if (parenthesized_expression "((int *)piVar6[1] == piVar7)" ( (binary_expression "(int *)piVar6[1] == piVar7" (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) == identifier) )) (goto_statement "goto LAB_0016d129;" goto statement_identifier ;)) (goto_statement "goto LAB_0016d0c6;" goto statement_identifier ;) })) (if_statement "if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" if (parenthesized_expression "(*(code **)(*param_2 + 0x38) == FUN_00173910)" ( (binary_expression "*(code **)(*param_2 + 0x38) == FUN_00173910" (pointer_expression "*(code **)(*param_2 + 0x38)" * (cast_expression "(code **)(*param_2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x38)" ( (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" * identifier) + number_literal) )))) == identifier) )) (compound_statement "{\n          iVar4 = param_2[0x11];\n        }" { (expression_statement "iVar4 = param_2[0x11];" (assignment_expression "iVar4 = param_2[0x11]" identifier = (subscript_expression "param_2[0x11]" identifier [ number_literal ])) ;) }) (else_clause "else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" else (compound_statement "{\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" { (expression_statement "iVar4 = (**(code **)(*param_2 + 0x38))(param_2);" (assignment_expression "iVar4 = (**(code **)(*param_2 + 0x38))(param_2)" identifier = (call_expression "(**(code **)(*param_2 + 0x38))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x38))" ( (pointer_expression "**(code **)(*param_2 + 0x38)" * (pointer_expression "*(code **)(*param_2 + 0x38)" * (cast_expression "(code **)(*param_2 + 0x38)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*param_2 + 0x38)" ( (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" * identifier) + number_literal) ))))) )) (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "piVar6 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar6 = *(int **)(param_1 + 0xc)" identifier = (pointer_expression "*(int **)(param_1 + 0xc)" * (cast_expression "(int **)(param_1 + 0xc)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) ))))) ;) }))) (if_statement "if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;" if (parenthesized_expression "((iVar3 != 0) || (iVar4 == 0))" ( (binary_expression "(iVar3 != 0) || (iVar4 == 0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) || (parenthesized_expression "(iVar4 == 0)" ( (binary_expression "iVar4 == 0" identifier == number_literal) ))) )) (goto_statement "goto LAB_0016d121;" goto statement_identifier ;)) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);" (assignment_expression "cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" identifier = (call_expression "FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" identifier (argument_list "(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" ( identifier , (pointer_expression "*(undefined4 *)(iVar4 + 0x54)" * (cast_expression "(undefined4 *)(iVar4 + 0x54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x54)" ( (binary_expression "iVar4 + 0x54" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" * (cast_expression "(undefined4 *)(iVar4 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x58)" ( (binary_expression "iVar4 + 0x58" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar4 + 0x50)" * (cast_expression "(undefined4 *)(iVar4 + 0x50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + 0x50)" ( (binary_expression "iVar4 + 0x50" identifier + number_literal) )))) , number_literal )))) ;) (if_statement "if (cVar2 == '\0') {\n          iVar3 = 0;\n        }" if (parenthesized_expression "(cVar2 == '\0')" ( (binary_expression "cVar2 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n          iVar3 = 0;\n        }" { (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" identifier = number_literal) ;) })) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" identifier = (binary_expression "piVar7 + 1" identifier + number_literal)) ;) (if_statement "if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }" if (parenthesized_expression "((int *)piVar6[1] == piVar7)" ( (binary_expression "(int *)piVar6[1] == piVar7" (cast_expression "(int *)piVar6[1]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar6[1]" identifier [ number_literal ])) == identifier) )) (compound_statement "{\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }" { (labeled_statement "LAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" statement_identifier : (if_statement "if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" if (parenthesized_expression "((iVar3 != 0) && (param_5 != (undefined4 *)0x0))" ( (binary_expression "(iVar3 != 0) && (param_5 != (undefined4 *)0x0)" (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) && (parenthesized_expression "(param_5 != (undefined4 *)0x0)" ( (binary_expression "param_5 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" { (expression_statement "*param_5 = *(undefined4 *)(iVar3 + 0x44);" (assignment_expression "*param_5 = *(undefined4 *)(iVar3 + 0x44)" (pointer_expression "*param_5" * identifier) = (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" * (cast_expression "(undefined4 *)(iVar3 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x44)" ( (binary_expression "iVar3 + 0x44" identifier + number_literal) ))))) ;) }))) (return_statement "return iVar3;" return identifier ;) })) }) while (parenthesized_expression "( true )" ( true )) ;)) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " string_content ") )))) , (binary_expression IDENT != LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) })) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;)) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == IDENT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( BOOL )) ;) })) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( 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 (parenthesized_expression ( (binary_expression IDENT != LIT) )) || (parenthesized_expression ( (binary_expression IDENT == LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (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 == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == IDENT) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) }))) (return_statement return IDENT ;) })) }) while (parenthesized_expression ( BOOL )) ;)) })) })) (return_statement return LIT ;) })))
(function_definition "int FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)\n\n{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}" (primitive_type "int") (function_declarator "FUN_0016d040(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)" (identifier "FUN_0016d040") (parameter_list "(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)" (( "(") (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"))) (, ",") (parameter_declaration "char param_3" (primitive_type "char") (identifier "param_3")) (, ",") (parameter_declaration "char param_4" (primitive_type "char") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  char cVar2;\n  int iVar3;\n  int iVar4;\n  int *piVar5;\n  int *piVar6;\n  int *piVar7;\n  \n  if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }\n  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int *piVar5;" (primitive_type "int") (pointer_declarator "*piVar5" (* "*") (identifier "piVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (if_statement "if (param_5 != (undefined4 *)0x0) {\n    *param_5 = 0;\n  }" (if "if") (parenthesized_expression "(param_5 != (undefined4 *)0x0)" (( "(") (binary_expression "param_5 != (undefined4 *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_5 = 0;\n  }" ({ "{") (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (number_literal "0")) (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))\n  {\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0)" (parenthesized_expression "(*(int *)(param_1 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0xc) != 0" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0)" (( "(") (comma_expression "iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0" (assignment_expression "iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/")" (identifier "iVar3") (= "=") (call_expression "FUN_002075e0(param_2 + 1,"/DISCARD/")" (identifier "FUN_002075e0") (argument_list "(param_2 + 1,"/DISCARD/")" (( "(") (binary_expression "param_2 + 1" (identifier "param_2") (+ "+") (number_literal "1")) (, ",") (string_literal ""/DISCARD/"" (" """) (string_content "/DISCARD/") (" """)) () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    piVar6 = *(int **)(param_1 + 0xc);\n    piVar7 = (int *)*piVar6;\n    if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }\n  }" ({ "{") (expression_statement "piVar6 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar6 = *(int **)(param_1 + 0xc)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "piVar7 = (int *)*piVar6;" (assignment_expression "piVar7 = (int *)*piVar6" (identifier "piVar7") (= "=") (cast_expression "(int *)*piVar6" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar6" (* "*") (identifier "piVar6")))) (; ";")) (if_statement "if ((int *)piVar6[1] != piVar7) {\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }" (if "if") (parenthesized_expression "((int *)piVar6[1] != piVar7)" (( "(") (binary_expression "(int *)piVar6[1] != piVar7" (cast_expression "(int *)piVar6[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (!= "!=") (identifier "piVar7")) () ")")) (compound_statement "{\n      iVar3 = 0;\nLAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );\n    }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0016d0c6:\n      do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );" (statement_identifier "LAB_0016d0c6") (: ":") (do_statement "do {\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      } while( true );" (do "do") (compound_statement "{\n        iVar4 = *piVar7;\n        if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }\n        if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }\n        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }\n        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;\n        iVar3 = *piVar7;\n        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);\n        if (cVar2 == '\0') {\n          iVar3 = 0;\n        }\n        piVar7 = piVar7 + 1;\n        if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }\n      }" ({ "{") (expression_statement "iVar4 = *piVar7;" (assignment_expression "iVar4 = *piVar7" (identifier "iVar4") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (if_statement "if (param_3 == '\0') {\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }\n        else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" (if "if") (parenthesized_expression "(param_3 == '\0')" (( "(") (binary_expression "param_3 == '\0'" (identifier "param_3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          piVar5 = *(int **)(iVar4 + 0x38);\n          if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }\n        }" ({ "{") (expression_statement "piVar5 = *(int **)(iVar4 + 0x38);" (assignment_expression "piVar5 = *(int **)(iVar4 + 0x38)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(iVar4 + 0x38)" (* "*") (cast_expression "(int **)(iVar4 + 0x38)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x38)" (( "(") (binary_expression "iVar4 + 0x38" (identifier "iVar4") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if (piVar5 != *(int **)(iVar4 + 0x3c)) {\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }" (if "if") (parenthesized_expression "(piVar5 != *(int **)(iVar4 + 0x3c))" (( "(") (binary_expression "piVar5 != *(int **)(iVar4 + 0x3c)" (identifier "piVar5") (!= "!=") (pointer_expression "*(int **)(iVar4 + 0x3c)" (* "*") (cast_expression "(int **)(iVar4 + 0x3c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")"))))) () ")")) (compound_statement "{\n            piVar1 = (int *)*piVar5;\n            while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }\n          }" ({ "{") (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (while_statement "while( true ) {\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n              if (param_2 == piVar1) goto LAB_0016d180;\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x3c) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" ({ "{") (if_statement "if (param_2 == piVar1) goto LAB_0016d180;" (if "if") (parenthesized_expression "(param_2 == piVar1)" (( "(") (binary_expression "param_2 == piVar1" (identifier "param_2") (== "==") (identifier "piVar1")) () ")")) (goto_statement "goto LAB_0016d180;" (goto "goto") (statement_identifier "LAB_0016d180") (; ";"))) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 1" (identifier "piVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int **)(iVar4 + 0x3c) == piVar5) break;" (if "if") (parenthesized_expression "(*(int **)(iVar4 + 0x3c) == piVar5)" (( "(") (binary_expression "*(int **)(iVar4 + 0x3c) == piVar5" (pointer_expression "*(int **)(iVar4 + 0x3c)" (* "*") (cast_expression "(int **)(iVar4 + 0x3c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x3c)" (( "(") (binary_expression "iVar4 + 0x3c" (identifier "iVar4") (+ "+") (number_literal "0x3c")) () ")")))) (== "==") (identifier "piVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (} "}"))) (} "}"))) (} "}")) (else_clause "else {\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" (else "else") (compound_statement "{\n          piVar5 = *(int **)(iVar4 + 0x2c);\n          if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }\n        }" ({ "{") (expression_statement "piVar5 = *(int **)(iVar4 + 0x2c);" (assignment_expression "piVar5 = *(int **)(iVar4 + 0x2c)" (identifier "piVar5") (= "=") (pointer_expression "*(int **)(iVar4 + 0x2c)" (* "*") (cast_expression "(int **)(iVar4 + 0x2c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x2c)" (( "(") (binary_expression "iVar4 + 0x2c" (identifier "iVar4") (+ "+") (number_literal "0x2c")) () ")"))))) (; ";")) (if_statement "if (piVar5 != *(int **)(iVar4 + 0x30)) {\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }" (if "if") (parenthesized_expression "(piVar5 != *(int **)(iVar4 + 0x30))" (( "(") (binary_expression "piVar5 != *(int **)(iVar4 + 0x30)" (identifier "piVar5") (!= "!=") (pointer_expression "*(int **)(iVar4 + 0x30)" (* "*") (cast_expression "(int **)(iVar4 + 0x30)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")"))))) () ")")) (compound_statement "{\n            piVar1 = (int *)*piVar5;\n            do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );\n          }" ({ "{") (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (do_statement "do {\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            } while( true );" (do "do") (compound_statement "{\n              if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }\n              piVar5 = piVar5 + 1;\n              if (*(int **)(iVar4 + 0x30) == piVar5) break;\n              piVar1 = (int *)*piVar5;\n            }" ({ "{") (if_statement "if (param_2 == piVar1) {\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }" (if "if") (parenthesized_expression "(param_2 == piVar1)" (( "(") (binary_expression "param_2 == piVar1" (identifier "param_2") (== "==") (identifier "piVar1")) () ")")) (compound_statement "{\nLAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;\n                return iVar4;\n              }" ({ "{") (labeled_statement "LAB_0016d180:\n                *(int **)(iVar4 + 0x44) = param_2;" (statement_identifier "LAB_0016d180") (: ":") (expression_statement "*(int **)(iVar4 + 0x44) = param_2;" (assignment_expression "*(int **)(iVar4 + 0x44) = param_2" (pointer_expression "*(int **)(iVar4 + 0x44)" (* "*") (cast_expression "(int **)(iVar4 + 0x44)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x44)" (( "(") (binary_expression "iVar4 + 0x44" (identifier "iVar4") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "param_2")) (; ";"))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (expression_statement "piVar5 = piVar5 + 1;" (assignment_expression "piVar5 = piVar5 + 1" (identifier "piVar5") (= "=") (binary_expression "piVar5 + 1" (identifier "piVar5") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (*(int **)(iVar4 + 0x30) == piVar5) break;" (if "if") (parenthesized_expression "(*(int **)(iVar4 + 0x30) == piVar5)" (( "(") (binary_expression "*(int **)(iVar4 + 0x30) == piVar5" (pointer_expression "*(int **)(iVar4 + 0x30)" (* "*") (cast_expression "(int **)(iVar4 + 0x30)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x30)" (( "(") (binary_expression "iVar4 + 0x30" (identifier "iVar4") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (identifier "piVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar1 = (int *)*piVar5;" (assignment_expression "piVar1 = (int *)*piVar5" (identifier "piVar1") (= "=") (cast_expression "(int *)*piVar5" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar5" (* "*") (identifier "piVar5")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";")) (} "}"))) (} "}")))) (if_statement "if (param_4 != '\0') {\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" (if "if") (parenthesized_expression "(param_4 != '\0')" (( "(") (binary_expression "param_4 != '\0'" (identifier "param_4") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\nLAB_0016d121:\n          piVar7 = piVar7 + 1;\n          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;\n          goto LAB_0016d0c6;\n        }" ({ "{") (labeled_statement "LAB_0016d121:\n          piVar7 = piVar7 + 1;" (statement_identifier "LAB_0016d121") (: ":") (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";"))) (if_statement "if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;" (if "if") (parenthesized_expression "((int *)piVar6[1] == piVar7)" (( "(") (binary_expression "(int *)piVar6[1] == piVar7" (cast_expression "(int *)piVar6[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar7")) () ")")) (goto_statement "goto LAB_0016d129;" (goto "goto") (statement_identifier "LAB_0016d129") (; ";"))) (goto_statement "goto LAB_0016d0c6;" (goto "goto") (statement_identifier "LAB_0016d0c6") (; ";")) (} "}"))) (if_statement "if (*(code **)(*param_2 + 0x38) == FUN_00173910) {\n          iVar4 = param_2[0x11];\n        }\n        else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" (if "if") (parenthesized_expression "(*(code **)(*param_2 + 0x38) == FUN_00173910)" (( "(") (binary_expression "*(code **)(*param_2 + 0x38) == FUN_00173910" (pointer_expression "*(code **)(*param_2 + 0x38)" (* "*") (cast_expression "(code **)(*param_2 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x38)" (( "(") (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x38")) () ")")))) (== "==") (identifier "FUN_00173910")) () ")")) (compound_statement "{\n          iVar4 = param_2[0x11];\n        }" ({ "{") (expression_statement "iVar4 = param_2[0x11];" (assignment_expression "iVar4 = param_2[0x11]" (identifier "iVar4") (= "=") (subscript_expression "param_2[0x11]" (identifier "param_2") ([ "[") (number_literal "0x11") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" (else "else") (compound_statement "{\n          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);\n          piVar6 = *(int **)(param_1 + 0xc);\n        }" ({ "{") (expression_statement "iVar4 = (**(code **)(*param_2 + 0x38))(param_2);" (assignment_expression "iVar4 = (**(code **)(*param_2 + 0x38))(param_2)" (identifier "iVar4") (= "=") (call_expression "(**(code **)(*param_2 + 0x38))(param_2)" (parenthesized_expression "(**(code **)(*param_2 + 0x38))" (( "(") (pointer_expression "**(code **)(*param_2 + 0x38)" (* "*") (pointer_expression "*(code **)(*param_2 + 0x38)" (* "*") (cast_expression "(code **)(*param_2 + 0x38)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*param_2 + 0x38)" (( "(") (binary_expression "*param_2 + 0x38" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (+ "+") (number_literal "0x38")) () ")"))))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "piVar6 = *(int **)(param_1 + 0xc);" (assignment_expression "piVar6 = *(int **)(param_1 + 0xc)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(param_1 + 0xc)" (* "*") (cast_expression "(int **)(param_1 + 0xc)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (} "}")))) (if_statement "if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;" (if "if") (parenthesized_expression "((iVar3 != 0) || (iVar4 == 0))" (( "(") (binary_expression "(iVar3 != 0) || (iVar4 == 0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(iVar4 == 0)" (( "(") (binary_expression "iVar4 == 0" (identifier "iVar4") (== "==") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_0016d121;" (goto "goto") (statement_identifier "LAB_0016d121") (; ";"))) (expression_statement "iVar3 = *piVar7;" (assignment_expression "iVar3 = *piVar7" (identifier "iVar3") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (expression_statement "cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0);" (assignment_expression "cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" (identifier "cVar2") (= "=") (call_expression "FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" (identifier "FUN_0016c1c0") (argument_list "(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),\n                             *(undefined4 *)(iVar4 + 0x50),0)" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x54)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x54)" (( "(") (binary_expression "iVar4 + 0x54" (identifier "iVar4") (+ "+") (number_literal "0x54")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x58)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x58)" (( "(") (binary_expression "iVar4 + 0x58" (identifier "iVar4") (+ "+") (number_literal "0x58")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar4 + 0x50)" (* "*") (cast_expression "(undefined4 *)(iVar4 + 0x50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + 0x50)" (( "(") (binary_expression "iVar4 + 0x50" (identifier "iVar4") (+ "+") (number_literal "0x50")) () ")")))) (, ",") (number_literal "0") () ")")))) (; ";")) (if_statement "if (cVar2 == '\0') {\n          iVar3 = 0;\n        }" (if "if") (parenthesized_expression "(cVar2 == '\0')" (( "(") (binary_expression "cVar2 == '\0'" (identifier "cVar2") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n          iVar3 = 0;\n        }" ({ "{") (expression_statement "iVar3 = 0;" (assignment_expression "iVar3 = 0" (identifier "iVar3") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "piVar7 = piVar7 + 1;" (assignment_expression "piVar7 = piVar7 + 1" (identifier "piVar7") (= "=") (binary_expression "piVar7 + 1" (identifier "piVar7") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if ((int *)piVar6[1] == piVar7) {\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }" (if "if") (parenthesized_expression "((int *)piVar6[1] == piVar7)" (( "(") (binary_expression "(int *)piVar6[1] == piVar7" (cast_expression "(int *)piVar6[1]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar6[1]" (identifier "piVar6") ([ "[") (number_literal "1") (] "]"))) (== "==") (identifier "piVar7")) () ")")) (compound_statement "{\nLAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }\n          return iVar3;\n        }" ({ "{") (labeled_statement "LAB_0016d129:\n          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" (statement_identifier "LAB_0016d129") (: ":") (if_statement "if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" (if "if") (parenthesized_expression "((iVar3 != 0) && (param_5 != (undefined4 *)0x0))" (( "(") (binary_expression "(iVar3 != 0) && (param_5 != (undefined4 *)0x0)" (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(param_5 != (undefined4 *)0x0)" (( "(") (binary_expression "param_5 != (undefined4 *)0x0" (identifier "param_5") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")"))) () ")")) (compound_statement "{\n            *param_5 = *(undefined4 *)(iVar3 + 0x44);\n          }" ({ "{") (expression_statement "*param_5 = *(undefined4 *)(iVar3 + 0x44);" (assignment_expression "*param_5 = *(undefined4 *)(iVar3 + 0x44)" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (pointer_expression "*(undefined4 *)(iVar3 + 0x44)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x44)" (( "(") (binary_expression "iVar3 + 0x44" (identifier "iVar3") (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")))) (return_statement "return iVar3;" (return "return") (identifier "iVar3") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* DWARF original prototype: Memory_region * find_memory_region(Script_sections * this,
   Output_section_definition * section, bool find_vma_region, bool explicit_only,
   Output_section_definition * * previous_section_return) */

type_2 * __thiscall
var_6::Script_sections::find_memory_region
          (Script_sections *this,type_1 *var_11,bool find_vma_region,
          bool explicit_only,type_1 **var_1)

{
  type_1 *var_12;
  type_2 *pMVar2;
  type_3 var_10;
  type_4 *var_13;
  bool bVar5;
  int var_3;
  type_5 *var_15;
  type_3 var_9;
  type_2 *var_14;
  type_6 *pMVar9;
  type_3 var_8;
  
  if (var_1 != (type_1 **)0x0) {
    *var_1 = (type_1 *)0x0;
  }
  if ((this->memory_regions_ != (type_6 *)0x0) &&
     (var_3 = std::type_7::var_2((type_7 *)&var_11->name_,"/DISCARD/"), var_3 != 0)) {
    pMVar9 = this->memory_regions_;
    var_8 = (pMVar9->
               super__Vector_base<var_6::type_2*var_5,var_7::allocator<var_6::type_2*>var_4>var_5).
               _M_impl._M_start;
    if ((pMVar9->super__Vector_base<var_6::type_2*,var_7::allocator<var_6::type_2*>var_4>var_5).
        _M_impl._M_finish != var_8) {
      var_14 = (type_2 *)0x0;
LAB_0016d0c6:
      do {
        pMVar2 = *var_8;
        if (find_vma_region) {
          var_9 = (pMVar2->vma_sections_).
                    super__Vector_base<var_6::type_1*,var_7::allocator<var_6::type_1*>var_4>
                    ._M_impl._M_start;
          var_10 = (pMVar2->vma_sections_).
                    super__Vector_base<var_6::type_1*,var_7::allocator<var_6::type_1*>var_4>
                    ._M_impl._M_finish;
          if (var_9 != var_10) {
            var_12 = *var_9;
            do {
              if (var_11 == var_12) {
LAB_0016d180:
                pMVar2->last_section_ = var_11;
                return pMVar2;
              }
              var_9 = var_9 + 1;
              if (var_10 == var_9) break;
              var_12 = *var_9;
            } while( true );
          }
        }
        else {
          var_9 = (pMVar2->lma_sections_).
                    super__Vector_base<var_6::type_1*,var_7::allocator<var_6::type_1*>var_4>
                    ._M_impl._M_start;
          var_10 = (pMVar2->lma_sections_).
                    super__Vector_base<var_6::type_1*,var_7::allocator<var_6::type_1*>var_4>
                    ._M_impl._M_finish;
          if (var_9 != var_10) {
            var_12 = *var_9;
            while( true ) {
              if (var_11 == var_12) goto LAB_0016d180;
              var_9 = var_9 + 1;
              if (var_10 == var_9) break;
              var_12 = *var_9;
            }
          }
        }
        if (explicit_only) {
LAB_0016d121:
          var_8 = var_8 + 1;
          if ((pMVar9->
              super__Vector_base<var_6::type_2*,var_7::allocator<var_6::type_2*>var_4>var_5).
              _M_impl._M_finish == var_8) goto LAB_0016d129;
          goto LAB_0016d0c6;
        }
        var_13 = (var_11->super_Sections_element)._vptr_Sections_element[0xe];
        if (var_13 == type_1::get_output_section) {
          var_15 = var_11->output_section_;
        }
        else {
          var_15 = (type_5 *)(*var_13)(var_11);
          pMVar9 = this->memory_regions_;
        }
        if ((var_14 != (type_2 *)0x0) || (var_15 == (type_5 *)0x0))
        goto LAB_0016d121;
        var_14 = *var_8;
        bVar5 = type_2::var_16
                          (var_14,var_15->flags_,(type_8)var_15->type_);
        if (!bVar5) {
          var_14 = (type_2 *)0x0;
        }
        var_8 = var_8 + 1;
        if ((pMVar9->super__Vector_base<var_6::type_2*,var_7::allocator<var_6::type_2*>var_4>var_5
            )._M_impl._M_finish == var_8) {
LAB_0016d129:
          if ((var_14 != (type_2 *)0x0) &&
             (var_1 != (type_1 **)0x0)) {
            *var_1 = var_14->last_section_;
          }
          return var_14;
        }
      } while( true );
    }
  }
  return (type_2 *)0x0;
}


(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))) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (string_literal (string_content))))) right: (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 declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (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))))) right: (identifier)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))))) right: (identifier))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) condition: (parenthesized_expression (true)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) arguments: (argument_list (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (return_statement (identifier))))) condition: (parenthesized_expression (true)))))))) (return_statement (number_literal)))))

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

int MASKED(int param_1,int *param_2,char param_3,char param_4,undefined4 *param_5)

{
  int *piVar1;
  char cVar2;
  int iVar3;
  int iVar4;
  int *piVar5;
  int *piVar6;
  int *piVar7;
  
  if (param_5 != (undefined4 *)0x0) {
    *param_5 = 0;
  }
  if ((*(int *)(param_1 + 0xc) != 0) && (iVar3 = FUN_002075e0(param_2 + 1,"/DISCARD/"), iVar3 != 0))
  {
    piVar6 = *(int **)(param_1 + 0xc);
    piVar7 = (int *)*piVar6;
    if ((int *)piVar6[1] != piVar7) {
      iVar3 = 0;
LAB_0016d0c6:
      do {
        iVar4 = *piVar7;
        if (param_3 == '\0') {
          piVar5 = *(int **)(iVar4 + 0x38);
          if (piVar5 != *(int **)(iVar4 + 0x3c)) {
            piVar1 = (int *)*piVar5;
            while( true ) {
              if (param_2 == piVar1) goto LAB_0016d180;
              piVar5 = piVar5 + 1;
              if (*(int **)(iVar4 + 0x3c) == piVar5) break;
              piVar1 = (int *)*piVar5;
            }
          }
        }
        else {
          piVar5 = *(int **)(iVar4 + 0x2c);
          if (piVar5 != *(int **)(iVar4 + 0x30)) {
            piVar1 = (int *)*piVar5;
            do {
              if (param_2 == piVar1) {
LAB_0016d180:
                *(int **)(iVar4 + 0x44) = param_2;
                return iVar4;
              }
              piVar5 = piVar5 + 1;
              if (*(int **)(iVar4 + 0x30) == piVar5) break;
              piVar1 = (int *)*piVar5;
            } while( true );
          }
        }
        if (param_4 != '\0') {
LAB_0016d121:
          piVar7 = piVar7 + 1;
          if ((int *)piVar6[1] == piVar7) goto LAB_0016d129;
          goto LAB_0016d0c6;
        }
        if (*(code **)(*param_2 + 0x38) == FUN_00173910) {
          iVar4 = param_2[0x11];
        }
        else {
          iVar4 = (**(code **)(*param_2 + 0x38))(param_2);
          piVar6 = *(int **)(param_1 + 0xc);
        }
        if ((iVar3 != 0) || (iVar4 == 0)) goto LAB_0016d121;
        iVar3 = *piVar7;
        cVar2 = FUN_0016c1c0(iVar3,*(undefined4 *)(iVar4 + 0x54),*(undefined4 *)(iVar4 + 0x58),
                             *(undefined4 *)(iVar4 + 0x50),0);
        if (cVar2 == '\0') {
          iVar3 = 0;
        }
        piVar7 = piVar7 + 1;
        if ((int *)piVar6[1] == piVar7) {
LAB_0016d129:
          if ((iVar3 != 0) && (param_5 != (undefined4 *)0x0)) {
            *param_5 = *(undefined4 *)(iVar3 + 0x44);
          }
          return iVar3;
        }
      } while( true );
    }
  }
  return 0;
}

