
/* DWARF original prototype: void nodeOverwriteCell(Rtree * pRtree, RtreeNode * pNode, RtreeCell *
   pCell, int iCell, RtreeNode * pNode, Rtree * pRtree) */

void nodeOverwriteCell(Rtree *pRtree,RtreeNode *pNode,RtreeCell *pCell,int iCell,RtreeNode *pNode_1,
                      Rtree *pRtree_1)

{
  uint uVar1;
  RtreeNode *pRVar2;
  long lVar3;
  undefined4 in_register_0000000c;
  ulong *puVar4;
  
  pRVar2 = pNode_1->pParent;
  puVar4 = (ulong *)(CONCAT44(in_register_0000000c,iCell) +
                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4));
  *puVar4 = (ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |
            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |
            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |
            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38;
  if (*(char *)&(pRtree->base).pModule != '\0') {
    lVar3 = 0;
    do {
      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);
      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =
           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
      lVar3 = lVar3 + 1;
    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);
  }
  *(undefined4 *)&pCell->iRowid = 1;
  return;
}



void FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,
                 int param_6)

{
  uint uVar1;
  ulong uVar2;
  long lVar3;
  ulong *puVar4;
  
  uVar2 = *param_5;
  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));
  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |
            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |
            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;
  if (*param_1 != 0) {
    lVar3 = 0;
    do {
      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);
      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =
           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
      lVar3 = lVar3 + 1;
    } while ((int)lVar3 < (int)(uint)*param_1);
  }
  *param_3 = 1;
  return;
}


