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

debug_type_conflict debug_find_tagged_type(void *handle,char *name,debug_type_kind kind)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  debug_type_conflict local_20;
  
                    /* WARNING: Load size is inaccurate */
  local_20 = *handle;
  if (local_20 != (debug_type_conflict)0x0) {
    do {
      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {
          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;
              puVar2 = (undefined4 *)*puVar2) {
            if (((puVar2[3] == 1) &&
                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&
                 (*(char *)puVar2[1] == *name)))) &&
               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {
              return (debug_type_conflict)puVar2[5];
            }
          }
        }
      }
      local_20 = (debug_type_conflict)local_20->kind;
    } while (local_20 != (debug_type_conflict)0x0);
    local_20 = (debug_type_conflict)0x0;
  }
  return local_20;
}



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

int * FUN_00020350(int *param_1,char *param_2,int param_3)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int *local_20;
  
  local_20 = (int *)*param_1;
  if (local_20 != (int *)0x0) {
    do {
      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {
          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;
              puVar2 = (undefined4 *)*puVar2) {
            if (((puVar2[3] == 1) &&
                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&
                 (*(char *)puVar2[1] == *param_2)))) &&
               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {
              return (int *)puVar2[5];
            }
          }
        }
      }
      local_20 = (int *)*local_20;
    } while (local_20 != (int *)0x0);
    local_20 = (int *)0x0;
  }
  return local_20;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x000166c0
