
/* DWARF original prototype: void queue_soon(Workqueue * this, Task * t) */

void __thiscall gold::Workqueue::queue_soon(Workqueue *this,Task *t)

{
  t->should_run_soon_ = true;
  add_to_queue(this,&this->first_tasks_,t,false);
  return;
}



void FUN_001a4730(int param_1,int param_2)

{
  *(undefined1 *)(param_2 + 0x20) = 1;
  FUN_001a4500(param_1,param_1 + 4,param_2,0);
  return;
}


SUB ESP,0xc
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
MOV byte ptr [EDX + 0x20],0x1
PUSH 0x0
PUSH EDX
LEA EDX,[EAX + 0x4]
PUSH EDX
PUSH EAX
CALL 0x001a4500
ADD ESP,0x1c
RET
(translation_unit "void FUN_001a4730(int param_1,int param_2)\n\n{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}\n\n" (function_definition "void FUN_001a4730(int param_1,int param_2)\n\n{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}" primitive_type (function_declarator "FUN_001a4730(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}" { (expression_statement "*(undefined1 *)(param_2 + 0x20) = 1;" (assignment_expression "*(undefined1 *)(param_2 + 0x20) = 1" (pointer_expression "*(undefined1 *)(param_2 + 0x20)" * (cast_expression "(undefined1 *)(param_2 + 0x20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_001a4500(param_1,param_1 + 4,param_2,0);" (call_expression "FUN_001a4500(param_1,param_1 + 4,param_2,0)" identifier (argument_list "(param_1,param_1 + 4,param_2,0)" ( identifier , (binary_expression "param_1 + 4" identifier + number_literal) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void queue_soon(Workqueue * this, Task * t) */\n\nvoid __thiscall gold::Workqueue::queue_soon(Workqueue *this,Task *t)\n\n{\n  t->should_run_soon_ = true;\n  add_to_queue(this,&this->first_tasks_,t,false);\n  return;\n}\n\n" comment (function_definition "void __thiscall gold::Workqueue::queue_soon(Workqueue *this,Task *t)\n\n{\n  t->should_run_soon_ = true;\n  add_to_queue(this,&this->first_tasks_,t,false);\n  return;\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "gold::Workqueue::" identifier : : identifier : :) (function_declarator "queue_soon(Workqueue *this,Task *t)" identifier (parameter_list "(Workqueue *this,Task *t)" ( (parameter_declaration "Workqueue *this" type_identifier (pointer_declarator "*this" * identifier)) , (parameter_declaration "Task *t" type_identifier (pointer_declarator "*t" * identifier)) ))) (compound_statement "{\n  t->should_run_soon_ = true;\n  add_to_queue(this,&this->first_tasks_,t,false);\n  return;\n}" { (expression_statement "t->should_run_soon_ = true;" (assignment_expression "t->should_run_soon_ = true" (field_expression "t->should_run_soon_" identifier -> field_identifier) = true) ;) (expression_statement "add_to_queue(this,&this->first_tasks_,t,false);" (call_expression "add_to_queue(this,&this->first_tasks_,t,false)" identifier (argument_list "(this,&this->first_tasks_,t,false)" ( identifier , (pointer_expression "&this->first_tasks_" & (field_expression "this->first_tasks_" identifier -> field_identifier)) , identifier , false ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_001a4730(int param_1,int param_2)\n\n{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}\n\n" (function_definition "void FUN_001a4730(int param_1,int param_2)\n\n{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}" primitive_type (function_declarator "FUN_001a4730(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}" { (expression_statement "*(undefined1 *)(param_2 + 0x20) = 1;" (assignment_expression "*(undefined1 *)(param_2 + 0x20) = 1" (pointer_expression "*(undefined1 *)(param_2 + 0x20)" * (cast_expression "(undefined1 *)(param_2 + 0x20)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x20)" ( (binary_expression "param_2 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_001a4500(param_1,param_1 + 4,param_2,0);" (call_expression "FUN_001a4500(param_1,param_1 + 4,param_2,0)" identifier (argument_list "(param_1,param_1 + 4,param_2,0)" ( identifier , (binary_expression "param_1 + 4" identifier + number_literal) , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void FUN_001a4730(int param_1,int param_2)\n\n{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_001a4730(int param_1,int param_2)" (identifier "FUN_001a4730") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  *(undefined1 *)(param_2 + 0x20) = 1;\n  FUN_001a4500(param_1,param_1 + 4,param_2,0);\n  return;\n}" ({ "{") (expression_statement "*(undefined1 *)(param_2 + 0x20) = 1;" (assignment_expression "*(undefined1 *)(param_2 + 0x20) = 1" (pointer_expression "*(undefined1 *)(param_2 + 0x20)" (* "*") (cast_expression "(undefined1 *)(param_2 + 0x20)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x20)" (( "(") (binary_expression "param_2 + 0x20" (identifier "param_2") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "FUN_001a4500(param_1,param_1 + 4,param_2,0);" (call_expression "FUN_001a4500(param_1,param_1 + 4,param_2,0)" (identifier "FUN_001a4500") (argument_list "(param_1,param_1 + 4,param_2,0)" (( "(") (identifier "param_1") (, ",") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) (, ",") (identifier "param_2") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void queue_soon(Workqueue * this, Task * t) */

void __thiscall gold::type_1::function_1(type_1 *this,type_2 *t)

{
  t->should_run_soon_ = true;
  var_1(this,&this->first_tasks_,t,false);
  return;
}


(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: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal)))) (return_statement))))

void MASKED(int param_1,int param_2)

{
  *(undefined1 *)(param_2 + 0x20) = 1;
  FUN_001a4500(param_1,param_1 + 4,param_2,0);
  return;
}

