
void find_longest_section_name(bfd *abfd,asection *section,void *data)

{
  bfd_boolean bVar1;
  size_t sVar2;
  int *longest_so_far;
  
  if ((section->flags & 0x100000) != 0) {
    return;
  }
  bVar1 = process_section_p(section);
  if (bVar1 != 0) {
    sVar2 = strlen(section->name);
                    /* WARNING: Load size is inaccurate */
    if (*data < (int)sVar2) {
      *(int *)data = (int)sVar2;
    }
  }
  return;
}



void FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)

{
  int iVar1;
  size_t sVar2;
  
  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {
    return;
  }
  iVar1 = FUN_0010a400(param_2);
  if (iVar1 != 0) {
    sVar2 = strlen((char *)*param_2);
    if (*param_3 < (int)sVar2) {
      *param_3 = (int)sVar2;
    }
  }
  return;
}


TEST byte ptr [RSI + 0x22],0x10
JZ 0x0010b040
RET
PUSH RBP
MOV RDI,RSI
MOV RBP,RDX
PUSH RBX
MOV RBX,RSI
SUB RSP,0x8
CALL 0x0010a400
TEST EAX,EAX
JZ 0x0010b068
MOV RDI,qword ptr [RBX]
CALL 0x00107250
CMP EAX,dword ptr [RBP]
JLE 0x0010b068
MOV dword ptr [RBP],EAX
ADD RSP,0x8
POP RBX
POP RBP
RET
(translation_unit "void FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 *param_2,int *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (if_statement "if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(byte *)((long)param_2 + 0x22) & 0x10) != 0)" ( (binary_expression "(*(byte *)((long)param_2 + 0x22) & 0x10) != 0" (parenthesized_expression "(*(byte *)((long)param_2 + 0x22) & 0x10)" ( (binary_expression "*(byte *)((long)param_2 + 0x22) & 0x10" (pointer_expression "*(byte *)((long)param_2 + 0x22)" * (cast_expression "(byte *)((long)param_2 + 0x22)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x22)" ( (binary_expression "(long)param_2 + 0x22" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = FUN_0010a400(param_2);" (assignment_expression "iVar1 = FUN_0010a400(param_2)" identifier = (call_expression "FUN_0010a400(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }" { (expression_statement "sVar2 = strlen((char *)*param_2);" (assignment_expression "sVar2 = strlen((char *)*param_2)" identifier = (call_expression "strlen((char *)*param_2)" identifier (argument_list "((char *)*param_2)" ( (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (if_statement "if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }" if (parenthesized_expression "(*param_3 < (int)sVar2)" ( (binary_expression "*param_3 < (int)sVar2" (pointer_expression "*param_3" * identifier) < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      *param_3 = (int)sVar2;\n    }" { (expression_statement "*param_3 = (int)sVar2;" (assignment_expression "*param_3 = (int)sVar2" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void find_longest_section_name(bfd *abfd,asection *section,void *data)\n\n{\n  bfd_boolean bVar1;\n  size_t sVar2;\n  int *longest_so_far;\n  \n  if ((section->flags & 0x100000) != 0) {\n    return;\n  }\n  bVar1 = process_section_p(section);\n  if (bVar1 != 0) {\n    sVar2 = strlen(section->name);\n                    /* WARNING: Load size is inaccurate */\n    if (*data < (int)sVar2) {\n      *(int *)data = (int)sVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void find_longest_section_name(bfd *abfd,asection *section,void *data)\n\n{\n  bfd_boolean bVar1;\n  size_t sVar2;\n  int *longest_so_far;\n  \n  if ((section->flags & 0x100000) != 0) {\n    return;\n  }\n  bVar1 = process_section_p(section);\n  if (bVar1 != 0) {\n    sVar2 = strlen(section->name);\n                    /* WARNING: Load size is inaccurate */\n    if (*data < (int)sVar2) {\n      *(int *)data = (int)sVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "find_longest_section_name(bfd *abfd,asection *section,void *data)" identifier (parameter_list "(bfd *abfd,asection *section,void *data)" ( (parameter_declaration "bfd *abfd" type_identifier (pointer_declarator "*abfd" * identifier)) , (parameter_declaration "asection *section" type_identifier (pointer_declarator "*section" * identifier)) , (parameter_declaration "void *data" primitive_type (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  bfd_boolean bVar1;\n  size_t sVar2;\n  int *longest_so_far;\n  \n  if ((section->flags & 0x100000) != 0) {\n    return;\n  }\n  bVar1 = process_section_p(section);\n  if (bVar1 != 0) {\n    sVar2 = strlen(section->name);\n                    /* WARNING: Load size is inaccurate */\n    if (*data < (int)sVar2) {\n      *(int *)data = (int)sVar2;\n    }\n  }\n  return;\n}" { (declaration "bfd_boolean bVar1;" type_identifier identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (declaration "int *longest_so_far;" primitive_type (pointer_declarator "*longest_so_far" * identifier) ;) (if_statement "if ((section->flags & 0x100000) != 0) {\n    return;\n  }" if (parenthesized_expression "((section->flags & 0x100000) != 0)" ( (binary_expression "(section->flags & 0x100000) != 0" (parenthesized_expression "(section->flags & 0x100000)" ( (binary_expression "section->flags & 0x100000" (field_expression "section->flags" identifier -> field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "bVar1 = process_section_p(section);" (assignment_expression "bVar1 = process_section_p(section)" identifier = (call_expression "process_section_p(section)" identifier (argument_list "(section)" ( identifier )))) ;) (if_statement "if (bVar1 != 0) {\n    sVar2 = strlen(section->name);\n                    /* WARNING: Load size is inaccurate */\n    if (*data < (int)sVar2) {\n      *(int *)data = (int)sVar2;\n    }\n  }" if (parenthesized_expression "(bVar1 != 0)" ( (binary_expression "bVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    sVar2 = strlen(section->name);\n                    /* WARNING: Load size is inaccurate */\n    if (*data < (int)sVar2) {\n      *(int *)data = (int)sVar2;\n    }\n  }" { (expression_statement "sVar2 = strlen(section->name);" (assignment_expression "sVar2 = strlen(section->name)" identifier = (call_expression "strlen(section->name)" identifier (argument_list "(section->name)" ( (field_expression "section->name" identifier -> field_identifier) )))) ;) comment (if_statement "if (*data < (int)sVar2) {\n      *(int *)data = (int)sVar2;\n    }" if (parenthesized_expression "(*data < (int)sVar2)" ( (binary_expression "*data < (int)sVar2" (pointer_expression "*data" * identifier) < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      *(int *)data = (int)sVar2;\n    }" { (expression_statement "*(int *)data = (int)sVar2;" (assignment_expression "*(int *)data = (int)sVar2" (pointer_expression "*(int *)data" * (cast_expression "(int *)data" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier)) = (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}\n\n" (function_definition "void FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}" primitive_type (function_declarator "FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)" identifier (parameter_list "(undefined8 param_1,undefined8 *param_2,int *param_3)" ( (parameter_declaration "undefined8 param_1" type_identifier identifier) , (parameter_declaration "undefined8 *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "size_t sVar2;" primitive_type identifier ;) (if_statement "if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }" if (parenthesized_expression "((*(byte *)((long)param_2 + 0x22) & 0x10) != 0)" ( (binary_expression "(*(byte *)((long)param_2 + 0x22) & 0x10) != 0" (parenthesized_expression "(*(byte *)((long)param_2 + 0x22) & 0x10)" ( (binary_expression "*(byte *)((long)param_2 + 0x22) & 0x10" (pointer_expression "*(byte *)((long)param_2 + 0x22)" * (cast_expression "(byte *)((long)param_2 + 0x22)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_2 + 0x22)" ( (binary_expression "(long)param_2 + 0x22" (cast_expression "(long)param_2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar1 = FUN_0010a400(param_2);" (assignment_expression "iVar1 = FUN_0010a400(param_2)" identifier = (call_expression "FUN_0010a400(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }" { (expression_statement "sVar2 = strlen((char *)*param_2);" (assignment_expression "sVar2 = strlen((char *)*param_2)" identifier = (call_expression "strlen((char *)*param_2)" identifier (argument_list "((char *)*param_2)" ( (cast_expression "(char *)*param_2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) )))) ;) (if_statement "if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }" if (parenthesized_expression "(*param_3 < (int)sVar2)" ( (binary_expression "*param_3 < (int)sVar2" (pointer_expression "*param_3" * identifier) < (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      *param_3 = (int)sVar2;\n    }" { (expression_statement "*param_3 = (int)sVar2;" (assignment_expression "*param_3 = (int)sVar2" (pointer_expression "*param_3" * identifier) = (cast_expression "(int)sVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ;) })) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) })) })) (return_statement return ;) })))
(function_definition "void FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)\n\n{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010b030(undefined8 param_1,undefined8 *param_2,int *param_3)" (identifier "FUN_0010b030") (parameter_list "(undefined8 param_1,undefined8 *param_2,int *param_3)" (( "(") (parameter_declaration "undefined8 param_1" (type_identifier "undefined8") (identifier "param_1")) (, ",") (parameter_declaration "undefined8 *param_2" (type_identifier "undefined8") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  size_t sVar2;\n  \n  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }\n  iVar1 = FUN_0010a400(param_2);\n  if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "size_t sVar2;" (primitive_type "size_t") (identifier "sVar2") (; ";")) (if_statement "if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)((long)param_2 + 0x22) & 0x10) != 0)" (( "(") (binary_expression "(*(byte *)((long)param_2 + 0x22) & 0x10) != 0" (parenthesized_expression "(*(byte *)((long)param_2 + 0x22) & 0x10)" (( "(") (binary_expression "*(byte *)((long)param_2 + 0x22) & 0x10" (pointer_expression "*(byte *)((long)param_2 + 0x22)" (* "*") (cast_expression "(byte *)((long)param_2 + 0x22)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_2 + 0x22)" (( "(") (binary_expression "(long)param_2 + 0x22" (cast_expression "(long)param_2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_2")) (+ "+") (number_literal "0x22")) () ")")))) (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar1 = FUN_0010a400(param_2);" (assignment_expression "iVar1 = FUN_0010a400(param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_0010a400(param_2)" (identifier "FUN_0010a400") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    sVar2 = strlen((char *)*param_2);\n    if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }\n  }" ({ "{") (expression_statement "sVar2 = strlen((char *)*param_2);" (assignment_expression "sVar2 = strlen((char *)*param_2)" (identifier "sVar2") (= "=") (call_expression "strlen((char *)*param_2)" (identifier "strlen") (argument_list "((char *)*param_2)" (( "(") (cast_expression "(char *)*param_2" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) () ")")))) (; ";")) (if_statement "if (*param_3 < (int)sVar2) {\n      *param_3 = (int)sVar2;\n    }" (if "if") (parenthesized_expression "(*param_3 < (int)sVar2)" (( "(") (binary_expression "*param_3 < (int)sVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (< "<") (cast_expression "(int)sVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar2"))) () ")")) (compound_statement "{\n      *param_3 = (int)sVar2;\n    }" ({ "{") (expression_statement "*param_3 = (int)sVar2;" (assignment_expression "*param_3 = (int)sVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (cast_expression "(int)sVar2" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "sVar2"))) (; ";")) (} "}"))) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *abfd,type_2 *section,void *data)

{
  type_3 var_2;
  size_t sVar2;
  int *longest_so_far;
  
  if ((section->flags & 0x100000) != 0) {
    return;
  }
  var_2 = var_1(section);
  if (var_2 != 0) {
    sVar2 = var_3(section->name);
                    /* WARNING: Load size is inaccurate */
    if (*data < (int)sVar2) {
      *(int *)data = (int)sVar2;
    }
  }
  return;
}


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

void MASKED(undefined8 param_1,undefined8 *param_2,int *param_3)

{
  int iVar1;
  size_t sVar2;
  
  if ((*(byte *)((long)param_2 + 0x22) & 0x10) != 0) {
    return;
  }
  iVar1 = FUN_0010a400(param_2);
  if (iVar1 != 0) {
    sVar2 = strlen((char *)*param_2);
    if (*param_3 < (int)sVar2) {
      *param_3 = (int)sVar2;
    }
  }
  return;
}

