
void base64_encode_atom(uchar *data,int n,char *out)

{
  byte bVar1;
  char cVar2;
  uint uVar3;
  ulong uVar4;
  
  uVar4 = (ulong)*data << 0x10;
  if (1 < n) {
    uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);
  }
  uVar3 = (uint)uVar4;
  if (n < 3) {
    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
             [(uint)(uVar4 >> 0xc) & 0x3f];
    if (n == 2) {
      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]
      ;
      cVar2 = '=';
    }
    else {
      out[2] = '=';
      cVar2 = '=';
    }
  }
  else {
    bVar1 = data[2];
    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];
    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
             [(uVar3 & 0x3f000) >> 0xc];
    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
             [(uVar3 | bVar1) >> 6 & 0x3f];
    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];
  }
  out[3] = cVar2;
  return;
}



void FUN_0010b9b9(byte *param_1,int param_2,char *param_3)

{
  byte bVar1;
  char cVar2;
  uint uVar3;
  ulong uVar4;
  
  uVar4 = (ulong)*param_1 << 0x10;
  if (1 < param_2) {
    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);
  }
  uVar3 = (uint)uVar4;
  if (param_2 < 3) {
    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                 [(uint)(uVar4 >> 0xc) & 0x3f];
    if (param_2 == 2) {
      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [uVar3 >> 6 & 0x3c];
      cVar2 = '=';
    }
    else {
      param_3[2] = '=';
      cVar2 = '=';
    }
  }
  else {
    bVar1 = param_1[2];
    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];
    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                 [(uVar3 & 0x3f000) >> 0xc];
    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                 [(uVar3 | bVar1) >> 6 & 0x3f];
    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];
  }
  param_3[3] = cVar2;
  return;
}


