
void sv_opterr(char *name)

{
  char *pcVar1;
  undefined4 uVar2;
  
  pcVar1 = get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);
  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {
    uVar2 = 1;
  }
  else {
    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);
  }
  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;
  return;
}



void sv_opterr(void)

{
  char *pcVar1;
  undefined4 uVar2;
  
  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);
  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {
    uVar2 = 1;
  }
  else {
    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);
  }
  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;
  return;
}


lui gp,0x10
addiu gp,gp,0x4ce0
addu gp,gp,t9
addiu sp,sp,-0x20
sw ra,0x1c(sp)
sw gp,0x10(sp)
lw a0,-0x7eec(gp)
addiu a0,a0,-0x7234
lw t9,-0x7db8(gp)
bal 0x000593ac
_nop
lw gp,0x10(sp)
beq v0,zero,0x000598dc
_nop
lb v1,0x0(v0)
bne v1,zero,0x000598bc
_li a2,0xa
li v0,0x1
lw v1,-0x756c(gp)
sw v0,0x0(v1)
lw ra,0x1c(sp)
jr ra
_addiu sp,sp,0x20
or a1,zero,zero
or a0,v0,zero
lw t9,-0x626c(gp)
jalr t9
_nop
lw gp,0x10(sp)
b 0x000598ac
_lw v1,-0x756c(gp)
b 0x000598a8
_li v0,0x1
(translation_unit "void sv_opterr(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}\n\n" (function_definition "void sv_opterr(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" primitive_type (function_declarator "sv_opterr(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);" (assignment_expression "pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" identifier = (cast_expression "(char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" identifier (argument_list "(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" ( (binary_expression "PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234" identifier + number_literal) ))))) ;) (if_statement "if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" if (parenthesized_expression "((pcVar1 == (char *)0x0) || (*pcVar1 == '\0'))" ( (binary_expression "(pcVar1 == (char *)0x0) || (*pcVar1 == '\0')" (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_001582d4)" ( (pointer_expression "*(code *)PTR_strtol_001582d4" * (cast_expression "(code *)PTR_strtol_001582d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,0,10)" ( identifier , number_literal , number_literal )))) ;) }))) (expression_statement "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;" (assignment_expression "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2" (pointer_expression "*(undefined4 *)PTR_sh_opterr_00156fd4" * (cast_expression "(undefined4 *)PTR_sh_opterr_00156fd4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void sv_opterr(char *name)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}\n\n" (function_definition "void sv_opterr(char *name)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" primitive_type (function_declarator "sv_opterr(char *name)" identifier (parameter_list "(char *name)" ( (parameter_declaration "char *name" primitive_type (pointer_declarator "*name" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "pcVar1 = get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);" (assignment_expression "pcVar1 = get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" identifier = (call_expression "get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" identifier (argument_list "(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" ( (binary_expression "PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234" identifier + number_literal) )))) ;) (if_statement "if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" if (parenthesized_expression "((pcVar1 == (char *)0x0) || (*pcVar1 == '\0'))" ( (binary_expression "(pcVar1 == (char *)0x0) || (*pcVar1 == '\0')" (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_001582d4)" ( (pointer_expression "*(code *)PTR_strtol_001582d4" * (cast_expression "(code *)PTR_strtol_001582d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,0,10)" ( identifier , number_literal , number_literal )))) ;) }))) (expression_statement "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;" (assignment_expression "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2" (pointer_expression "*(undefined4 *)PTR_sh_opterr_00156fd4" * (cast_expression "(undefined4 *)PTR_sh_opterr_00156fd4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void sv_opterr(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}\n\n" (function_definition "void sv_opterr(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" primitive_type (function_declarator "sv_opterr(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);" (assignment_expression "pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" identifier = (cast_expression "(char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" identifier (argument_list "(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" ( (binary_expression "PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234" identifier + number_literal) ))))) ;) (if_statement "if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" if (parenthesized_expression "((pcVar1 == (char *)0x0) || (*pcVar1 == '\0'))" ( (binary_expression "(pcVar1 == (char *)0x0) || (*pcVar1 == '\0')" (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    uVar2 = 1;\n  }" { (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" identifier = number_literal) ;) }) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" else (compound_statement "{\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" { (expression_statement "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_001582d4)" ( (pointer_expression "*(code *)PTR_strtol_001582d4" * (cast_expression "(code *)PTR_strtol_001582d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pcVar1,0,10)" ( identifier , number_literal , number_literal )))) ;) }))) (expression_statement "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;" (assignment_expression "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2" (pointer_expression "*(undefined4 *)PTR_sh_opterr_00156fd4" * (cast_expression "(undefined4 *)PTR_sh_opterr_00156fd4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) }))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) = IDENT) ;) (return_statement return ;) })))
(function_definition "void sv_opterr(void)\n\n{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "sv_opterr(void)" (identifier "sv_opterr") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  undefined4 uVar2;\n  \n  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);\n  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }\n  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);" (assignment_expression "pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" (identifier "pcVar1") (= "=") (cast_expression "(char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" (identifier "get_string_value") (argument_list "(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234)" (( "(") (binary_expression "PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234" (identifier "PTR_s_at_element__and_the_COMMANDS_are_00156654") (+ "+") (number_literal "-0x7234")) () ")"))))) (; ";")) (if_statement "if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {\n    uVar2 = 1;\n  }\n  else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" (if "if") (parenthesized_expression "((pcVar1 == (char *)0x0) || (*pcVar1 == '\0'))" (( "(") (binary_expression "(pcVar1 == (char *)0x0) || (*pcVar1 == '\0')" (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(*pcVar1 == '\0')" (( "(") (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    uVar2 = 1;\n  }" ({ "{") (expression_statement "uVar2 = 1;" (assignment_expression "uVar2 = 1" (identifier "uVar2") (= "=") (number_literal "1")) (; ";")) (} "}")) (else_clause "else {\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" (else "else") (compound_statement "{\n    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);\n  }" ({ "{") (expression_statement "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);" (assignment_expression "uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strtol_001582d4)(pcVar1,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_001582d4)" (( "(") (pointer_expression "*(code *)PTR_strtol_001582d4" (* "*") (cast_expression "(code *)PTR_strtol_001582d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_001582d4"))) () ")")) (argument_list "(pcVar1,0,10)" (( "(") (identifier "pcVar1") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (} "}")))) (expression_statement "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;" (assignment_expression "*(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2" (pointer_expression "*(undefined4 *)PTR_sh_opterr_00156fd4" (* "*") (cast_expression "(undefined4 *)PTR_sh_opterr_00156fd4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_sh_opterr_00156fd4"))) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(char *name)

{
  char *var_3;
  type_1 uVar2;
  
  var_3 = var_1(var_2 + -0x7234);
  if ((var_3 == (char *)0x0) || (*var_3 == '\0')) {
    uVar2 = 1;
  }
  else {
    uVar2 = (*(type_2 *)PTR_strtol_001582d4)(var_3,0,10);
  }
  *(type_1 *)PTR_sh_opterr_00156fd4 = uVar2;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier))) right: (identifier))) (return_statement))))

void MASKED(void)

{
  char *pcVar1;
  undefined4 uVar2;
  
  pcVar1 = (char *)get_string_value(PTR_s_at_element__and_the_COMMANDS_are_00156654 + -0x7234);
  if ((pcVar1 == (char *)0x0) || (*pcVar1 == '\0')) {
    uVar2 = 1;
  }
  else {
    uVar2 = (*(code *)PTR_strtol_001582d4)(pcVar1,0,10);
  }
  *(undefined4 *)PTR_sh_opterr_00156fd4 = uVar2;
  return;
}