ADD EBX,0x1fca7
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV ECX,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [ESP + 0x38]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
TEST EAX,EAX
JZ 0x000203e1
MOV EAX,dword ptr [ESP + 0xc]
MOV EDI,dword ptr [EAX + 0x4]
TEST EDI,EDI
JNZ 0x0002038e
JMP 0x000203ed
MOV EDI,dword ptr [EDI]
TEST EDI,EDI
JZ 0x000203ed
MOV EAX,dword ptr [EDI + 0x8]
TEST EAX,EAX
JZ 0x00020388
MOV ESI,dword ptr [EAX]
TEST ESI,ESI
JNZ 0x000203a6
JMP 0x00020388
MOV ESI,dword ptr [ESI]
TEST ESI,ESI
JZ 0x00020388
CMP dword ptr [ESI + 0xc],0x1
JNZ 0x000203a0
TEST EBP,EBP
JZ 0x000203b7
MOV EAX,dword ptr [ESI + 0x14]
CMP dword ptr [EAX],EBP
JNZ 0x000203a0
MOV EAX,dword ptr [ESI + 0x4]
MOVZX EDX,byte ptr [ECX]
CMP byte ptr [EAX],DL
JNZ 0x000203a0
SUB ESP,0x8
PUSH ECX
MOV dword ptr [ESP + 0x40],ECX
PUSH EAX
CALL 0x00013070
ADD ESP,0x10
MOV ECX,dword ptr [ESP + 0x34]
TEST EAX,EAX
JNZ 0x000203a0
MOV EAX,dword ptr [ESI + 0x14]
MOV dword ptr [ESP + 0xc],EAX
MOV EAX,dword ptr [ESP + 0xc]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESP + 0xc],EAX
TEST EAX,EAX
JNZ 0x00020378
JMP 0x000203e1
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_00020350(int *param_1,char *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}\n\n" comment (function_definition "int * FUN_00020350(int *param_1,char *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}" primitive_type (pointer_declarator "* FUN_00020350(int *param_1,char *param_2,int param_3)" * (function_declarator "FUN_00020350(int *param_1,char *param_2,int param_3)" identifier (parameter_list "(int *param_1,char *param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (int *)*param_1;" (assignment_expression "local_20 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }" if (parenthesized_expression "(local_20 != (int *)0x0)" ( (binary_expression "local_20 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }" { (do_statement "do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);" do (compound_statement "{\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    }" { (for_statement "for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }" for ( (assignment_expression "puVar1 = (undefined4 *)local_20[1]" identifier = (cast_expression "(undefined4 *)local_20[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_20[1]" identifier [ number_literal ]))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }" { (if_statement "if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }" if (parenthesized_expression "((undefined4 *)puVar1[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar1[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }" { (for_statement "for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }" for ( (assignment_expression "puVar2 = *(undefined4 **)puVar1[2]" identifier = (pointer_expression "*(undefined4 **)puVar1[2]" * (cast_expression "(undefined4 **)puVar1[2]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])))) ; (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ) (compound_statement "{\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }" { (if_statement "if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }" if (parenthesized_expression "(((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0))" ( (binary_expression "((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)" (parenthesized_expression "((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2))))" ( (binary_expression "(puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))" (parenthesized_expression "(puVar2[3] == 1)" ( (binary_expression "puVar2[3] == 1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))" ( (parenthesized_expression "((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2))" ( (binary_expression "(param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)" (parenthesized_expression "(param_3 == 0 || (*(int *)puVar2[5] == param_3))" ( (binary_expression "param_3 == 0 || (*(int *)puVar2[5] == param_3)" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "(*(int *)puVar2[5] == param_3)" ( (binary_expression "*(int *)puVar2[5] == param_3" (pointer_expression "*(int *)puVar2[5]" * (cast_expression "(int *)puVar2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[5]" identifier [ number_literal ]))) == identifier) ))) )) && (parenthesized_expression "(*(char *)puVar2[1] == *param_2)" ( (binary_expression "*(char *)puVar2[1] == *param_2" (pointer_expression "*(char *)puVar2[1]" * (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ]))) == (pointer_expression "*param_2" * identifier)) ))) )) ))) )) && (parenthesized_expression "(iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar2[1],param_2)" identifier = (call_expression "strcmp((char *)puVar2[1],param_2)" identifier (argument_list "((char *)puVar2[1],param_2)" ( (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              return (int *)puVar2[5];\n            }" { (return_statement "return (int *)puVar2[5];" return (cast_expression "(int *)puVar2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[5]" identifier [ number_literal ])) ;) })) })) })) })) (expression_statement "local_20 = (int *)*local_20;" (assignment_expression "local_20 = (int *)*local_20" identifier = (cast_expression "(int *)*local_20" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_20" * identifier))) ;) }) while (parenthesized_expression "(local_20 != (int *)0x0)" ( (binary_expression "local_20 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "local_20 = (int *)0x0;" (assignment_expression "local_20 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return local_20;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\ndebug_type_conflict debug_find_tagged_type(void *handle,char *name,debug_type_kind kind)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  debug_type_conflict local_20;\n  \n                    /* WARNING: Load size is inaccurate */\n  local_20 = *handle;\n  if (local_20 != (debug_type_conflict)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    } while (local_20 != (debug_type_conflict)0x0);\n    local_20 = (debug_type_conflict)0x0;\n  }\n  return local_20;\n}\n\n" comment (function_definition "debug_type_conflict debug_find_tagged_type(void *handle,char *name,debug_type_kind kind)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  debug_type_conflict local_20;\n  \n                    /* WARNING: Load size is inaccurate */\n  local_20 = *handle;\n  if (local_20 != (debug_type_conflict)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    } while (local_20 != (debug_type_conflict)0x0);\n    local_20 = (debug_type_conflict)0x0;\n  }\n  return local_20;\n}" type_identifier (function_declarator "debug_find_tagged_type(void *handle,char *name,debug_type_kind kind)" identifier (parameter_list "(void *handle,char *name,debug_type_kind kind)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) , (parameter_declaration "debug_type_kind kind" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  debug_type_conflict local_20;\n  \n                    /* WARNING: Load size is inaccurate */\n  local_20 = *handle;\n  if (local_20 != (debug_type_conflict)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    } while (local_20 != (debug_type_conflict)0x0);\n    local_20 = (debug_type_conflict)0x0;\n  }\n  return local_20;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "debug_type_conflict local_20;" type_identifier identifier ;) comment (expression_statement "local_20 = *handle;" (assignment_expression "local_20 = *handle" identifier = (pointer_expression "*handle" * identifier)) ;) (if_statement "if (local_20 != (debug_type_conflict)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    } while (local_20 != (debug_type_conflict)0x0);\n    local_20 = (debug_type_conflict)0x0;\n  }" if (parenthesized_expression "(local_20 != (debug_type_conflict)0x0)" ( (binary_expression "local_20 != (debug_type_conflict)0x0" identifier != (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) )) (compound_statement "{\n    do {\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    } while (local_20 != (debug_type_conflict)0x0);\n    local_20 = (debug_type_conflict)0x0;\n  }" { (do_statement "do {\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    } while (local_20 != (debug_type_conflict)0x0);" do (compound_statement "{\n      for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (debug_type_conflict)local_20->kind;\n    }" { (for_statement "for (puVar1 = (undefined4 *)local_20->size; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }" for ( (assignment_expression "puVar1 = (undefined4 *)local_20->size" identifier = (cast_expression "(undefined4 *)local_20->size" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "local_20->size" identifier -> field_identifier))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }\n      }" { (if_statement "if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }" if (parenthesized_expression "((undefined4 *)puVar1[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar1[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }\n        }" { (for_statement "for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }" for ( (assignment_expression "puVar2 = *(undefined4 **)puVar1[2]" identifier = (pointer_expression "*(undefined4 **)puVar1[2]" * (cast_expression "(undefined4 **)puVar1[2]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])))) ; (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ) (compound_statement "{\n            if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }\n          }" { (if_statement "if (((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)) {\n              return (debug_type_conflict)puVar2[5];\n            }" if (parenthesized_expression "(((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0))" ( (binary_expression "((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)" (parenthesized_expression "((puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name))))" ( (binary_expression "(puVar2[3] == 1) &&\n                (((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))" (parenthesized_expression "(puVar2[3] == 1)" ( (binary_expression "puVar2[3] == 1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)))" ( (parenthesized_expression "((kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name))" ( (binary_expression "(kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)) &&\n                 (*(char *)puVar2[1] == *name)" (parenthesized_expression "(kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind))" ( (binary_expression "kind == DEBUG_KIND_ILLEGAL || (*(debug_type_kind *)puVar2[5] == kind)" (binary_expression "kind == DEBUG_KIND_ILLEGAL" identifier == identifier) || (parenthesized_expression "(*(debug_type_kind *)puVar2[5] == kind)" ( (binary_expression "*(debug_type_kind *)puVar2[5] == kind" (pointer_expression "*(debug_type_kind *)puVar2[5]" * (cast_expression "(debug_type_kind *)puVar2[5]" ( (type_descriptor "debug_type_kind *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[5]" identifier [ number_literal ]))) == identifier) ))) )) && (parenthesized_expression "(*(char *)puVar2[1] == *name)" ( (binary_expression "*(char *)puVar2[1] == *name" (pointer_expression "*(char *)puVar2[1]" * (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ]))) == (pointer_expression "*name" * identifier)) ))) )) ))) )) && (parenthesized_expression "(iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp((char *)puVar2[1],name), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar2[1],name)" identifier = (call_expression "strcmp((char *)puVar2[1],name)" identifier (argument_list "((char *)puVar2[1],name)" ( (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              return (debug_type_conflict)puVar2[5];\n            }" { (return_statement "return (debug_type_conflict)puVar2[5];" return (cast_expression "(debug_type_conflict)puVar2[5]" ( (type_descriptor "debug_type_conflict" type_identifier) ) (subscript_expression "puVar2[5]" identifier [ number_literal ])) ;) })) })) })) })) (expression_statement "local_20 = (debug_type_conflict)local_20->kind;" (assignment_expression "local_20 = (debug_type_conflict)local_20->kind" identifier = (cast_expression "(debug_type_conflict)local_20->kind" ( (type_descriptor "debug_type_conflict" type_identifier) ) (field_expression "local_20->kind" identifier -> field_identifier))) ;) }) while (parenthesized_expression "(local_20 != (debug_type_conflict)0x0)" ( (binary_expression "local_20 != (debug_type_conflict)0x0" identifier != (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) )) ;) (expression_statement "local_20 = (debug_type_conflict)0x0;" (assignment_expression "local_20 = (debug_type_conflict)0x0" identifier = (cast_expression "(debug_type_conflict)0x0" ( (type_descriptor "debug_type_conflict" type_identifier) ) number_literal)) ;) })) (return_statement "return local_20;" return identifier ;) })))
(translation_unit "int * FUN_00020350(int *param_1,char *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}\n\n" (function_definition "int * FUN_00020350(int *param_1,char *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}" primitive_type (pointer_declarator "* FUN_00020350(int *param_1,char *param_2,int param_3)" * (function_declarator "FUN_00020350(int *param_1,char *param_2,int param_3)" identifier (parameter_list "(int *param_1,char *param_2,int param_3)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int param_3" primitive_type identifier) )))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int *local_20;" primitive_type (pointer_declarator "*local_20" * identifier) ;) (expression_statement "local_20 = (int *)*param_1;" (assignment_expression "local_20 = (int *)*param_1" identifier = (cast_expression "(int *)*param_1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_1" * identifier))) ;) (if_statement "if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }" if (parenthesized_expression "(local_20 != (int *)0x0)" ( (binary_expression "local_20 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }" { (do_statement "do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);" do (compound_statement "{\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    }" { (for_statement "for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }" for ( (assignment_expression "puVar1 = (undefined4 *)local_20[1]" identifier = (cast_expression "(undefined4 *)local_20[1]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "local_20[1]" identifier [ number_literal ]))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }" { (if_statement "if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }" if (parenthesized_expression "((undefined4 *)puVar1[2] != (undefined4 *)0x0)" ( (binary_expression "(undefined4 *)puVar1[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[2]" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])) != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }" { (for_statement "for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }" for ( (assignment_expression "puVar2 = *(undefined4 **)puVar1[2]" identifier = (pointer_expression "*(undefined4 **)puVar1[2]" * (cast_expression "(undefined4 **)puVar1[2]" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (subscript_expression "puVar1[2]" identifier [ number_literal ])))) ; (binary_expression "puVar2 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar2 = (undefined4 *)*puVar2" identifier = (cast_expression "(undefined4 *)*puVar2" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar2" * identifier))) ) (compound_statement "{\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }" { (if_statement "if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }" if (parenthesized_expression "(((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0))" ( (binary_expression "((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)" (parenthesized_expression "((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2))))" ( (binary_expression "(puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))" (parenthesized_expression "(puVar2[3] == 1)" ( (binary_expression "puVar2[3] == 1" (subscript_expression "puVar2[3]" identifier [ number_literal ]) == number_literal) )) && (parenthesized_expression "(((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))" ( (parenthesized_expression "((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2))" ( (binary_expression "(param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)" (parenthesized_expression "(param_3 == 0 || (*(int *)puVar2[5] == param_3))" ( (binary_expression "param_3 == 0 || (*(int *)puVar2[5] == param_3)" (binary_expression "param_3 == 0" identifier == number_literal) || (parenthesized_expression "(*(int *)puVar2[5] == param_3)" ( (binary_expression "*(int *)puVar2[5] == param_3" (pointer_expression "*(int *)puVar2[5]" * (cast_expression "(int *)puVar2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[5]" identifier [ number_literal ]))) == identifier) ))) )) && (parenthesized_expression "(*(char *)puVar2[1] == *param_2)" ( (binary_expression "*(char *)puVar2[1] == *param_2" (pointer_expression "*(char *)puVar2[1]" * (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ]))) == (pointer_expression "*param_2" * identifier)) ))) )) ))) )) && (parenthesized_expression "(iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)" ( (comma_expression "iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar2[1],param_2)" identifier = (call_expression "strcmp((char *)puVar2[1],param_2)" identifier (argument_list "((char *)puVar2[1],param_2)" ( (cast_expression "(char *)puVar2[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[1]" identifier [ number_literal ])) , identifier )))) , (binary_expression "iVar3 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n              return (int *)puVar2[5];\n            }" { (return_statement "return (int *)puVar2[5];" return (cast_expression "(int *)puVar2[5]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar2[5]" identifier [ number_literal ])) ;) })) })) })) })) (expression_statement "local_20 = (int *)*local_20;" (assignment_expression "local_20 = (int *)*local_20" identifier = (cast_expression "(int *)*local_20" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*local_20" * identifier))) ;) }) while (parenthesized_expression "(local_20 != (int *)0x0)" ( (binary_expression "local_20 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (expression_statement "local_20 = (int *)0x0;" (assignment_expression "local_20 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (return_statement "return local_20;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (for_statement for ( (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (subscript_expression IDENT [ LIT ])))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == IDENT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) == (pointer_expression * IDENT)) ))) )) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (compound_statement { (return_statement return (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) ;) })) })) })) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_00020350(int *param_1,char *param_2,int param_3)\n\n{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}" (primitive_type "int") (pointer_declarator "* FUN_00020350(int *param_1,char *param_2,int param_3)" (* "*") (function_declarator "FUN_00020350(int *param_1,char *param_2,int param_3)" (identifier "FUN_00020350") (parameter_list "(int *param_1,char *param_2,int param_3)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")")))) (compound_statement "{\n  undefined4 *puVar1;\n  undefined4 *puVar2;\n  int iVar3;\n  int *local_20;\n  \n  local_20 = (int *)*param_1;\n  if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }\n  return local_20;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int *local_20;" (primitive_type "int") (pointer_declarator "*local_20" (* "*") (identifier "local_20")) (; ";")) (expression_statement "local_20 = (int *)*param_1;" (assignment_expression "local_20 = (int *)*param_1" (identifier "local_20") (= "=") (cast_expression "(int *)*param_1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_1" (* "*") (identifier "param_1")))) (; ";")) (if_statement "if (local_20 != (int *)0x0) {\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }" (if "if") (parenthesized_expression "(local_20 != (int *)0x0)" (( "(") (binary_expression "local_20 != (int *)0x0" (identifier "local_20") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);\n    local_20 = (int *)0x0;\n  }" ({ "{") (do_statement "do {\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    } while (local_20 != (int *)0x0);" (do "do") (compound_statement "{\n      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }\n      local_20 = (int *)*local_20;\n    }" ({ "{") (for_statement "for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;\n          puVar1 = (undefined4 *)*puVar1) {\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }" (for "for") (( "(") (assignment_expression "puVar1 = (undefined4 *)local_20[1]" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)local_20[1]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "local_20[1]" (identifier "local_20") ([ "[") (number_literal "1") (] "]")))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }\n      }" ({ "{") (if_statement "if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }" (if "if") (parenthesized_expression "((undefined4 *)puVar1[2] != (undefined4 *)0x0)" (( "(") (binary_expression "(undefined4 *)puVar1[2] != (undefined4 *)0x0" (cast_expression "(undefined4 *)puVar1[2]" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))) (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }\n        }" ({ "{") (for_statement "for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;\n              puVar2 = (undefined4 *)*puVar2) {\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }" (for "for") (( "(") (assignment_expression "puVar2 = *(undefined4 **)puVar1[2]" (identifier "puVar2") (= "=") (pointer_expression "*(undefined4 **)puVar1[2]" (* "*") (cast_expression "(undefined4 **)puVar1[2]" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]"))))) (; ";") (binary_expression "puVar2 != (undefined4 *)0x0" (identifier "puVar2") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar2 = (undefined4 *)*puVar2" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)*puVar2" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar2" (* "*") (identifier "puVar2")))) () ")") (compound_statement "{\n            if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }\n          }" ({ "{") (if_statement "if (((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {\n              return (int *)puVar2[5];\n            }" (if "if") (parenthesized_expression "(((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0))" (( "(") (binary_expression "((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))) &&\n               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)" (parenthesized_expression "((puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2))))" (( "(") (binary_expression "(puVar2[3] == 1) &&\n                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))" (parenthesized_expression "(puVar2[3] == 1)" (( "(") (binary_expression "puVar2[3] == 1" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (== "==") (number_literal "1")) () ")")) (&& "&&") (parenthesized_expression "(((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)))" (( "(") (parenthesized_expression "((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2))" (( "(") (binary_expression "(param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&\n                 (*(char *)puVar2[1] == *param_2)" (parenthesized_expression "(param_3 == 0 || (*(int *)puVar2[5] == param_3))" (( "(") (binary_expression "param_3 == 0 || (*(int *)puVar2[5] == param_3)" (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(*(int *)puVar2[5] == param_3)" (( "(") (binary_expression "*(int *)puVar2[5] == param_3" (pointer_expression "*(int *)puVar2[5]" (* "*") (cast_expression "(int *)puVar2[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")))) (== "==") (identifier "param_3")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)puVar2[1] == *param_2)" (( "(") (binary_expression "*(char *)puVar2[1] == *param_2" (pointer_expression "*(char *)puVar2[1]" (* "*") (cast_expression "(char *)puVar2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")))) (== "==") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")"))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)" (( "(") (comma_expression "iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0" (assignment_expression "iVar3 = strcmp((char *)puVar2[1],param_2)" (identifier "iVar3") (= "=") (call_expression "strcmp((char *)puVar2[1],param_2)" (identifier "strcmp") (argument_list "((char *)puVar2[1],param_2)" (( "(") (cast_expression "(char *)puVar2[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]"))) (, ",") (identifier "param_2") () ")")))) (, ",") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n              return (int *)puVar2[5];\n            }" ({ "{") (return_statement "return (int *)puVar2[5];" (return "return") (cast_expression "(int *)puVar2[5]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (expression_statement "local_20 = (int *)*local_20;" (assignment_expression "local_20 = (int *)*local_20" (identifier "local_20") (= "=") (cast_expression "(int *)*local_20" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*local_20" (* "*") (identifier "local_20")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_20 != (int *)0x0)" (( "(") (binary_expression "local_20 != (int *)0x0" (identifier "local_20") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (expression_statement "local_20 = (int *)0x0;" (assignment_expression "local_20 = (int *)0x0" (identifier "local_20") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (} "}"))) (return_statement "return local_20;" (return "return") (identifier "local_20") (; ";")) (} "}")))

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

type_1 function_1(void *handle,char *name,type_2 var_4)

{
  type_3 *var_2;
  type_3 *var_3;
  int var_7;
  type_1 var_1;
  
                    /* WARNING: Load size is inaccurate */
  var_1 = *handle;
  if (var_1 != (type_1)0x0) {
    do {
      for (var_2 = (type_3 *)var_1->size; var_2 != (type_3 *)0x0;
          var_2 = (type_3 *)*var_2) {
        if ((type_3 *)var_2[2] != (type_3 *)0x0) {
          for (var_3 = *(type_3 **)var_2[2]; var_3 != (type_3 *)0x0;
              var_3 = (type_3 *)*var_3) {
            if (((var_3[3] == 1) &&
                (((var_4 == var_5 || (*(type_2 *)var_3[5] == var_4)) &&
                 (*(char *)var_3[1] == *name)))) &&
               (var_7 = var_6((char *)var_3[1],name), var_7 == 0)) {
              return (type_1)var_3[5];
            }
          }
        }
      }
      var_1 = (type_1)var_1->var_4;
    } while (var_1 != (type_1)0x0);
    var_1 = (type_1)0x0;
  }
  return var_1;
}


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

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

int * MASKED(int *param_1,char *param_2,int param_3)

{
  undefined4 *puVar1;
  undefined4 *puVar2;
  int iVar3;
  int *local_20;
  
  local_20 = (int *)*param_1;
  if (local_20 != (int *)0x0) {
    do {
      for (puVar1 = (undefined4 *)local_20[1]; puVar1 != (undefined4 *)0x0;
          puVar1 = (undefined4 *)*puVar1) {
        if ((undefined4 *)puVar1[2] != (undefined4 *)0x0) {
          for (puVar2 = *(undefined4 **)puVar1[2]; puVar2 != (undefined4 *)0x0;
              puVar2 = (undefined4 *)*puVar2) {
            if (((puVar2[3] == 1) &&
                (((param_3 == 0 || (*(int *)puVar2[5] == param_3)) &&
                 (*(char *)puVar2[1] == *param_2)))) &&
               (iVar3 = strcmp((char *)puVar2[1],param_2), iVar3 == 0)) {
              return (int *)puVar2[5];
            }
          }
        }
      }
      local_20 = (int *)*local_20;
    } while (local_20 != (int *)0x0);
    local_20 = (int *)0x0;
  }
  return local_20;
}