MOVZX EAX,byte ptr [RDI]
SHL EAX,0x10
CMP ESI,0x1
JLE 0x0010b9cd
MOVZX ECX,byte ptr [RDI + 0x1]
SHL ECX,0x8
OR EAX,ECX
CMP ESI,0x2
JLE 0x0010ba18
MOVZX ECX,byte ptr [RDI + 0x2]
OR EAX,ECX
LEA RCX,[0x13be20]
MOV ESI,EAX
SHR ESI,0x12
MOV ESI,ESI
MOVZX ESI,byte ptr [RCX + RSI*0x1]
MOV byte ptr [RDX],SIL
MOV ESI,EAX
SHR ESI,0xc
AND ESI,0x3f
MOVZX ESI,byte ptr [RCX + RSI*0x1]
MOV byte ptr [RDX + 0x1],SIL
MOV ESI,EAX
SHR ESI,0x6
AND ESI,0x3f
MOVZX ESI,byte ptr [RCX + RSI*0x1]
MOV byte ptr [RDX + 0x2],SIL
AND EAX,0x3f
MOVZX EAX,byte ptr [RCX + RAX*0x1]
MOV byte ptr [RDX + 0x3],AL
RET
LEA RDI,[0x13be20]
MOV ECX,EAX
SHR ECX,0x12
MOV ECX,ECX
MOVZX ECX,byte ptr [RDI + RCX*0x1]
MOV byte ptr [RDX],CL
MOV ECX,EAX
SHR ECX,0xc
AND ECX,0x3f
MOVZX ECX,byte ptr [RDI + RCX*0x1]
MOV byte ptr [RDX + 0x1],CL
CMP ESI,0x2
JZ 0x0010ba4b
MOV byte ptr [RDX + 0x2],0x3d
MOV EAX,0x3d
JMP 0x0010ba14
SHR EAX,0x6
AND EAX,0x3c
MOVZX EAX,byte ptr [RDI + RAX*0x1]
MOV byte ptr [RDX + 0x2],AL
MOV EAX,0x3d
JMP 0x0010ba14
(translation_unit "void FUN_0010b9b9(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}\n\n" (function_definition "void FUN_0010b9b9(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0010b9b9(byte *param_1,int param_2,char *param_3)" identifier (parameter_list "(byte *param_1,int param_2,char *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = (ulong)*param_1 << 0x10;" (assignment_expression "uVar4 = (ulong)*param_1 << 0x10" identifier = (binary_expression "(ulong)*param_1 << 0x10" (binary_expression "(ulong)*param_1" (parenthesized_expression "(ulong)" ( identifier )) * identifier) << number_literal)) ;) (if_statement "if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }" { (expression_statement "uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);" (assignment_expression "uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8)" identifier = (call_expression "(ulong)((uint)uVar4 | (uint)param_1[1] << 8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)uVar4 | (uint)param_1[1] << 8)" ( (binary_expression "(uint)uVar4 | (uint)param_1[1] << 8" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) | (binary_expression "(uint)param_1[1] << 8" (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) << number_literal)) )))) ;) })) (expression_statement "uVar3 = (uint)uVar4;" (assignment_expression "uVar3 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" if (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) (compound_statement "{\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }" { (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uint)(uVar4 >> 0xc) & 0x3f" (call_expression "(uint)(uVar4 >> 0xc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 >> 0xc)" ( (binary_expression "uVar4 >> 0xc" identifier >> number_literal) ))) & number_literal) ])) ;) (if_statement "if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }" { (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar3 >> 6 & 0x3c" (binary_expression "uVar3 >> 6" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" identifier = (char_literal "'='" ' character ')) ;) }) (else_clause "else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" else (compound_statement "{\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" { (expression_statement "param_3[2] = '=';" (assignment_expression "param_3[2] = '='" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" identifier = (char_literal "'='" ' character ')) ;) }))) }) (else_clause "else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" else (compound_statement "{\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" { (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar3 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar3 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar3 & 0x3f000)" ( (binary_expression "uVar3 & 0x3f000" identifier & number_literal) )) >> number_literal) ])) ;) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar3 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar3 | bVar1) >> 6" (parenthesized_expression "(uVar3 | bVar1)" ( (binary_expression "uVar3 | bVar1" identifier | identifier) )) >> number_literal) & number_literal) ])) ;) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "bVar1 & 0x3f" identifier & number_literal) ])) ;) }))) (expression_statement "param_3[3] = cVar2;" (assignment_expression "param_3[3] = cVar2" (subscript_expression "param_3[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void base64_encode_atom(uchar *data,int n,char *out)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*data << 0x10;\n  if (1 < n) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (n < 3) {\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (n == 2) {\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }\n    else {\n      out[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = data[2];\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];\n    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  out[3] = cVar2;\n  return;\n}\n\n" (function_definition "void base64_encode_atom(uchar *data,int n,char *out)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*data << 0x10;\n  if (1 < n) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (n < 3) {\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (n == 2) {\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }\n    else {\n      out[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = data[2];\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];\n    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  out[3] = cVar2;\n  return;\n}" primitive_type (function_declarator "base64_encode_atom(uchar *data,int n,char *out)" identifier (parameter_list "(uchar *data,int n,char *out)" ( (parameter_declaration "uchar *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "int n" primitive_type identifier) , (parameter_declaration "char *out" primitive_type (pointer_declarator "*out" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*data << 0x10;\n  if (1 < n) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (n < 3) {\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (n == 2) {\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }\n    else {\n      out[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = data[2];\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];\n    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  out[3] = cVar2;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = (ulong)*data << 0x10;" (assignment_expression "uVar4 = (ulong)*data << 0x10" identifier = (binary_expression "(ulong)*data << 0x10" (binary_expression "(ulong)*data" (parenthesized_expression "(ulong)" ( identifier )) * identifier) << number_literal)) ;) (if_statement "if (1 < n) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);\n  }" if (parenthesized_expression "(1 < n)" ( (binary_expression "1 < n" number_literal < identifier) )) (compound_statement "{\n    uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);\n  }" { (expression_statement "uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8);" (assignment_expression "uVar4 = (ulong)((uint)uVar4 | (uint)data[1] << 8)" identifier = (call_expression "(ulong)((uint)uVar4 | (uint)data[1] << 8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)uVar4 | (uint)data[1] << 8)" ( (binary_expression "(uint)uVar4 | (uint)data[1] << 8" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) | (binary_expression "(uint)data[1] << 8" (cast_expression "(uint)data[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "data[1]" identifier [ number_literal ])) << number_literal)) )))) ;) })) (expression_statement "uVar3 = (uint)uVar4;" (assignment_expression "uVar3 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (n < 3) {\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (n == 2) {\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }\n    else {\n      out[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = data[2];\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];\n    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" if (parenthesized_expression "(n < 3)" ( (binary_expression "n < 3" identifier < number_literal) )) (compound_statement "{\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (n == 2) {\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }\n    else {\n      out[2] = '=';\n      cVar2 = '=';\n    }\n  }" { (expression_statement "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*out" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f];" (assignment_expression "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f]" (subscript_expression "out[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uint)(uVar4 >> 0xc) & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uint)(uVar4 >> 0xc) & 0x3f" (call_expression "(uint)(uVar4 >> 0xc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 >> 0xc)" ( (binary_expression "uVar4 >> 0xc" identifier >> number_literal) ))) & number_literal) ])) ;) (if_statement "if (n == 2) {\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }\n    else {\n      out[2] = '=';\n      cVar2 = '=';\n    }" if (parenthesized_expression "(n == 2)" ( (binary_expression "n == 2" identifier == number_literal) )) (compound_statement "{\n      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;\n      cVar2 = '=';\n    }" { (expression_statement "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]\n      ;" (assignment_expression "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]" (subscript_expression "out[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 6 & 0x3c]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar3 >> 6 & 0x3c" (binary_expression "uVar3 >> 6" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" identifier = (char_literal "'='" ' character ')) ;) }) (else_clause "else {\n      out[2] = '=';\n      cVar2 = '=';\n    }" else (compound_statement "{\n      out[2] = '=';\n      cVar2 = '=';\n    }" { (expression_statement "out[2] = '=';" (assignment_expression "out[2] = '='" (subscript_expression "out[2]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" identifier = (char_literal "'='" ' character ')) ;) }))) }) (else_clause "else {\n    bVar1 = data[2];\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];\n    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" else (compound_statement "{\n    bVar1 = data[2];\n    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];\n    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" { (expression_statement "bVar1 = data[2];" (assignment_expression "bVar1 = data[2]" identifier = (subscript_expression "data[2]" identifier [ number_literal ])) ;) (expression_statement "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];" (assignment_expression "*out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (pointer_expression "*out" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar3 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc];" (assignment_expression "out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc]" (subscript_expression "out[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar3 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar3 & 0x3f000)" ( (binary_expression "uVar3 & 0x3f000" identifier & number_literal) )) >> number_literal) ])) ;) (expression_statement "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f];" (assignment_expression "out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f]" (subscript_expression "out[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n             [(uVar3 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar3 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar3 | bVar1) >> 6" (parenthesized_expression "(uVar3 | bVar1)" ( (binary_expression "uVar3 | bVar1" identifier | identifier) )) >> number_literal) & number_literal) ])) ;) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "bVar1 & 0x3f" identifier & number_literal) ])) ;) }))) (expression_statement "out[3] = cVar2;" (assignment_expression "out[3] = cVar2" (subscript_expression "out[3]" identifier [ number_literal ]) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0010b9b9(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}\n\n" (function_definition "void FUN_0010b9b9(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0010b9b9(byte *param_1,int param_2,char *param_3)" identifier (parameter_list "(byte *param_1,int param_2,char *param_3)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "char cVar2;" primitive_type identifier ;) (declaration "uint uVar3;" type_identifier identifier ;) (declaration "ulong uVar4;" type_identifier identifier ;) (expression_statement "uVar4 = (ulong)*param_1 << 0x10;" (assignment_expression "uVar4 = (ulong)*param_1 << 0x10" identifier = (binary_expression "(ulong)*param_1 << 0x10" (binary_expression "(ulong)*param_1" (parenthesized_expression "(ulong)" ( identifier )) * identifier) << number_literal)) ;) (if_statement "if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }" { (expression_statement "uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);" (assignment_expression "uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8)" identifier = (call_expression "(ulong)((uint)uVar4 | (uint)param_1[1] << 8)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((uint)uVar4 | (uint)param_1[1] << 8)" ( (binary_expression "(uint)uVar4 | (uint)param_1[1] << 8" (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier) | (binary_expression "(uint)param_1[1] << 8" (cast_expression "(uint)param_1[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "param_1[1]" identifier [ number_literal ])) << number_literal)) )))) ;) })) (expression_statement "uVar3 = (uint)uVar4;" (assignment_expression "uVar3 = (uint)uVar4" identifier = (cast_expression "(uint)uVar4" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (if_statement "if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" if (parenthesized_expression "(param_2 < 3)" ( (binary_expression "param_2 < 3" identifier < number_literal) )) (compound_statement "{\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }" { (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar4 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uint)(uVar4 >> 0xc) & 0x3f" (call_expression "(uint)(uVar4 >> 0xc)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar4 >> 0xc)" ( (binary_expression "uVar4 >> 0xc" identifier >> number_literal) ))) & number_literal) ])) ;) (if_statement "if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" if (parenthesized_expression "(param_2 == 2)" ( (binary_expression "param_2 == 2" identifier == number_literal) )) (compound_statement "{\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }" { (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar3 >> 6 & 0x3c" (binary_expression "uVar3 >> 6" identifier >> number_literal) & number_literal) ])) ;) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" identifier = (char_literal "'='" ' character ')) ;) }) (else_clause "else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" else (compound_statement "{\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" { (expression_statement "param_3[2] = '=';" (assignment_expression "param_3[2] = '='" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (char_literal "'='" ' character ')) ;) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" identifier = (char_literal "'='" ' character ')) ;) }))) }) (else_clause "else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" else (compound_statement "{\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" { (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" identifier = (subscript_expression "param_1[2]" identifier [ number_literal ])) ;) (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (pointer_expression "*param_3" * identifier) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "uVar3 >> 0x12" identifier >> number_literal) ])) ;) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc]" (subscript_expression "param_3[1]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar3 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar3 & 0x3f000)" ( (binary_expression "uVar3 & 0x3f000" identifier & number_literal) )) >> number_literal) ])) ;) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f]" (subscript_expression "param_3[2]" identifier [ number_literal ]) = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "(uVar3 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar3 | bVar1) >> 6" (parenthesized_expression "(uVar3 | bVar1)" ( (binary_expression "uVar3 | bVar1" identifier | identifier) )) >> number_literal) & number_literal) ])) ;) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" identifier = (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" " string_content ") [ (binary_expression "bVar1 & 0x3f" identifier & number_literal) ])) ;) }))) (expression_statement "param_3[3] = cVar2;" (assignment_expression "param_3[3] = cVar2" (subscript_expression "param_3[3]" identifier [ number_literal ]) = identifier) ;) (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)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) << LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) | (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) << LIT)) )))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT >> LIT) ))) & LIT) ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (binary_expression IDENT >> LIT) & LIT) ])) ;) (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' character ')) ;) (expression_statement (assignment_expression IDENT = (char_literal ' character ')) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) >> LIT) ])) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (subscript_expression (string_literal " string_content ") [ (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT | IDENT) )) >> LIT) & LIT) ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression (string_literal " string_content ") [ (binary_expression IDENT & LIT) ])) ;) }))) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0010b9b9(byte *param_1,int param_2,char *param_3)\n\n{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0010b9b9(byte *param_1,int param_2,char *param_3)" (identifier "FUN_0010b9b9") (parameter_list "(byte *param_1,int param_2,char *param_3)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  char cVar2;\n  uint uVar3;\n  ulong uVar4;\n  \n  uVar4 = (ulong)*param_1 << 0x10;\n  if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }\n  uVar3 = (uint)uVar4;\n  if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }\n  param_3[3] = cVar2;\n  return;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "char cVar2;" (primitive_type "char") (identifier "cVar2") (; ";")) (declaration "uint uVar3;" (type_identifier "uint") (identifier "uVar3") (; ";")) (declaration "ulong uVar4;" (type_identifier "ulong") (identifier "uVar4") (; ";")) (expression_statement "uVar4 = (ulong)*param_1 << 0x10;" (assignment_expression "uVar4 = (ulong)*param_1 << 0x10" (identifier "uVar4") (= "=") (binary_expression "(ulong)*param_1 << 0x10" (binary_expression "(ulong)*param_1" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (* "*") (identifier "param_1")) (<< "<<") (number_literal "0x10"))) (; ";")) (if_statement "if (1 < param_2) {\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }" (if "if") (parenthesized_expression "(1 < param_2)" (( "(") (binary_expression "1 < param_2" (number_literal "1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);\n  }" ({ "{") (expression_statement "uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);" (assignment_expression "uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8)" (identifier "uVar4") (= "=") (call_expression "(ulong)((uint)uVar4 | (uint)param_1[1] << 8)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "((uint)uVar4 | (uint)param_1[1] << 8)" (( "(") (binary_expression "(uint)uVar4 | (uint)param_1[1] << 8" (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4")) (| "|") (binary_expression "(uint)param_1[1] << 8" (cast_expression "(uint)param_1[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]"))) (<< "<<") (number_literal "8"))) () ")")))) (; ";")) (} "}"))) (expression_statement "uVar3 = (uint)uVar4;" (assignment_expression "uVar3 = (uint)uVar4" (identifier "uVar3") (= "=") (cast_expression "(uint)uVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar4"))) (; ";")) (if_statement "if (param_2 < 3) {\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }\n  else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" (if "if") (parenthesized_expression "(param_2 < 3)" (( "(") (binary_expression "param_2 < 3" (identifier "param_2") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];\n    if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }\n  }" ({ "{") (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar4 >> 0x12" (identifier "uVar4") (>> ">>") (number_literal "0x12")) (] "]"))) (; ";")) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f]" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uint)(uVar4 >> 0xc) & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "(uint)(uVar4 >> 0xc) & 0x3f" (call_expression "(uint)(uVar4 >> 0xc)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar4 >> 0xc)" (( "(") (binary_expression "uVar4 >> 0xc" (identifier "uVar4") (>> ">>") (number_literal "0xc")) () ")"))) (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (if_statement "if (param_2 == 2) {\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }\n    else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" (if "if") (parenthesized_expression "(param_2 == 2)" (( "(") (binary_expression "param_2 == 2" (identifier "param_2") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];\n      cVar2 = '=';\n    }" ({ "{") (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c]" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                   [uVar3 >> 6 & 0x3c]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar3 >> 6 & 0x3c" (binary_expression "uVar3 >> 6" (identifier "uVar3") (>> ">>") (number_literal "6")) (& "&") (number_literal "0x3c")) (] "]"))) (; ";")) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" (identifier "cVar2") (= "=") (char_literal "'='" (' "'") (character "=") (' "'"))) (; ";")) (} "}")) (else_clause "else {\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" (else "else") (compound_statement "{\n      param_3[2] = '=';\n      cVar2 = '=';\n    }" ({ "{") (expression_statement "param_3[2] = '=';" (assignment_expression "param_3[2] = '='" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (char_literal "'='" (' "'") (character "=") (' "'"))) (; ";")) (expression_statement "cVar2 = '=';" (assignment_expression "cVar2 = '='" (identifier "cVar2") (= "=") (char_literal "'='" (' "'") (character "=") (' "'"))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" (else "else") (compound_statement "{\n    bVar1 = param_1[2];\n    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];\n    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];\n    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];\n    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];\n  }" ({ "{") (expression_statement "bVar1 = param_1[2];" (assignment_expression "bVar1 = param_1[2]" (identifier "bVar1") (= "=") (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];" (assignment_expression "*param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "uVar3 >> 0x12" (identifier "uVar3") (>> ">>") (number_literal "0x12")) (] "]"))) (; ";")) (expression_statement "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc];" (assignment_expression "param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc]" (subscript_expression "param_3[1]" (identifier "param_3") ([ "[") (number_literal "1") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 & 0x3f000) >> 0xc]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "(uVar3 & 0x3f000) >> 0xc" (parenthesized_expression "(uVar3 & 0x3f000)" (( "(") (binary_expression "uVar3 & 0x3f000" (identifier "uVar3") (& "&") (number_literal "0x3f000")) () ")")) (>> ">>") (number_literal "0xc")) (] "]"))) (; ";")) (expression_statement "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f];" (assignment_expression "param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f]" (subscript_expression "param_3[2]" (identifier "param_3") ([ "[") (number_literal "2") (] "]")) (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"\n                 [(uVar3 | bVar1) >> 6 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "(uVar3 | bVar1) >> 6 & 0x3f" (binary_expression "(uVar3 | bVar1) >> 6" (parenthesized_expression "(uVar3 | bVar1)" (( "(") (binary_expression "uVar3 | bVar1" (identifier "uVar3") (| "|") (identifier "bVar1")) () ")")) (>> ">>") (number_literal "6")) (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (expression_statement "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];" (assignment_expression "cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (identifier "cVar2") (= "=") (subscript_expression ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f]" (string_literal ""ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"" (" """) (string_content "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/") (" """)) ([ "[") (binary_expression "bVar1 & 0x3f" (identifier "bVar1") (& "&") (number_literal "0x3f")) (] "]"))) (; ";")) (} "}")))) (expression_statement "param_3[3] = cVar2;" (assignment_expression "param_3[3] = cVar2" (subscript_expression "param_3[3]" (identifier "param_3") ([ "[") (number_literal "3") (] "]")) (= "=") (identifier "cVar2")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(type_1 *var_1,int var_2,char *out)

{
  type_2 var_5;
  char cVar2;
  type_3 var_4;
  type_4 var_3;
  
  var_3 = (type_4)*var_1 << 0x10;
  if (1 < var_2) {
    var_3 = (type_4)((type_3)var_3 | (type_3)var_1[1] << 8);
  }
  var_4 = (type_3)var_3;
  if (var_2 < 3) {
    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_3 >> 0x12];
    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
             [(type_3)(var_3 >> 0xc) & 0x3f];
    if (var_2 == 2) {
      out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_4 >> 6 & 0x3c]
      ;
      cVar2 = '=';
    }
    else {
      out[2] = '=';
      cVar2 = '=';
    }
  }
  else {
    var_5 = var_1[2];
    *out = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_4 >> 0x12];
    out[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
             [(var_4 & 0x3f000) >> 0xc];
    out[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
             [(var_4 | var_5) >> 6 & 0x3f];
    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[var_5 & 0x3f];
  }
  out[3] = cVar2;
  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: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (character))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (character)))) (expression_statement (assignment_expression left: (identifier) right: (char_literal (character)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (string_literal (string_content)) index: (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (return_statement))))

void MASKED(byte *param_1,int param_2,char *param_3)

{
  byte bVar1;
  char cVar2;
  uint uVar3;
  ulong uVar4;
  
  uVar4 = (ulong)*param_1 << 0x10;
  if (1 < param_2) {
    uVar4 = (ulong)((uint)uVar4 | (uint)param_1[1] << 8);
  }
  uVar3 = (uint)uVar4;
  if (param_2 < 3) {
    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar4 >> 0x12];
    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                 [(uint)(uVar4 >> 0xc) & 0x3f];
    if (param_2 == 2) {
      param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                   [uVar3 >> 6 & 0x3c];
      cVar2 = '=';
    }
    else {
      param_3[2] = '=';
      cVar2 = '=';
    }
  }
  else {
    bVar1 = param_1[2];
    *param_3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[uVar3 >> 0x12];
    param_3[1] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                 [(uVar3 & 0x3f000) >> 0xc];
    param_3[2] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
                 [(uVar3 | bVar1) >> 6 & 0x3f];
    cVar2 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"[bVar1 & 0x3f];
  }
  param_3[3] = cVar2;
  return;
}

