
/* DWARF original prototype: void check(Workqueue_thread * this, char * function, int err) */

void __thiscall gold::Workqueue_thread::check(Workqueue_thread *this,char *function,int err)

{
  Workqueue_thread *in_stack_fffffff4;
  char *in_stack_fffffff8;
  int in_stack_fffffffc;
  
  if (err == 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  check(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc);
}



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

void FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)

{
  undefined4 *puStack_8;
  undefined4 uStack_4;
  
  if (param_3 == 0) {
    return;
  }
  FUN_00191800();
  puStack_8[1] = uStack_4;
  puStack_8[2] = 0;
  *puStack_8 = &PTR_FUN_003854fc;
  FUN_0006cb40(puStack_8 + 3);
  puStack_8[4] = 1;
  puStack_8[5] = 1;
  return;
}


SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x18]
TEST EDX,EDX
JNZ 0x001919bf
ADD ESP,0xc
RET
MOV EAX,dword ptr [ESP + 0x14]
CALL 0x00191800
LEA ESI,[ESI]
NOP
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}" primitive_type (function_declarator "FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}" { (declaration "undefined4 *puStack_8;" type_identifier (pointer_declarator "*puStack_8" * identifier) ;) (declaration "undefined4 uStack_4;" type_identifier identifier ;) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00191800();" (call_expression "FUN_00191800()" identifier (argument_list "()" ( ))) ;) (expression_statement "puStack_8[1] = uStack_4;" (assignment_expression "puStack_8[1] = uStack_4" (subscript_expression "puStack_8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puStack_8[2] = 0;" (assignment_expression "puStack_8[2] = 0" (subscript_expression "puStack_8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puStack_8 = &PTR_FUN_003854fc;" (assignment_expression "*puStack_8 = &PTR_FUN_003854fc" (pointer_expression "*puStack_8" * identifier) = (pointer_expression "&PTR_FUN_003854fc" & identifier)) ;) (expression_statement "FUN_0006cb40(puStack_8 + 3);" (call_expression "FUN_0006cb40(puStack_8 + 3)" identifier (argument_list "(puStack_8 + 3)" ( (binary_expression "puStack_8 + 3" identifier + number_literal) ))) ;) (expression_statement "puStack_8[4] = 1;" (assignment_expression "puStack_8[4] = 1" (subscript_expression "puStack_8[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puStack_8[5] = 1;" (assignment_expression "puStack_8[5] = 1" (subscript_expression "puStack_8[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void check(Workqueue_thread * this, char * function, int err) */\n\nvoid __thiscall gold::Workqueue_thread::check(Workqueue_thread *this,char *function,int err)\n\n{\n  Workqueue_thread *in_stack_fffffff4;\n  char *in_stack_fffffff8;\n  int in_stack_fffffffc;\n  \n  if (err == 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  check(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc);\n}\n\n" comment (function_definition "void __thiscall gold::Workqueue_thread::check(Workqueue_thread *this,char *function,int err)\n\n{\n  Workqueue_thread *in_stack_fffffff4;\n  char *in_stack_fffffff8;\n  int in_stack_fffffffc;\n  \n  if (err == 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  check(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc);\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Workqueue_thread::" identifier : : identifier : :) (function_declarator "check(Workqueue_thread *this,char *function,int err)" identifier (parameter_list "(Workqueue_thread *this,char *function,int err)" ( (parameter_declaration "Workqueue_thread *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "char *function" primitive_type (pointer_declarator "*function" * identifier)) , (parameter_declaration "int err" primitive_type identifier) ))) (compound_statement "{\n  Workqueue_thread *in_stack_fffffff4;\n  char *in_stack_fffffff8;\n  int in_stack_fffffffc;\n  \n  if (err == 0) {\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  check(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc);\n}" { (declaration "Workqueue_thread *in_stack_fffffff4;" type_identifier (pointer_declarator "*in_stack_fffffff4" * identifier) ;) (declaration "char *in_stack_fffffff8;" primitive_type (pointer_declarator "*in_stack_fffffff8" * identifier) ;) (declaration "int in_stack_fffffffc;" primitive_type identifier ;) (if_statement "if (err == 0) {\n    return;\n  }" if (parenthesized_expression "(err == 0)" ( (binary_expression "err == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) comment (expression_statement "check(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc);" (call_expression "check(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc)" identifier (argument_list "(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc)" ( identifier , identifier , identifier ))) ;) })))
(translation_unit "void FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}\n\n" (function_definition "void FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}" primitive_type (function_declarator "FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}" { (declaration "undefined4 *puStack_8;" type_identifier (pointer_declarator "*puStack_8" * identifier) ;) (declaration "undefined4 uStack_4;" type_identifier identifier ;) (if_statement "if (param_3 == 0) {\n    return;\n  }" if (parenthesized_expression "(param_3 == 0)" ( (binary_expression "param_3 == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "FUN_00191800();" (call_expression "FUN_00191800()" identifier (argument_list "()" ( ))) ;) (expression_statement "puStack_8[1] = uStack_4;" (assignment_expression "puStack_8[1] = uStack_4" (subscript_expression "puStack_8[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puStack_8[2] = 0;" (assignment_expression "puStack_8[2] = 0" (subscript_expression "puStack_8[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puStack_8 = &PTR_FUN_003854fc;" (assignment_expression "*puStack_8 = &PTR_FUN_003854fc" (pointer_expression "*puStack_8" * identifier) = (pointer_expression "&PTR_FUN_003854fc" & identifier)) ;) (expression_statement "FUN_0006cb40(puStack_8 + 3);" (call_expression "FUN_0006cb40(puStack_8 + 3)" identifier (argument_list "(puStack_8 + 3)" ( (binary_expression "puStack_8 + 3" identifier + number_literal) ))) ;) (expression_statement "puStack_8[4] = 1;" (assignment_expression "puStack_8[4] = 1" (subscript_expression "puStack_8[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puStack_8[5] = 1;" (assignment_expression "puStack_8[5] = 1" (subscript_expression "puStack_8[5]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression & IDENT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001919b0(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_001919b0") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puStack_8;\n  undefined4 uStack_4;\n  \n  if (param_3 == 0) {\n    return;\n  }\n  FUN_00191800();\n  puStack_8[1] = uStack_4;\n  puStack_8[2] = 0;\n  *puStack_8 = &PTR_FUN_003854fc;\n  FUN_0006cb40(puStack_8 + 3);\n  puStack_8[4] = 1;\n  puStack_8[5] = 1;\n  return;\n}" ({ "{") (declaration "undefined4 *puStack_8;" (type_identifier "undefined4") (pointer_declarator "*puStack_8" (* "*") (identifier "puStack_8")) (; ";")) (declaration "undefined4 uStack_4;" (type_identifier "undefined4") (identifier "uStack_4") (; ";")) (if_statement "if (param_3 == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(param_3 == 0)" (( "(") (binary_expression "param_3 == 0" (identifier "param_3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00191800();" (call_expression "FUN_00191800()" (identifier "FUN_00191800") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puStack_8[1] = uStack_4;" (assignment_expression "puStack_8[1] = uStack_4" (subscript_expression "puStack_8[1]" (identifier "puStack_8") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "uStack_4")) (; ";")) (expression_statement "puStack_8[2] = 0;" (assignment_expression "puStack_8[2] = 0" (subscript_expression "puStack_8[2]" (identifier "puStack_8") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puStack_8 = &PTR_FUN_003854fc;" (assignment_expression "*puStack_8 = &PTR_FUN_003854fc" (pointer_expression "*puStack_8" (* "*") (identifier "puStack_8")) (= "=") (pointer_expression "&PTR_FUN_003854fc" (& "&") (identifier "PTR_FUN_003854fc"))) (; ";")) (expression_statement "FUN_0006cb40(puStack_8 + 3);" (call_expression "FUN_0006cb40(puStack_8 + 3)" (identifier "FUN_0006cb40") (argument_list "(puStack_8 + 3)" (( "(") (binary_expression "puStack_8 + 3" (identifier "puStack_8") (+ "+") (number_literal "3")) () ")"))) (; ";")) (expression_statement "puStack_8[4] = 1;" (assignment_expression "puStack_8[4] = 1" (subscript_expression "puStack_8[4]" (identifier "puStack_8") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puStack_8[5] = 1;" (assignment_expression "puStack_8[5] = 1" (subscript_expression "puStack_8[5]" (identifier "puStack_8") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void check(Workqueue_thread * this, char * function, int err) */

void __thiscall gold::type_1::function_1(type_1 *this,char *function,int var_1)

{
  type_1 *in_stack_fffffff4;
  char *in_stack_fffffff8;
  int in_stack_fffffffc;
  
  if (var_1 == 0) {
    return;
  }
                    /* WARNING: Subroutine does not return */
  function_1(in_stack_fffffff4,in_stack_fffffff8,in_stack_fffffffc);
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator 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))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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,int param_3)

{
  undefined4 *puStack_8;
  undefined4 uStack_4;
  
  if (param_3 == 0) {
    return;
  }
  FUN_00191800();
  puStack_8[1] = uStack_4;
  puStack_8[2] = 0;
  *puStack_8 = &PTR_FUN_003854fc;
  FUN_0006cb40(puStack_8 + 3);
  puStack_8[4] = 1;
  puStack_8[5] = 1;
  return;
}

