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

void * gold::Workqueue_thread::thread_body(void *arg)

{
                    /* WARNING: Load size is inaccurate */
  Workqueue::process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4));
  operator_delete(arg,0xc);
  return (void *)0x0;
}



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

undefined4 FUN_00135f90(int *param_1)

{
  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);
  FUN_00180780(param_1,0xc);
  return 0;
}


PUSH ESI
PUSH EBX
CALL 0x00032730
ADD EBX,0x1cc069
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x18]
MOV EAX,dword ptr [ESI]
PUSH dword ptr [ESI + 0x4]
PUSH dword ptr [EAX + 0x4]
CALL 0x00135ee0
POP EAX
POP EDX
PUSH 0xc
PUSH ESI
CALL 0x00180780
ADD ESP,0x14
XOR EAX,EAX
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00135f90(int *param_1)\n\n{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00135f90(int *param_1)\n\n{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}" type_identifier (function_declarator "FUN_00135f90(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}" { (expression_statement "FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);" (call_expression "FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1])" identifier (argument_list "(*(undefined4 *)(*param_1 + 4),param_1[1])" ( (pointer_expression "*(undefined4 *)(*param_1 + 4)" * (cast_expression "(undefined4 *)(*param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_00180780(param_1,0xc);" (call_expression "FUN_00180780(param_1,0xc)" identifier (argument_list "(param_1,0xc)" ( identifier , number_literal ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid * gold::Workqueue_thread::thread_body(void *arg)\n\n{\n                    /* WARNING: Load size is inaccurate */\n  Workqueue::process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4));\n  operator_delete(arg,0xc);\n  return (void *)0x0;\n}\n\n" comment comment (function_definition "void * gold::Workqueue_thread::thread_body(void *arg)\n\n{\n                    /* WARNING: Load size is inaccurate */\n  Workqueue::process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4));\n  operator_delete(arg,0xc);\n  return (void *)0x0;\n}" primitive_type (pointer_declarator "* gold::Workqueue_thread::thread_body(void *arg)" * (ERROR "gold::Workqueue_thread::" identifier : : identifier : :) (function_declarator "thread_body(void *arg)" identifier (parameter_list "(void *arg)" ( (parameter_declaration "void *arg" primitive_type (pointer_declarator "*arg" * identifier)) )))) (compound_statement "{\n                    /* WARNING: Load size is inaccurate */\n  Workqueue::process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4));\n  operator_delete(arg,0xc);\n  return (void *)0x0;\n}" { comment (labeled_statement "Workqueue::process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4));" statement_identifier : (ERROR ":" :) (expression_statement "process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4));" (call_expression "process(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4))" identifier (argument_list "(*(Workqueue **)(*arg + 4),*(int *)((int)arg + 4))" ( (pointer_expression "*(Workqueue **)(*arg + 4)" * (cast_expression "(Workqueue **)(*arg + 4)" ( (type_descriptor "Workqueue **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*arg + 4)" ( (binary_expression "*arg + 4" (pointer_expression "*arg" * identifier) + number_literal) )))) , (pointer_expression "*(int *)((int)arg + 4)" * (cast_expression "(int *)((int)arg + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)arg + 4)" ( (binary_expression "(int)arg + 4" (cast_expression "(int)arg" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) ))) ;)) (expression_statement "operator_delete(arg,0xc);" (call_expression "operator_delete(arg,0xc)" identifier (argument_list "(arg,0xc)" ( identifier , number_literal ))) ;) (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })))
(translation_unit "undefined4 FUN_00135f90(int *param_1)\n\n{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00135f90(int *param_1)\n\n{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}" type_identifier (function_declarator "FUN_00135f90(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}" { (expression_statement "FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);" (call_expression "FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1])" identifier (argument_list "(*(undefined4 *)(*param_1 + 4),param_1[1])" ( (pointer_expression "*(undefined4 *)(*param_1 + 4)" * (cast_expression "(undefined4 *)(*param_1 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 4)" ( (binary_expression "*param_1 + 4" (pointer_expression "*param_1" * identifier) + number_literal) )))) , (subscript_expression "param_1[1]" identifier [ number_literal ]) ))) ;) (expression_statement "FUN_00180780(param_1,0xc);" (call_expression "FUN_00180780(param_1,0xc)" identifier (argument_list "(param_1,0xc)" ( identifier , number_literal ))) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) , (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00135f90(int *param_1)\n\n{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00135f90(int *param_1)" (identifier "FUN_00135f90") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);\n  FUN_00180780(param_1,0xc);\n  return 0;\n}" ({ "{") (expression_statement "FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);" (call_expression "FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1])" (identifier "FUN_00135ee0") (argument_list "(*(undefined4 *)(*param_1 + 4),param_1[1])" (( "(") (pointer_expression "*(undefined4 *)(*param_1 + 4)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 4)" (( "(") (binary_expression "*param_1 + 4" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "4")) () ")")))) (, ",") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) () ")"))) (; ";")) (expression_statement "FUN_00180780(param_1,0xc);" (call_expression "FUN_00180780(param_1,0xc)" (identifier "FUN_00180780") (argument_list "(param_1,0xc)" (( "(") (identifier "param_1") (, ",") (number_literal "0xc") () ")"))) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

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

void * gold::Workqueue_thread::function_1(void *arg)

{
                    /* WARNING: Load size is inaccurate */
  Workqueue::var_1(*(type_1 **)(*arg + 4),*(int *)((int)arg + 4));
  var_2(arg,0xc);
  return (void *)0x0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))) (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (return_statement (number_literal)))))

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

undefined4 MASKED(int *param_1)

{
  FUN_00135ee0(*(undefined4 *)(*param_1 + 4),param_1[1]);
  FUN_00180780(param_1,0xc);
  return 0;
}

