
int saw_option(char *option)

{
  long *plVar1;
  char *__s1;
  int iVar2;
  char **ppcVar3;
  int iVar4;
  
  if (init[0].ptr == (void *)0x0) {
    return 0;
  }
  iVar4 = 0;
  ppcVar3 = &init[0].symbol;
  while( true ) {
    __s1 = *ppcVar3;
    if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {
      iVar2 = strcmp(__s1,option);
    }
    else {
      iVar2 = is_underscoring();
      iVar2 = strcmp(__s1 + (iVar2 == 0),option);
    }
    if (iVar2 == 0) break;
    iVar4 = iVar4 + 1;
    plVar1 = (long *)(ppcVar3 + 2);
    ppcVar3 = ppcVar3 + 4;
    if (*plVar1 == 0) {
      return 0;
    }
  }
  return init[iVar4].inited;
}



undefined4 FUN_001485e0(char *param_1)

{
  undefined **ppuVar1;
  char *__s1;
  int iVar2;
  undefined **ppuVar3;
  int iVar4;
  
  if (PTR_DAT_002b3e20 == (undefined *)0x0) {
    return 0;
  }
  iVar4 = 0;
  ppuVar3 = &PTR_s___image_base___002b3e30;
  while( true ) {
    __s1 = *ppuVar3;
    if (*(int *)((long)ppuVar3 + 0xc) == 0) {
      iVar2 = strcmp(__s1,param_1);
    }
    else {
      iVar2 = FUN_00148550();
      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);
    }
    if (iVar2 == 0) break;
    iVar4 = iVar4 + 1;
    ppuVar1 = ppuVar3 + 2;
    ppuVar3 = ppuVar3 + 4;
    if (*ppuVar1 == (undefined *)0x0) {
      return 0;
    }
  }
  return (&DAT_002b3e38)[(long)iVar4 * 8];
}


