
void pageReinit(DbPage *pData)

{
  MemPage *pPage;
  
  pPage = (MemPage *)pData->pExtra;
  if ((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)) {
    btreeInitPage(pPage);
    return;
  }
  return;
}



void FUN_00039a10(int param_1)

{
  if ((**(char **)(param_1 + 8) != '\0') &&
     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {
    FUN_00039930();
    return;
  }
  return;
}


MOV EDX,dword ptr [ESP + 0x4]
MOV EAX,dword ptr [EDX + 0x8]
CMP byte ptr [EAX],0x0
JZ 0x00039a30
MOV byte ptr [EAX],0x0
CMP word ptr [EDX + 0x1e],0x1
JLE 0x00039a30
JMP 0x00039930
RET
(translation_unit "void FUN_00039a10(int param_1)\n\n{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00039a10(int param_1)\n\n{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00039a10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}" { (if_statement "if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }" if (parenthesized_expression "((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e)))" ( (binary_expression "(**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))" (parenthesized_expression "(**(char **)(param_1 + 8) != '\0')" ( (binary_expression "**(char **)(param_1 + 8) != '\0'" (pointer_expression "**(char **)(param_1 + 8)" * (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))" ( (comma_expression "**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e)" (assignment_expression "**(char **)(param_1 + 8) = '\0'" (pointer_expression "**(char **)(param_1 + 8)" * (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) = (char_literal "'\0'" ' escape_sequence ')) , (binary_expression "1 < *(short *)(param_1 + 0x1e)" number_literal < (pointer_expression "*(short *)(param_1 + 0x1e)" * (cast_expression "(short *)(param_1 + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e)" ( (binary_expression "param_1 + 0x1e" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    FUN_00039930();\n    return;\n  }" { (expression_statement "FUN_00039930();" (call_expression "FUN_00039930()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void pageReinit(DbPage *pData)\n\n{\n  MemPage *pPage;\n  \n  pPage = (MemPage *)pData->pExtra;\n  if ((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)) {\n    btreeInitPage(pPage);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void pageReinit(DbPage *pData)\n\n{\n  MemPage *pPage;\n  \n  pPage = (MemPage *)pData->pExtra;\n  if ((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)) {\n    btreeInitPage(pPage);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "pageReinit(DbPage *pData)" identifier (parameter_list "(DbPage *pData)" ( (parameter_declaration "DbPage *pData" type_identifier (pointer_declarator "*pData" * identifier)) ))) (compound_statement "{\n  MemPage *pPage;\n  \n  pPage = (MemPage *)pData->pExtra;\n  if ((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)) {\n    btreeInitPage(pPage);\n    return;\n  }\n  return;\n}" { (declaration "MemPage *pPage;" type_identifier (pointer_declarator "*pPage" * identifier) ;) (expression_statement "pPage = (MemPage *)pData->pExtra;" (assignment_expression "pPage = (MemPage *)pData->pExtra" identifier = (cast_expression "(MemPage *)pData->pExtra" ( (type_descriptor "MemPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (field_expression "pData->pExtra" identifier -> field_identifier))) ;) (if_statement "if ((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)) {\n    btreeInitPage(pPage);\n    return;\n  }" if (parenthesized_expression "((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef))" ( (binary_expression "(pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)" (parenthesized_expression "(pPage->isInit != '\0')" ( (binary_expression "pPage->isInit != '\0'" (field_expression "pPage->isInit" identifier -> field_identifier) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(pPage->isInit = '\0', 1 < pData->nRef)" ( (comma_expression "pPage->isInit = '\0', 1 < pData->nRef" (assignment_expression "pPage->isInit = '\0'" (field_expression "pPage->isInit" identifier -> field_identifier) = (char_literal "'\0'" ' escape_sequence ')) , (binary_expression "1 < pData->nRef" number_literal < (field_expression "pData->nRef" identifier -> field_identifier))) ))) )) (compound_statement "{\n    btreeInitPage(pPage);\n    return;\n  }" { (expression_statement "btreeInitPage(pPage);" (call_expression "btreeInitPage(pPage)" identifier (argument_list "(pPage)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00039a10(int param_1)\n\n{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00039a10(int param_1)\n\n{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00039a10(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}" { (if_statement "if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }" if (parenthesized_expression "((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e)))" ( (binary_expression "(**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))" (parenthesized_expression "(**(char **)(param_1 + 8) != '\0')" ( (binary_expression "**(char **)(param_1 + 8) != '\0'" (pointer_expression "**(char **)(param_1 + 8)" * (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))" ( (comma_expression "**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e)" (assignment_expression "**(char **)(param_1 + 8) = '\0'" (pointer_expression "**(char **)(param_1 + 8)" * (pointer_expression "*(char **)(param_1 + 8)" * (cast_expression "(char **)(param_1 + 8)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 8)" ( (binary_expression "param_1 + 8" identifier + number_literal) ))))) = (char_literal "'\0'" ' escape_sequence ')) , (binary_expression "1 < *(short *)(param_1 + 0x1e)" number_literal < (pointer_expression "*(short *)(param_1 + 0x1e)" * (cast_expression "(short *)(param_1 + 0x1e)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1e)" ( (binary_expression "param_1 + 0x1e" identifier + number_literal) )))))) ))) )) (compound_statement "{\n    FUN_00039930();\n    return;\n  }" { (expression_statement "FUN_00039930();" (call_expression "FUN_00039930()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (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) ))))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (comma_expression (assignment_expression (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) = (char_literal ' escape_sequence ')) , (binary_expression LIT < (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void FUN_00039a10(int param_1)\n\n{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00039a10(int param_1)" (identifier "FUN_00039a10") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {\n    FUN_00039930();\n    return;\n  }" (if "if") (parenthesized_expression "((**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e)))" (( "(") (binary_expression "(**(char **)(param_1 + 8) != '\0') &&\n     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))" (parenthesized_expression "(**(char **)(param_1 + 8) != '\0')" (( "(") (binary_expression "**(char **)(param_1 + 8) != '\0'" (pointer_expression "**(char **)(param_1 + 8)" (* "*") (pointer_expression "*(char **)(param_1 + 8)" (* "*") (cast_expression "(char **)(param_1 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))" (( "(") (comma_expression "**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e)" (assignment_expression "**(char **)(param_1 + 8) = '\0'" (pointer_expression "**(char **)(param_1 + 8)" (* "*") (pointer_expression "*(char **)(param_1 + 8)" (* "*") (cast_expression "(char **)(param_1 + 8)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 8)" (( "(") (binary_expression "param_1 + 8" (identifier "param_1") (+ "+") (number_literal "8")) () ")"))))) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (, ",") (binary_expression "1 < *(short *)(param_1 + 0x1e)" (number_literal "1") (< "<") (pointer_expression "*(short *)(param_1 + 0x1e)" (* "*") (cast_expression "(short *)(param_1 + 0x1e)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1e)" (( "(") (binary_expression "param_1 + 0x1e" (identifier "param_1") (+ "+") (number_literal "0x1e")) () ")")))))) () ")"))) () ")")) (compound_statement "{\n    FUN_00039930();\n    return;\n  }" ({ "{") (expression_statement "FUN_00039930();" (call_expression "FUN_00039930()" (identifier "FUN_00039930") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *pData)

{
  type_2 *pPage;
  
  pPage = (type_2 *)pData->pExtra;
  if ((pPage->isInit != '\0') && (pPage->isInit = '\0', 1 < pData->nRef)) {
    var_1(pPage);
    return;
  }
  return;
}


(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 (if_statement condition: (parenthesized_expression (binary_expression left: (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: (char_literal (escape_sequence)))) right: (parenthesized_expression (comma_expression left: (assignment_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: (char_literal (escape_sequence))) right: (binary_expression left: (number_literal) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (return_statement))))

void MASKED(int param_1)

{
  if ((**(char **)(param_1 + 8) != '\0') &&
     (**(char **)(param_1 + 8) = '\0', 1 < *(short *)(param_1 + 0x1e))) {
    FUN_00039930();
    return;
  }
  return;
}

