
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

hash_entry * __regparm3 safe_hasher(Hash_table *table,void *key)

{
  size_t sVar1;
  
  sVar1 = (*table->hasher)(key,table->n_buckets);
  if (sVar1 < table->n_buckets) {
    return table->bucket + sVar1;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 FUN_000141f0(int *param_1,undefined4 param_2)

{
  uint uVar1;
  
  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);
  if (uVar1 < (uint)param_1[2]) {
    return *param_1 + uVar1 * 8;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00012a00
ADD EBX,0xfe07
SUB ESP,0xc
PUSH dword ptr [EAX + 0x8]
PUSH EDX
CALL dword ptr [EAX + 0x18]
ADD ESP,0x10
CMP dword ptr [ESI + 0x8],EAX
JBE 0x000125a0
MOV EDX,dword ptr [ESI]
ADD ESP,0x4
POP EBX
POP ESI
LEA EAX,[EDX + EAX*0x8]
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 FUN_000141f0(int *param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (function_definition "int __regparm3 FUN_000141f0(int *param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000141f0(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);" (assignment_expression "uVar1 = (*(code *)param_1[6])(param_2,param_1[2])" identifier = (call_expression "(*(code *)param_1[6])(param_2,param_1[2])" (parenthesized_expression "(*(code *)param_1[6])" ( (pointer_expression "*(code *)param_1[6]" * (cast_expression "(code *)param_1[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_1[2])" ( identifier , (subscript_expression "param_1[2]" identifier [ number_literal ]) )))) ;) (if_statement "if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }" if (parenthesized_expression "(uVar1 < (uint)param_1[2])" ( (binary_expression "uVar1 < (uint)param_1[2]" identifier < (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return *param_1 + uVar1 * 8;\n  }" { (return_statement "return *param_1 + uVar1 * 8;" return (binary_expression "*param_1 + uVar1 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "uVar1 * 8" identifier * number_literal)) ;) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nhash_entry * __regparm3 safe_hasher(Hash_table *table,void *key)\n\n{\n  size_t sVar1;\n  \n  sVar1 = (*table->hasher)(key,table->n_buckets);\n  if (sVar1 < table->n_buckets) {\n    return table->bucket + sVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}\n\n" comment (ERROR "hash_entry * __regparm3 safe_hasher(Hash_table *table,void *key)" (binary_expression "hash_entry * __regparm3 safe_hasher(Hash_table *table,void *key)" identifier * (ERROR "__regparm3" identifier) (call_expression "safe_hasher(Hash_table *table,void *key)" identifier (argument_list "(Hash_table *table,void *key)" ( (binary_expression "Hash_table *table" identifier * identifier) , (binary_expression "void *key" identifier * identifier) ))))) (compound_statement "{\n  size_t sVar1;\n  \n  sVar1 = (*table->hasher)(key,table->n_buckets);\n  if (sVar1 < table->n_buckets) {\n    return table->bucket + sVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  abort();\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) (expression_statement "sVar1 = (*table->hasher)(key,table->n_buckets);" (assignment_expression "sVar1 = (*table->hasher)(key,table->n_buckets)" identifier = (call_expression "(*table->hasher)(key,table->n_buckets)" (parenthesized_expression "(*table->hasher)" ( (pointer_expression "*table->hasher" * (field_expression "table->hasher" identifier -> field_identifier)) )) (argument_list "(key,table->n_buckets)" ( identifier , (field_expression "table->n_buckets" identifier -> field_identifier) )))) ;) (if_statement "if (sVar1 < table->n_buckets) {\n    return table->bucket + sVar1;\n  }" if (parenthesized_expression "(sVar1 < table->n_buckets)" ( (binary_expression "sVar1 < table->n_buckets" identifier < (field_expression "table->n_buckets" identifier -> field_identifier)) )) (compound_statement "{\n    return table->bucket + sVar1;\n  }" { (return_statement "return table->bucket + sVar1;" return (binary_expression "table->bucket + sVar1" (field_expression "table->bucket" identifier -> field_identifier) + identifier) ;) })) comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) }))
(translation_unit "int __regparm3 FUN_000141f0(int *param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    \n  abort();\n}\n\n" (function_definition "int __regparm3 FUN_000141f0(int *param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    \n  abort();\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000141f0(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    \n  abort();\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);" (assignment_expression "uVar1 = (*(code *)param_1[6])(param_2,param_1[2])" identifier = (call_expression "(*(code *)param_1[6])(param_2,param_1[2])" (parenthesized_expression "(*(code *)param_1[6])" ( (pointer_expression "*(code *)param_1[6]" * (cast_expression "(code *)param_1[6]" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (subscript_expression "param_1[6]" identifier [ number_literal ]))) )) (argument_list "(param_2,param_1[2])" ( identifier , (subscript_expression "param_1[2]" identifier [ number_literal ]) )))) ;) (if_statement "if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }" if (parenthesized_expression "(uVar1 < (uint)param_1[2])" ( (binary_expression "uVar1 < (uint)param_1[2]" identifier < (cast_expression "(uint)param_1[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[2]" identifier [ number_literal ]))) )) (compound_statement "{\n    return *param_1 + uVar1 * 8;\n  }" { (return_statement "return *param_1 + uVar1 * 8;" return (binary_expression "*param_1 + uVar1 * 8" (pointer_expression "*param_1" * identifier) + (binary_expression "uVar1 * 8" identifier * number_literal)) ;) })) (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (return_statement return (binary_expression (pointer_expression * IDENT) + (binary_expression IDENT * LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) })))
(function_definition "int __regparm3 FUN_000141f0(int *param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    \n  abort();\n}" (primitive_type "int") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000141f0(int *param_1,undefined4 param_2)" (identifier "FUN_000141f0") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  \n  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);\n  if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }\n                    \n  abort();\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);" (assignment_expression "uVar1 = (*(code *)param_1[6])(param_2,param_1[2])" (identifier "uVar1") (= "=") (call_expression "(*(code *)param_1[6])(param_2,param_1[2])" (parenthesized_expression "(*(code *)param_1[6])" (( "(") (pointer_expression "*(code *)param_1[6]" (* "*") (cast_expression "(code *)param_1[6]" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "param_1[6]" (identifier "param_1") ([ "[") (number_literal "6") (] "]")))) () ")")) (argument_list "(param_2,param_1[2])" (( "(") (identifier "param_2") (, ",") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) () ")")))) (; ";")) (if_statement "if (uVar1 < (uint)param_1[2]) {\n    return *param_1 + uVar1 * 8;\n  }" (if "if") (parenthesized_expression "(uVar1 < (uint)param_1[2])" (( "(") (binary_expression "uVar1 < (uint)param_1[2]" (identifier "uVar1") (< "<") (cast_expression "(uint)param_1[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")))) () ")")) (compound_statement "{\n    return *param_1 + uVar1 * 8;\n  }" ({ "{") (return_statement "return *param_1 + uVar1 * 8;" (return "return") (binary_expression "*param_1 + uVar1 * 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (binary_expression "uVar1 * 8" (identifier "uVar1") (* "*") (number_literal "8"))) (; ";")) (} "}"))) (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

hash_entry * __regparm3 safe_hasher(Hash_table *table,void *key)

{
  size_t var_1;
  
  var_1 = (*table->hasher)(key,table->n_buckets);
  if (var_1 < table->n_buckets) {
    return table->bucket + var_1;
  }
                    /* WARNING: Subroutine does not return */
  var_2();
}


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

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

int __regparm3 MASKED(int *param_1,undefined4 param_2)

{
  uint uVar1;
  
  uVar1 = (*(code *)param_1[6])(param_2,param_1[2]);
  if (uVar1 < (uint)param_1[2]) {
    return *param_1 + uVar1 * 8;
  }
                    /* WARNING: Subroutine does not return */
  abort();
}

