
char * Curl_mime_contenttype(char *filename)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  
  if (filename == (char *)0x0) {
    return (char *)0x0;
  }
  uVar1 = (*(code *)PTR_strlen_000b1e9c)();
  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);
  iVar5 = 0;
  while( true ) {
    uVar6 = *puVar4;
    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);
    if ((uVar2 <= uVar1) &&
       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),
       iVar3 != 0)) break;
    iVar5 = iVar5 + 1;
    puVar4 = puVar4 + 2;
    if (iVar5 == 10) {
      return (char *)0x0;
    }
  }
  return *(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);
}



undefined4 FUN_00078584(int param_1)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  
  if (param_1 == 0) {
    return 0;
  }
  uVar1 = (*(code *)PTR_strlen_000b1e9c)();
  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);
  iVar5 = 0;
  while( true ) {
    uVar6 = *puVar4;
    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);
    if ((uVar2 <= uVar1) &&
       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;
    iVar5 = iVar5 + 1;
    puVar4 = puVar4 + 2;
    if (iVar5 == 10) {
      return 0;
    }
  }
  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);
}


lui gp,0x4
addiu gp,gp,0xb8c
addu gp,gp,t9
beq a0,zero,0x00078678
_lw t9,-0x7274(gp)
addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s5,0x30(sp)
sw s4,0x2c(sp)
sw s3,0x28(sp)
sw s2,0x24(sp)
sw s1,0x20(sp)
sw s0,0x1c(sp)
sw gp,0x10(sp)
or s4,a0,zero
jalr t9
_nop
lw gp,0x10(sp)
or s3,v0,zero
lw s0,-0x7fe4(gp)
addiu s0,s0,0xc68
or s1,zero,zero
b 0x000785f0
_li s5,0xa
addiu s1,s1,0x1
beq s1,s5,0x00078650
_addiu s0,s0,0x8
lw s2,0x0(s0)
or a0,s2,zero
lw t9,-0x7274(gp)
jalr t9
_nop
lw gp,0x10(sp)
sltu v1,s3,v0
bne v1,zero,0x000785e4
_subu v0,s3,v0
or a1,s2,zero
addu a0,s4,v0
lw t9,-0x7ec0(gp)
jalr t9
_nop
lw gp,0x10(sp)
beq v0,zero,0x000785e8
_addiu s1,s1,0x1
addiu s1,s1,-0x1
lw v0,-0x7fe4(gp)
sll s1,s1,0x3
addiu v0,v0,0xc68
addu s1,v0,s1
b 0x00078654
_lw v0,0x4(s1)
or v0,zero,zero
lw ra,0x34(sp)
lw s5,0x30(sp)
lw s4,0x2c(sp)
lw s3,0x28(sp)
lw s2,0x24(sp)
lw s1,0x20(sp)
lw s0,0x1c(sp)
jr ra
_addiu sp,sp,0x38
jr ra
_or v0,a0,zero
(translation_unit "undefined4 FUN_00078584(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}\n\n" (function_definition "undefined4 FUN_00078584(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" type_identifier (function_declarator "FUN_00078584(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = (*(code *)PTR_strlen_000b1e9c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000b1e9c)()" identifier = (call_expression "(*(code *)PTR_strlen_000b1e9c)()" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" ( (pointer_expression "*(code *)PTR_strlen_000b1e9c" * (cast_expression "(code *)PTR_strlen_000b1e9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000b112c + 0xc68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b112c + 0xc68)" ( (binary_expression "PTR_DAT_000b112c + 0xc68" identifier + number_literal) )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }" { (expression_statement "uVar6 = *puVar4;" (assignment_expression "uVar6 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6)" identifier = (call_expression "(*(code *)PTR_strlen_000b1e9c)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" ( (pointer_expression "*(code *)PTR_strlen_000b1e9c" * (cast_expression "(code *)PTR_strlen_000b1e9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;" if (parenthesized_expression "((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0))" ( (binary_expression "(uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)" (parenthesized_expression "(uVar2 <= uVar1)" ( (binary_expression "uVar2 <= uVar1" identifier <= identifier) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6)" identifier = (call_expression "(*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6)" (parenthesized_expression "(*(code *)PTR_FUN_000b1250)" ( (pointer_expression "*(code *)PTR_FUN_000b1250" * (cast_expression "(code *)PTR_FUN_000b1250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + (uVar1 - uVar2),uVar6)" ( (binary_expression "param_1 + (uVar1 - uVar2)" identifier + (parenthesized_expression "(uVar1 - uVar2)" ( (binary_expression "uVar1 - uVar2" identifier - identifier) ))) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar5 == 10) {\n      return 0;\n    }" if (parenthesized_expression "(iVar5 == 10)" ( (binary_expression "iVar5 == 10" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);" return (pointer_expression "*(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" * (cast_expression "(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" ( (binary_expression "PTR_DAT_000b112c + iVar5 * 8 + 0xc6c" (binary_expression "PTR_DAT_000b112c + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) ;) })))
(translation_unit "char * Curl_mime_contenttype(char *filename)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (filename == (char *)0x0) {\n    return (char *)0x0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return (char *)0x0;\n    }\n  }\n  return *(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}\n\n" (function_definition "char * Curl_mime_contenttype(char *filename)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (filename == (char *)0x0) {\n    return (char *)0x0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return (char *)0x0;\n    }\n  }\n  return *(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" primitive_type (pointer_declarator "* Curl_mime_contenttype(char *filename)" * (function_declarator "Curl_mime_contenttype(char *filename)" identifier (parameter_list "(char *filename)" ( (parameter_declaration "char *filename" primitive_type (pointer_declarator "*filename" * identifier)) )))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (filename == (char *)0x0) {\n    return (char *)0x0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return (char *)0x0;\n    }\n  }\n  return *(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (filename == (char *)0x0) {\n    return (char *)0x0;\n  }" if (parenthesized_expression "(filename == (char *)0x0)" ( (binary_expression "filename == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return (char *)0x0;\n  }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "uVar1 = (*(code *)PTR_strlen_000b1e9c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000b1e9c)()" identifier = (call_expression "(*(code *)PTR_strlen_000b1e9c)()" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" ( (pointer_expression "*(code *)PTR_strlen_000b1e9c" * (cast_expression "(code *)PTR_strlen_000b1e9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000b112c + 0xc68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b112c + 0xc68)" ( (binary_expression "PTR_DAT_000b112c + 0xc68" identifier + number_literal) )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return (char *)0x0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return (char *)0x0;\n    }\n  }" { (expression_statement "uVar6 = *puVar4;" (assignment_expression "uVar6 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6)" identifier = (call_expression "(*(code *)PTR_strlen_000b1e9c)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" ( (pointer_expression "*(code *)PTR_strlen_000b1e9c" * (cast_expression "(code *)PTR_strlen_000b1e9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)) break;" if (parenthesized_expression "((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0))" ( (binary_expression "(uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)" (parenthesized_expression "(uVar2 <= uVar1)" ( (binary_expression "uVar2 <= uVar1" identifier <= identifier) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6),\n       iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6)" identifier = (call_expression "(*(code *)PTR_Curl_strcasecompare_000b1250)(filename + (uVar1 - uVar2),uVar6)" (parenthesized_expression "(*(code *)PTR_Curl_strcasecompare_000b1250)" ( (pointer_expression "*(code *)PTR_Curl_strcasecompare_000b1250" * (cast_expression "(code *)PTR_Curl_strcasecompare_000b1250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename + (uVar1 - uVar2),uVar6)" ( (binary_expression "filename + (uVar1 - uVar2)" identifier + (parenthesized_expression "(uVar1 - uVar2)" ( (binary_expression "uVar1 - uVar2" identifier - identifier) ))) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar5 == 10) {\n      return (char *)0x0;\n    }" if (parenthesized_expression "(iVar5 == 10)" ( (binary_expression "iVar5 == 10" identifier == number_literal) )) (compound_statement "{\n      return (char *)0x0;\n    }" { (return_statement "return (char *)0x0;" return (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) (return_statement "return *(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);" return (pointer_expression "*(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" * (cast_expression "(char **)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" ( (binary_expression "PTR_DAT_000b112c + iVar5 * 8 + 0xc6c" (binary_expression "PTR_DAT_000b112c + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) ;) })))
(translation_unit "undefined4 FUN_00078584(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}\n\n" (function_definition "undefined4 FUN_00078584(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" type_identifier (function_declarator "FUN_00078584(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "uVar1 = (*(code *)PTR_strlen_000b1e9c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000b1e9c)()" identifier = (call_expression "(*(code *)PTR_strlen_000b1e9c)()" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" ( (pointer_expression "*(code *)PTR_strlen_000b1e9c" * (cast_expression "(code *)PTR_strlen_000b1e9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000b112c + 0xc68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b112c + 0xc68)" ( (binary_expression "PTR_DAT_000b112c + 0xc68" identifier + number_literal) )))) ;) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (while_statement "while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }" { (expression_statement "uVar6 = *puVar4;" (assignment_expression "uVar6 = *puVar4" identifier = (pointer_expression "*puVar4" * identifier)) ;) (expression_statement "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6)" identifier = (call_expression "(*(code *)PTR_strlen_000b1e9c)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" ( (pointer_expression "*(code *)PTR_strlen_000b1e9c" * (cast_expression "(code *)PTR_strlen_000b1e9c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier )))) ;) (if_statement "if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;" if (parenthesized_expression "((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0))" ( (binary_expression "(uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)" (parenthesized_expression "(uVar2 <= uVar1)" ( (binary_expression "uVar2 <= uVar1" identifier <= identifier) )) && (parenthesized_expression "(iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)" ( (comma_expression "iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6)" identifier = (call_expression "(*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6)" (parenthesized_expression "(*(code *)PTR_FUN_000b1250)" ( (pointer_expression "*(code *)PTR_FUN_000b1250" * (cast_expression "(code *)PTR_FUN_000b1250" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + (uVar1 - uVar2),uVar6)" ( (binary_expression "param_1 + (uVar1 - uVar2)" identifier + (parenthesized_expression "(uVar1 - uVar2)" ( (binary_expression "uVar1 - uVar2" identifier - identifier) ))) , identifier )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" identifier = (binary_expression "puVar4 + 2" identifier + number_literal)) ;) (if_statement "if (iVar5 == 10) {\n      return 0;\n    }" if (parenthesized_expression "(iVar5 == 10)" ( (binary_expression "iVar5 == 10" identifier == number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (return_statement "return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);" return (pointer_expression "*(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" * (cast_expression "(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" ( (binary_expression "PTR_DAT_000b112c + iVar5 * 8 + 0xc6c" (binary_expression "PTR_DAT_000b112c + iVar5 * 8" identifier + (binary_expression "iVar5 * 8" identifier * number_literal)) + number_literal) )))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - IDENT) ))) , IDENT )))) , (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)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) })) (return_statement return (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) ;) })))
(function_definition "undefined4 FUN_00078584(int param_1)\n\n{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" (type_identifier "undefined4") (function_declarator "FUN_00078584(int param_1)" (identifier "FUN_00078584") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  uint uVar1;\n  uint uVar2;\n  int iVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  \n  if (param_1 == 0) {\n    return 0;\n  }\n  uVar1 = (*(code *)PTR_strlen_000b1e9c)();\n  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);\n  iVar5 = 0;\n  while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }\n  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (if_statement "if (param_1 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "uVar1 = (*(code *)PTR_strlen_000b1e9c)();" (assignment_expression "uVar1 = (*(code *)PTR_strlen_000b1e9c)()" (identifier "uVar1") (= "=") (call_expression "(*(code *)PTR_strlen_000b1e9c)()" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" (( "(") (pointer_expression "*(code *)PTR_strlen_000b1e9c" (* "*") (cast_expression "(code *)PTR_strlen_000b1e9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000b1e9c"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);" (assignment_expression "puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(PTR_DAT_000b112c + 0xc68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b112c + 0xc68)" (( "(") (binary_expression "PTR_DAT_000b112c + 0xc68" (identifier "PTR_DAT_000b112c") (+ "+") (number_literal "0xc68")) () ")")))) (; ";")) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (while_statement "while( true ) {\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    uVar6 = *puVar4;\n    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);\n    if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;\n    iVar5 = iVar5 + 1;\n    puVar4 = puVar4 + 2;\n    if (iVar5 == 10) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "uVar6 = *puVar4;" (assignment_expression "uVar6 = *puVar4" (identifier "uVar6") (= "=") (pointer_expression "*puVar4" (* "*") (identifier "puVar4"))) (; ";")) (expression_statement "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);" (assignment_expression "uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_strlen_000b1e9c)(uVar6)" (parenthesized_expression "(*(code *)PTR_strlen_000b1e9c)" (( "(") (pointer_expression "*(code *)PTR_strlen_000b1e9c" (* "*") (cast_expression "(code *)PTR_strlen_000b1e9c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000b1e9c"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")")))) (; ";")) (if_statement "if ((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;" (if "if") (parenthesized_expression "((uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0))" (( "(") (binary_expression "(uVar2 <= uVar1) &&\n       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)" (parenthesized_expression "(uVar2 <= uVar1)" (( "(") (binary_expression "uVar2 <= uVar1" (identifier "uVar2") (<= "<=") (identifier "uVar1")) () ")")) (&& "&&") (parenthesized_expression "(iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)" (( "(") (comma_expression "iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0" (assignment_expression "iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6)" (parenthesized_expression "(*(code *)PTR_FUN_000b1250)" (( "(") (pointer_expression "*(code *)PTR_FUN_000b1250" (* "*") (cast_expression "(code *)PTR_FUN_000b1250" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000b1250"))) () ")")) (argument_list "(param_1 + (uVar1 - uVar2),uVar6)" (( "(") (binary_expression "param_1 + (uVar1 - uVar2)" (identifier "param_1") (+ "+") (parenthesized_expression "(uVar1 - uVar2)" (( "(") (binary_expression "uVar1 - uVar2" (identifier "uVar1") (- "-") (identifier "uVar2")) () ")"))) (, ",") (identifier "uVar6") () ")")))) (, ",") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar4 = puVar4 + 2;" (assignment_expression "puVar4 = puVar4 + 2" (identifier "puVar4") (= "=") (binary_expression "puVar4 + 2" (identifier "puVar4") (+ "+") (number_literal "2"))) (; ";")) (if_statement "if (iVar5 == 10) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar5 == 10)" (( "(") (binary_expression "iVar5 == 10" (identifier "iVar5") (== "==") (number_literal "10")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (return_statement "return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);" (return "return") (pointer_expression "*(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c)" (( "(") (binary_expression "PTR_DAT_000b112c + iVar5 * 8 + 0xc6c" (binary_expression "PTR_DAT_000b112c + iVar5 * 8" (identifier "PTR_DAT_000b112c") (+ "+") (binary_expression "iVar5 * 8" (identifier "iVar5") (* "*") (number_literal "8"))) (+ "+") (number_literal "0xc6c")) () ")")))) (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (parenthesized_expression (comma_expression left: (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 (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (identifier)))) right: (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))))) (return_statement (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))

undefined4 MASKED(int param_1)

{
  uint uVar1;
  uint uVar2;
  int iVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  
  if (param_1 == 0) {
    return 0;
  }
  uVar1 = (*(code *)PTR_strlen_000b1e9c)();
  puVar4 = (undefined4 *)(PTR_DAT_000b112c + 0xc68);
  iVar5 = 0;
  while( true ) {
    uVar6 = *puVar4;
    uVar2 = (*(code *)PTR_strlen_000b1e9c)(uVar6);
    if ((uVar2 <= uVar1) &&
       (iVar3 = (*(code *)PTR_FUN_000b1250)(param_1 + (uVar1 - uVar2),uVar6), iVar3 != 0)) break;
    iVar5 = iVar5 + 1;
    puVar4 = puVar4 + 2;
    if (iVar5 == 10) {
      return 0;
    }
  }
  return *(undefined4 *)(PTR_DAT_000b112c + iVar5 * 8 + 0xc6c);
}