CMP qword ptr [0x002b3e20],0x0
JZ 0x00148685
PUSH R13
MOV R13,RDI
PUSH R12
XOR R12D,R12D
PUSH RBP
PUSH RBX
LEA RBX,[0x2b3e30]
SUB RSP,0x8
JMP 0x0014862e
MOV RSI,R13
MOV RDI,RBP
CALL 0x0010d6a0
TEST EAX,EAX
JZ 0x00148657
ADD RBX,0x20
ADD R12D,0x1
CMP qword ptr [RBX + -0x10],0x0
JZ 0x00148678
MOV EAX,dword ptr [RBX + 0xc]
MOV RBP,qword ptr [RBX]
TEST EAX,EAX
JZ 0x00148610
CALL 0x00148550
MOV RSI,R13
TEST EAX,EAX
SETZ AL
MOVZX EAX,AL
ADD RBP,RAX
MOV RDI,RBP
CALL 0x0010d6a0
TEST EAX,EAX
JNZ 0x0014861f
MOVSXD R12,R12D
LEA RAX,[0x2b3e20]
SHL R12,0x5
MOV EAX,dword ptr [RAX + R12*0x1 + 0x18]
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
ADD RSP,0x8
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
RET
XOR EAX,EAX
RET
(translation_unit "undefined4 FUN_001485e0(char *param_1)\n\n{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}\n\n" (function_definition "undefined4 FUN_001485e0(char *param_1)\n\n{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}" type_identifier (function_declarator "FUN_001485e0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}" { (declaration "undefined **ppuVar1;" type_identifier (pointer_declarator "**ppuVar1" * (pointer_declarator "*ppuVar1" * identifier)) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(PTR_DAT_002b3e20 == (undefined *)0x0)" ( (binary_expression "PTR_DAT_002b3e20 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "ppuVar3 = &PTR_s___image_base___002b3e30;" (assignment_expression "ppuVar3 = &PTR_s___image_base___002b3e30" identifier = (pointer_expression "&PTR_s___image_base___002b3e30" & identifier)) ;) (while_statement "while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "__s1 = *ppuVar3;" (assignment_expression "__s1 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (if_statement "if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" if (parenthesized_expression "(*(int *)((long)ppuVar3 + 0xc) == 0)" ( (binary_expression "*(int *)((long)ppuVar3 + 0xc) == 0" (pointer_expression "*(int *)((long)ppuVar3 + 0xc)" * (cast_expression "(int *)((long)ppuVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppuVar3 + 0xc)" ( (binary_expression "(long)ppuVar3 + 0xc" (cast_expression "(long)ppuVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar2 = strcmp(__s1,param_1);\n    }" { (expression_statement "iVar2 = strcmp(__s1,param_1);" (assignment_expression "iVar2 = strcmp(__s1,param_1)" identifier = (call_expression "strcmp(__s1,param_1)" identifier (argument_list "(__s1,param_1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" else (compound_statement "{\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" { (expression_statement "iVar2 = FUN_00148550();" (assignment_expression "iVar2 = FUN_00148550()" identifier = (call_expression "FUN_00148550()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);" (assignment_expression "iVar2 = strcmp(__s1 + (iVar2 == 0),param_1)" identifier = (call_expression "strcmp(__s1 + (iVar2 == 0),param_1)" identifier (argument_list "(__s1 + (iVar2 == 0),param_1)" ( (binary_expression "__s1 + (iVar2 == 0)" identifier + (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) ))) , identifier )))) ;) }))) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar1 = ppuVar3 + 2;" (assignment_expression "ppuVar1 = ppuVar3 + 2" identifier = (binary_expression "ppuVar3 + 2" identifier + number_literal)) ;) (expression_statement "ppuVar3 = ppuVar3 + 4;" (assignment_expression "ppuVar3 = ppuVar3 + 4" identifier = (binary_expression "ppuVar3 + 4" identifier + number_literal)) ;) (if_statement "if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(*ppuVar1 == (undefined *)0x0)" ( (binary_expression "*ppuVar1 == (undefined *)0x0" (pointer_expression "*ppuVar1" * identifier) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return (&DAT_002b3e38)[(long)iVar4 * 8];" return (subscript_expression "(&DAT_002b3e38)[(long)iVar4 * 8]" (parenthesized_expression "(&DAT_002b3e38)" ( (pointer_expression "&DAT_002b3e38" & identifier) )) [ (binary_expression "(long)iVar4 * 8" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) ]) ;) })))
(translation_unit "int saw_option(char *option)\n\n{\n  long *plVar1;\n  char *__s1;\n  int iVar2;\n  char **ppcVar3;\n  int iVar4;\n  \n  if (init[0].ptr == (void *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppcVar3 = &init[0].symbol;\n  while( true ) {\n    __s1 = *ppcVar3;\n    if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,option);\n    }\n    else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    plVar1 = (long *)(ppcVar3 + 2);\n    ppcVar3 = ppcVar3 + 4;\n    if (*plVar1 == 0) {\n      return 0;\n    }\n  }\n  return init[iVar4].inited;\n}\n\n" (function_definition "int saw_option(char *option)\n\n{\n  long *plVar1;\n  char *__s1;\n  int iVar2;\n  char **ppcVar3;\n  int iVar4;\n  \n  if (init[0].ptr == (void *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppcVar3 = &init[0].symbol;\n  while( true ) {\n    __s1 = *ppcVar3;\n    if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,option);\n    }\n    else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    plVar1 = (long *)(ppcVar3 + 2);\n    ppcVar3 = ppcVar3 + 4;\n    if (*plVar1 == 0) {\n      return 0;\n    }\n  }\n  return init[iVar4].inited;\n}" primitive_type (function_declarator "saw_option(char *option)" identifier (parameter_list "(char *option)" ( (parameter_declaration "char *option" primitive_type (pointer_declarator "*option" * identifier)) ))) (compound_statement "{\n  long *plVar1;\n  char *__s1;\n  int iVar2;\n  char **ppcVar3;\n  int iVar4;\n  \n  if (init[0].ptr == (void *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppcVar3 = &init[0].symbol;\n  while( true ) {\n    __s1 = *ppcVar3;\n    if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,option);\n    }\n    else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    plVar1 = (long *)(ppcVar3 + 2);\n    ppcVar3 = ppcVar3 + 4;\n    if (*plVar1 == 0) {\n      return 0;\n    }\n  }\n  return init[iVar4].inited;\n}" { (declaration "long *plVar1;" (sized_type_specifier "long" long) (pointer_declarator "*plVar1" * identifier) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char **ppcVar3;" primitive_type (pointer_declarator "**ppcVar3" * (pointer_declarator "*ppcVar3" * identifier)) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (init[0].ptr == (void *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(init[0].ptr == (void *)0x0)" ( (binary_expression "init[0].ptr == (void *)0x0" (field_expression "init[0].ptr" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "ppcVar3 = &init[0].symbol;" (assignment_expression "ppcVar3 = &init[0].symbol" identifier = (pointer_expression "&init[0].symbol" & (field_expression "init[0].symbol" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier))) ;) (while_statement "while( true ) {\n    __s1 = *ppcVar3;\n    if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,option);\n    }\n    else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    plVar1 = (long *)(ppcVar3 + 2);\n    ppcVar3 = ppcVar3 + 4;\n    if (*plVar1 == 0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    __s1 = *ppcVar3;\n    if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,option);\n    }\n    else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    plVar1 = (long *)(ppcVar3 + 2);\n    ppcVar3 = ppcVar3 + 4;\n    if (*plVar1 == 0) {\n      return 0;\n    }\n  }" { (expression_statement "__s1 = *ppcVar3;" (assignment_expression "__s1 = *ppcVar3" identifier = (pointer_expression "*ppcVar3" * identifier)) ;) (if_statement "if (*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,option);\n    }\n    else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }" if (parenthesized_expression "(*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0)" ( (binary_expression "*(bfd_boolean *)((long)ppcVar3 + 0xc) == 0" (pointer_expression "*(bfd_boolean *)((long)ppcVar3 + 0xc)" * (cast_expression "(bfd_boolean *)((long)ppcVar3 + 0xc)" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppcVar3 + 0xc)" ( (binary_expression "(long)ppcVar3 + 0xc" (cast_expression "(long)ppcVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar2 = strcmp(__s1,option);\n    }" { (expression_statement "iVar2 = strcmp(__s1,option);" (assignment_expression "iVar2 = strcmp(__s1,option)" identifier = (call_expression "strcmp(__s1,option)" identifier (argument_list "(__s1,option)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }" else (compound_statement "{\n      iVar2 = is_underscoring();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),option);\n    }" { (expression_statement "iVar2 = is_underscoring();" (assignment_expression "iVar2 = is_underscoring()" identifier = (call_expression "is_underscoring()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = strcmp(__s1 + (iVar2 == 0),option);" (assignment_expression "iVar2 = strcmp(__s1 + (iVar2 == 0),option)" identifier = (call_expression "strcmp(__s1 + (iVar2 == 0),option)" identifier (argument_list "(__s1 + (iVar2 == 0),option)" ( (binary_expression "__s1 + (iVar2 == 0)" identifier + (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) ))) , identifier )))) ;) }))) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "plVar1 = (long *)(ppcVar3 + 2);" (assignment_expression "plVar1 = (long *)(ppcVar3 + 2)" identifier = (cast_expression "(long *)(ppcVar3 + 2)" ( (type_descriptor "long *" (sized_type_specifier "long" long) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(ppcVar3 + 2)" ( (binary_expression "ppcVar3 + 2" identifier + number_literal) )))) ;) (expression_statement "ppcVar3 = ppcVar3 + 4;" (assignment_expression "ppcVar3 = ppcVar3 + 4" identifier = (binary_expression "ppcVar3 + 4" identifier + number_literal)) ;) (if_statement "if (*plVar1 == 0) {\n      return 0;\n    }" if (parenthesized_expression "(*plVar1 == 0)" ( (binary_expression "*plVar1 == 0" (pointer_expression "*plVar1" * identifier) == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return init[iVar4].inited;" return (field_expression "init[iVar4].inited" (subscript_expression "init[iVar4]" identifier [ identifier ]) . field_identifier) ;) })))
(translation_unit "undefined4 FUN_001485e0(char *param_1)\n\n{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}\n\n" (function_definition "undefined4 FUN_001485e0(char *param_1)\n\n{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}" type_identifier (function_declarator "FUN_001485e0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}" { (declaration "undefined **ppuVar1;" type_identifier (pointer_declarator "**ppuVar1" * (pointer_declarator "*ppuVar1" * identifier)) ;) (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined **ppuVar3;" type_identifier (pointer_declarator "**ppuVar3" * (pointer_declarator "*ppuVar3" * identifier)) ;) (declaration "int iVar4;" primitive_type identifier ;) (if_statement "if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }" if (parenthesized_expression "(PTR_DAT_002b3e20 == (undefined *)0x0)" ( (binary_expression "PTR_DAT_002b3e20 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "ppuVar3 = &PTR_s___image_base___002b3e30;" (assignment_expression "ppuVar3 = &PTR_s___image_base___002b3e30" identifier = (pointer_expression "&PTR_s___image_base___002b3e30" & identifier)) ;) (while_statement "while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }" { (expression_statement "__s1 = *ppuVar3;" (assignment_expression "__s1 = *ppuVar3" identifier = (pointer_expression "*ppuVar3" * identifier)) ;) (if_statement "if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" if (parenthesized_expression "(*(int *)((long)ppuVar3 + 0xc) == 0)" ( (binary_expression "*(int *)((long)ppuVar3 + 0xc) == 0" (pointer_expression "*(int *)((long)ppuVar3 + 0xc)" * (cast_expression "(int *)((long)ppuVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppuVar3 + 0xc)" ( (binary_expression "(long)ppuVar3 + 0xc" (cast_expression "(long)ppuVar3" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar2 = strcmp(__s1,param_1);\n    }" { (expression_statement "iVar2 = strcmp(__s1,param_1);" (assignment_expression "iVar2 = strcmp(__s1,param_1)" identifier = (call_expression "strcmp(__s1,param_1)" identifier (argument_list "(__s1,param_1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" else (compound_statement "{\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" { (expression_statement "iVar2 = FUN_00148550();" (assignment_expression "iVar2 = FUN_00148550()" identifier = (call_expression "FUN_00148550()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);" (assignment_expression "iVar2 = strcmp(__s1 + (iVar2 == 0),param_1)" identifier = (call_expression "strcmp(__s1 + (iVar2 == 0),param_1)" identifier (argument_list "(__s1 + (iVar2 == 0),param_1)" ( (binary_expression "__s1 + (iVar2 == 0)" identifier + (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) ))) , identifier )))) ;) }))) (if_statement "if (iVar2 == 0) break;" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "ppuVar1 = ppuVar3 + 2;" (assignment_expression "ppuVar1 = ppuVar3 + 2" identifier = (binary_expression "ppuVar3 + 2" identifier + number_literal)) ;) (expression_statement "ppuVar3 = ppuVar3 + 4;" (assignment_expression "ppuVar3 = ppuVar3 + 4" identifier = (binary_expression "ppuVar3 + 4" identifier + number_literal)) ;) (if_statement "if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(*ppuVar1 == (undefined *)0x0)" ( (binary_expression "*ppuVar1 == (undefined *)0x0" (pointer_expression "*ppuVar1" * identifier) == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return (&DAT_002b3e38)[(long)iVar4 * 8];" return (subscript_expression "(&DAT_002b3e38)[(long)iVar4 * 8]" (parenthesized_expression "(&DAT_002b3e38)" ( (pointer_expression "&DAT_002b3e38" & identifier) )) [ (binary_expression "(long)iVar4 * 8" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) ]) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT == LIT) ))) , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) })) (return_statement return (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT) ]) ;) })))
(function_definition "undefined4 FUN_001485e0(char *param_1)\n\n{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}" (type_identifier "undefined4") (function_declarator "FUN_001485e0(char *param_1)" (identifier "FUN_001485e0") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined **ppuVar1;\n  char *__s1;\n  int iVar2;\n  undefined **ppuVar3;\n  int iVar4;\n  \n  if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }\n  iVar4 = 0;\n  ppuVar3 = &PTR_s___image_base___002b3e30;\n  while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }\n  return (&DAT_002b3e38)[(long)iVar4 * 8];\n}" ({ "{") (declaration "undefined **ppuVar1;" (type_identifier "undefined") (pointer_declarator "**ppuVar1" (* "*") (pointer_declarator "*ppuVar1" (* "*") (identifier "ppuVar1"))) (; ";")) (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined **ppuVar3;" (type_identifier "undefined") (pointer_declarator "**ppuVar3" (* "*") (pointer_declarator "*ppuVar3" (* "*") (identifier "ppuVar3"))) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (if_statement "if (PTR_DAT_002b3e20 == (undefined *)0x0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(PTR_DAT_002b3e20 == (undefined *)0x0)" (( "(") (binary_expression "PTR_DAT_002b3e20 == (undefined *)0x0" (identifier "PTR_DAT_002b3e20") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "ppuVar3 = &PTR_s___image_base___002b3e30;" (assignment_expression "ppuVar3 = &PTR_s___image_base___002b3e30" (identifier "ppuVar3") (= "=") (pointer_expression "&PTR_s___image_base___002b3e30" (& "&") (identifier "PTR_s___image_base___002b3e30"))) (; ";")) (while_statement "while( true ) {\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    __s1 = *ppuVar3;\n    if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }\n    if (iVar2 == 0) break;\n    iVar4 = iVar4 + 1;\n    ppuVar1 = ppuVar3 + 2;\n    ppuVar3 = ppuVar3 + 4;\n    if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "__s1 = *ppuVar3;" (assignment_expression "__s1 = *ppuVar3" (identifier "__s1") (= "=") (pointer_expression "*ppuVar3" (* "*") (identifier "ppuVar3"))) (; ";")) (if_statement "if (*(int *)((long)ppuVar3 + 0xc) == 0) {\n      iVar2 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" (if "if") (parenthesized_expression "(*(int *)((long)ppuVar3 + 0xc) == 0)" (( "(") (binary_expression "*(int *)((long)ppuVar3 + 0xc) == 0" (pointer_expression "*(int *)((long)ppuVar3 + 0xc)" (* "*") (cast_expression "(int *)((long)ppuVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)ppuVar3 + 0xc)" (( "(") (binary_expression "(long)ppuVar3 + 0xc" (cast_expression "(long)ppuVar3" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "ppuVar3")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = strcmp(__s1,param_1);\n    }" ({ "{") (expression_statement "iVar2 = strcmp(__s1,param_1);" (assignment_expression "iVar2 = strcmp(__s1,param_1)" (identifier "iVar2") (= "=") (call_expression "strcmp(__s1,param_1)" (identifier "strcmp") (argument_list "(__s1,param_1)" (( "(") (identifier "__s1") (, ",") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" (else "else") (compound_statement "{\n      iVar2 = FUN_00148550();\n      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);\n    }" ({ "{") (expression_statement "iVar2 = FUN_00148550();" (assignment_expression "iVar2 = FUN_00148550()" (identifier "iVar2") (= "=") (call_expression "FUN_00148550()" (identifier "FUN_00148550") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);" (assignment_expression "iVar2 = strcmp(__s1 + (iVar2 == 0),param_1)" (identifier "iVar2") (= "=") (call_expression "strcmp(__s1 + (iVar2 == 0),param_1)" (identifier "strcmp") (argument_list "(__s1 + (iVar2 == 0),param_1)" (( "(") (binary_expression "__s1 + (iVar2 == 0)" (identifier "__s1") (+ "+") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")"))) (, ",") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar2 == 0) break;" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "ppuVar1 = ppuVar3 + 2;" (assignment_expression "ppuVar1 = ppuVar3 + 2" (identifier "ppuVar1") (= "=") (binary_expression "ppuVar3 + 2" (identifier "ppuVar3") (+ "+") (number_literal "2"))) (; ";")) (expression_statement "ppuVar3 = ppuVar3 + 4;" (assignment_expression "ppuVar3 = ppuVar3 + 4" (identifier "ppuVar3") (= "=") (binary_expression "ppuVar3 + 4" (identifier "ppuVar3") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*ppuVar1 == (undefined *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(*ppuVar1 == (undefined *)0x0)" (( "(") (binary_expression "*ppuVar1 == (undefined *)0x0" (pointer_expression "*ppuVar1" (* "*") (identifier "ppuVar1")) (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (return_statement "return (&DAT_002b3e38)[(long)iVar4 * 8];" (return "return") (subscript_expression "(&DAT_002b3e38)[(long)iVar4 * 8]" (parenthesized_expression "(&DAT_002b3e38)" (( "(") (pointer_expression "&DAT_002b3e38" (& "&") (identifier "DAT_002b3e38")) () ")")) ([ "[") (binary_expression "(long)iVar4 * 8" (cast_expression "(long)iVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar4")) (* "*") (number_literal "8")) (] "]")) (; ";")) (} "}")))

int function_1(char *option)

{
  long *plVar1;
  char *var_3;
  int var_4;
  char **var_6;
  int var_5;
  
  if (init[0].ptr == (void *)0x0) {
    return 0;
  }
  var_5 = 0;
  var_6 = &init[0].symbol;
  while( true ) {
    var_3 = *var_6;
    if (*(type_1 *)((long)var_6 + 0xc) == 0) {
      var_4 = var_1(var_3,option);
    }
    else {
      var_4 = var_2();
      var_4 = var_1(var_3 + (var_4 == 0),option);
    }
    if (var_4 == 0) break;
    var_5 = var_5 + 1;
    plVar1 = (long *)(var_6 + 2);
    var_6 = var_6 + 4;
    if (*plVar1 == 0) {
      return 0;
    }
  }
  return init[var_5].inited;
}


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

undefined4 MASKED(char *param_1)

{
  undefined **ppuVar1;
  char *__s1;
  int iVar2;
  undefined **ppuVar3;
  int iVar4;
  
  if (PTR_DAT_002b3e20 == (undefined *)0x0) {
    return 0;
  }
  iVar4 = 0;
  ppuVar3 = &PTR_s___image_base___002b3e30;
  while( true ) {
    __s1 = *ppuVar3;
    if (*(int *)((long)ppuVar3 + 0xc) == 0) {
      iVar2 = strcmp(__s1,param_1);
    }
    else {
      iVar2 = FUN_00148550();
      iVar2 = strcmp(__s1 + (iVar2 == 0),param_1);
    }
    if (iVar2 == 0) break;
    iVar4 = iVar4 + 1;
    ppuVar1 = ppuVar3 + 2;
    ppuVar3 = ppuVar3 + 4;
    if (*ppuVar1 == (undefined *)0x0) {
      return 0;
    }
  }
  return (&DAT_002b3e38)[(long)iVar4 * 8];
}

