
/* WARNING: Unknown calling convention */

void * vdbePmaReaderBgIncrInit(void *pCtx)

{
  void *pvVar1;
  
  pvVar1 = (void *)vdbePmaReaderIncrMergeInit((PmaReader *)pCtx,1);
  *(undefined4 *)(**(int **)((int)pCtx + 0x30) + 4) = 1;
  return pvVar1;
}



void FUN_00059800(int param_1)

{
  FUN_00059520();
  *(undefined4 *)(**(int **)(param_1 + 0x30) + 4) = 1;
  return;
}


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

/* WARNING: Unknown calling convention */

void * function_1(void *pCtx)

{
  void *pvVar1;
  
  pvVar1 = (void *)var_1((type_1 *)pCtx,1);
  *(type_2 *)(**(int **)((int)pCtx + 0x30) + 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: (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (number_literal))))) right: (number_literal))) (return_statement))))

void MASKED(int param_1)

{
  FUN_00059520();
  *(undefined4 *)(**(int **)(param_1 + 0x30) + 4) = 1;
  return;
}

