
void __regparm3 walRestartHdr(Wal *pWal,u32 salt1)

{
  u32 *puVar1;
  uint uVar2;
  
  puVar1 = *pWal->apWiData;
  uVar2 = (pWal->hdr).aSalt[0];
  pWal->nCkpt = pWal->nCkpt + 1;
  (pWal->hdr).mxFrame = 0;
  (pWal->hdr).aSalt[1] = salt1;
  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;
  (pWal->hdr).aSalt[0] =
       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;
  walIndexWriteHdr(pWal);
  puVar1[0x18] = 0;
  puVar1[0x20] = 0;
  puVar1[0x1a] = 0;
  puVar1[0x1b] = 0xffffffff;
  puVar1[0x1c] = 0xffffffff;
  puVar1[0x1d] = 0xffffffff;
  return;
}



void __regparm3 FUN_000233b0(int param_1,undefined4 param_2)

{
  int iVar1;
  uint uVar2;
  
  iVar1 = **(int **)(param_1 + 0x20);
  uVar2 = *(uint *)(param_1 + 0x54);
  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
  *(undefined4 *)(param_1 + 0x44) = 0;
  *(undefined4 *)(param_1 + 0x58) = param_2;
  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;
  *(uint *)(param_1 + 0x54) =
       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;
  FUN_00021df0();
  *(undefined4 *)(iVar1 + 0x60) = 0;
  *(undefined4 *)(iVar1 + 0x80) = 0;
  *(undefined4 *)(iVar1 + 0x68) = 0;
  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;
  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;
  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;
  return;
}


