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

size_t dev_type_hash(void *x,size_t table_size)

{
  size_t sVar1;
  
                    /* WARNING: Load size is inaccurate */
  sVar1 = __umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0);
  return sVar1;
}



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

void FUN_00024660(undefined4 *param_1,undefined4 param_2)

{
  FUN_0002d5e0(*param_1,param_1[1],param_2,0);
  return;
}


PUSH EBX
XOR EDX,EDX
CALL 0x000132e0
ADD EBX,0x15998
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x14]
PUSH EDX
PUSH EAX
MOV EAX,dword ptr [ESP + 0x18]
PUSH dword ptr [EAX + 0x4]
PUSH dword ptr [EAX]
CALL 0x0002d5e0
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00024660(undefined4 *param_1,undefined4 param_2)\n\n{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}\n\n" comment (function_definition "void FUN_00024660(undefined4 *param_1,undefined4 param_2)\n\n{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}" primitive_type (function_declarator "FUN_00024660(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}" { (expression_statement "FUN_0002d5e0(*param_1,param_1[1],param_2,0);" (call_expression "FUN_0002d5e0(*param_1,param_1[1],param_2,0)" identifier (argument_list "(*param_1,param_1[1],param_2,0)" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nsize_t dev_type_hash(void *x,size_t table_size)\n\n{\n  size_t sVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n  sVar1 = __umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0);\n  return sVar1;\n}\n\n" comment comment (function_definition "size_t dev_type_hash(void *x,size_t table_size)\n\n{\n  size_t sVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n  sVar1 = __umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0);\n  return sVar1;\n}" primitive_type (function_declarator "dev_type_hash(void *x,size_t table_size)" identifier (parameter_list "(void *x,size_t table_size)" ( (parameter_declaration "void *x" primitive_type (pointer_declarator "*x" * identifier)) , (parameter_declaration "size_t table_size" primitive_type identifier) ))) (compound_statement "{\n  size_t sVar1;\n  \n                    /* WARNING: Load size is inaccurate */\n  sVar1 = __umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0);\n  return sVar1;\n}" { (declaration "size_t sVar1;" primitive_type identifier ;) comment (expression_statement "sVar1 = __umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0);" (assignment_expression "sVar1 = __umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0)" identifier = (call_expression "__umoddi3(*x,*(undefined4 *)((int)x + 4),table_size,0)" identifier (argument_list "(*x,*(undefined4 *)((int)x + 4),table_size,0)" ( (pointer_expression "*x" * identifier) , (pointer_expression "*(undefined4 *)((int)x + 4)" * (cast_expression "(undefined4 *)((int)x + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)x + 4)" ( (binary_expression "(int)x + 4" (cast_expression "(int)x" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier , number_literal )))) ;) (return_statement "return sVar1;" return identifier ;) })))
(translation_unit "void FUN_00024660(undefined4 *param_1,undefined4 param_2)\n\n{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}\n\n" (function_definition "void FUN_00024660(undefined4 *param_1,undefined4 param_2)\n\n{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}" primitive_type (function_declarator "FUN_00024660(undefined4 *param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 *param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}" { (expression_statement "FUN_0002d5e0(*param_1,param_1[1],param_2,0);" (call_expression "FUN_0002d5e0(*param_1,param_1[1],param_2,0)" identifier (argument_list "(*param_1,param_1[1],param_2,0)" ( (pointer_expression "*param_1" * identifier) , (subscript_expression "param_1[1]" identifier [ number_literal ]) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (subscript_expression IDENT [ LIT ]) , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_00024660(undefined4 *param_1,undefined4 param_2)\n\n{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00024660(undefined4 *param_1,undefined4 param_2)" (identifier "FUN_00024660") (parameter_list "(undefined4 *param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  FUN_0002d5e0(*param_1,param_1[1],param_2,0);\n  return;\n}" ({ "{") (expression_statement "FUN_0002d5e0(*param_1,param_1[1],param_2,0);" (call_expression "FUN_0002d5e0(*param_1,param_1[1],param_2,0)" (identifier "FUN_0002d5e0") (argument_list "(*param_1,param_1[1],param_2,0)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

size_t function_1(void *x,size_t table_size)

{
  size_t sVar1;
  
                    /* WARNING: Load size is inaccurate */
  sVar1 = var_1(*x,*(type_1 *)((int)x + 4),table_size,0);
  return sVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (number_literal)))) (return_statement))))

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

void MASKED(undefined4 *param_1,undefined4 param_2)

{
  FUN_0002d5e0(*param_1,param_1[1],param_2,0);
  return;
}

