
void * columnName(sqlite3_stmt *pStmt,int N,_func_void_ptr_Mem_ptr *xFunc,int useType)

{
  ushort uVar1;
  void *pvVar2;
  Vdbe *p;
  int iVar3;
  
  uVar1 = *(ushort *)(pStmt + 0x90);
  if ((uint)uVar1 <= (uint)N) {
    return (void *)0x0;
  }
  iVar3 = *(int *)pStmt;
  if (*(int *)(iVar3 + 0xc) != 0) {
    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();
  }
  pvVar2 = (*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28));
  if (*(char *)(iVar3 + 0x51) != '\0') {
    if (*(int *)(iVar3 + 0xb4) != 0) {
      iVar3 = *(int *)(iVar3 + 0xc);
      pvVar2 = (void *)0x0;
      goto joined_r0x0006f030;
    }
    *(undefined1 *)(iVar3 + 0x51) = 0;
    *(undefined4 *)(iVar3 + 0x110) = 0;
    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;
    pvVar2 = (void *)0x0;
  }
  iVar3 = *(int *)(iVar3 + 0xc);
joined_r0x0006f030:
  if (iVar3 != 0) {
    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();
  }
  return pvVar2;
}



undefined4 FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)

{
  ushort uVar1;
  undefined4 uVar2;
  int iVar3;
  
  uVar1 = *(ushort *)(param_1 + 0x24);
  if (uVar1 <= param_2) {
    return 0;
  }
  iVar3 = *param_1;
  if (*(int *)(iVar3 + 0xc) != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb1c))();
  }
  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);
  if (*(char *)(iVar3 + 0x51) != '\0') {
    if (*(int *)(iVar3 + 0xb4) != 0) {
      iVar3 = *(int *)(iVar3 + 0xc);
      uVar2 = 0;
      goto joined_r0x0006f030;
    }
    *(undefined1 *)(iVar3 + 0x51) = 0;
    *(undefined4 *)(iVar3 + 0x110) = 0;
    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;
    uVar2 = 0;
  }
  iVar3 = *(int *)(iVar3 + 0xc);
joined_r0x0006f030:
  if (iVar3 != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb14))();
  }
  return uVar2;
}