PUSH EBX
SUB ESP,0x8
MOV ECX,dword ptr [EAX + 0x20]
MOV EBX,dword ptr [ECX]
MOV ECX,dword ptr [EAX + 0x54]
ADD dword ptr [EAX + 0x70],0x1
MOV dword ptr [EAX + 0x44],0x0
MOV dword ptr [EAX + 0x58],EDX
BSWAP ECX
ADD ECX,0x1
BSWAP ECX
MOV dword ptr [EAX + 0x54],ECX
CALL 0x00021df0
MOV dword ptr [EBX + 0x60],0x0
MOV dword ptr [EBX + 0x80],0x0
MOV dword ptr [EBX + 0x68],0x0
MOV dword ptr [EBX + 0x6c],0xffffffff
MOV dword ptr [EBX + 0x70],0xffffffff
MOV dword ptr [EBX + 0x74],0xffffffff
ADD ESP,0x8
POP EBX
RET
(translation_unit "void __regparm3 FUN_000233b0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000233b0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000233b0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = **(int **)(param_1 + 0x20);" (assignment_expression "iVar1 = **(int **)(param_1 + 0x20)" identifier = (pointer_expression "**(int **)(param_1 + 0x20)" * (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;" (assignment_expression "*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1" (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x70) + 1" (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x44) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x58) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x58) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x58)" * (cast_expression "(undefined4 *)(param_1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;" (assignment_expression "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" identifier = (binary_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" (parenthesized_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal)) )) + number_literal)) ;) (expression_statement "*(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;" (assignment_expression "*(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 * 0x1000000" identifier * number_literal))) ;) (expression_statement "FUN_00021df0();" (call_expression "FUN_00021df0()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x60) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x60) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x60)" * (cast_expression "(undefined4 *)(iVar1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x60)" ( (binary_expression "iVar1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x80) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x80) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x80)" * (cast_expression "(undefined4 *)(iVar1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x80)" ( (binary_expression "iVar1 + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x68) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x68) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x68)" * (cast_expression "(undefined4 *)(iVar1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x68)" ( (binary_expression "iVar1 + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x6c) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x6c)" * (cast_expression "(undefined4 *)(iVar1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x6c)" ( (binary_expression "iVar1 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x70) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x70) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x70)" * (cast_expression "(undefined4 *)(iVar1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x70)" ( (binary_expression "iVar1 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x74) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x74) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x74)" * (cast_expression "(undefined4 *)(iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x74)" ( (binary_expression "iVar1 + 0x74" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 walRestartHdr(Wal *pWal,u32 salt1)\n\n{\n  u32 *puVar1;\n  uint uVar2;\n  \n  puVar1 = *pWal->apWiData;\n  uVar2 = (pWal->hdr).aSalt[0];\n  pWal->nCkpt = pWal->nCkpt + 1;\n  (pWal->hdr).mxFrame = 0;\n  (pWal->hdr).aSalt[1] = salt1;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  (pWal->hdr).aSalt[0] =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  walIndexWriteHdr(pWal);\n  puVar1[0x18] = 0;\n  puVar1[0x20] = 0;\n  puVar1[0x1a] = 0;\n  puVar1[0x1b] = 0xffffffff;\n  puVar1[0x1c] = 0xffffffff;\n  puVar1[0x1d] = 0xffffffff;\n  return;\n}\n\n" (function_definition "void __regparm3 walRestartHdr(Wal *pWal,u32 salt1)\n\n{\n  u32 *puVar1;\n  uint uVar2;\n  \n  puVar1 = *pWal->apWiData;\n  uVar2 = (pWal->hdr).aSalt[0];\n  pWal->nCkpt = pWal->nCkpt + 1;\n  (pWal->hdr).mxFrame = 0;\n  (pWal->hdr).aSalt[1] = salt1;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  (pWal->hdr).aSalt[0] =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  walIndexWriteHdr(pWal);\n  puVar1[0x18] = 0;\n  puVar1[0x20] = 0;\n  puVar1[0x1a] = 0;\n  puVar1[0x1b] = 0xffffffff;\n  puVar1[0x1c] = 0xffffffff;\n  puVar1[0x1d] = 0xffffffff;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "walRestartHdr(Wal *pWal,u32 salt1)" identifier (parameter_list "(Wal *pWal,u32 salt1)" ( (parameter_declaration "Wal *pWal" type_identifier (pointer_declarator "*pWal" * identifier)) , (parameter_declaration "u32 salt1" type_identifier identifier) ))) (compound_statement "{\n  u32 *puVar1;\n  uint uVar2;\n  \n  puVar1 = *pWal->apWiData;\n  uVar2 = (pWal->hdr).aSalt[0];\n  pWal->nCkpt = pWal->nCkpt + 1;\n  (pWal->hdr).mxFrame = 0;\n  (pWal->hdr).aSalt[1] = salt1;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  (pWal->hdr).aSalt[0] =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  walIndexWriteHdr(pWal);\n  puVar1[0x18] = 0;\n  puVar1[0x20] = 0;\n  puVar1[0x1a] = 0;\n  puVar1[0x1b] = 0xffffffff;\n  puVar1[0x1c] = 0xffffffff;\n  puVar1[0x1d] = 0xffffffff;\n  return;\n}" { (declaration "u32 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "puVar1 = *pWal->apWiData;" (assignment_expression "puVar1 = *pWal->apWiData" identifier = (pointer_expression "*pWal->apWiData" * (field_expression "pWal->apWiData" identifier -> field_identifier))) ;) (expression_statement "uVar2 = (pWal->hdr).aSalt[0];" (assignment_expression "uVar2 = (pWal->hdr).aSalt[0]" identifier = (subscript_expression "(pWal->hdr).aSalt[0]" (field_expression "(pWal->hdr).aSalt" (parenthesized_expression "(pWal->hdr)" ( (field_expression "pWal->hdr" identifier -> field_identifier) )) . field_identifier) [ number_literal ])) ;) (expression_statement "pWal->nCkpt = pWal->nCkpt + 1;" (assignment_expression "pWal->nCkpt = pWal->nCkpt + 1" (field_expression "pWal->nCkpt" identifier -> field_identifier) = (binary_expression "pWal->nCkpt + 1" (field_expression "pWal->nCkpt" identifier -> field_identifier) + number_literal)) ;) (expression_statement "(pWal->hdr).mxFrame = 0;" (assignment_expression "(pWal->hdr).mxFrame = 0" (field_expression "(pWal->hdr).mxFrame" (parenthesized_expression "(pWal->hdr)" ( (field_expression "pWal->hdr" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(pWal->hdr).aSalt[1] = salt1;" (assignment_expression "(pWal->hdr).aSalt[1] = salt1" (subscript_expression "(pWal->hdr).aSalt[1]" (field_expression "(pWal->hdr).aSalt" (parenthesized_expression "(pWal->hdr)" ( (field_expression "pWal->hdr" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = identifier) ;) (expression_statement "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;" (assignment_expression "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" identifier = (binary_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" (parenthesized_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal)) )) + number_literal)) ;) (expression_statement "(pWal->hdr).aSalt[0] =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;" (assignment_expression "(pWal->hdr).aSalt[0] =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (subscript_expression "(pWal->hdr).aSalt[0]" (field_expression "(pWal->hdr).aSalt" (parenthesized_expression "(pWal->hdr)" ( (field_expression "pWal->hdr" identifier -> field_identifier) )) . field_identifier) [ number_literal ]) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 * 0x1000000" identifier * number_literal))) ;) (expression_statement "walIndexWriteHdr(pWal);" (call_expression "walIndexWriteHdr(pWal)" identifier (argument_list "(pWal)" ( identifier ))) ;) (expression_statement "puVar1[0x18] = 0;" (assignment_expression "puVar1[0x18] = 0" (subscript_expression "puVar1[0x18]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x20] = 0;" (assignment_expression "puVar1[0x20] = 0" (subscript_expression "puVar1[0x20]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x1a] = 0;" (assignment_expression "puVar1[0x1a] = 0" (subscript_expression "puVar1[0x1a]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x1b] = 0xffffffff;" (assignment_expression "puVar1[0x1b] = 0xffffffff" (subscript_expression "puVar1[0x1b]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x1c] = 0xffffffff;" (assignment_expression "puVar1[0x1c] = 0xffffffff" (subscript_expression "puVar1[0x1c]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x1d] = 0xffffffff;" (assignment_expression "puVar1[0x1d] = 0xffffffff" (subscript_expression "puVar1[0x1d]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000233b0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000233b0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000233b0(int param_1,undefined4 param_2)" identifier (parameter_list "(int param_1,undefined4 param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "uint uVar2;" type_identifier identifier ;) (expression_statement "iVar1 = **(int **)(param_1 + 0x20);" (assignment_expression "iVar1 = **(int **)(param_1 + 0x20)" identifier = (pointer_expression "**(int **)(param_1 + 0x20)" * (pointer_expression "*(int **)(param_1 + 0x20)" * (cast_expression "(int **)(param_1 + 0x20)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x20)" ( (binary_expression "param_1 + 0x20" identifier + number_literal) )))))) ;) (expression_statement "uVar2 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x54)" identifier = (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) ))))) ;) (expression_statement "*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;" (assignment_expression "*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1" (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) = (binary_expression "*(int *)(param_1 + 0x70) + 1" (pointer_expression "*(int *)(param_1 + 0x70)" * (cast_expression "(int *)(param_1 + 0x70)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x70)" ( (binary_expression "param_1 + 0x70" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "*(undefined4 *)(param_1 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x44) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x44)" * (cast_expression "(undefined4 *)(param_1 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x44)" ( (binary_expression "param_1 + 0x44" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(param_1 + 0x58) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x58) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x58)" * (cast_expression "(undefined4 *)(param_1 + 0x58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x58)" ( (binary_expression "param_1 + 0x58" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;" (assignment_expression "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" identifier = (binary_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" (parenthesized_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" ( (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x18" identifier << number_literal)) )) + number_literal)) ;) (expression_statement "*(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;" (assignment_expression "*(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (pointer_expression "*(uint *)(param_1 + 0x54)" * (cast_expression "(uint *)(param_1 + 0x54)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x54)" ( (binary_expression "param_1 + 0x54" identifier + number_literal) )))) = (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 * 0x1000000" identifier * number_literal))) ;) (expression_statement "FUN_00021df0();" (call_expression "FUN_00021df0()" identifier (argument_list "()" ( ))) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x60) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x60) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x60)" * (cast_expression "(undefined4 *)(iVar1 + 0x60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x60)" ( (binary_expression "iVar1 + 0x60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x80) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x80) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x80)" * (cast_expression "(undefined4 *)(iVar1 + 0x80)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x80)" ( (binary_expression "iVar1 + 0x80" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x68) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x68) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x68)" * (cast_expression "(undefined4 *)(iVar1 + 0x68)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x68)" ( (binary_expression "iVar1 + 0x68" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x6c) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x6c)" * (cast_expression "(undefined4 *)(iVar1 + 0x6c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x6c)" ( (binary_expression "iVar1 + 0x6c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x70) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x70) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x70)" * (cast_expression "(undefined4 *)(iVar1 + 0x70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x70)" ( (binary_expression "iVar1 + 0x70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x74) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x74) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x74)" * (cast_expression "(undefined4 *)(iVar1 + 0x74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x74)" ( (binary_expression "iVar1 + 0x74" identifier + number_literal) )))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT)) )) + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (binary_expression (binary_expression (binary_expression IDENT >> LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT * LIT))) ;) (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (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 __regparm3 FUN_000233b0(int param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000233b0(int param_1,undefined4 param_2)" (identifier "FUN_000233b0") (parameter_list "(int param_1,undefined4 param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  uint uVar2;\n  \n  iVar1 = **(int **)(param_1 + 0x20);\n  uVar2 = *(uint *)(param_1 + 0x54);\n  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;\n  *(undefined4 *)(param_1 + 0x44) = 0;\n  *(undefined4 *)(param_1 + 0x58) = param_2;\n  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;\n  *(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;\n  FUN_00021df0();\n  *(undefined4 *)(iVar1 + 0x60) = 0;\n  *(undefined4 *)(iVar1 + 0x80) = 0;\n  *(undefined4 *)(iVar1 + 0x68) = 0;\n  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;\n  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (expression_statement "iVar1 = **(int **)(param_1 + 0x20);" (assignment_expression "iVar1 = **(int **)(param_1 + 0x20)" (identifier "iVar1") (= "=") (pointer_expression "**(int **)(param_1 + 0x20)" (* "*") (pointer_expression "*(int **)(param_1 + 0x20)" (* "*") (cast_expression "(int **)(param_1 + 0x20)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x20)" (( "(") (binary_expression "param_1 + 0x20" (identifier "param_1") (+ "+") (number_literal "0x20")) () ")")))))) (; ";")) (expression_statement "uVar2 = *(uint *)(param_1 + 0x54);" (assignment_expression "uVar2 = *(uint *)(param_1 + 0x54)" (identifier "uVar2") (= "=") (pointer_expression "*(uint *)(param_1 + 0x54)" (* "*") (cast_expression "(uint *)(param_1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")"))))) (; ";")) (expression_statement "*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;" (assignment_expression "*(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1" (pointer_expression "*(int *)(param_1 + 0x70)" (* "*") (cast_expression "(int *)(param_1 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (binary_expression "*(int *)(param_1 + 0x70) + 1" (pointer_expression "*(int *)(param_1 + 0x70)" (* "*") (cast_expression "(int *)(param_1 + 0x70)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x70)" (( "(") (binary_expression "param_1 + 0x70" (identifier "param_1") (+ "+") (number_literal "0x70")) () ")")))) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(param_1 + 0x44) = 0" (pointer_expression "*(undefined4 *)(param_1 + 0x44)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x44)" (( "(") (binary_expression "param_1 + 0x44" (identifier "param_1") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(param_1 + 0x58) = param_2;" (assignment_expression "*(undefined4 *)(param_1 + 0x58) = param_2" (pointer_expression "*(undefined4 *)(param_1 + 0x58)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x58)" (( "(") (binary_expression "param_1 + 0x58" (identifier "param_1") (+ "+") (number_literal "0x58")) () ")")))) (= "=") (identifier "param_2")) (; ";")) (expression_statement "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;" (assignment_expression "uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" (identifier "uVar2") (= "=") (binary_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1" (parenthesized_expression "(uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18)" (( "(") (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 << 0x18" (identifier "uVar2") (<< "<<") (number_literal "0x18"))) () ")")) (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;" (assignment_expression "*(uint *)(param_1 + 0x54) =\n       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (pointer_expression "*(uint *)(param_1 + 0x54)" (* "*") (cast_expression "(uint *)(param_1 + 0x54)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x54)" (( "(") (binary_expression "param_1 + 0x54" (identifier "param_1") (+ "+") (number_literal "0x54")) () ")")))) (= "=") (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8" (binary_expression "uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8" (binary_expression "uVar2 >> 0x18" (identifier "uVar2") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar2 & 0xff0000) >> 8" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 8" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar2 * 0x1000000" (identifier "uVar2") (* "*") (number_literal "0x1000000")))) (; ";")) (expression_statement "FUN_00021df0();" (call_expression "FUN_00021df0()" (identifier "FUN_00021df0") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x60) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x60) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x60)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x60)" (( "(") (binary_expression "iVar1 + 0x60" (identifier "iVar1") (+ "+") (number_literal "0x60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x80) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x80) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x80)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x80)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x80)" (( "(") (binary_expression "iVar1 + 0x80" (identifier "iVar1") (+ "+") (number_literal "0x80")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x68) = 0;" (assignment_expression "*(undefined4 *)(iVar1 + 0x68) = 0" (pointer_expression "*(undefined4 *)(iVar1 + 0x68)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x68)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x68)" (( "(") (binary_expression "iVar1 + 0x68" (identifier "iVar1") (+ "+") (number_literal "0x68")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x6c) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x6c)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x6c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x6c)" (( "(") (binary_expression "iVar1 + 0x6c" (identifier "iVar1") (+ "+") (number_literal "0x6c")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x70) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x70) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x70)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x70)" (( "(") (binary_expression "iVar1 + 0x70" (identifier "iVar1") (+ "+") (number_literal "0x70")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x74) = 0xffffffff;" (assignment_expression "*(undefined4 *)(iVar1 + 0x74) = 0xffffffff" (pointer_expression "*(undefined4 *)(iVar1 + 0x74)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x74)" (( "(") (binary_expression "iVar1 + 0x74" (identifier "iVar1") (+ "+") (number_literal "0x74")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void __regparm3 function_1(type_1 *pWal,type_2 salt1)

{
  type_2 *puVar1;
  type_3 var_1;
  
  puVar1 = *pWal->apWiData;
  var_1 = (pWal->hdr).aSalt[0];
  pWal->nCkpt = pWal->nCkpt + 1;
  (pWal->hdr).mxFrame = 0;
  (pWal->hdr).aSalt[1] = salt1;
  var_1 = (var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 << 0x18) + 1;
  (pWal->hdr).aSalt[0] =
       var_1 >> 0x18 | (var_1 & 0xff0000) >> 8 | (var_1 & 0xff00) << 8 | var_1 * 0x1000000;
  var_2(pWal);
  puVar1[0x18] = 0;
  puVar1[0x20] = 0;
  puVar1[0x1a] = 0;
  puVar1[0x1b] = 0xffffffff;
  puVar1[0x1c] = 0xffffffff;
  puVar1[0x1d] = 0xffffffff;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (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)))))))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (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 (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal)))) (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: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (binary_expression left: (identifier) right: (number_literal))))) (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))) (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 (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 (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 (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 (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 __regparm3 MASKED(int param_1,undefined4 param_2)

{
  int iVar1;
  uint uVar2;
  
  iVar1 = **(int **)(param_1 + 0x20);
  uVar2 = *(uint *)(param_1 + 0x54);
  *(int *)(param_1 + 0x70) = *(int *)(param_1 + 0x70) + 1;
  *(undefined4 *)(param_1 + 0x44) = 0;
  *(undefined4 *)(param_1 + 0x58) = param_2;
  uVar2 = (uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 << 0x18) + 1;
  *(uint *)(param_1 + 0x54) =
       uVar2 >> 0x18 | (uVar2 & 0xff0000) >> 8 | (uVar2 & 0xff00) << 8 | uVar2 * 0x1000000;
  FUN_00021df0();
  *(undefined4 *)(iVar1 + 0x60) = 0;
  *(undefined4 *)(iVar1 + 0x80) = 0;
  *(undefined4 *)(iVar1 + 0x68) = 0;
  *(undefined4 *)(iVar1 + 0x6c) = 0xffffffff;
  *(undefined4 *)(iVar1 + 0x70) = 0xffffffff;
  *(undefined4 *)(iVar1 + 0x74) = 0xffffffff;
  return;
}

