
/* WARNING: Unknown calling convention */

void * vdbeSorterFlushThread(void *pCtx)

{
  int rc;
  void *pvVar1;
  
  pvVar1 = (void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10));
  *(undefined4 *)((int)pCtx + 4) = 1;
  return pvVar1;
}



void FUN_0004e130(int param_1)

{
  FUN_0004dc00();
  *(undefined4 *)(param_1 + 4) = 1;
  return;
}


PUSH EBX
SUB ESP,0x8
MOV EBX,dword ptr [ESP + 0x10]
LEA EDX,[EBX + 0x10]
MOV EAX,EBX
CALL 0x0004dc00
MOV dword ptr [EBX + 0x4],0x1
ADD ESP,0x8
POP EBX
RET
(translation_unit "void FUN_0004e130(int param_1)\n\n{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0004e130(int param_1)\n\n{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0004e130(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}" { (expression_statement "FUN_0004dc00();" (call_expression "FUN_0004dc00()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 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" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n\nvoid * vdbeSorterFlushThread(void *pCtx)\n\n{\n  int rc;\n  void *pvVar1;\n  \n  pvVar1 = (void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10));\n  *(undefined4 *)((int)pCtx + 4) = 1;\n  return pvVar1;\n}\n\n" comment (function_definition "void * vdbeSorterFlushThread(void *pCtx)\n\n{\n  int rc;\n  void *pvVar1;\n  \n  pvVar1 = (void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10));\n  *(undefined4 *)((int)pCtx + 4) = 1;\n  return pvVar1;\n}" primitive_type (pointer_declarator "* vdbeSorterFlushThread(void *pCtx)" * (function_declarator "vdbeSorterFlushThread(void *pCtx)" identifier (parameter_list "(void *pCtx)" ( (parameter_declaration "void *pCtx" primitive_type (pointer_declarator "*pCtx" * identifier)) )))) (compound_statement "{\n  int rc;\n  void *pvVar1;\n  \n  pvVar1 = (void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10));\n  *(undefined4 *)((int)pCtx + 4) = 1;\n  return pvVar1;\n}" { (declaration "int rc;" primitive_type identifier ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = (void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10));" (assignment_expression "pvVar1 = (void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10))" identifier = (cast_expression "(void *)vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "vdbeSorterListToPMA((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10))" identifier (argument_list "((SortSubtask *)pCtx,(SorterList *)((int)pCtx + 0x10))" ( (cast_expression "(SortSubtask *)pCtx" ( (type_descriptor "SortSubtask *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) , (cast_expression "(SorterList *)((int)pCtx + 0x10)" ( (type_descriptor "SorterList *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pCtx + 0x10)" ( (binary_expression "(int)pCtx + 0x10" (cast_expression "(int)pCtx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) ))))) ;) (expression_statement "*(undefined4 *)((int)pCtx + 4) = 1;" (assignment_expression "*(undefined4 *)((int)pCtx + 4) = 1" (pointer_expression "*(undefined4 *)((int)pCtx + 4)" * (cast_expression "(undefined4 *)((int)pCtx + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pCtx + 4)" ( (binary_expression "(int)pCtx + 4" (cast_expression "(int)pCtx" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) = number_literal) ;) (return_statement "return pvVar1;" return identifier ;) })))
(translation_unit "void FUN_0004e130(int param_1)\n\n{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}\n\n" (function_definition "void FUN_0004e130(int param_1)\n\n{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0004e130(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}" { (expression_statement "FUN_0004dc00();" (call_expression "FUN_0004dc00()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 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" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0004e130(int param_1)\n\n{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0004e130(int param_1)" (identifier "FUN_0004e130") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  FUN_0004dc00();\n  *(undefined4 *)(param_1 + 4) = 1;\n  return;\n}" ({ "{") (expression_statement "FUN_0004dc00();" (call_expression "FUN_0004dc00()" (identifier "FUN_0004dc00") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 4) = 1;" (assignment_expression "*(undefined4 *)(param_1 + 4) = 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" (identifier "param_1") (+ "+") (number_literal "4")) () ")")))) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */

void * function_1(void *pCtx)

{
  int rc;
  void *pvVar1;
  
  pvVar1 = (void *)var_1((type_1 *)pCtx,(type_2 *)((int)pCtx + 0x10));
  *(type_3 *)((int)pCtx + 4) = 1;
  return pvVar1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (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))) (return_statement))))

void MASKED(int param_1)

{
  FUN_0004dc00();
  *(undefined4 *)(param_1 + 4) = 1;
  return;
}

