
void poly_op(void *handle,uchar *blk,int len,ulong seq)

{
  int iVar1;
  void *handle_00;
  uchar *mac;
  ulong seq_00;
  int iVar2;
  int *piVar3;
  int *piVar4;
  int in_t9;
  code *pcVar5;
  code *pcVar6;
  uchar auStack_64 [16];
  void *pvStack_54;
  int iStack_50;
  uchar *puStack_4c;
  int *piStack_48;
  code *pcStack_44;
  int local_30;
  uchar iv [4];
  
  local_30 = in_t9 + 0x5cbe0;
  piVar3 = *(int **)(in_t9 + 0x5572c);
  iVar1 = *piVar3;
  seq_00 = seq;
  poly_start(handle);
  iVar2 = *(int *)(local_30 + -0x78f0);
  iv = (uchar  [4])seq;
  poly_bytes(handle,iv,4);
  (**(code **)(local_30 + -0x7f10))(iv,4);
  poly_bytes(handle,blk,len);
  if (iVar1 == *piVar3) {
    return;
  }
  pcVar5 = *(code **)(local_30 + -0x74e0);
  pcVar6 = poly_verify;
  (*pcVar5)();
  piVar4 = *(int **)(pcVar5 + 0x55640);
  pvStack_54 = (void *)*piVar4;
  iStack_50 = iVar2 + -0x4dc0;
  puStack_4c = iv;
  piStack_48 = piVar3;
  pcStack_44 = pcVar6;
  poly_op(handle,blk,len,seq_00);
  mac = auStack_64;
  poly1305_finalise((poly1305 *)((int)handle + 0x114),mac);
  iVar1 = 0x10;
  (**(code **)(pcVar5 + 0x55208))(blk + len);
  if (pvStack_54 == (void *)*piVar4) {
    return;
  }
  handle_00 = pvStack_54;
  (**(code **)(pcVar5 + 0x55614))();
  poly_op(handle_00,mac,iVar1,seq_00);
  poly1305_finalise((poly1305 *)((int)handle_00 + 0x114),mac + iVar1);
  return;
}



void FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined1 *puVar3;
  int iVar4;
  undefined *puVar5;
  int *piVar6;
  undefined *puVar7;
  undefined4 uVar8;
  undefined1 auStack_64 [16];
  int local_54;
  undefined *local_50;
  undefined4 *local_4c;
  undefined *local_48;
  undefined4 local_44;
  undefined4 local_28;
  int local_24;
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;
  FUN_0005a380();
  puVar5 = PTR_LAB_000b0860 + -0x4dc0;
  local_28 = param_4;
  FUN_0005b240(param_1,&local_28,4);
  (*(code *)PTR_smemclr_000b0240)(&local_28,4);
  FUN_0005b240(param_1);
  if (local_24 == *(int *)puVar1) {
    return;
  }
  uVar8 = 0x5b65c;
  puVar7 = PTR___stack_chk_fail_000b0c70;
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  local_48 = puVar1;
  piVar6 = *(int **)(puVar7 + 0x55640);
  local_54 = *piVar6;
  local_50 = puVar5;
  local_4c = &local_28;
  local_44 = uVar8;
  FUN_0005b570();
  puVar3 = auStack_64;
  FUN_0005ab78(param_1 + 0x114,puVar3);
  iVar4 = 0x10;
  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);
  if (local_54 == *piVar6) {
    return;
  }
  iVar2 = local_54;
  (**(code **)(puVar7 + 0x55614))();
  FUN_0005b570();
  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);
  return;
}