lui gp,0x13
addiu gp,gp,-0x6660
addu gp,gp,t9
lhu v0,0x90(a0)
sltu v1,a1,v0
beq v1,zero,0x0006f06c
_nop
addiu sp,sp,-0x38
mul v1,v0,a3
sw s3,0x30(sp)
or s3,a2,zero
sw s1,0x28(sp)
or s1,a0,zero
sw s0,0x24(sp)
sw gp,0x10(sp)
sw ra,0x34(sp)
sw s2,0x2c(sp)
lw s2,0x0(a0)
lw a0,0xc(s2)
beq a0,zero,0x0006efe4
_addu s0,v1,a1
lw v0,-0x7fd8(gp)
lw t9,-0xb1c(v0)
jalr t9
_nop
sll v0,s0,0x2
lw a0,0x74(s1)
or t9,s3,zero
addu v0,v0,s0
sll v0,v0,0x3
jalr t9
_addu a0,a0,v0
lbu v1,0x51(s2)
beq v1,zero,0x0006f02c
_lw gp,0x10(sp)
lw v0,0xb4(s2)
bne v0,zero,0x0006f074
_nop
lw v1,0x118(s2)
sb zero,0x51(s2)
sw zero,0x110(s2)
addiu v1,v1,-0x1
sw v1,0x118(s2)
lw a0,0xc(s2)
beq a0,zero,0x0006f054
_lw ra,0x34(sp)
lw v1,-0x7fd8(gp)
sw v0,0x1c(sp)
lw t9,-0xb14(v1)
jalr t9
_nop
lw v0,0x1c(sp)
lw ra,0x34(sp)
lw s3,0x30(sp)
lw s2,0x2c(sp)
lw s1,0x28(sp)
lw s0,0x24(sp)
jr ra
_addiu sp,sp,0x38
jr ra
_or v0,zero,zero
lw a0,0xc(s2)
bne a0,zero,0x0006f038
_or v0,zero,zero
b 0x0006f054
_lw ra,0x34(sp)
(translation_unit "undefined4 FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)" identifier (parameter_list "(int *param_1,uint param_2,code *param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *(ushort *)(param_1 + 0x24);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 0x24)" identifier = (pointer_expression "*(ushort *)(param_1 + 0x24)" * (cast_expression "(ushort *)(param_1 + 0x24)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 <= param_2) {\n    return 0;\n  }" if (parenthesized_expression "(uVar1 <= param_2)" ( (binary_expression "uVar1 <= param_2" identifier <= identifier) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar3 + 0xc) != 0" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb1c)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb1c)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb1c)" ( (binary_expression "PTR_DAT_00190948 + -0xb1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);" (assignment_expression "uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" identifier = (call_expression "(*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" ( (binary_expression "param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) + (binary_expression "((uint)uVar1 * param_4 + param_2) * 0x28" (parenthesized_expression "((uint)uVar1 * param_4 + param_2)" ( (binary_expression "(uint)uVar1 * param_4 + param_2" (binary_expression "(uint)uVar1 * param_4" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * identifier) + identifier) )) * number_literal)) )))) ;) (if_statement "if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }" if (parenthesized_expression "(*(char *)(iVar3 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x51)" * (cast_expression "(char *)(iVar3 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x51)" ( (binary_expression "iVar3 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }" { (if_statement "if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0)" ( (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" * (cast_expression "(int *)(iVar3 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb4)" ( (binary_expression "iVar3 + 0xb4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }" { (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0006f030;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)(iVar3 + 0x51) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + 0x51) = 0" (pointer_expression "*(undefined1 *)(iVar3 + 0x51)" * (cast_expression "(undefined1 *)(iVar3 + 0x51)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x51)" ( (binary_expression "iVar3 + 0x51" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x110) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x110) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x110)" * (cast_expression "(undefined4 *)(iVar3 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x110)" ( (binary_expression "iVar3 + 0x110" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;" (assignment_expression "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" * (cast_expression "(int *)(iVar3 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x118)" ( (binary_expression "iVar3 + 0x118" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" * (cast_expression "(int *)(iVar3 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x118)" ( (binary_expression "iVar3 + 0x118" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" statement_identifier : (if_statement "if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb14)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb14)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb14)" ( (binary_expression "PTR_DAT_00190948 + -0xb14" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "void * columnName(sqlite3_stmt *pStmt,int N,_func_void_ptr_Mem_ptr *xFunc,int useType)\n\n{\n  ushort uVar1;\n  void *pvVar2;\n  Vdbe *p;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(pStmt + 0x90);\n  if ((uint)uVar1 <= (uint)N) {\n    return (void *)0x0;\n  }\n  iVar3 = *(int *)pStmt;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }\n  pvVar2 = (*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28));\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    pvVar2 = (void *)0x0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }\n  return pvVar2;\n}\n\n" (function_definition "void * columnName(sqlite3_stmt *pStmt,int N,_func_void_ptr_Mem_ptr *xFunc,int useType)\n\n{\n  ushort uVar1;\n  void *pvVar2;\n  Vdbe *p;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(pStmt + 0x90);\n  if ((uint)uVar1 <= (uint)N) {\n    return (void *)0x0;\n  }\n  iVar3 = *(int *)pStmt;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }\n  pvVar2 = (*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28));\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    pvVar2 = (void *)0x0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }\n  return pvVar2;\n}" primitive_type (pointer_declarator "* columnName(sqlite3_stmt *pStmt,int N,_func_void_ptr_Mem_ptr *xFunc,int useType)" * (function_declarator "columnName(sqlite3_stmt *pStmt,int N,_func_void_ptr_Mem_ptr *xFunc,int useType)" identifier (parameter_list "(sqlite3_stmt *pStmt,int N,_func_void_ptr_Mem_ptr *xFunc,int useType)" ( (parameter_declaration "sqlite3_stmt *pStmt" type_identifier (pointer_declarator "*pStmt" * identifier)) , (parameter_declaration "int N" primitive_type identifier) , (parameter_declaration "_func_void_ptr_Mem_ptr *xFunc" type_identifier (pointer_declarator "*xFunc" * identifier)) , (parameter_declaration "int useType" primitive_type identifier) )))) (compound_statement "{\n  ushort uVar1;\n  void *pvVar2;\n  Vdbe *p;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(pStmt + 0x90);\n  if ((uint)uVar1 <= (uint)N) {\n    return (void *)0x0;\n  }\n  iVar3 = *(int *)pStmt;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }\n  pvVar2 = (*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28));\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    pvVar2 = (void *)0x0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }\n  return pvVar2;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "void *pvVar2;" primitive_type (pointer_declarator "*pvVar2" * identifier) ;) (declaration "Vdbe *p;" type_identifier (pointer_declarator "*p" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *(ushort *)(pStmt + 0x90);" (assignment_expression "uVar1 = *(ushort *)(pStmt + 0x90)" identifier = (pointer_expression "*(ushort *)(pStmt + 0x90)" * (cast_expression "(ushort *)(pStmt + 0x90)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pStmt + 0x90)" ( (binary_expression "pStmt + 0x90" identifier + number_literal) ))))) ;) (if_statement "if ((uint)uVar1 <= (uint)N) {\n    return (void *)0x0;\n  }" if (parenthesized_expression "((uint)uVar1 <= (uint)N)" ( (binary_expression "(uint)uVar1 <= (uint)N" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) <= (cast_expression "(uint)N" ( (type_descriptor "uint" type_identifier) ) identifier)) )) (compound_statement "{\n    return (void *)0x0;\n  }" { (return_statement "return (void *)0x0;" return (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ;) })) (expression_statement "iVar3 = *(int *)pStmt;" (assignment_expression "iVar3 = *(int *)pStmt" identifier = (pointer_expression "*(int *)pStmt" * (cast_expression "(int *)pStmt" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar3 + 0xc) != 0" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();\n  }" { (expression_statement "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c))" ( (pointer_expression "**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" * (pointer_expression "*(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" * (cast_expression "(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0xb1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "pvVar2 = (*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28));" (assignment_expression "pvVar2 = (*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28))" identifier = (call_expression "(*xFunc)((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28))" (parenthesized_expression "(*xFunc)" ( (pointer_expression "*xFunc" * identifier) )) (argument_list "((Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28))" ( (cast_expression "(Mem *)(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28)" ( (type_descriptor "Mem *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28)" ( (binary_expression "*(int *)(pStmt + 0x74) + ((uint)uVar1 * useType + N) * 0x28" (pointer_expression "*(int *)(pStmt + 0x74)" * (cast_expression "(int *)(pStmt + 0x74)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pStmt + 0x74)" ( (binary_expression "pStmt + 0x74" identifier + number_literal) )))) + (binary_expression "((uint)uVar1 * useType + N) * 0x28" (parenthesized_expression "((uint)uVar1 * useType + N)" ( (binary_expression "(uint)uVar1 * useType + N" (binary_expression "(uint)uVar1 * useType" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * identifier) + identifier) )) * number_literal)) ))) )))) ;) (if_statement "if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    pvVar2 = (void *)0x0;\n  }" if (parenthesized_expression "(*(char *)(iVar3 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x51)" * (cast_expression "(char *)(iVar3 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x51)" ( (binary_expression "iVar3 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    pvVar2 = (void *)0x0;\n  }" { (if_statement "if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0)" ( (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" * (cast_expression "(int *)(iVar3 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb4)" ( (binary_expression "iVar3 + 0xb4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(iVar3 + 0xc);\n      pvVar2 = (void *)0x0;\n      goto joined_r0x0006f030;\n    }" { (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "pvVar2 = (void *)0x0;" (assignment_expression "pvVar2 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto joined_r0x0006f030;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)(iVar3 + 0x51) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + 0x51) = 0" (pointer_expression "*(undefined1 *)(iVar3 + 0x51)" * (cast_expression "(undefined1 *)(iVar3 + 0x51)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x51)" ( (binary_expression "iVar3 + 0x51" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x110) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x110) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x110)" * (cast_expression "(undefined4 *)(iVar3 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x110)" ( (binary_expression "iVar3 + 0x110" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;" (assignment_expression "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" * (cast_expression "(int *)(iVar3 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x118)" ( (binary_expression "iVar3 + 0x118" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" * (cast_expression "(int *)(iVar3 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x118)" ( (binary_expression "iVar3 + 0x118" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "pvVar2 = (void *)0x0;" (assignment_expression "pvVar2 = (void *)0x0" identifier = (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }" statement_identifier : (if_statement "if (iVar3 != 0) {\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();\n  }" { (expression_statement "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14))" ( (pointer_expression "**(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" * (pointer_expression "*(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" * (cast_expression "(code **)(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14)" ( (binary_expression "PTR_aBuiltinFunc_29540_1408__00190948 + -0xb14" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (return_statement "return pvVar2;" return identifier ;) })))
(translation_unit "undefined4 FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}" type_identifier (function_declarator "FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)" identifier (parameter_list "(int *param_1,uint param_2,code *param_3,int param_4)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) , (parameter_declaration "code *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "int param_4" primitive_type identifier) ))) (compound_statement "{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}" { (declaration "ushort uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "uVar1 = *(ushort *)(param_1 + 0x24);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 0x24)" identifier = (pointer_expression "*(ushort *)(param_1 + 0x24)" * (cast_expression "(ushort *)(param_1 + 0x24)" ( (type_descriptor "ushort *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x24)" ( (binary_expression "param_1 + 0x24" identifier + number_literal) ))))) ;) (if_statement "if (uVar1 <= param_2) {\n    return 0;\n  }" if (parenthesized_expression "(uVar1 <= param_2)" ( (binary_expression "uVar1 <= param_2" identifier <= identifier) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (if_statement "if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" if (parenthesized_expression "(*(int *)(iVar3 + 0xc) != 0)" ( (binary_expression "*(int *)(iVar3 + 0xc) != 0" (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb1c)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb1c)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb1c)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb1c)" ( (binary_expression "PTR_DAT_00190948 + -0xb1c" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);" (assignment_expression "uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" identifier = (call_expression "(*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" (parenthesized_expression "(*param_3)" ( (pointer_expression "*param_3" * identifier) )) (argument_list "(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" ( (binary_expression "param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28" (subscript_expression "param_1[0x1d]" identifier [ number_literal ]) + (binary_expression "((uint)uVar1 * param_4 + param_2) * 0x28" (parenthesized_expression "((uint)uVar1 * param_4 + param_2)" ( (binary_expression "(uint)uVar1 * param_4 + param_2" (binary_expression "(uint)uVar1 * param_4" (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier) * identifier) + identifier) )) * number_literal)) )))) ;) (if_statement "if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }" if (parenthesized_expression "(*(char *)(iVar3 + 0x51) != '\0')" ( (binary_expression "*(char *)(iVar3 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x51)" * (cast_expression "(char *)(iVar3 + 0x51)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x51)" ( (binary_expression "iVar3 + 0x51" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }" { (if_statement "if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }" if (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0)" ( (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" * (cast_expression "(int *)(iVar3 + 0xb4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xb4)" ( (binary_expression "iVar3 + 0xb4" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }" { (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (goto_statement "goto joined_r0x0006f030;" goto statement_identifier ;) })) (expression_statement "*(undefined1 *)(iVar3 + 0x51) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + 0x51) = 0" (pointer_expression "*(undefined1 *)(iVar3 + 0x51)" * (cast_expression "(undefined1 *)(iVar3 + 0x51)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x51)" ( (binary_expression "iVar3 + 0x51" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x110) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x110) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x110)" * (cast_expression "(undefined4 *)(iVar3 + 0x110)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x110)" ( (binary_expression "iVar3 + 0x110" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;" (assignment_expression "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" * (cast_expression "(int *)(iVar3 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x118)" ( (binary_expression "iVar3 + 0x118" identifier + number_literal) )))) = (binary_expression "*(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" * (cast_expression "(int *)(iVar3 + 0x118)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x118)" ( (binary_expression "iVar3 + 0x118" identifier + number_literal) )))) + number_literal)) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) })) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" identifier = (pointer_expression "*(int *)(iVar3 + 0xc)" * (cast_expression "(int *)(iVar3 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0xc)" ( (binary_expression "iVar3 + 0xc" identifier + number_literal) ))))) ;) (labeled_statement "joined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" statement_identifier : (if_statement "if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" if (parenthesized_expression "(iVar3 != 0)" ( (binary_expression "iVar3 != 0" identifier != number_literal) )) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" { (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))" ( (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb14)" * (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb14)" * (cast_expression "(code **)(PTR_DAT_00190948 + -0xb14)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(PTR_DAT_00190948 + -0xb14)" ( (binary_expression "PTR_DAT_00190948 + -0xb14" identifier + number_literal) ))))) )) (argument_list "()" ( ))) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= IDENT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression (subscript_expression IDENT [ LIT ]) + (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) + IDENT) )) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)\n\n{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (function_declarator "FUN_0006ef80(int *param_1,uint param_2,code *param_3,int param_4)" (identifier "FUN_0006ef80") (parameter_list "(int *param_1,uint param_2,code *param_3,int param_4)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) (, ",") (parameter_declaration "code *param_3" (type_identifier "code") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "int param_4" (primitive_type "int") (identifier "param_4")) () ")"))) (compound_statement "{\n  ushort uVar1;\n  undefined4 uVar2;\n  int iVar3;\n  \n  uVar1 = *(ushort *)(param_1 + 0x24);\n  if (uVar1 <= param_2) {\n    return 0;\n  }\n  iVar3 = *param_1;\n  if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }\n  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);\n  if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }\n  iVar3 = *(int *)(iVar3 + 0xc);\njoined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }\n  return uVar2;\n}" ({ "{") (declaration "ushort uVar1;" (type_identifier "ushort") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "uVar1 = *(ushort *)(param_1 + 0x24);" (assignment_expression "uVar1 = *(ushort *)(param_1 + 0x24)" (identifier "uVar1") (= "=") (pointer_expression "*(ushort *)(param_1 + 0x24)" (* "*") (cast_expression "(ushort *)(param_1 + 0x24)" (( "(") (type_descriptor "ushort *" (type_identifier "ushort") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x24)" (( "(") (binary_expression "param_1 + 0x24" (identifier "param_1") (+ "+") (number_literal "0x24")) () ")"))))) (; ";")) (if_statement "if (uVar1 <= param_2) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(uVar1 <= param_2)" (( "(") (binary_expression "uVar1 <= param_2" (identifier "uVar1") (<= "<=") (identifier "param_2")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "iVar3 = *param_1;" (assignment_expression "iVar3 = *param_1" (identifier "iVar3") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0xc) != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0xc) != 0" (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb1c))();\n  }" ({ "{") (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb1c))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb1c))" (( "(") (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb1c)" (* "*") (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb1c)" (* "*") (cast_expression "(code **)(PTR_DAT_00190948 + -0xb1c)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0xb1c)" (( "(") (binary_expression "PTR_DAT_00190948 + -0xb1c" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0xb1c")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);" (assignment_expression "uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" (identifier "uVar2") (= "=") (call_expression "(*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" (parenthesized_expression "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")")) (argument_list "(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28)" (( "(") (binary_expression "param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28" (subscript_expression "param_1[0x1d]" (identifier "param_1") ([ "[") (number_literal "0x1d") (] "]")) (+ "+") (binary_expression "((uint)uVar1 * param_4 + param_2) * 0x28" (parenthesized_expression "((uint)uVar1 * param_4 + param_2)" (( "(") (binary_expression "(uint)uVar1 * param_4 + param_2" (binary_expression "(uint)uVar1 * param_4" (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1")) (* "*") (identifier "param_4")) (+ "+") (identifier "param_2")) () ")")) (* "*") (number_literal "0x28"))) () ")")))) (; ";")) (if_statement "if (*(char *)(iVar3 + 0x51) != '\0') {\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }" (if "if") (parenthesized_expression "(*(char *)(iVar3 + 0x51) != '\0')" (( "(") (binary_expression "*(char *)(iVar3 + 0x51) != '\0'" (pointer_expression "*(char *)(iVar3 + 0x51)" (* "*") (cast_expression "(char *)(iVar3 + 0x51)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x51)" (( "(") (binary_expression "iVar3 + 0x51" (identifier "iVar3") (+ "+") (number_literal "0x51")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }\n    *(undefined1 *)(iVar3 + 0x51) = 0;\n    *(undefined4 *)(iVar3 + 0x110) = 0;\n    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;\n    uVar2 = 0;\n  }" ({ "{") (if_statement "if (*(int *)(iVar3 + 0xb4) != 0) {\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0xb4) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0xb4) != 0" (pointer_expression "*(int *)(iVar3 + 0xb4)" (* "*") (cast_expression "(int *)(iVar3 + 0xb4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xb4)" (( "(") (binary_expression "iVar3 + 0xb4" (identifier "iVar3") (+ "+") (number_literal "0xb4")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = *(int *)(iVar3 + 0xc);\n      uVar2 = 0;\n      goto joined_r0x0006f030;\n    }" ({ "{") (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto joined_r0x0006f030;" (goto "goto") (statement_identifier "joined_r0x0006f030") (; ";")) (} "}"))) (expression_statement "*(undefined1 *)(iVar3 + 0x51) = 0;" (assignment_expression "*(undefined1 *)(iVar3 + 0x51) = 0" (pointer_expression "*(undefined1 *)(iVar3 + 0x51)" (* "*") (cast_expression "(undefined1 *)(iVar3 + 0x51)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x51)" (( "(") (binary_expression "iVar3 + 0x51" (identifier "iVar3") (+ "+") (number_literal "0x51")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x110) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x110) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x110)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x110)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x110)" (( "(") (binary_expression "iVar3 + 0x110" (identifier "iVar3") (+ "+") (number_literal "0x110")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;" (assignment_expression "*(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" (* "*") (cast_expression "(int *)(iVar3 + 0x118)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x118)" (( "(") (binary_expression "iVar3 + 0x118" (identifier "iVar3") (+ "+") (number_literal "0x118")) () ")")))) (= "=") (binary_expression "*(int *)(iVar3 + 0x118) + -1" (pointer_expression "*(int *)(iVar3 + 0x118)" (* "*") (cast_expression "(int *)(iVar3 + 0x118)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x118)" (( "(") (binary_expression "iVar3 + 0x118" (identifier "iVar3") (+ "+") (number_literal "0x118")) () ")")))) (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar3 = *(int *)(iVar3 + 0xc);" (assignment_expression "iVar3 = *(int *)(iVar3 + 0xc)" (identifier "iVar3") (= "=") (pointer_expression "*(int *)(iVar3 + 0xc)" (* "*") (cast_expression "(int *)(iVar3 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0xc)" (( "(") (binary_expression "iVar3 + 0xc" (identifier "iVar3") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (labeled_statement "joined_r0x0006f030:\n  if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" (statement_identifier "joined_r0x0006f030") (: ":") (if_statement "if (iVar3 != 0) {\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" (if "if") (parenthesized_expression "(iVar3 != 0)" (( "(") (binary_expression "iVar3 != 0" (identifier "iVar3") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (**(code **)(PTR_DAT_00190948 + -0xb14))();\n  }" ({ "{") (expression_statement "(**(code **)(PTR_DAT_00190948 + -0xb14))();" (call_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))()" (parenthesized_expression "(**(code **)(PTR_DAT_00190948 + -0xb14))" (( "(") (pointer_expression "**(code **)(PTR_DAT_00190948 + -0xb14)" (* "*") (pointer_expression "*(code **)(PTR_DAT_00190948 + -0xb14)" (* "*") (cast_expression "(code **)(PTR_DAT_00190948 + -0xb14)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(PTR_DAT_00190948 + -0xb14)" (( "(") (binary_expression "PTR_DAT_00190948 + -0xb14" (identifier "PTR_DAT_00190948") (+ "+") (number_literal "-0xb14")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

void * function_1(type_1 *var_1,int var_5,type_2 *xFunc,int var_4)

{
  type_3 uVar1;
  void *pvVar2;
  type_4 *p;
  int var_2;
  
  uVar1 = *(type_3 *)(var_1 + 0x90);
  if ((type_5)uVar1 <= (type_5)var_5) {
    return (void *)0x0;
  }
  var_2 = *(int *)var_1;
  if (*(int *)(var_2 + 0xc) != 0) {
    (**(type_6 **)(var_3 + -0xb1c))();
  }
  pvVar2 = (*xFunc)((type_7 *)(*(int *)(var_1 + 0x74) + ((type_5)uVar1 * var_4 + var_5) * 0x28));
  if (*(char *)(var_2 + 0x51) != '\0') {
    if (*(int *)(var_2 + 0xb4) != 0) {
      var_2 = *(int *)(var_2 + 0xc);
      pvVar2 = (void *)0x0;
      goto joined_r0x0006f030;
    }
    *(type_8 *)(var_2 + 0x51) = 0;
    *(type_9 *)(var_2 + 0x110) = 0;
    *(int *)(var_2 + 0x118) = *(int *)(var_2 + 0x118) + -1;
    pvVar2 = (void *)0x0;
  }
  var_2 = *(int *)(var_2 + 0xc);
joined_r0x0006f030:
  if (var_2 != 0) {
    (**(type_6 **)(var_3 + -0xb14))();
  }
  return pvVar2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (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 (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier)) right: (identifier))) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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)))))) (return_statement (identifier)))))

undefined4 MASKED(int *param_1,uint param_2,code *param_3,int param_4)

{
  ushort uVar1;
  undefined4 uVar2;
  int iVar3;
  
  uVar1 = *(ushort *)(param_1 + 0x24);
  if (uVar1 <= param_2) {
    return 0;
  }
  iVar3 = *param_1;
  if (*(int *)(iVar3 + 0xc) != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb1c))();
  }
  uVar2 = (*param_3)(param_1[0x1d] + ((uint)uVar1 * param_4 + param_2) * 0x28);
  if (*(char *)(iVar3 + 0x51) != '\0') {
    if (*(int *)(iVar3 + 0xb4) != 0) {
      iVar3 = *(int *)(iVar3 + 0xc);
      uVar2 = 0;
      goto joined_r0x0006f030;
    }
    *(undefined1 *)(iVar3 + 0x51) = 0;
    *(undefined4 *)(iVar3 + 0x110) = 0;
    *(int *)(iVar3 + 0x118) = *(int *)(iVar3 + 0x118) + -1;
    uVar2 = 0;
  }
  iVar3 = *(int *)(iVar3 + 0xc);
joined_r0x0006f030:
  if (iVar3 != 0) {
    (**(code **)(PTR_DAT_00190948 + -0xb14))();
  }
  return uVar2;
}

