
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

ssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)

{
  int iVar1;
  ec_curve *peVar2;
  undefined4 *puVar3;
  ssh_signkey *psVar4;
  undefined4 *puVar5;
  undefined4 *puVar6;
  
  puVar3 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79a0);
  puVar6 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79ac);
  while( true ) {
    psVar4 = (ssh_signkey *)*puVar3;
    puVar5 = (undefined4 *)psVar4->extra;
    if ((puVar5[3] == len) &&
       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;
    puVar3 = puVar3 + 1;
    if (puVar3 == puVar6) {
      return (ssh_signkey *)0x0;
    }
  }
  peVar2 = (ec_curve *)(*(code *)*puVar5)();
  *curve = peVar2;
  return psVar4;
}



int FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  int iVar4;
  undefined4 *puVar5;
  int *piVar6;
  
  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);
  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);
  while( true ) {
    iVar4 = *piVar3;
    puVar5 = *(undefined4 **)(iVar4 + 0x38);
    if ((puVar5[3] == param_1) &&
       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;
    piVar3 = piVar3 + 1;
    if (piVar3 == piVar6) {
      return 0;
    }
  }
  uVar2 = (*(code *)*puVar5)();
  *param_3 = uVar2;
  return iVar4;
}


lui gp,0x6
addiu gp,gp,-0x7100
addu gp,gp,t9
addiu sp,sp,-0x38
sw ra,0x34(sp)
sw s6,0x30(sp)
sw s5,0x2c(sp)
sw s4,0x28(sp)
sw s3,0x24(sp)
sw s2,0x20(sp)
sw s1,0x1c(sp)
sw s0,0x18(sp)
sw gp,0x10(sp)
or s3,a0,zero
or s5,a1,zero
or s6,a2,zero
lw s0,-0x7fcc(gp)
addiu s0,s0,0x79a0
b 0x000673ec
_addiu s4,s0,0xc
addiu s0,s0,0x4
beq s0,s4,0x00067434
_or s1,zero,zero
lw s1,0x0(s0)
lw s2,0x38(s1)
lw v0,0xc(s2)
bne v0,s3,0x000673e0
_or a2,s3,zero
lw a1,0x8(s2)
or a0,s5,zero
lw t9,-0x75c4(gp)
jalr t9
_nop
lw gp,0x10(sp)
bne v0,zero,0x000673e4
_addiu s0,s0,0x4
lw t9,0x0(s2)
jalr t9
_nop
lw gp,0x10(sp)
sw v0,0x0(s6)
or v0,s1,zero
lw ra,0x34(sp)
lw s6,0x30(sp)
lw s5,0x2c(sp)
lw s4,0x28(sp)
lw s3,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw s0,0x18(sp)
jr ra
_addiu sp,sp,0x38
(translation_unit "int FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}\n\n" (function_definition "int FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0)" identifier = (cast_expression "(int *)(PTR_DAT_000b82c4 + 0x79a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79a0)" ( (binary_expression "PTR_DAT_000b82c4 + 0x79a0" identifier + number_literal) )))) ;) (expression_statement "piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);" (assignment_expression "piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac)" identifier = (cast_expression "(int *)(PTR_DAT_000b82c4 + 0x79ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79ac)" ( (binary_expression "PTR_DAT_000b82c4 + 0x79ac" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }" { (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar4 + 0x38);" (assignment_expression "puVar5 = *(undefined4 **)(iVar4 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(iVar4 + 0x38)" * (cast_expression "(undefined4 **)(iVar4 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;" if (parenthesized_expression "((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0))" ( (binary_expression "(puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)" (parenthesized_expression "(puVar5[3] == param_1)" ( (binary_expression "puVar5[3] == param_1" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == identifier) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1)" identifier = (call_expression "(*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1)" (parenthesized_expression "(*(code *)PTR_memcmp_000b8ccc)" ( (pointer_expression "*(code *)PTR_memcmp_000b8ccc" * (cast_expression "(code *)PTR_memcmp_000b8ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar5[2],param_1)" ( identifier , (subscript_expression "puVar5[2]" identifier [ number_literal ]) , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (piVar3 == piVar6) {\n      return 0;\n    }" if (parenthesized_expression "(piVar3 == piVar6)" ( (binary_expression "piVar3 == piVar6" identifier == identifier) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "uVar2 = (*(code *)*puVar5)();" (assignment_expression "uVar2 = (*(code *)*puVar5)()" identifier = (call_expression "(*(code *)*puVar5)()" (parenthesized_expression "(*(code *)*puVar5)" ( (pointer_expression "*(code *)*puVar5" * (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (argument_list "()" ( )))) ;) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)\n\n{\n  int iVar1;\n  ec_curve *peVar2;\n  undefined4 *puVar3;\n  ssh_signkey *psVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  puVar3 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79a0);\n  puVar6 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    psVar4 = (ssh_signkey *)*puVar3;\n    puVar5 = (undefined4 *)psVar4->extra;\n    if ((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;\n    puVar3 = puVar3 + 1;\n    if (puVar3 == puVar6) {\n      return (ssh_signkey *)0x0;\n    }\n  }\n  peVar2 = (ec_curve *)(*(code *)*puVar5)();\n  *curve = peVar2;\n  return psVar4;\n}\n\n" comment (function_definition "ssh_signkey * ec_alg_by_oid(int len,void *oid,ec_curve **curve)\n\n{\n  int iVar1;\n  ec_curve *peVar2;\n  undefined4 *puVar3;\n  ssh_signkey *psVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  puVar3 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79a0);\n  puVar6 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    psVar4 = (ssh_signkey *)*puVar3;\n    puVar5 = (undefined4 *)psVar4->extra;\n    if ((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;\n    puVar3 = puVar3 + 1;\n    if (puVar3 == puVar6) {\n      return (ssh_signkey *)0x0;\n    }\n  }\n  peVar2 = (ec_curve *)(*(code *)*puVar5)();\n  *curve = peVar2;\n  return psVar4;\n}" type_identifier (pointer_declarator "* ec_alg_by_oid(int len,void *oid,ec_curve **curve)" * (function_declarator "ec_alg_by_oid(int len,void *oid,ec_curve **curve)" identifier (parameter_list "(int len,void *oid,ec_curve **curve)" ( (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "void *oid" primitive_type (pointer_declarator "*oid" * identifier)) , (parameter_declaration "ec_curve **curve" type_identifier (pointer_declarator "**curve" * (pointer_declarator "*curve" * identifier))) )))) (compound_statement "{\n  int iVar1;\n  ec_curve *peVar2;\n  undefined4 *puVar3;\n  ssh_signkey *psVar4;\n  undefined4 *puVar5;\n  undefined4 *puVar6;\n  \n  puVar3 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79a0);\n  puVar6 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    psVar4 = (ssh_signkey *)*puVar3;\n    puVar5 = (undefined4 *)psVar4->extra;\n    if ((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;\n    puVar3 = puVar3 + 1;\n    if (puVar3 == puVar6) {\n      return (ssh_signkey *)0x0;\n    }\n  }\n  peVar2 = (ec_curve *)(*(code *)*puVar5)();\n  *curve = peVar2;\n  return psVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "ec_curve *peVar2;" type_identifier (pointer_declarator "*peVar2" * identifier) ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "ssh_signkey *psVar4;" type_identifier (pointer_declarator "*psVar4" * identifier) ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (expression_statement "puVar3 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79a0);" (assignment_expression "puVar3 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79a0)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000b82c4 + 0x79a0)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79a0)" ( (binary_expression "PTR_DAT_000b82c4 + 0x79a0" identifier + number_literal) )))) ;) (expression_statement "puVar6 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79ac);" (assignment_expression "puVar6 = (undefined4 *)(PTR_DAT_000b82c4 + 0x79ac)" identifier = (cast_expression "(undefined4 *)(PTR_DAT_000b82c4 + 0x79ac)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79ac)" ( (binary_expression "PTR_DAT_000b82c4 + 0x79ac" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n    psVar4 = (ssh_signkey *)*puVar3;\n    puVar5 = (undefined4 *)psVar4->extra;\n    if ((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;\n    puVar3 = puVar3 + 1;\n    if (puVar3 == puVar6) {\n      return (ssh_signkey *)0x0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    psVar4 = (ssh_signkey *)*puVar3;\n    puVar5 = (undefined4 *)psVar4->extra;\n    if ((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;\n    puVar3 = puVar3 + 1;\n    if (puVar3 == puVar6) {\n      return (ssh_signkey *)0x0;\n    }\n  }" { (expression_statement "psVar4 = (ssh_signkey *)*puVar3;" (assignment_expression "psVar4 = (ssh_signkey *)*puVar3" identifier = (cast_expression "(ssh_signkey *)*puVar3" ( (type_descriptor "ssh_signkey *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar3" * identifier))) ;) (expression_statement "puVar5 = (undefined4 *)psVar4->extra;" (assignment_expression "puVar5 = (undefined4 *)psVar4->extra" identifier = (cast_expression "(undefined4 *)psVar4->extra" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "psVar4->extra" identifier -> field_identifier))) ;) (if_statement "if ((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)) break;" if (parenthesized_expression "((puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0))" ( (binary_expression "(puVar5[3] == len) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)" (parenthesized_expression "(puVar5[3] == len)" ( (binary_expression "puVar5[3] == len" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == identifier) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len)" identifier = (call_expression "(*(code *)PTR_memcmp_000b8ccc)(oid,puVar5[2],len)" (parenthesized_expression "(*(code *)PTR_memcmp_000b8ccc)" ( (pointer_expression "*(code *)PTR_memcmp_000b8ccc" * (cast_expression "(code *)PTR_memcmp_000b8ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(oid,puVar5[2],len)" ( identifier , (subscript_expression "puVar5[2]" identifier [ number_literal ]) , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "puVar3 = puVar3 + 1;" (assignment_expression "puVar3 = puVar3 + 1" identifier = (binary_expression "puVar3 + 1" identifier + number_literal)) ;) (if_statement "if (puVar3 == puVar6) {\n      return (ssh_signkey *)0x0;\n    }" if (parenthesized_expression "(puVar3 == puVar6)" ( (binary_expression "puVar3 == puVar6" identifier == identifier) )) (compound_statement "{\n      return (ssh_signkey *)0x0;\n    }" { (return_statement "return (ssh_signkey *)0x0;" return (cast_expression "(ssh_signkey *)0x0" ( (type_descriptor "ssh_signkey *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) })) (expression_statement "peVar2 = (ec_curve *)(*(code *)*puVar5)();" (assignment_expression "peVar2 = (ec_curve *)(*(code *)*puVar5)()" identifier = (cast_expression "(ec_curve *)(*(code *)*puVar5)()" ( (type_descriptor "ec_curve *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)*puVar5)()" (parenthesized_expression "(*(code *)*puVar5)" ( (pointer_expression "*(code *)*puVar5" * (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (argument_list "()" ( ))))) ;) (expression_statement "*curve = peVar2;" (assignment_expression "*curve = peVar2" (pointer_expression "*curve" * identifier) = identifier) ;) (return_statement "return psVar4;" return identifier ;) })))
(translation_unit "int FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}\n\n" (function_definition "int FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (expression_statement "piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0)" identifier = (cast_expression "(int *)(PTR_DAT_000b82c4 + 0x79a0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79a0)" ( (binary_expression "PTR_DAT_000b82c4 + 0x79a0" identifier + number_literal) )))) ;) (expression_statement "piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);" (assignment_expression "piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac)" identifier = (cast_expression "(int *)(PTR_DAT_000b82c4 + 0x79ac)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79ac)" ( (binary_expression "PTR_DAT_000b82c4 + 0x79ac" identifier + number_literal) )))) ;) (while_statement "while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }" { (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "puVar5 = *(undefined4 **)(iVar4 + 0x38);" (assignment_expression "puVar5 = *(undefined4 **)(iVar4 + 0x38)" identifier = (pointer_expression "*(undefined4 **)(iVar4 + 0x38)" * (cast_expression "(undefined4 **)(iVar4 + 0x38)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar4 + 0x38)" ( (binary_expression "iVar4 + 0x38" identifier + number_literal) ))))) ;) (if_statement "if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;" if (parenthesized_expression "((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0))" ( (binary_expression "(puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)" (parenthesized_expression "(puVar5[3] == param_1)" ( (binary_expression "puVar5[3] == param_1" (subscript_expression "puVar5[3]" identifier [ number_literal ]) == identifier) )) && (parenthesized_expression "(iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)" ( (comma_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1)" identifier = (call_expression "(*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1)" (parenthesized_expression "(*(code *)PTR_memcmp_000b8ccc)" ( (pointer_expression "*(code *)PTR_memcmp_000b8ccc" * (cast_expression "(code *)PTR_memcmp_000b8ccc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar5[2],param_1)" ( identifier , (subscript_expression "puVar5[2]" identifier [ number_literal ]) , identifier )))) , (binary_expression "iVar1 == 0" identifier == number_literal)) ))) )) (break_statement "break;" break ;)) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" identifier = (binary_expression "piVar3 + 1" identifier + number_literal)) ;) (if_statement "if (piVar3 == piVar6) {\n      return 0;\n    }" if (parenthesized_expression "(piVar3 == piVar6)" ( (binary_expression "piVar3 == piVar6" identifier == identifier) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "uVar2 = (*(code *)*puVar5)();" (assignment_expression "uVar2 = (*(code *)*puVar5)()" identifier = (call_expression "(*(code *)*puVar5)()" (parenthesized_expression "(*(code *)*puVar5)" ( (pointer_expression "*(code *)*puVar5" * (cast_expression "(code *)*puVar5" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar5" * identifier))) )) (argument_list "()" ( )))) ;) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == 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 ( IDENT , (subscript_expression IDENT [ LIT ]) , IDENT )))) , (binary_expression IDENT == LIT)) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (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 *)) ) (pointer_expression * IDENT))) )) (argument_list ( )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return IDENT ;) })))
(function_definition "int FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_00067390(int param_1,undefined4 param_2,undefined4 *param_3)" (identifier "FUN_00067390") (parameter_list "(int param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  int *piVar3;\n  int iVar4;\n  undefined4 *puVar5;\n  int *piVar6;\n  \n  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);\n  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);\n  while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }\n  uVar2 = (*(code *)*puVar5)();\n  *param_3 = uVar2;\n  return iVar4;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int *piVar3;" (primitive_type "int") (pointer_declarator "*piVar3" (* "*") (identifier "piVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 *puVar5;" (type_identifier "undefined4") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (expression_statement "piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);" (assignment_expression "piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0)" (identifier "piVar3") (= "=") (cast_expression "(int *)(PTR_DAT_000b82c4 + 0x79a0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79a0)" (( "(") (binary_expression "PTR_DAT_000b82c4 + 0x79a0" (identifier "PTR_DAT_000b82c4") (+ "+") (number_literal "0x79a0")) () ")")))) (; ";")) (expression_statement "piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);" (assignment_expression "piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac)" (identifier "piVar6") (= "=") (cast_expression "(int *)(PTR_DAT_000b82c4 + 0x79ac)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_000b82c4 + 0x79ac)" (( "(") (binary_expression "PTR_DAT_000b82c4 + 0x79ac" (identifier "PTR_DAT_000b82c4") (+ "+") (number_literal "0x79ac")) () ")")))) (; ";")) (while_statement "while( true ) {\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    iVar4 = *piVar3;\n    puVar5 = *(undefined4 **)(iVar4 + 0x38);\n    if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;\n    piVar3 = piVar3 + 1;\n    if (piVar3 == piVar6) {\n      return 0;\n    }\n  }" ({ "{") (expression_statement "iVar4 = *piVar3;" (assignment_expression "iVar4 = *piVar3" (identifier "iVar4") (= "=") (pointer_expression "*piVar3" (* "*") (identifier "piVar3"))) (; ";")) (expression_statement "puVar5 = *(undefined4 **)(iVar4 + 0x38);" (assignment_expression "puVar5 = *(undefined4 **)(iVar4 + 0x38)" (identifier "puVar5") (= "=") (pointer_expression "*(undefined4 **)(iVar4 + 0x38)" (* "*") (cast_expression "(undefined4 **)(iVar4 + 0x38)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar4 + 0x38)" (( "(") (binary_expression "iVar4 + 0x38" (identifier "iVar4") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (if_statement "if ((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;" (if "if") (parenthesized_expression "((puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0))" (( "(") (binary_expression "(puVar5[3] == param_1) &&\n       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)" (parenthesized_expression "(puVar5[3] == param_1)" (( "(") (binary_expression "puVar5[3] == param_1" (subscript_expression "puVar5[3]" (identifier "puVar5") ([ "[") (number_literal "3") (] "]")) (== "==") (identifier "param_1")) () ")")) (&& "&&") (parenthesized_expression "(iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)" (( "(") (comma_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0" (assignment_expression "iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1)" (parenthesized_expression "(*(code *)PTR_memcmp_000b8ccc)" (( "(") (pointer_expression "*(code *)PTR_memcmp_000b8ccc" (* "*") (cast_expression "(code *)PTR_memcmp_000b8ccc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcmp_000b8ccc"))) () ")")) (argument_list "(param_2,puVar5[2],param_1)" (( "(") (identifier "param_2") (, ",") (subscript_expression "puVar5[2]" (identifier "puVar5") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_1") () ")")))) (, ",") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "piVar3 = piVar3 + 1;" (assignment_expression "piVar3 = piVar3 + 1" (identifier "piVar3") (= "=") (binary_expression "piVar3 + 1" (identifier "piVar3") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (piVar3 == piVar6) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(piVar3 == piVar6)" (( "(") (binary_expression "piVar3 == piVar6" (identifier "piVar3") (== "==") (identifier "piVar6")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar2 = (*(code *)*puVar5)();" (assignment_expression "uVar2 = (*(code *)*puVar5)()" (identifier "uVar2") (= "=") (call_expression "(*(code *)*puVar5)()" (parenthesized_expression "(*(code *)*puVar5)" (( "(") (pointer_expression "*(code *)*puVar5" (* "*") (cast_expression "(code *)*puVar5" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar5" (* "*") (identifier "puVar5")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "*param_3 = uVar2;" (assignment_expression "*param_3 = uVar2" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar2")) (; ";")) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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 (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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: (pointer_expression argument: (identifier))))) arguments: (argument_list)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (identifier)))))

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

{
  int iVar1;
  undefined4 uVar2;
  int *piVar3;
  int iVar4;
  undefined4 *puVar5;
  int *piVar6;
  
  piVar3 = (int *)(PTR_DAT_000b82c4 + 0x79a0);
  piVar6 = (int *)(PTR_DAT_000b82c4 + 0x79ac);
  while( true ) {
    iVar4 = *piVar3;
    puVar5 = *(undefined4 **)(iVar4 + 0x38);
    if ((puVar5[3] == param_1) &&
       (iVar1 = (*(code *)PTR_memcmp_000b8ccc)(param_2,puVar5[2],param_1), iVar1 == 0)) break;
    piVar3 = piVar3 + 1;
    if (piVar3 == piVar6) {
      return 0;
    }
  }
  uVar2 = (*(code *)*puVar5)();
  *param_3 = uVar2;
  return iVar4;
}