MOVZX ESI,SIL
MOV RAX,qword ptr [R8]
IMUL ESI,R9D
BSWAP RAX
ADD ESI,0x4
MOVSXD RSI,ESI
ADD RCX,RSI
MOV qword ptr [RCX],RAX
CMP byte ptr [RDI],0x0
JZ 0x0012b47e
XOR EAX,EAX
NOP dword ptr [RAX]
MOV ESI,dword ptr [R8 + RAX*0x4 + 0x8]
BSWAP ESI
MOV dword ptr [RCX + RAX*0x4 + 0x8],ESI
MOVZX ESI,byte ptr [RDI]
ADD RAX,0x1
CMP ESI,EAX
JG 0x0012b468
MOV dword ptr [RDX],0x1
RET
(translation_unit "void FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)\n\n{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}\n\n" (function_definition "void FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)\n\n{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)" identifier (parameter_list "(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar2 = *param_5;" (assignment_expression "uVar2 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));" (assignment_expression "puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4))" identifier = (cast_expression "(ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4))" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + (int)((uint)param_2 * param_6 + 4))" ( (binary_expression "param_4 + (int)((uint)param_2 * param_6 + 4)" identifier + (cast_expression "(int)((uint)param_2 * param_6 + 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)param_2 * param_6 + 4)" ( (binary_expression "(uint)param_2 * param_6 + 4" (binary_expression "(uint)param_2 * param_6" (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier) * identifier) + number_literal) )))) )))) ;) (expression_statement "*puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;" (assignment_expression "*puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38" (pointer_expression "*puVar4" * identifier) = (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28" (binary_expression "uVar2 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar2 & 0xff000000000000)" ( (binary_expression "uVar2 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar2 & 0xff0000000000)" ( (binary_expression "uVar2 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00000000) >> 8" (parenthesized_expression "(uVar2 & 0xff00000000)" ( (binary_expression "uVar2 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff000000) << 8" (parenthesized_expression "(uVar2 & 0xff000000)" ( (binary_expression "uVar2 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar2 & 0xff0000) << 0x18" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar2 & 0xff00) << 0x28" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x38" identifier << number_literal))) ;) (if_statement "if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);" do (compound_statement "{\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    }" { (expression_statement "uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);" (assignment_expression "uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8)" identifier = (pointer_expression "*(uint *)((long)param_5 + lVar3 * 4 + 8)" * (cast_expression "(uint *)((long)param_5 + lVar3 * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_5 + lVar3 * 4 + 8)" ( (binary_expression "(long)param_5 + lVar3 * 4 + 8" (binary_expression "(long)param_5 + lVar3 * 4" (cast_expression "(long)param_5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar3 * 4" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8)" * (cast_expression "(uint *)((long)puVar4 + lVar3 * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar4 + lVar3 * 4 + 8)" ( (binary_expression "(long)puVar4 + lVar3 * 4 + 8" (binary_expression "(long)puVar4 + lVar3 * 4" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar3 * 4" identifier * number_literal)) + number_literal) )))) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar3 < (int)(uint)*param_1)" ( (binary_expression "(int)lVar3 < (int)(uint)*param_1" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)(uint)*param_1" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier)) )) ;) })) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* DWARF original prototype: void nodeOverwriteCell(Rtree * pRtree, RtreeNode * pNode, RtreeCell *\n   pCell, int iCell, RtreeNode * pNode, Rtree * pRtree) */\n\nvoid nodeOverwriteCell(Rtree *pRtree,RtreeNode *pNode,RtreeCell *pCell,int iCell,RtreeNode *pNode_1,\n                      Rtree *pRtree_1)\n\n{\n  uint uVar1;\n  RtreeNode *pRVar2;\n  long lVar3;\n  undefined4 in_register_0000000c;\n  ulong *puVar4;\n  \n  pRVar2 = pNode_1->pParent;\n  puVar4 = (ulong *)(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4));\n  *puVar4 = (ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38;\n  if (*(char *)&(pRtree->base).pModule != '\0') {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);\n  }\n  *(undefined4 *)&pCell->iRowid = 1;\n  return;\n}\n\n" comment (function_definition "void nodeOverwriteCell(Rtree *pRtree,RtreeNode *pNode,RtreeCell *pCell,int iCell,RtreeNode *pNode_1,\n                      Rtree *pRtree_1)\n\n{\n  uint uVar1;\n  RtreeNode *pRVar2;\n  long lVar3;\n  undefined4 in_register_0000000c;\n  ulong *puVar4;\n  \n  pRVar2 = pNode_1->pParent;\n  puVar4 = (ulong *)(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4));\n  *puVar4 = (ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38;\n  if (*(char *)&(pRtree->base).pModule != '\0') {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);\n  }\n  *(undefined4 *)&pCell->iRowid = 1;\n  return;\n}" primitive_type (function_declarator "nodeOverwriteCell(Rtree *pRtree,RtreeNode *pNode,RtreeCell *pCell,int iCell,RtreeNode *pNode_1,\n                      Rtree *pRtree_1)" identifier (parameter_list "(Rtree *pRtree,RtreeNode *pNode,RtreeCell *pCell,int iCell,RtreeNode *pNode_1,\n                      Rtree *pRtree_1)" ( (parameter_declaration "Rtree *pRtree" type_identifier (pointer_declarator "*pRtree" * identifier)) , (parameter_declaration "RtreeNode *pNode" type_identifier (pointer_declarator "*pNode" * identifier)) , (parameter_declaration "RtreeCell *pCell" type_identifier (pointer_declarator "*pCell" * identifier)) , (parameter_declaration "int iCell" primitive_type identifier) , (parameter_declaration "RtreeNode *pNode_1" type_identifier (pointer_declarator "*pNode_1" * identifier)) , (parameter_declaration "Rtree *pRtree_1" type_identifier (pointer_declarator "*pRtree_1" * identifier)) ))) (compound_statement "{\n  uint uVar1;\n  RtreeNode *pRVar2;\n  long lVar3;\n  undefined4 in_register_0000000c;\n  ulong *puVar4;\n  \n  pRVar2 = pNode_1->pParent;\n  puVar4 = (ulong *)(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4));\n  *puVar4 = (ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38;\n  if (*(char *)&(pRtree->base).pModule != '\0') {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);\n  }\n  *(undefined4 *)&pCell->iRowid = 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "RtreeNode *pRVar2;" type_identifier (pointer_declarator "*pRVar2" * identifier) ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "undefined4 in_register_0000000c;" type_identifier identifier ;) (declaration "ulong *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "pRVar2 = pNode_1->pParent;" (assignment_expression "pRVar2 = pNode_1->pParent" identifier = (field_expression "pNode_1->pParent" identifier -> field_identifier)) ;) (expression_statement "puVar4 = (ulong *)(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4));" (assignment_expression "puVar4 = (ulong *)(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4))" identifier = (cast_expression "(ulong *)(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4))" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4))" ( (binary_expression "CONCAT44(in_register_0000000c,iCell) +\n                    (long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4)" (call_expression "CONCAT44(in_register_0000000c,iCell)" identifier (argument_list "(in_register_0000000c,iCell)" ( identifier , identifier ))) + (cast_expression "(long)(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4)" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (cast_expression "(int)(((uint)pNode & 0xff) * (int)pRtree_1 + 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(((uint)pNode & 0xff) * (int)pRtree_1 + 4)" ( (binary_expression "((uint)pNode & 0xff) * (int)pRtree_1 + 4" (binary_expression "((uint)pNode & 0xff) * (int)pRtree_1" (parenthesized_expression "((uint)pNode & 0xff)" ( (binary_expression "(uint)pNode & 0xff" (cast_expression "(uint)pNode" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) * (cast_expression "(int)pRtree_1" ( (type_descriptor "int" primitive_type) ) identifier)) + number_literal) ))))) )))) ;) (expression_statement "*puVar4 = (ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38;" (assignment_expression "*puVar4 = (ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38" (pointer_expression "*puVar4" * identifier) = (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38" (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18 |\n            ((ulong)pRVar2 & 0xff00) << 0x28" (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8 | ((ulong)pRVar2 & 0xff0000) << 0x18" (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8 |\n            ((ulong)pRVar2 & 0xff000000) << 8" (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18 | ((ulong)pRVar2 & 0xff00000000) >> 8" (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28 |\n            ((ulong)pRVar2 & 0xff0000000000) >> 0x18" (binary_expression "(ulong)pRVar2 >> 0x38 | ((ulong)pRVar2 & 0xff000000000000) >> 0x28" (binary_expression "(ulong)pRVar2 >> 0x38" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) >> number_literal) | (binary_expression "((ulong)pRVar2 & 0xff000000000000) >> 0x28" (parenthesized_expression "((ulong)pRVar2 & 0xff000000000000)" ( (binary_expression "(ulong)pRVar2 & 0xff000000000000" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )) >> number_literal)) | (binary_expression "((ulong)pRVar2 & 0xff0000000000) >> 0x18" (parenthesized_expression "((ulong)pRVar2 & 0xff0000000000)" ( (binary_expression "(ulong)pRVar2 & 0xff0000000000" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )) >> number_literal)) | (binary_expression "((ulong)pRVar2 & 0xff00000000) >> 8" (parenthesized_expression "((ulong)pRVar2 & 0xff00000000)" ( (binary_expression "(ulong)pRVar2 & 0xff00000000" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )) >> number_literal)) | (binary_expression "((ulong)pRVar2 & 0xff000000) << 8" (parenthesized_expression "((ulong)pRVar2 & 0xff000000)" ( (binary_expression "(ulong)pRVar2 & 0xff000000" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )) << number_literal)) | (binary_expression "((ulong)pRVar2 & 0xff0000) << 0x18" (parenthesized_expression "((ulong)pRVar2 & 0xff0000)" ( (binary_expression "(ulong)pRVar2 & 0xff0000" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )) << number_literal)) | (binary_expression "((ulong)pRVar2 & 0xff00) << 0x28" (parenthesized_expression "((ulong)pRVar2 & 0xff00)" ( (binary_expression "(ulong)pRVar2 & 0xff00" (cast_expression "(ulong)pRVar2" ( (type_descriptor "ulong" type_identifier) ) identifier) & number_literal) )) << number_literal)) | (binary_expression "(long)pRVar2 << 0x38" (cast_expression "(long)pRVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) << number_literal))) ;) (if_statement "if (*(char *)&(pRtree->base).pModule != '\0') {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);\n  }" if (parenthesized_expression "(*(char *)&(pRtree->base).pModule != '\0')" ( (binary_expression "*(char *)&(pRtree->base).pModule != '\0'" (pointer_expression "*(char *)&(pRtree->base).pModule" * (cast_expression "(char *)&(pRtree->base).pModule" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRtree->base).pModule" & (field_expression "(pRtree->base).pModule" (parenthesized_expression "(pRtree->base)" ( (field_expression "pRtree->base" identifier -> field_identifier) )) . field_identifier)))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);\n  }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule);" do (compound_statement "{\n      uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    }" { (expression_statement "uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4);" (assignment_expression "uVar1 = *(uint *)((long)&pNode_1->iNode + lVar3 * 4)" identifier = (pointer_expression "*(uint *)((long)&pNode_1->iNode + lVar3 * 4)" * (cast_expression "(uint *)((long)&pNode_1->iNode + lVar3 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&pNode_1->iNode + lVar3 * 4)" ( (binary_expression "(long)&pNode_1->iNode + lVar3 * 4" (cast_expression "(long)&pNode_1->iNode" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&pNode_1->iNode" & (field_expression "pNode_1->iNode" identifier -> field_identifier))) + (binary_expression "lVar3 * 4" identifier * number_literal)) ))))) ;) (expression_statement "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8)" * (cast_expression "(uint *)((long)puVar4 + lVar3 * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar4 + lVar3 * 4 + 8)" ( (binary_expression "(long)puVar4 + lVar3 * 4 + 8" (binary_expression "(long)puVar4 + lVar3 * 4" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar3 * 4" identifier * number_literal)) + number_literal) )))) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule)" ( (binary_expression "(int)lVar3 < (int)(uint)*(byte *)&(pRtree->base).pModule" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)(uint)*(byte *)&(pRtree->base).pModule" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * (cast_expression "(byte *)&(pRtree->base).pModule" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pRtree->base).pModule" & (field_expression "(pRtree->base).pModule" (parenthesized_expression "(pRtree->base)" ( (field_expression "pRtree->base" identifier -> field_identifier) )) . field_identifier))))) )) ;) })) (expression_statement "*(undefined4 *)&pCell->iRowid = 1;" (assignment_expression "*(undefined4 *)&pCell->iRowid = 1" (pointer_expression "*(undefined4 *)&pCell->iRowid" * (cast_expression "(undefined4 *)&pCell->iRowid" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pCell->iRowid" & (field_expression "pCell->iRowid" identifier -> field_identifier)))) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)\n\n{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}\n\n" (function_definition "void FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)\n\n{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)" identifier (parameter_list "(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "byte param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "long param_4" (sized_type_specifier "long" long) identifier) , (parameter_declaration "ulong *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) , (parameter_declaration "int param_6" primitive_type identifier) ))) (compound_statement "{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "ulong uVar2;" type_identifier identifier ;) (declaration "long lVar3;" (sized_type_specifier "long" long) identifier ;) (declaration "ulong *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (expression_statement "uVar2 = *param_5;" (assignment_expression "uVar2 = *param_5" identifier = (pointer_expression "*param_5" * identifier)) ;) (expression_statement "puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));" (assignment_expression "puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4))" identifier = (cast_expression "(ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4))" ( (type_descriptor "ulong *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_4 + (int)((uint)param_2 * param_6 + 4))" ( (binary_expression "param_4 + (int)((uint)param_2 * param_6 + 4)" identifier + (cast_expression "(int)((uint)param_2 * param_6 + 4)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((uint)param_2 * param_6 + 4)" ( (binary_expression "(uint)param_2 * param_6 + 4" (binary_expression "(uint)param_2 * param_6" (cast_expression "(uint)param_2" ( (type_descriptor "uint" type_identifier) ) identifier) * identifier) + number_literal) )))) )))) ;) (expression_statement "*puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;" (assignment_expression "*puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38" (pointer_expression "*puVar4" * identifier) = (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28" (binary_expression "uVar2 >> 0x38" identifier >> number_literal) | (binary_expression "(uVar2 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar2 & 0xff000000000000)" ( (binary_expression "uVar2 & 0xff000000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar2 & 0xff0000000000)" ( (binary_expression "uVar2 & 0xff0000000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff00000000) >> 8" (parenthesized_expression "(uVar2 & 0xff00000000)" ( (binary_expression "uVar2 & 0xff00000000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar2 & 0xff000000) << 8" (parenthesized_expression "(uVar2 & 0xff000000)" ( (binary_expression "uVar2 & 0xff000000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar2 & 0xff0000) << 0x18" (parenthesized_expression "(uVar2 & 0xff0000)" ( (binary_expression "uVar2 & 0xff0000" identifier & number_literal) )) << number_literal)) | (binary_expression "(uVar2 & 0xff00) << 0x28" (parenthesized_expression "(uVar2 & 0xff00)" ( (binary_expression "uVar2 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar2 << 0x38" identifier << number_literal))) ;) (if_statement "if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }" { (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" identifier = number_literal) ;) (do_statement "do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);" do (compound_statement "{\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    }" { (expression_statement "uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);" (assignment_expression "uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8)" identifier = (pointer_expression "*(uint *)((long)param_5 + lVar3 * 4 + 8)" * (cast_expression "(uint *)((long)param_5 + lVar3 * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_5 + lVar3 * 4 + 8)" ( (binary_expression "(long)param_5 + lVar3 * 4 + 8" (binary_expression "(long)param_5 + lVar3 * 4" (cast_expression "(long)param_5" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar3 * 4" identifier * number_literal)) + number_literal) ))))) ;) (expression_statement "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8)" * (cast_expression "(uint *)((long)puVar4 + lVar3 * 4 + 8)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)puVar4 + lVar3 * 4 + 8)" ( (binary_expression "(long)puVar4 + lVar3 * 4 + 8" (binary_expression "(long)puVar4 + lVar3 * 4" (cast_expression "(long)puVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + (binary_expression "lVar3 * 4" identifier * number_literal)) + number_literal) )))) = (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" identifier >> number_literal) | (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" ( (binary_expression "uVar1 & 0xff0000" identifier & number_literal) )) >> number_literal)) | (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" ( (binary_expression "uVar1 & 0xff00" identifier & number_literal) )) << number_literal)) | (binary_expression "uVar1 << 0x18" identifier << number_literal))) ;) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" identifier = (binary_expression "lVar3 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)lVar3 < (int)(uint)*param_1)" ( (binary_expression "(int)lVar3 < (int)(uint)*param_1" (cast_expression "(int)lVar3" ( (type_descriptor "int" primitive_type) ) identifier) < (binary_expression "(int)(uint)*param_1" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier)) )) ;) })) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" * identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration (sized_type_specifier long) IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier long) IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + LIT) )))) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (binary_expression (binary_expression (binary_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 (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) | (binary_expression IDENT << LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (binary_expression IDENT * LIT)) + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + (binary_expression IDENT * LIT)) + 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 (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * IDENT)) )) ;) })) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)\n\n{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0012b440(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)" (identifier "FUN_0012b440") (parameter_list "(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,\n                 int param_6)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "byte param_2" (type_identifier "byte") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "long param_4" (sized_type_specifier "long" (long "long")) (identifier "param_4")) (, ",") (parameter_declaration "ulong *param_5" (type_identifier "ulong") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) (, ",") (parameter_declaration "int param_6" (primitive_type "int") (identifier "param_6")) () ")"))) (compound_statement "{\n  uint uVar1;\n  ulong uVar2;\n  long lVar3;\n  ulong *puVar4;\n  \n  uVar2 = *param_5;\n  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));\n  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;\n  if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }\n  *param_3 = 1;\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "ulong uVar2;" (type_identifier "ulong") (identifier "uVar2") (; ";")) (declaration "long lVar3;" (sized_type_specifier "long" (long "long")) (identifier "lVar3") (; ";")) (declaration "ulong *puVar4;" (type_identifier "ulong") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (expression_statement "uVar2 = *param_5;" (assignment_expression "uVar2 = *param_5" (identifier "uVar2") (= "=") (pointer_expression "*param_5" (* "*") (identifier "param_5"))) (; ";")) (expression_statement "puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));" (assignment_expression "puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4))" (identifier "puVar4") (= "=") (cast_expression "(ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4))" (( "(") (type_descriptor "ulong *" (type_identifier "ulong") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_4 + (int)((uint)param_2 * param_6 + 4))" (( "(") (binary_expression "param_4 + (int)((uint)param_2 * param_6 + 4)" (identifier "param_4") (+ "+") (cast_expression "(int)((uint)param_2 * param_6 + 4)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((uint)param_2 * param_6 + 4)" (( "(") (binary_expression "(uint)param_2 * param_6 + 4" (binary_expression "(uint)param_2 * param_6" (cast_expression "(uint)param_2" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "param_2")) (* "*") (identifier "param_6")) (+ "+") (number_literal "4")) () ")")))) () ")")))) (; ";")) (expression_statement "*puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;" (assignment_expression "*puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |\n            (uVar2 & 0xff00) << 0x28" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |\n            (uVar2 & 0xff00000000) >> 8" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18" (binary_expression "uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28" (binary_expression "uVar2 >> 0x38" (identifier "uVar2") (>> ">>") (number_literal "0x38")) (| "|") (binary_expression "(uVar2 & 0xff000000000000) >> 0x28" (parenthesized_expression "(uVar2 & 0xff000000000000)" (( "(") (binary_expression "uVar2 & 0xff000000000000" (identifier "uVar2") (& "&") (number_literal "0xff000000000000")) () ")")) (>> ">>") (number_literal "0x28"))) (| "|") (binary_expression "(uVar2 & 0xff0000000000) >> 0x18" (parenthesized_expression "(uVar2 & 0xff0000000000)" (( "(") (binary_expression "uVar2 & 0xff0000000000" (identifier "uVar2") (& "&") (number_literal "0xff0000000000")) () ")")) (>> ">>") (number_literal "0x18"))) (| "|") (binary_expression "(uVar2 & 0xff00000000) >> 8" (parenthesized_expression "(uVar2 & 0xff00000000)" (( "(") (binary_expression "uVar2 & 0xff00000000" (identifier "uVar2") (& "&") (number_literal "0xff00000000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff000000) << 8" (parenthesized_expression "(uVar2 & 0xff000000)" (( "(") (binary_expression "uVar2 & 0xff000000" (identifier "uVar2") (& "&") (number_literal "0xff000000")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "(uVar2 & 0xff0000) << 0x18" (parenthesized_expression "(uVar2 & 0xff0000)" (( "(") (binary_expression "uVar2 & 0xff0000" (identifier "uVar2") (& "&") (number_literal "0xff0000")) () ")")) (<< "<<") (number_literal "0x18"))) (| "|") (binary_expression "(uVar2 & 0xff00) << 0x28" (parenthesized_expression "(uVar2 & 0xff00)" (( "(") (binary_expression "uVar2 & 0xff00" (identifier "uVar2") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "0x28"))) (| "|") (binary_expression "uVar2 << 0x38" (identifier "uVar2") (<< "<<") (number_literal "0x38")))) (; ";")) (if_statement "if (*param_1 != 0) {\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    lVar3 = 0;\n    do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);\n  }" ({ "{") (expression_statement "lVar3 = 0;" (assignment_expression "lVar3 = 0" (identifier "lVar3") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    } while ((int)lVar3 < (int)(uint)*param_1);" (do "do") (compound_statement "{\n      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);\n      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;\n      lVar3 = lVar3 + 1;\n    }" ({ "{") (expression_statement "uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);" (assignment_expression "uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8)" (identifier "uVar1") (= "=") (pointer_expression "*(uint *)((long)param_5 + lVar3 * 4 + 8)" (* "*") (cast_expression "(uint *)((long)param_5 + lVar3 * 4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_5 + lVar3 * 4 + 8)" (( "(") (binary_expression "(long)param_5 + lVar3 * 4 + 8" (binary_expression "(long)param_5 + lVar3 * 4" (cast_expression "(long)param_5" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_5")) (+ "+") (binary_expression "lVar3 * 4" (identifier "lVar3") (* "*") (number_literal "4"))) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;" (assignment_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8) =\n           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (pointer_expression "*(uint *)((long)puVar4 + lVar3 * 4 + 8)" (* "*") (cast_expression "(uint *)((long)puVar4 + lVar3 * 4 + 8)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)puVar4 + lVar3 * 4 + 8)" (( "(") (binary_expression "(long)puVar4 + lVar3 * 4 + 8" (binary_expression "(long)puVar4 + lVar3 * 4" (cast_expression "(long)puVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "puVar4")) (+ "+") (binary_expression "lVar3 * 4" (identifier "lVar3") (* "*") (number_literal "4"))) (+ "+") (number_literal "8")) () ")")))) (= "=") (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8" (binary_expression "uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8" (binary_expression "uVar1 >> 0x18" (identifier "uVar1") (>> ">>") (number_literal "0x18")) (| "|") (binary_expression "(uVar1 & 0xff0000) >> 8" (parenthesized_expression "(uVar1 & 0xff0000)" (( "(") (binary_expression "uVar1 & 0xff0000" (identifier "uVar1") (& "&") (number_literal "0xff0000")) () ")")) (>> ">>") (number_literal "8"))) (| "|") (binary_expression "(uVar1 & 0xff00) << 8" (parenthesized_expression "(uVar1 & 0xff00)" (( "(") (binary_expression "uVar1 & 0xff00" (identifier "uVar1") (& "&") (number_literal "0xff00")) () ")")) (<< "<<") (number_literal "8"))) (| "|") (binary_expression "uVar1 << 0x18" (identifier "uVar1") (<< "<<") (number_literal "0x18")))) (; ";")) (expression_statement "lVar3 = lVar3 + 1;" (assignment_expression "lVar3 = lVar3 + 1" (identifier "lVar3") (= "=") (binary_expression "lVar3 + 1" (identifier "lVar3") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)lVar3 < (int)(uint)*param_1)" (( "(") (binary_expression "(int)lVar3 < (int)(uint)*param_1" (cast_expression "(int)lVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar3")) (< "<") (binary_expression "(int)(uint)*param_1" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "param_1"))) () ")")) (; ";")) (} "}"))) (expression_statement "*param_3 = 1;" (assignment_expression "*param_3 = 1" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* DWARF original prototype: void nodeOverwriteCell(Rtree * pRtree, RtreeNode * pNode, RtreeCell *
   pCell, int iCell, RtreeNode * pNode, Rtree * pRtree) */

void function_1(type_1 *pRtree,type_2 *pNode,type_3 *pCell,int iCell,type_2 *pNode_1,
                      type_1 *pRtree_1)

{
  type_4 var_3;
  type_2 *pRVar2;
  long var_2;
  type_5 in_register_0000000c;
  type_6 *puVar4;
  
  pRVar2 = pNode_1->pParent;
  puVar4 = (type_6 *)(var_1(in_register_0000000c,iCell) +
                    (long)(int)(((type_4)pNode & 0xff) * (int)pRtree_1 + 4));
  *puVar4 = (type_6)pRVar2 >> 0x38 | ((type_6)pRVar2 & 0xff000000000000) >> 0x28 |
            ((type_6)pRVar2 & 0xff0000000000) >> 0x18 | ((type_6)pRVar2 & 0xff00000000) >> 8 |
            ((type_6)pRVar2 & 0xff000000) << 8 | ((type_6)pRVar2 & 0xff0000) << 0x18 |
            ((type_6)pRVar2 & 0xff00) << 0x28 | (long)pRVar2 << 0x38;
  if (*(char *)&(pRtree->base).pModule != '\0') {
    var_2 = 0;
    do {
      var_3 = *(type_4 *)((long)&pNode_1->iNode + var_2 * 4);
      *(type_4 *)((long)puVar4 + var_2 * 4 + 8) =
           var_3 >> 0x18 | (var_3 & 0xff0000) >> 8 | (var_3 & 0xff00) << 8 | var_3 << 0x18;
      var_2 = var_2 + 1;
    } while ((int)var_2 < (int)(type_4)*(type_7 *)&(pRtree->base).pModule);
  }
  *(type_5 *)&pCell->iRowid = 1;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (sized_type_specifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (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: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (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: (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: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (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: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) 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: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))) 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 (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (return_statement))))

void MASKED(byte *param_1,byte param_2,undefined4 *param_3,long param_4,ulong *param_5,
                 int param_6)

{
  uint uVar1;
  ulong uVar2;
  long lVar3;
  ulong *puVar4;
  
  uVar2 = *param_5;
  puVar4 = (ulong *)(param_4 + (int)((uint)param_2 * param_6 + 4));
  *puVar4 = uVar2 >> 0x38 | (uVar2 & 0xff000000000000) >> 0x28 | (uVar2 & 0xff0000000000) >> 0x18 |
            (uVar2 & 0xff00000000) >> 8 | (uVar2 & 0xff000000) << 8 | (uVar2 & 0xff0000) << 0x18 |
            (uVar2 & 0xff00) << 0x28 | uVar2 << 0x38;
  if (*param_1 != 0) {
    lVar3 = 0;
    do {
      uVar1 = *(uint *)((long)param_5 + lVar3 * 4 + 8);
      *(uint *)((long)puVar4 + lVar3 * 4 + 8) =
           uVar1 >> 0x18 | (uVar1 & 0xff0000) >> 8 | (uVar1 & 0xff00) << 8 | uVar1 << 0x18;
      lVar3 = lVar3 + 1;
    } while ((int)lVar3 < (int)(uint)*param_1);
  }
  *param_3 = 1;
  return;
}

