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

void __regparm3 statClearPage(StatPage *p)

{
  uint uVar1;
  undefined4 *puVar2;
  byte bVar3;
  
  bVar3 = 0;
  statClearCells((StatPage *)&p->nCell,(StatPage *)&p->aCell);
  if (p->pPg != (DbPage *)0x0) {
    sqlite3PagerUnrefNotNull(p->pPg);
  }
  puVar2 = (undefined4 *)((uint)&p->pPg & 0xfffffffc);
  sqlite3_free(p->zPath);
  p->iPgno = 0;
  p->nMxPayload = 0;
  uVar1 = (uint)((int)p + (0x28 - (int)puVar2)) >> 2;
  for (; uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar2 = 0;
    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;
  }
  return;
}



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

void __regparm3 FUN_00033a00(undefined4 *param_1)

{
  uint uVar1;
  undefined4 *puVar2;
  byte bVar3;
  
  bVar3 = 0;
  FUN_00033990();
  if (param_1[1] != 0) {
    FUN_0001c9b0();
  }
  FUN_000264d0(param_1[3]);
  *param_1 = 0;
  param_1[9] = 0;
  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);
  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;
      uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar2 = 0;
    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;
  }
  return;
}


PUSH EDI
LEA EDX,[EAX + 0x1c]
PUSH ESI
MOV ESI,EAX
ADD EAX,0x14
PUSH EBX
CALL 0x00014d20
ADD EBX,0x1174c4
CALL 0x00033990
MOV EAX,dword ptr [ESI + 0x4]
TEST EAX,EAX
JZ 0x00033a27
CALL 0x0001c9b0
SUB ESP,0xc
PUSH dword ptr [ESI + 0xc]
LEA EDI,[ESI + 0x4]
AND EDI,0xfffffffc
CALL 0x000264d0
MOV dword ptr [ESI],0x0
XOR EAX,EAX
ADD ESP,0x10
MOV dword ptr [ESI + 0x24],0x0
SUB ESI,EDI
LEA ECX,[ESI + 0x28]
SHR ECX,0x2
STOSD.REP ES:EDI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00033a00(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00033a00(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00033a00(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033990();" (call_expression "FUN_00033990()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_0001c9b0();\n  }" { (expression_statement "FUN_0001c9b0();" (call_expression "FUN_0001c9b0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000264d0(param_1[3]);" (call_expression "FUN_000264d0(param_1[3])" identifier (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);" (assignment_expression "puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" for ( (assignment_expression "uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" ( (binary_expression "(int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))" ( (binary_expression "0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + (uint)bVar3 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "puVar2 + (uint)bVar3 * -2 + 1" (binary_expression "puVar2 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 statClearPage(StatPage *p)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  statClearCells((StatPage *)&p->nCell,(StatPage *)&p->aCell);\n  if (p->pPg != (DbPage *)0x0) {\n    sqlite3PagerUnrefNotNull(p->pPg);\n  }\n  puVar2 = (undefined4 *)((uint)&p->pPg & 0xfffffffc);\n  sqlite3_free(p->zPath);\n  p->iPgno = 0;\n  p->nMxPayload = 0;\n  uVar1 = (uint)((int)p + (0x28 - (int)puVar2)) >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 statClearPage(StatPage *p)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  statClearCells((StatPage *)&p->nCell,(StatPage *)&p->aCell);\n  if (p->pPg != (DbPage *)0x0) {\n    sqlite3PagerUnrefNotNull(p->pPg);\n  }\n  puVar2 = (undefined4 *)((uint)&p->pPg & 0xfffffffc);\n  sqlite3_free(p->zPath);\n  p->iPgno = 0;\n  p->nMxPayload = 0;\n  uVar1 = (uint)((int)p + (0x28 - (int)puVar2)) >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "statClearPage(StatPage *p)" identifier (parameter_list "(StatPage *p)" ( (parameter_declaration "StatPage *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  statClearCells((StatPage *)&p->nCell,(StatPage *)&p->aCell);\n  if (p->pPg != (DbPage *)0x0) {\n    sqlite3PagerUnrefNotNull(p->pPg);\n  }\n  puVar2 = (undefined4 *)((uint)&p->pPg & 0xfffffffc);\n  sqlite3_free(p->zPath);\n  p->iPgno = 0;\n  p->nMxPayload = 0;\n  uVar1 = (uint)((int)p + (0x28 - (int)puVar2)) >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (expression_statement "statClearCells((StatPage *)&p->nCell,(StatPage *)&p->aCell);" (call_expression "statClearCells((StatPage *)&p->nCell,(StatPage *)&p->aCell)" identifier (argument_list "((StatPage *)&p->nCell,(StatPage *)&p->aCell)" ( (cast_expression "(StatPage *)&p->nCell" ( (type_descriptor "StatPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->nCell" & (field_expression "p->nCell" identifier -> field_identifier))) , (cast_expression "(StatPage *)&p->aCell" ( (type_descriptor "StatPage *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&p->aCell" & (field_expression "p->aCell" identifier -> field_identifier))) ))) ;) (if_statement "if (p->pPg != (DbPage *)0x0) {\n    sqlite3PagerUnrefNotNull(p->pPg);\n  }" if (parenthesized_expression "(p->pPg != (DbPage *)0x0)" ( (binary_expression "p->pPg != (DbPage *)0x0" (field_expression "p->pPg" identifier -> field_identifier) != (cast_expression "(DbPage *)0x0" ( (type_descriptor "DbPage *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    sqlite3PagerUnrefNotNull(p->pPg);\n  }" { (expression_statement "sqlite3PagerUnrefNotNull(p->pPg);" (call_expression "sqlite3PagerUnrefNotNull(p->pPg)" identifier (argument_list "(p->pPg)" ( (field_expression "p->pPg" identifier -> field_identifier) ))) ;) })) (expression_statement "puVar2 = (undefined4 *)((uint)&p->pPg & 0xfffffffc);" (assignment_expression "puVar2 = (undefined4 *)((uint)&p->pPg & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)&p->pPg & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)&p->pPg & 0xfffffffc)" ( (binary_expression "(uint)&p->pPg & 0xfffffffc" (binary_expression "(uint)&p->pPg" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "p->pPg" identifier -> field_identifier)) & number_literal) )))) ;) (expression_statement "sqlite3_free(p->zPath);" (call_expression "sqlite3_free(p->zPath)" identifier (argument_list "(p->zPath)" ( (field_expression "p->zPath" identifier -> field_identifier) ))) ;) (expression_statement "p->iPgno = 0;" (assignment_expression "p->iPgno = 0" (field_expression "p->iPgno" identifier -> field_identifier) = number_literal) ;) (expression_statement "p->nMxPayload = 0;" (assignment_expression "p->nMxPayload = 0" (field_expression "p->nMxPayload" identifier -> field_identifier) = number_literal) ;) (expression_statement "uVar1 = (uint)((int)p + (0x28 - (int)puVar2)) >> 2;" (assignment_expression "uVar1 = (uint)((int)p + (0x28 - (int)puVar2)) >> 2" identifier = (binary_expression "(uint)((int)p + (0x28 - (int)puVar2)) >> 2" (call_expression "(uint)((int)p + (0x28 - (int)puVar2))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)p + (0x28 - (int)puVar2))" ( (binary_expression "(int)p + (0x28 - (int)puVar2)" (cast_expression "(int)p" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x28 - (int)puVar2)" ( (binary_expression "0x28 - (int)puVar2" number_literal - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" for ( ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + (uint)bVar3 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "puVar2 + (uint)bVar3 * -2 + 1" (binary_expression "puVar2 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00033a00(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00033a00(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00033a00(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "byte bVar3;" type_identifier identifier ;) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" identifier = number_literal) ;) (expression_statement "FUN_00033990();" (call_expression "FUN_00033990()" identifier (argument_list "()" ( ))) ;) (if_statement "if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }" if (parenthesized_expression "(param_1[1] != 0)" ( (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    FUN_0001c9b0();\n  }" { (expression_statement "FUN_0001c9b0();" (call_expression "FUN_0001c9b0()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "FUN_000264d0(param_1[3]);" (call_expression "FUN_000264d0(param_1[3])" identifier (argument_list "(param_1[3])" ( (subscript_expression "param_1[3]" identifier [ number_literal ]) ))) ;) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);" (assignment_expression "puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" for ( (assignment_expression "uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" identifier = (binary_expression "(uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" ( (binary_expression "(int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))" ( (binary_expression "0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)" number_literal - (cast_expression "(int)((uint)(param_1 + 1) & 0xfffffffc)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" ( (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(param_1 + 1)" ( (binary_expression "param_1 + 1" identifier + number_literal) ))) & number_literal) )))) ))) ))) >> number_literal)) ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + (uint)bVar3 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (uint)bVar3 * -2 + 1" identifier = (binary_expression "puVar2 + (uint)bVar3 * -2 + 1" (binary_expression "puVar2 + (uint)bVar3 * -2" identifier + (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + (parenthesized_expression ( (binary_expression LIT - (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ))) ))) >> LIT)) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00033a00(undefined4 *param_1)\n\n{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00033a00(undefined4 *param_1)" (identifier "FUN_00033a00") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 *puVar2;\n  byte bVar3;\n  \n  bVar3 = 0;\n  FUN_00033990();\n  if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }\n  FUN_000264d0(param_1[3]);\n  *param_1 = 0;\n  param_1[9] = 0;\n  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);\n  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "byte bVar3;" (type_identifier "byte") (identifier "bVar3") (; ";")) (expression_statement "bVar3 = 0;" (assignment_expression "bVar3 = 0" (identifier "bVar3") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00033990();" (call_expression "FUN_00033990()" (identifier "FUN_00033990") (argument_list "()" (( "(") () ")"))) (; ";")) (if_statement "if (param_1[1] != 0) {\n    FUN_0001c9b0();\n  }" (if "if") (parenthesized_expression "(param_1[1] != 0)" (( "(") (binary_expression "param_1[1] != 0" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0001c9b0();\n  }" ({ "{") (expression_statement "FUN_0001c9b0();" (call_expression "FUN_0001c9b0()" (identifier "FUN_0001c9b0") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_000264d0(param_1[3]);" (call_expression "FUN_000264d0(param_1[3])" (identifier "FUN_000264d0") (argument_list "(param_1[3])" (( "(") (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) () ")"))) (; ";")) (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_1[9] = 0;" (assignment_expression "param_1[9] = 0" (subscript_expression "param_1[9]" (identifier "param_1") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);" (assignment_expression "puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (for_statement "for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;\n      uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" (for "for") (( "(") (assignment_expression "uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (identifier "uVar1") (= "=") (binary_expression "(uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2" (call_expression "(uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)))" (( "(") (binary_expression "(int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (+ "+") (parenthesized_expression "(0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))" (( "(") (binary_expression "0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc)" (number_literal "0x28") (- "-") (cast_expression "(int)((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)(param_1 + 1) & 0xfffffffc)" (( "(") (binary_expression "(uint)(param_1 + 1) & 0xfffffffc" (call_expression "(uint)(param_1 + 1)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(param_1 + 1)" (( "(") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1")) () ")"))) (& "&") (number_literal "0xfffffffc")) () ")")))) () ")"))) () ")"))) (>> ">>") (number_literal "2"))) (; ";") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar1 = uVar1 - 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = puVar2 + (uint)bVar3 * -2 + 1;" (assignment_expression "puVar2 = puVar2 + (uint)bVar3 * -2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + (uint)bVar3 * -2 + 1" (binary_expression "puVar2 + (uint)bVar3 * -2" (identifier "puVar2") (+ "+") (binary_expression "(uint)bVar3 * -2" (cast_expression "(uint)bVar3" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar3")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 *p)

{
  type_2 var_4;
  type_3 *var_5;
  type_4 bVar3;
  
  bVar3 = 0;
  var_1((type_1 *)&p->nCell,(type_1 *)&p->aCell);
  if (p->pPg != (type_5 *)0x0) {
    var_2(p->pPg);
  }
  var_5 = (type_3 *)((type_2)&p->pPg & 0xfffffffc);
  var_3(p->zPath);
  p->iPgno = 0;
  p->nMxPayload = 0;
  var_4 = (type_2)((int)p + (0x28 - (int)var_5)) >> 2;
  for (; var_4 != 0; var_4 = var_4 - 1) {
    *var_5 = 0;
    var_5 = var_5 + (type_2)bVar3 * -2 + 1;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))))) (for_statement initializer: (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))))) right: (number_literal))) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))) right: (number_literal)))))) (return_statement))))

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

void __regparm3 MASKED(undefined4 *param_1)

{
  uint uVar1;
  undefined4 *puVar2;
  byte bVar3;
  
  bVar3 = 0;
  FUN_00033990();
  if (param_1[1] != 0) {
    FUN_0001c9b0();
  }
  FUN_000264d0(param_1[3]);
  *param_1 = 0;
  param_1[9] = 0;
  puVar2 = (undefined4 *)((uint)(param_1 + 1) & 0xfffffffc);
  for (uVar1 = (uint)((int)param_1 + (0x28 - (int)((uint)(param_1 + 1) & 0xfffffffc))) >> 2;
      uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar2 = 0;
    puVar2 = puVar2 + (uint)bVar3 * -2 + 1;
  }
  return;
}