lui gp,0x6
addiu gp,gp,-0x3420
addu gp,gp,t9
addiu sp,sp,-0x40
lw t9,-0x78f0(gp)
sw s2,0x2c(sp)
addiu t9,t9,-0x5c80
lw s2,-0x74b4(gp)
sw ra,0x3c(sp)
sw gp,0x10(sp)
sw s5,0x38(sp)
or s5,a2,zero
sw s4,0x34(sp)
or s4,a1,zero
sw s3,0x30(sp)
or s3,a0,zero
sw s1,0x28(sp)
addiu s1,sp,0x18
sw s0,0x24(sp)
or s0,a3,zero
lw v0,0x0(s2)
sw v0,0x1c(sp)
bal 0x0005a380
_nop
li a2,0x4
lw gp,0x10(sp)
or a1,s1,zero
sw s0,0x18(sp)
lw s0,-0x78f0(gp)
addiu s0,s0,-0x4dc0
or t9,s0,zero
bal 0x0005b240
_or a0,s3,zero
li a1,0x4
lw gp,0x10(sp)
lw t9,-0x7f10(gp)
jalr t9
_or a0,s1,zero
or a2,s5,zero
or a1,s4,zero
or t9,s0,zero
bal 0x0005b240
_or a0,s3,zero
lw v1,0x1c(sp)
lw v0,0x0(s2)
bne v1,v0,0x0005b650
_lw gp,0x10(sp)
lw ra,0x3c(sp)
lw s5,0x38(sp)
lw s4,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x74e0(gp)
jalr t9
_nop
lui gp,0x6
addiu gp,gp,-0x350c
addu gp,gp,t9
addiu sp,sp,-0x40
lw t9,-0x78f0(gp)
sw s2,0x38(sp)
addiu t9,t9,-0x4a90
lw s2,-0x74b4(gp)
sw ra,0x3c(sp)
sw gp,0x10(sp)
sw s1,0x34(sp)
addu s1,a1,a2
sw s0,0x30(sp)
or s0,a0,zero
lw v0,0x0(s2)
sw v0,0x2c(sp)
bal 0x0005b570
_nop
addiu a0,s0,0x114
lw gp,0x10(sp)
addiu s0,sp,0x1c
lw t9,-0x78f0(gp)
addiu t9,t9,-0x5488
bal 0x0005ab78
_or a1,s0,zero
li a2,0x10
lw gp,0x10(sp)
or a0,s1,zero
lw t9,-0x78ec(gp)
jalr t9
_or a1,s0,zero
lw a0,0x2c(sp)
lw v1,0x0(s2)
bne a0,v1,0x0005b700
_lw gp,0x10(sp)
lw ra,0x3c(sp)
lw s2,0x38(sp)
lw s1,0x34(sp)
lw s0,0x30(sp)
jr ra
_addiu sp,sp,0x40
lw t9,-0x74e0(gp)
jalr t9
_nop
lui gp,0x6
addiu gp,gp,-0x35bc
addu gp,gp,t9
lw t9,-0x78f0(gp)
addiu sp,sp,-0x28
addiu t9,t9,-0x4a90
sw s2,0x20(sp)
sw s1,0x1c(sp)
or s2,a1,zero
sw s0,0x18(sp)
or s1,a2,zero
sw ra,0x24(sp)
sw gp,0x10(sp)
bal 0x0005b570
_or s0,a0,zero
addu a1,s2,s1
lw gp,0x10(sp)
addiu a0,s0,0x114
lw ra,0x24(sp)
lw s2,0x20(sp)
lw s1,0x1c(sp)
lw t9,-0x78f0(gp)
lw s0,0x18(sp)
addiu t9,t9,-0x5488
b 0x0005ab78
_addiu sp,sp,0x28
(translation_unit "void FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}\n\n" (function_definition "void FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}" primitive_type (function_declarator "FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined1 auStack_64 [16];" type_identifier (array_declarator "auStack_64 [16]" identifier [ number_literal ]) ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "undefined *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined4 *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "undefined *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "FUN_0005a380();" (call_expression "FUN_0005a380()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = PTR_LAB_000b0860 + -0x4dc0;" (assignment_expression "puVar5 = PTR_LAB_000b0860 + -0x4dc0" identifier = (binary_expression "PTR_LAB_000b0860 + -0x4dc0" identifier + number_literal)) ;) (expression_statement "local_28 = param_4;" (assignment_expression "local_28 = param_4" identifier = identifier) ;) (expression_statement "FUN_0005b240(param_1,&local_28,4);" (call_expression "FUN_0005b240(param_1,&local_28,4)" identifier (argument_list "(param_1,&local_28,4)" ( identifier , (pointer_expression "&local_28" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_smemclr_000b0240)(&local_28,4);" (call_expression "(*(code *)PTR_smemclr_000b0240)(&local_28,4)" (parenthesized_expression "(*(code *)PTR_smemclr_000b0240)" ( (pointer_expression "*(code *)PTR_smemclr_000b0240" * (cast_expression "(code *)PTR_smemclr_000b0240" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_28,4)" ( (pointer_expression "&local_28" & identifier) , number_literal ))) ;) (expression_statement "FUN_0005b240(param_1);" (call_expression "FUN_0005b240(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (local_24 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar1)" ( (binary_expression "local_24 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar8 = 0x5b65c;" (assignment_expression "uVar8 = 0x5b65c" identifier = number_literal) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar7 = PTR___stack_chk_fail_000b0c70" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "local_48 = puVar1;" (assignment_expression "local_48 = puVar1" identifier = identifier) ;) (expression_statement "piVar6 = *(int **)(puVar7 + 0x55640);" (assignment_expression "piVar6 = *(int **)(puVar7 + 0x55640)" identifier = (pointer_expression "*(int **)(puVar7 + 0x55640)" * (cast_expression "(int **)(puVar7 + 0x55640)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x55640)" ( (binary_expression "puVar7 + 0x55640" identifier + number_literal) ))))) ;) (expression_statement "local_54 = *piVar6;" (assignment_expression "local_54 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "local_50 = puVar5;" (assignment_expression "local_50 = puVar5" identifier = identifier) ;) (expression_statement "local_4c = &local_28;" (assignment_expression "local_4c = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_44 = uVar8;" (assignment_expression "local_44 = uVar8" identifier = identifier) ;) (expression_statement "FUN_0005b570();" (call_expression "FUN_0005b570()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar3 = auStack_64;" (assignment_expression "puVar3 = auStack_64" identifier = identifier) ;) (expression_statement "FUN_0005ab78(param_1 + 0x114,puVar3);" (call_expression "FUN_0005ab78(param_1 + 0x114,puVar3)" identifier (argument_list "(param_1 + 0x114,puVar3)" ( (binary_expression "param_1 + 0x114" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);" (call_expression "(**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10)" (parenthesized_expression "(**(code **)(puVar7 + 0x55208))" ( (pointer_expression "**(code **)(puVar7 + 0x55208)" * (pointer_expression "*(code **)(puVar7 + 0x55208)" * (cast_expression "(code **)(puVar7 + 0x55208)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x55208)" ( (binary_expression "puVar7 + 0x55208" identifier + number_literal) ))))) )) (argument_list "(param_2 + param_3,puVar3,0x10)" ( (binary_expression "param_2 + param_3" identifier + identifier) , identifier , number_literal ))) ;) (if_statement "if (local_54 == *piVar6) {\n    return;\n  }" if (parenthesized_expression "(local_54 == *piVar6)" ( (binary_expression "local_54 == *piVar6" identifier == (pointer_expression "*piVar6" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = local_54;" (assignment_expression "iVar2 = local_54" identifier = identifier) ;) (expression_statement "(**(code **)(puVar7 + 0x55614))();" (call_expression "(**(code **)(puVar7 + 0x55614))()" (parenthesized_expression "(**(code **)(puVar7 + 0x55614))" ( (pointer_expression "**(code **)(puVar7 + 0x55614)" * (pointer_expression "*(code **)(puVar7 + 0x55614)" * (cast_expression "(code **)(puVar7 + 0x55614)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x55614)" ( (binary_expression "puVar7 + 0x55614" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "FUN_0005b570();" (call_expression "FUN_0005b570()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);" (call_expression "FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4)" identifier (argument_list "(iVar2 + 0x114,puVar3 + iVar4)" ( (binary_expression "iVar2 + 0x114" identifier + number_literal) , (binary_expression "puVar3 + iVar4" identifier + identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void poly_op(void *handle,uchar *blk,int len,ulong seq)\n\n{\n  int iVar1;\n  void *handle_00;\n  uchar *mac;\n  ulong seq_00;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int in_t9;\n  code *pcVar5;\n  code *pcVar6;\n  uchar auStack_64 [16];\n  void *pvStack_54;\n  int iStack_50;\n  uchar *puStack_4c;\n  int *piStack_48;\n  code *pcStack_44;\n  int local_30;\n  uchar iv [4];\n  \n  local_30 = in_t9 + 0x5cbe0;\n  piVar3 = *(int **)(in_t9 + 0x5572c);\n  iVar1 = *piVar3;\n  seq_00 = seq;\n  poly_start(handle);\n  iVar2 = *(int *)(local_30 + -0x78f0);\n  iv = (uchar  [4])seq;\n  poly_bytes(handle,iv,4);\n  (**(code **)(local_30 + -0x7f10))(iv,4);\n  poly_bytes(handle,blk,len);\n  if (iVar1 == *piVar3) {\n    return;\n  }\n  pcVar5 = *(code **)(local_30 + -0x74e0);\n  pcVar6 = poly_verify;\n  (*pcVar5)();\n  piVar4 = *(int **)(pcVar5 + 0x55640);\n  pvStack_54 = (void *)*piVar4;\n  iStack_50 = iVar2 + -0x4dc0;\n  puStack_4c = iv;\n  piStack_48 = piVar3;\n  pcStack_44 = pcVar6;\n  poly_op(handle,blk,len,seq_00);\n  mac = auStack_64;\n  poly1305_finalise((poly1305 *)((int)handle + 0x114),mac);\n  iVar1 = 0x10;\n  (**(code **)(pcVar5 + 0x55208))(blk + len);\n  if (pvStack_54 == (void *)*piVar4) {\n    return;\n  }\n  handle_00 = pvStack_54;\n  (**(code **)(pcVar5 + 0x55614))();\n  poly_op(handle_00,mac,iVar1,seq_00);\n  poly1305_finalise((poly1305 *)((int)handle_00 + 0x114),mac + iVar1);\n  return;\n}\n\n" (function_definition "void poly_op(void *handle,uchar *blk,int len,ulong seq)\n\n{\n  int iVar1;\n  void *handle_00;\n  uchar *mac;\n  ulong seq_00;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int in_t9;\n  code *pcVar5;\n  code *pcVar6;\n  uchar auStack_64 [16];\n  void *pvStack_54;\n  int iStack_50;\n  uchar *puStack_4c;\n  int *piStack_48;\n  code *pcStack_44;\n  int local_30;\n  uchar iv [4];\n  \n  local_30 = in_t9 + 0x5cbe0;\n  piVar3 = *(int **)(in_t9 + 0x5572c);\n  iVar1 = *piVar3;\n  seq_00 = seq;\n  poly_start(handle);\n  iVar2 = *(int *)(local_30 + -0x78f0);\n  iv = (uchar  [4])seq;\n  poly_bytes(handle,iv,4);\n  (**(code **)(local_30 + -0x7f10))(iv,4);\n  poly_bytes(handle,blk,len);\n  if (iVar1 == *piVar3) {\n    return;\n  }\n  pcVar5 = *(code **)(local_30 + -0x74e0);\n  pcVar6 = poly_verify;\n  (*pcVar5)();\n  piVar4 = *(int **)(pcVar5 + 0x55640);\n  pvStack_54 = (void *)*piVar4;\n  iStack_50 = iVar2 + -0x4dc0;\n  puStack_4c = iv;\n  piStack_48 = piVar3;\n  pcStack_44 = pcVar6;\n  poly_op(handle,blk,len,seq_00);\n  mac = auStack_64;\n  poly1305_finalise((poly1305 *)((int)handle + 0x114),mac);\n  iVar1 = 0x10;\n  (**(code **)(pcVar5 + 0x55208))(blk + len);\n  if (pvStack_54 == (void *)*piVar4) {\n    return;\n  }\n  handle_00 = pvStack_54;\n  (**(code **)(pcVar5 + 0x55614))();\n  poly_op(handle_00,mac,iVar1,seq_00);\n  poly1305_finalise((poly1305 *)((int)handle_00 + 0x114),mac + iVar1);\n  return;\n}" primitive_type (function_declarator "poly_op(void *handle,uchar *blk,int len,ulong seq)" identifier (parameter_list "(void *handle,uchar *blk,int len,ulong seq)" ( (parameter_declaration "void *handle" primitive_type (pointer_declarator "*handle" * identifier)) , (parameter_declaration "uchar *blk" type_identifier (pointer_declarator "*blk" * identifier)) , (parameter_declaration "int len" primitive_type identifier) , (parameter_declaration "ulong seq" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  void *handle_00;\n  uchar *mac;\n  ulong seq_00;\n  int iVar2;\n  int *piVar3;\n  int *piVar4;\n  int in_t9;\n  code *pcVar5;\n  code *pcVar6;\n  uchar auStack_64 [16];\n  void *pvStack_54;\n  int iStack_50;\n  uchar *puStack_4c;\n  int *piStack_48;\n  code *pcStack_44;\n  int local_30;\n  uchar iv [4];\n  \n  local_30 = in_t9 + 0x5cbe0;\n  piVar3 = *(int **)(in_t9 + 0x5572c);\n  iVar1 = *piVar3;\n  seq_00 = seq;\n  poly_start(handle);\n  iVar2 = *(int *)(local_30 + -0x78f0);\n  iv = (uchar  [4])seq;\n  poly_bytes(handle,iv,4);\n  (**(code **)(local_30 + -0x7f10))(iv,4);\n  poly_bytes(handle,blk,len);\n  if (iVar1 == *piVar3) {\n    return;\n  }\n  pcVar5 = *(code **)(local_30 + -0x74e0);\n  pcVar6 = poly_verify;\n  (*pcVar5)();\n  piVar4 = *(int **)(pcVar5 + 0x55640);\n  pvStack_54 = (void *)*piVar4;\n  iStack_50 = iVar2 + -0x4dc0;\n  puStack_4c = iv;\n  piStack_48 = piVar3;\n  pcStack_44 = pcVar6;\n  poly_op(handle,blk,len,seq_00);\n  mac = auStack_64;\n  poly1305_finalise((poly1305 *)((int)handle + 0x114),mac);\n  iVar1 = 0x10;\n  (**(code **)(pcVar5 + 0x55208))(blk + len);\n  if (pvStack_54 == (void *)*piVar4) {\n    return;\n  }\n  handle_00 = pvStack_54;\n  (**(code **)(pcVar5 + 0x55614))();\n  poly_op(handle_00,mac,iVar1,seq_00);\n  poly1305_finalise((poly1305 *)((int)handle_00 + 0x114),mac + iVar1);\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "void *handle_00;" primitive_type (pointer_declarator "*handle_00" * identifier) ;) (declaration "uchar *mac;" type_identifier (pointer_declarator "*mac" * identifier) ;) (declaration "ulong seq_00;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int *piVar3;" primitive_type (pointer_declarator "*piVar3" * identifier) ;) (declaration "int *piVar4;" primitive_type (pointer_declarator "*piVar4" * identifier) ;) (declaration "int in_t9;" primitive_type identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "code *pcVar6;" type_identifier (pointer_declarator "*pcVar6" * identifier) ;) (declaration "uchar auStack_64 [16];" type_identifier (array_declarator "auStack_64 [16]" identifier [ number_literal ]) ;) (declaration "void *pvStack_54;" primitive_type (pointer_declarator "*pvStack_54" * identifier) ;) (declaration "int iStack_50;" primitive_type identifier ;) (declaration "uchar *puStack_4c;" type_identifier (pointer_declarator "*puStack_4c" * identifier) ;) (declaration "int *piStack_48;" primitive_type (pointer_declarator "*piStack_48" * identifier) ;) (declaration "code *pcStack_44;" type_identifier (pointer_declarator "*pcStack_44" * identifier) ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "uchar iv [4];" type_identifier (array_declarator "iv [4]" identifier [ number_literal ]) ;) (expression_statement "local_30 = in_t9 + 0x5cbe0;" (assignment_expression "local_30 = in_t9 + 0x5cbe0" identifier = (binary_expression "in_t9 + 0x5cbe0" identifier + number_literal)) ;) (expression_statement "piVar3 = *(int **)(in_t9 + 0x5572c);" (assignment_expression "piVar3 = *(int **)(in_t9 + 0x5572c)" identifier = (pointer_expression "*(int **)(in_t9 + 0x5572c)" * (cast_expression "(int **)(in_t9 + 0x5572c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(in_t9 + 0x5572c)" ( (binary_expression "in_t9 + 0x5572c" identifier + number_literal) ))))) ;) (expression_statement "iVar1 = *piVar3;" (assignment_expression "iVar1 = *piVar3" identifier = (pointer_expression "*piVar3" * identifier)) ;) (expression_statement "seq_00 = seq;" (assignment_expression "seq_00 = seq" identifier = identifier) ;) (expression_statement "poly_start(handle);" (call_expression "poly_start(handle)" identifier (argument_list "(handle)" ( identifier ))) ;) (expression_statement "iVar2 = *(int *)(local_30 + -0x78f0);" (assignment_expression "iVar2 = *(int *)(local_30 + -0x78f0)" identifier = (pointer_expression "*(int *)(local_30 + -0x78f0)" * (cast_expression "(int *)(local_30 + -0x78f0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_30 + -0x78f0)" ( (binary_expression "local_30 + -0x78f0" identifier + number_literal) ))))) ;) (expression_statement "iv = (uchar  [4])seq;" (assignment_expression "iv = (uchar  [4])seq" identifier = (cast_expression "(uchar  [4])seq" ( (type_descriptor "uchar  [4]" type_identifier (abstract_array_declarator "[4]" [ number_literal ])) ) identifier)) ;) (expression_statement "poly_bytes(handle,iv,4);" (call_expression "poly_bytes(handle,iv,4)" identifier (argument_list "(handle,iv,4)" ( identifier , identifier , number_literal ))) ;) (expression_statement "(**(code **)(local_30 + -0x7f10))(iv,4);" (call_expression "(**(code **)(local_30 + -0x7f10))(iv,4)" (parenthesized_expression "(**(code **)(local_30 + -0x7f10))" ( (pointer_expression "**(code **)(local_30 + -0x7f10)" * (pointer_expression "*(code **)(local_30 + -0x7f10)" * (cast_expression "(code **)(local_30 + -0x7f10)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + -0x7f10)" ( (binary_expression "local_30 + -0x7f10" identifier + number_literal) ))))) )) (argument_list "(iv,4)" ( identifier , number_literal ))) ;) (expression_statement "poly_bytes(handle,blk,len);" (call_expression "poly_bytes(handle,blk,len)" identifier (argument_list "(handle,blk,len)" ( identifier , identifier , identifier ))) ;) (if_statement "if (iVar1 == *piVar3) {\n    return;\n  }" if (parenthesized_expression "(iVar1 == *piVar3)" ( (binary_expression "iVar1 == *piVar3" identifier == (pointer_expression "*piVar3" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "pcVar5 = *(code **)(local_30 + -0x74e0);" (assignment_expression "pcVar5 = *(code **)(local_30 + -0x74e0)" identifier = (pointer_expression "*(code **)(local_30 + -0x74e0)" * (cast_expression "(code **)(local_30 + -0x74e0)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(local_30 + -0x74e0)" ( (binary_expression "local_30 + -0x74e0" identifier + number_literal) ))))) ;) (expression_statement "pcVar6 = poly_verify;" (assignment_expression "pcVar6 = poly_verify" identifier = identifier) ;) (expression_statement "(*pcVar5)();" (call_expression "(*pcVar5)()" (parenthesized_expression "(*pcVar5)" ( (pointer_expression "*pcVar5" * identifier) )) (argument_list "()" ( ))) ;) (expression_statement "piVar4 = *(int **)(pcVar5 + 0x55640);" (assignment_expression "piVar4 = *(int **)(pcVar5 + 0x55640)" identifier = (pointer_expression "*(int **)(pcVar5 + 0x55640)" * (cast_expression "(int **)(pcVar5 + 0x55640)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x55640)" ( (binary_expression "pcVar5 + 0x55640" identifier + number_literal) ))))) ;) (expression_statement "pvStack_54 = (void *)*piVar4;" (assignment_expression "pvStack_54 = (void *)*piVar4" identifier = (cast_expression "(void *)*piVar4" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) ;) (expression_statement "iStack_50 = iVar2 + -0x4dc0;" (assignment_expression "iStack_50 = iVar2 + -0x4dc0" identifier = (binary_expression "iVar2 + -0x4dc0" identifier + number_literal)) ;) (expression_statement "puStack_4c = iv;" (assignment_expression "puStack_4c = iv" identifier = identifier) ;) (expression_statement "piStack_48 = piVar3;" (assignment_expression "piStack_48 = piVar3" identifier = identifier) ;) (expression_statement "pcStack_44 = pcVar6;" (assignment_expression "pcStack_44 = pcVar6" identifier = identifier) ;) (expression_statement "poly_op(handle,blk,len,seq_00);" (call_expression "poly_op(handle,blk,len,seq_00)" identifier (argument_list "(handle,blk,len,seq_00)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "mac = auStack_64;" (assignment_expression "mac = auStack_64" identifier = identifier) ;) (expression_statement "poly1305_finalise((poly1305 *)((int)handle + 0x114),mac);" (call_expression "poly1305_finalise((poly1305 *)((int)handle + 0x114),mac)" identifier (argument_list "((poly1305 *)((int)handle + 0x114),mac)" ( (cast_expression "(poly1305 *)((int)handle + 0x114)" ( (type_descriptor "poly1305 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle + 0x114)" ( (binary_expression "(int)handle + 0x114" (cast_expression "(int)handle" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , identifier ))) ;) (expression_statement "iVar1 = 0x10;" (assignment_expression "iVar1 = 0x10" identifier = number_literal) ;) (expression_statement "(**(code **)(pcVar5 + 0x55208))(blk + len);" (call_expression "(**(code **)(pcVar5 + 0x55208))(blk + len)" (parenthesized_expression "(**(code **)(pcVar5 + 0x55208))" ( (pointer_expression "**(code **)(pcVar5 + 0x55208)" * (pointer_expression "*(code **)(pcVar5 + 0x55208)" * (cast_expression "(code **)(pcVar5 + 0x55208)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x55208)" ( (binary_expression "pcVar5 + 0x55208" identifier + number_literal) ))))) )) (argument_list "(blk + len)" ( (binary_expression "blk + len" identifier + identifier) ))) ;) (if_statement "if (pvStack_54 == (void *)*piVar4) {\n    return;\n  }" if (parenthesized_expression "(pvStack_54 == (void *)*piVar4)" ( (binary_expression "pvStack_54 == (void *)*piVar4" identifier == (cast_expression "(void *)*piVar4" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar4" * identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "handle_00 = pvStack_54;" (assignment_expression "handle_00 = pvStack_54" identifier = identifier) ;) (expression_statement "(**(code **)(pcVar5 + 0x55614))();" (call_expression "(**(code **)(pcVar5 + 0x55614))()" (parenthesized_expression "(**(code **)(pcVar5 + 0x55614))" ( (pointer_expression "**(code **)(pcVar5 + 0x55614)" * (pointer_expression "*(code **)(pcVar5 + 0x55614)" * (cast_expression "(code **)(pcVar5 + 0x55614)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(pcVar5 + 0x55614)" ( (binary_expression "pcVar5 + 0x55614" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "poly_op(handle_00,mac,iVar1,seq_00);" (call_expression "poly_op(handle_00,mac,iVar1,seq_00)" identifier (argument_list "(handle_00,mac,iVar1,seq_00)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "poly1305_finalise((poly1305 *)((int)handle_00 + 0x114),mac + iVar1);" (call_expression "poly1305_finalise((poly1305 *)((int)handle_00 + 0x114),mac + iVar1)" identifier (argument_list "((poly1305 *)((int)handle_00 + 0x114),mac + iVar1)" ( (cast_expression "(poly1305 *)((int)handle_00 + 0x114)" ( (type_descriptor "poly1305 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)handle_00 + 0x114)" ( (binary_expression "(int)handle_00 + 0x114" (cast_expression "(int)handle_00" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) , (binary_expression "mac + iVar1" identifier + identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}\n\n" (function_definition "void FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}" primitive_type (function_declarator "FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,int param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "int param_3" primitive_type identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined1 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined *puVar5;" type_identifier (pointer_declarator "*puVar5" * identifier) ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "undefined *puVar7;" type_identifier (pointer_declarator "*puVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "undefined1 auStack_64 [16];" type_identifier (array_declarator "auStack_64 [16]" identifier [ number_literal ]) ;) (declaration "int local_54;" primitive_type identifier ;) (declaration "undefined *local_50;" type_identifier (pointer_declarator "*local_50" * identifier) ;) (declaration "undefined4 *local_4c;" type_identifier (pointer_declarator "*local_4c" * identifier) ;) (declaration "undefined *local_48;" type_identifier (pointer_declarator "*local_48" * identifier) ;) (declaration "undefined4 local_44;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_24;" primitive_type identifier ;) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" identifier = identifier) ;) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b0c9c" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" * (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "FUN_0005a380();" (call_expression "FUN_0005a380()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar5 = PTR_LAB_000b0860 + -0x4dc0;" (assignment_expression "puVar5 = PTR_LAB_000b0860 + -0x4dc0" identifier = (binary_expression "PTR_LAB_000b0860 + -0x4dc0" identifier + number_literal)) ;) (expression_statement "local_28 = param_4;" (assignment_expression "local_28 = param_4" identifier = identifier) ;) (expression_statement "FUN_0005b240(param_1,&local_28,4);" (call_expression "FUN_0005b240(param_1,&local_28,4)" identifier (argument_list "(param_1,&local_28,4)" ( identifier , (pointer_expression "&local_28" & identifier) , number_literal ))) ;) (expression_statement "(*(code *)PTR_smemclr_000b0240)(&local_28,4);" (call_expression "(*(code *)PTR_smemclr_000b0240)(&local_28,4)" (parenthesized_expression "(*(code *)PTR_smemclr_000b0240)" ( (pointer_expression "*(code *)PTR_smemclr_000b0240" * (cast_expression "(code *)PTR_smemclr_000b0240" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_28,4)" ( (pointer_expression "&local_28" & identifier) , number_literal ))) ;) (expression_statement "FUN_0005b240(param_1);" (call_expression "FUN_0005b240(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (if_statement "if (local_24 == *(int *)puVar1) {\n    return;\n  }" if (parenthesized_expression "(local_24 == *(int *)puVar1)" ( (binary_expression "local_24 == *(int *)puVar1" identifier == (pointer_expression "*(int *)puVar1" * (cast_expression "(int *)puVar1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "uVar8 = 0x5b65c;" (assignment_expression "uVar8 = 0x5b65c" identifier = number_literal) ;) (expression_statement "puVar7 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar7 = PTR___stack_chk_fail_000b0c70" identifier = identifier) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" * (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (expression_statement "local_48 = puVar1;" (assignment_expression "local_48 = puVar1" identifier = identifier) ;) (expression_statement "piVar6 = *(int **)(puVar7 + 0x55640);" (assignment_expression "piVar6 = *(int **)(puVar7 + 0x55640)" identifier = (pointer_expression "*(int **)(puVar7 + 0x55640)" * (cast_expression "(int **)(puVar7 + 0x55640)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x55640)" ( (binary_expression "puVar7 + 0x55640" identifier + number_literal) ))))) ;) (expression_statement "local_54 = *piVar6;" (assignment_expression "local_54 = *piVar6" identifier = (pointer_expression "*piVar6" * identifier)) ;) (expression_statement "local_50 = puVar5;" (assignment_expression "local_50 = puVar5" identifier = identifier) ;) (expression_statement "local_4c = &local_28;" (assignment_expression "local_4c = &local_28" identifier = (pointer_expression "&local_28" & identifier)) ;) (expression_statement "local_44 = uVar8;" (assignment_expression "local_44 = uVar8" identifier = identifier) ;) (expression_statement "FUN_0005b570();" (call_expression "FUN_0005b570()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar3 = auStack_64;" (assignment_expression "puVar3 = auStack_64" identifier = identifier) ;) (expression_statement "FUN_0005ab78(param_1 + 0x114,puVar3);" (call_expression "FUN_0005ab78(param_1 + 0x114,puVar3)" identifier (argument_list "(param_1 + 0x114,puVar3)" ( (binary_expression "param_1 + 0x114" identifier + number_literal) , identifier ))) ;) (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" identifier = number_literal) ;) (expression_statement "(**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);" (call_expression "(**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10)" (parenthesized_expression "(**(code **)(puVar7 + 0x55208))" ( (pointer_expression "**(code **)(puVar7 + 0x55208)" * (pointer_expression "*(code **)(puVar7 + 0x55208)" * (cast_expression "(code **)(puVar7 + 0x55208)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x55208)" ( (binary_expression "puVar7 + 0x55208" identifier + number_literal) ))))) )) (argument_list "(param_2 + param_3,puVar3,0x10)" ( (binary_expression "param_2 + param_3" identifier + identifier) , identifier , number_literal ))) ;) (if_statement "if (local_54 == *piVar6) {\n    return;\n  }" if (parenthesized_expression "(local_54 == *piVar6)" ( (binary_expression "local_54 == *piVar6" identifier == (pointer_expression "*piVar6" * identifier)) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "iVar2 = local_54;" (assignment_expression "iVar2 = local_54" identifier = identifier) ;) (expression_statement "(**(code **)(puVar7 + 0x55614))();" (call_expression "(**(code **)(puVar7 + 0x55614))()" (parenthesized_expression "(**(code **)(puVar7 + 0x55614))" ( (pointer_expression "**(code **)(puVar7 + 0x55614)" * (pointer_expression "*(code **)(puVar7 + 0x55614)" * (cast_expression "(code **)(puVar7 + 0x55614)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(puVar7 + 0x55614)" ( (binary_expression "puVar7 + 0x55614" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) (expression_statement "FUN_0005b570();" (call_expression "FUN_0005b570()" identifier (argument_list "()" ( ))) ;) (expression_statement "FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);" (call_expression "FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4)" identifier (argument_list "(iVar2 + 0x114,puVar3 + iVar4)" ( (binary_expression "iVar2 + 0x114" identifier + number_literal) , (binary_expression "puVar3 + iVar4" identifier + identifier) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression & IDENT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * IDENT)) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0005b570(int param_1,int param_2,int param_3,undefined4 param_4)" (identifier "FUN_0005b570") (parameter_list "(int param_1,int param_2,int param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  int iVar2;\n  undefined1 *puVar3;\n  int iVar4;\n  undefined *puVar5;\n  int *piVar6;\n  undefined *puVar7;\n  undefined4 uVar8;\n  undefined1 auStack_64 [16];\n  int local_54;\n  undefined *local_50;\n  undefined4 *local_4c;\n  undefined *local_48;\n  undefined4 local_44;\n  undefined4 local_28;\n  int local_24;\n  \n  puVar1 = PTR___stack_chk_guard_000b0c9c;\n  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;\n  FUN_0005a380();\n  puVar5 = PTR_LAB_000b0860 + -0x4dc0;\n  local_28 = param_4;\n  FUN_0005b240(param_1,&local_28,4);\n  (*(code *)PTR_smemclr_000b0240)(&local_28,4);\n  FUN_0005b240(param_1);\n  if (local_24 == *(int *)puVar1) {\n    return;\n  }\n  uVar8 = 0x5b65c;\n  puVar7 = PTR___stack_chk_fail_000b0c70;\n  (*(code *)PTR___stack_chk_fail_000b0c70)();\n  local_48 = puVar1;\n  piVar6 = *(int **)(puVar7 + 0x55640);\n  local_54 = *piVar6;\n  local_50 = puVar5;\n  local_4c = &local_28;\n  local_44 = uVar8;\n  FUN_0005b570();\n  puVar3 = auStack_64;\n  FUN_0005ab78(param_1 + 0x114,puVar3);\n  iVar4 = 0x10;\n  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);\n  if (local_54 == *piVar6) {\n    return;\n  }\n  iVar2 = local_54;\n  (**(code **)(puVar7 + 0x55614))();\n  FUN_0005b570();\n  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);\n  return;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined1 *puVar3;" (type_identifier "undefined1") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined *puVar5;" (type_identifier "undefined") (pointer_declarator "*puVar5" (* "*") (identifier "puVar5")) (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "undefined *puVar7;" (type_identifier "undefined") (pointer_declarator "*puVar7" (* "*") (identifier "puVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "undefined1 auStack_64 [16];" (type_identifier "undefined1") (array_declarator "auStack_64 [16]" (identifier "auStack_64") ([ "[") (number_literal "16") (] "]")) (; ";")) (declaration "int local_54;" (primitive_type "int") (identifier "local_54") (; ";")) (declaration "undefined *local_50;" (type_identifier "undefined") (pointer_declarator "*local_50" (* "*") (identifier "local_50")) (; ";")) (declaration "undefined4 *local_4c;" (type_identifier "undefined4") (pointer_declarator "*local_4c" (* "*") (identifier "local_4c")) (; ";")) (declaration "undefined *local_48;" (type_identifier "undefined") (pointer_declarator "*local_48" (* "*") (identifier "local_48")) (; ";")) (declaration "undefined4 local_44;" (type_identifier "undefined4") (identifier "local_44") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (expression_statement "puVar1 = PTR___stack_chk_guard_000b0c9c;" (assignment_expression "puVar1 = PTR___stack_chk_guard_000b0c9c" (identifier "puVar1") (= "=") (identifier "PTR___stack_chk_guard_000b0c9c")) (; ";")) (expression_statement "local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;" (assignment_expression "local_24 = *(int *)PTR___stack_chk_guard_000b0c9c" (identifier "local_24") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_000b0c9c" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_000b0c9c" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_000b0c9c")))) (; ";")) (expression_statement "FUN_0005a380();" (call_expression "FUN_0005a380()" (identifier "FUN_0005a380") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar5 = PTR_LAB_000b0860 + -0x4dc0;" (assignment_expression "puVar5 = PTR_LAB_000b0860 + -0x4dc0" (identifier "puVar5") (= "=") (binary_expression "PTR_LAB_000b0860 + -0x4dc0" (identifier "PTR_LAB_000b0860") (+ "+") (number_literal "-0x4dc0"))) (; ";")) (expression_statement "local_28 = param_4;" (assignment_expression "local_28 = param_4" (identifier "local_28") (= "=") (identifier "param_4")) (; ";")) (expression_statement "FUN_0005b240(param_1,&local_28,4);" (call_expression "FUN_0005b240(param_1,&local_28,4)" (identifier "FUN_0005b240") (argument_list "(param_1,&local_28,4)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_smemclr_000b0240)(&local_28,4);" (call_expression "(*(code *)PTR_smemclr_000b0240)(&local_28,4)" (parenthesized_expression "(*(code *)PTR_smemclr_000b0240)" (( "(") (pointer_expression "*(code *)PTR_smemclr_000b0240" (* "*") (cast_expression "(code *)PTR_smemclr_000b0240" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_smemclr_000b0240"))) () ")")) (argument_list "(&local_28,4)" (( "(") (pointer_expression "&local_28" (& "&") (identifier "local_28")) (, ",") (number_literal "4") () ")"))) (; ";")) (expression_statement "FUN_0005b240(param_1);" (call_expression "FUN_0005b240(param_1)" (identifier "FUN_0005b240") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (if_statement "if (local_24 == *(int *)puVar1) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_24 == *(int *)puVar1)" (( "(") (binary_expression "local_24 == *(int *)puVar1" (identifier "local_24") (== "==") (pointer_expression "*(int *)puVar1" (* "*") (cast_expression "(int *)puVar1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1")))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "uVar8 = 0x5b65c;" (assignment_expression "uVar8 = 0x5b65c" (identifier "uVar8") (= "=") (number_literal "0x5b65c")) (; ";")) (expression_statement "puVar7 = PTR___stack_chk_fail_000b0c70;" (assignment_expression "puVar7 = PTR___stack_chk_fail_000b0c70" (identifier "puVar7") (= "=") (identifier "PTR___stack_chk_fail_000b0c70")) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_000b0c70)();" (call_expression "(*(code *)PTR___stack_chk_fail_000b0c70)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_000b0c70)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_000b0c70" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_000b0c70" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_000b0c70"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_48 = puVar1;" (assignment_expression "local_48 = puVar1" (identifier "local_48") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "piVar6 = *(int **)(puVar7 + 0x55640);" (assignment_expression "piVar6 = *(int **)(puVar7 + 0x55640)" (identifier "piVar6") (= "=") (pointer_expression "*(int **)(puVar7 + 0x55640)" (* "*") (cast_expression "(int **)(puVar7 + 0x55640)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x55640)" (( "(") (binary_expression "puVar7 + 0x55640" (identifier "puVar7") (+ "+") (number_literal "0x55640")) () ")"))))) (; ";")) (expression_statement "local_54 = *piVar6;" (assignment_expression "local_54 = *piVar6" (identifier "local_54") (= "=") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) (; ";")) (expression_statement "local_50 = puVar5;" (assignment_expression "local_50 = puVar5" (identifier "local_50") (= "=") (identifier "puVar5")) (; ";")) (expression_statement "local_4c = &local_28;" (assignment_expression "local_4c = &local_28" (identifier "local_4c") (= "=") (pointer_expression "&local_28" (& "&") (identifier "local_28"))) (; ";")) (expression_statement "local_44 = uVar8;" (assignment_expression "local_44 = uVar8" (identifier "local_44") (= "=") (identifier "uVar8")) (; ";")) (expression_statement "FUN_0005b570();" (call_expression "FUN_0005b570()" (identifier "FUN_0005b570") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar3 = auStack_64;" (assignment_expression "puVar3 = auStack_64" (identifier "puVar3") (= "=") (identifier "auStack_64")) (; ";")) (expression_statement "FUN_0005ab78(param_1 + 0x114,puVar3);" (call_expression "FUN_0005ab78(param_1 + 0x114,puVar3)" (identifier "FUN_0005ab78") (argument_list "(param_1 + 0x114,puVar3)" (( "(") (binary_expression "param_1 + 0x114" (identifier "param_1") (+ "+") (number_literal "0x114")) (, ",") (identifier "puVar3") () ")"))) (; ";")) (expression_statement "iVar4 = 0x10;" (assignment_expression "iVar4 = 0x10" (identifier "iVar4") (= "=") (number_literal "0x10")) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);" (call_expression "(**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10)" (parenthesized_expression "(**(code **)(puVar7 + 0x55208))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x55208)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x55208)" (* "*") (cast_expression "(code **)(puVar7 + 0x55208)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x55208)" (( "(") (binary_expression "puVar7 + 0x55208" (identifier "puVar7") (+ "+") (number_literal "0x55208")) () ")"))))) () ")")) (argument_list "(param_2 + param_3,puVar3,0x10)" (( "(") (binary_expression "param_2 + param_3" (identifier "param_2") (+ "+") (identifier "param_3")) (, ",") (identifier "puVar3") (, ",") (number_literal "0x10") () ")"))) (; ";")) (if_statement "if (local_54 == *piVar6) {\n    return;\n  }" (if "if") (parenthesized_expression "(local_54 == *piVar6)" (( "(") (binary_expression "local_54 == *piVar6" (identifier "local_54") (== "==") (pointer_expression "*piVar6" (* "*") (identifier "piVar6"))) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "iVar2 = local_54;" (assignment_expression "iVar2 = local_54" (identifier "iVar2") (= "=") (identifier "local_54")) (; ";")) (expression_statement "(**(code **)(puVar7 + 0x55614))();" (call_expression "(**(code **)(puVar7 + 0x55614))()" (parenthesized_expression "(**(code **)(puVar7 + 0x55614))" (( "(") (pointer_expression "**(code **)(puVar7 + 0x55614)" (* "*") (pointer_expression "*(code **)(puVar7 + 0x55614)" (* "*") (cast_expression "(code **)(puVar7 + 0x55614)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(puVar7 + 0x55614)" (( "(") (binary_expression "puVar7 + 0x55614" (identifier "puVar7") (+ "+") (number_literal "0x55614")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0005b570();" (call_expression "FUN_0005b570()" (identifier "FUN_0005b570") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);" (call_expression "FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4)" (identifier "FUN_0005ab78") (argument_list "(iVar2 + 0x114,puVar3 + iVar4)" (( "(") (binary_expression "iVar2 + 0x114" (identifier "iVar2") (+ "+") (number_literal "0x114")) (, ",") (binary_expression "puVar3 + iVar4" (identifier "puVar3") (+ "+") (identifier "iVar4")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

void function_1(void *handle,type_1 *var_9,int var_10,type_2 seq)

{
  int var_5;
  void *handle_00;
  type_1 *var_12;
  type_2 seq_00;
  int var_7;
  int *piVar3;
  int *piVar4;
  int var_1;
  type_3 *var_6;
  type_3 *pcVar6;
  type_1 auStack_64 [16];
  void *var_11;
  int iStack_50;
  type_1 *puStack_4c;
  int *piStack_48;
  type_3 *pcStack_44;
  int var_3;
  type_1 iv [4];
  
  var_3 = var_1 + 0x5cbe0;
  piVar3 = *(int **)(var_1 + 0x5572c);
  var_5 = *piVar3;
  seq_00 = seq;
  var_2(handle);
  var_7 = *(int *)(var_3 + -0x78f0);
  iv = (type_1  [4])seq;
  var_4(handle,iv,4);
  (**(type_3 **)(var_3 + -0x7f10))(iv,4);
  var_4(handle,var_9,var_10);
  if (var_5 == *piVar3) {
    return;
  }
  var_6 = *(type_3 **)(var_3 + -0x74e0);
  pcVar6 = poly_verify;
  (*var_6)();
  piVar4 = *(int **)(var_6 + 0x55640);
  var_11 = (void *)*piVar4;
  iStack_50 = var_7 + -0x4dc0;
  puStack_4c = iv;
  piStack_48 = piVar3;
  pcStack_44 = pcVar6;
  function_1(handle,var_9,var_10,seq_00);
  var_12 = auStack_64;
  var_8((type_4 *)((int)handle + 0x114),var_12);
  var_5 = 0x10;
  (**(type_3 **)(var_6 + 0x55208))(var_9 + var_10);
  if (var_11 == (void *)*piVar4) {
    return;
  }
  handle_00 = var_11;
  (**(type_3 **)(var_6 + 0x55614))();
  function_1(handle_00,var_12,var_5,seq_00);
  var_8((type_4 *)((int)handle_00 + 0x114),var_12 + var_5);
  return;
}


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

void MASKED(int param_1,int param_2,int param_3,undefined4 param_4)

{
  undefined *puVar1;
  int iVar2;
  undefined1 *puVar3;
  int iVar4;
  undefined *puVar5;
  int *piVar6;
  undefined *puVar7;
  undefined4 uVar8;
  undefined1 auStack_64 [16];
  int local_54;
  undefined *local_50;
  undefined4 *local_4c;
  undefined *local_48;
  undefined4 local_44;
  undefined4 local_28;
  int local_24;
  
  puVar1 = PTR___stack_chk_guard_000b0c9c;
  local_24 = *(int *)PTR___stack_chk_guard_000b0c9c;
  FUN_0005a380();
  puVar5 = PTR_LAB_000b0860 + -0x4dc0;
  local_28 = param_4;
  FUN_0005b240(param_1,&local_28,4);
  (*(code *)PTR_smemclr_000b0240)(&local_28,4);
  FUN_0005b240(param_1);
  if (local_24 == *(int *)puVar1) {
    return;
  }
  uVar8 = 0x5b65c;
  puVar7 = PTR___stack_chk_fail_000b0c70;
  (*(code *)PTR___stack_chk_fail_000b0c70)();
  local_48 = puVar1;
  piVar6 = *(int **)(puVar7 + 0x55640);
  local_54 = *piVar6;
  local_50 = puVar5;
  local_4c = &local_28;
  local_44 = uVar8;
  MASKED();
  puVar3 = auStack_64;
  FUN_0005ab78(param_1 + 0x114,puVar3);
  iVar4 = 0x10;
  (**(code **)(puVar7 + 0x55208))(param_2 + param_3,puVar3,0x10);
  if (local_54 == *piVar6) {
    return;
  }
  iVar2 = local_54;
  (**(code **)(puVar7 + 0x55614))();
  MASKED();
  FUN_0005ab78(iVar2 + 0x114,puVar3 + iVar4);
  return;
}

