
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int statColumn(sqlite3_vtab_cursor *pCursor,sqlite3_context *ctx,int i)

{
  sqlite3 *psVar1;
  
  switch(i) {
  case 0:
    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);
    break;
  case 1:
    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);
    break;
  case 2:
    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));
    break;
  case 3:
    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);
    break;
  case 4:
    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);
    break;
  case 5:
    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);
    break;
  case 6:
    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);
    break;
  case 7:
    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);
    break;
  case 8:
    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));
    break;
  case 9:
    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);
    break;
  default:
    psVar1 = sqlite3_context_db_handle(ctx);
    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,
                        (_func_void_void_ptr *)0x0);
  }
  return 0;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

undefined4 FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)

{
  int iVar1;
  
  switch(param_3) {
  case 0:
    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);
    break;
  case 1:
    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);
    break;
  case 2:
    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);
    break;
  case 3:
    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);
    break;
  case 4:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));
    break;
  case 5:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));
    break;
  case 6:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));
    break;
  case 7:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));
    break;
  case 8:
    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));
    break;
  case 9:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));
    break;
  default:
    iVar1 = FUN_0001d2d0(param_2);
    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),
                 0xffffffff,0);
  }
  return 0;
}


PUSH ESI
PUSH EBX
CALL 0x00014d20
ADD EBX,0x102dad
SUB ESP,0x4
MOV EAX,dword ptr [ESP + 0x18]
MOV ESI,dword ptr [ESP + 0x14]
CMP EAX,0x9
JA 0x00048290
MOV ECX,dword ptr [EBX + EAX*0x4 + 0xfffb19d4]
ADD ECX,EBX
JMP ECX
ADD ESP,0x4
XOR EAX,EAX
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH ESI
CALL 0x0001d2d0
PUSH 0x0
PUSH -0x1
MOV EDX,dword ptr [ESP + 0x28]
MOV EDX,dword ptr [EDX + 0xc]
SHL EDX,0x4
ADD EDX,dword ptr [EAX + 0x10]
PUSH dword ptr [EDX]
PUSH ESI
CALL 0x00047c90
ADD ESP,0x20
JMP 0x0004816c
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (switch_statement "switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }" switch (parenthesized_expression "(param_3)" ( identifier )) (compound_statement "{\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }" { (case_statement "case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;" case number_literal : (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x514)" * (cast_expression "(undefined4 *)(param_1 + 0x514)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x514)" ( (binary_expression "param_1 + 0x514" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;" case number_literal : (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x518)" * (cast_expression "(undefined4 *)(param_1 + 0x518)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x518)" ( (binary_expression "param_1 + 0x518" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;" case number_literal : (expression_statement "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);" (call_expression "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x51c),0)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x51c)" * (cast_expression "(undefined4 *)(param_1 + 0x51c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x51c)" ( (binary_expression "param_1 + 0x51c" identifier + number_literal) )))) , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;" case number_literal : (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x520)" * (cast_expression "(undefined4 *)(param_1 + 0x520)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x520)" ( (binary_expression "param_1 + 0x520" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x524))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x524)" * (cast_expression "(undefined4 *)(param_1 + 0x524)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x524)" ( (binary_expression "param_1 + 0x524" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x528))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x528)" * (cast_expression "(undefined4 *)(param_1 + 0x528)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x528)" ( (binary_expression "param_1 + 0x528" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x52c))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x52c)" * (cast_expression "(undefined4 *)(param_1 + 0x52c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x52c)" ( (binary_expression "param_1 + 0x52c" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x530))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x530)" * (cast_expression "(undefined4 *)(param_1 + 0x530)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x530)" ( (binary_expression "param_1 + 0x530" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;" case number_literal : (expression_statement "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));" (call_expression "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x534)" * (cast_expression "(undefined4 *)(param_1 + 0x534)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x534)" ( (binary_expression "param_1 + 0x534" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x538)" * (cast_expression "(undefined4 *)(param_1 + 0x538)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x538)" ( (binary_expression "param_1 + 0x538" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x53c))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x53c)" * (cast_expression "(undefined4 *)(param_1 + 0x53c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x53c)" ( (binary_expression "param_1 + 0x53c" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);" default : (expression_statement "iVar1 = FUN_0001d2d0(param_2);" (assignment_expression "iVar1 = FUN_0001d2d0(param_2)" identifier = (call_expression "FUN_0001d2d0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0)" identifier (argument_list "(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0)" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" ( (binary_expression "*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)" (binary_expression "*(int *)(param_1 + 0xc) * 0x10" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) * number_literal) + (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) )))) , number_literal , number_literal ))) ;)) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nint statColumn(sqlite3_vtab_cursor *pCursor,sqlite3_context *ctx,int i)\n\n{\n  sqlite3 *psVar1;\n  \n  switch(i) {\n  case 0:\n    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 1:\n    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 2:\n    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));\n    break;\n  case 3:\n    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);\n    break;\n  case 4:\n    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);\n    break;\n  case 5:\n    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);\n    break;\n  case 6:\n    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);\n    break;\n  case 7:\n    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);\n    break;\n  case 8:\n    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));\n    break;\n  case 9:\n    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);\n    break;\n  default:\n    psVar1 = sqlite3_context_db_handle(ctx);\n    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);\n  }\n  return 0;\n}\n\n" comment comment (function_definition "int statColumn(sqlite3_vtab_cursor *pCursor,sqlite3_context *ctx,int i)\n\n{\n  sqlite3 *psVar1;\n  \n  switch(i) {\n  case 0:\n    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 1:\n    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 2:\n    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));\n    break;\n  case 3:\n    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);\n    break;\n  case 4:\n    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);\n    break;\n  case 5:\n    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);\n    break;\n  case 6:\n    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);\n    break;\n  case 7:\n    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);\n    break;\n  case 8:\n    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));\n    break;\n  case 9:\n    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);\n    break;\n  default:\n    psVar1 = sqlite3_context_db_handle(ctx);\n    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);\n  }\n  return 0;\n}" primitive_type (function_declarator "statColumn(sqlite3_vtab_cursor *pCursor,sqlite3_context *ctx,int i)" identifier (parameter_list "(sqlite3_vtab_cursor *pCursor,sqlite3_context *ctx,int i)" ( (parameter_declaration "sqlite3_vtab_cursor *pCursor" type_identifier (pointer_declarator "*pCursor" * identifier)) , (parameter_declaration "sqlite3_context *ctx" type_identifier (pointer_declarator "*ctx" * identifier)) , (parameter_declaration "int i" primitive_type identifier) ))) (compound_statement "{\n  sqlite3 *psVar1;\n  \n  switch(i) {\n  case 0:\n    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 1:\n    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 2:\n    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));\n    break;\n  case 3:\n    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);\n    break;\n  case 4:\n    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);\n    break;\n  case 5:\n    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);\n    break;\n  case 6:\n    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);\n    break;\n  case 7:\n    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);\n    break;\n  case 8:\n    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));\n    break;\n  case 9:\n    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);\n    break;\n  default:\n    psVar1 = sqlite3_context_db_handle(ctx);\n    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);\n  }\n  return 0;\n}" { (declaration "sqlite3 *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (switch_statement "switch(i) {\n  case 0:\n    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 1:\n    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 2:\n    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));\n    break;\n  case 3:\n    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);\n    break;\n  case 4:\n    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);\n    break;\n  case 5:\n    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);\n    break;\n  case 6:\n    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);\n    break;\n  case 7:\n    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);\n    break;\n  case 8:\n    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));\n    break;\n  case 9:\n    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);\n    break;\n  default:\n    psVar1 = sqlite3_context_db_handle(ctx);\n    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);\n  }" switch (parenthesized_expression "(i)" ( identifier )) (compound_statement "{\n  case 0:\n    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 1:\n    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;\n  case 2:\n    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));\n    break;\n  case 3:\n    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);\n    break;\n  case 4:\n    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);\n    break;\n  case 5:\n    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);\n    break;\n  case 6:\n    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);\n    break;\n  case 7:\n    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);\n    break;\n  case 8:\n    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));\n    break;\n  case 9:\n    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);\n    break;\n  default:\n    psVar1 = sqlite3_context_db_handle(ctx);\n    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);\n  }" { (case_statement "case 0:\n    sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;" case number_literal : (expression_statement "sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);" (call_expression "sqlite3_result_text(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff)" identifier (argument_list "(ctx,(char *)pCursor[0x145].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff)" ( identifier , (cast_expression "(char *)pCursor[0x145].pVtab" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pCursor[0x145].pVtab" (subscript_expression "pCursor[0x145]" identifier [ number_literal ]) . field_identifier)) , number_literal , (cast_expression "(_func_void_void_ptr *)&DAT_ffffffff" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_ffffffff" & identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);\n    break;" case number_literal : (expression_statement "sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff);" (call_expression "sqlite3_result_text(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff)" identifier (argument_list "(ctx,(char *)pCursor[0x146].pVtab,-1,(_func_void_void_ptr *)&DAT_ffffffff)" ( identifier , (cast_expression "(char *)pCursor[0x146].pVtab" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pCursor[0x146].pVtab" (subscript_expression "pCursor[0x146]" identifier [ number_literal ]) . field_identifier)) , number_literal , (cast_expression "(_func_void_void_ptr *)&DAT_ffffffff" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_ffffffff" & identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));\n    break;" case number_literal : (expression_statement "sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab));" (call_expression "sqlite3_result_int64(ctx,ZEXT48(pCursor[0x147].pVtab))" identifier (argument_list "(ctx,ZEXT48(pCursor[0x147].pVtab))" ( identifier , (call_expression "ZEXT48(pCursor[0x147].pVtab)" identifier (argument_list "(pCursor[0x147].pVtab)" ( (field_expression "pCursor[0x147].pVtab" (subscript_expression "pCursor[0x147]" identifier [ number_literal ]) . field_identifier) ))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);\n    break;" case number_literal : (expression_statement "sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0);" (call_expression "sqlite3_result_text(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0)" identifier (argument_list "(ctx,(char *)pCursor[0x148].pVtab,-1,(_func_void_void_ptr *)0x0)" ( identifier , (cast_expression "(char *)pCursor[0x148].pVtab" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "pCursor[0x148].pVtab" (subscript_expression "pCursor[0x148]" identifier [ number_literal ]) . field_identifier)) , number_literal , (cast_expression "(_func_void_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (break_statement "break;" break ;)) (case_statement "case 4:\n    sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);\n    break;" case number_literal : (expression_statement "sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab);" (call_expression "sqlite3_result_int(ctx,(int)pCursor[0x149].pVtab)" identifier (argument_list "(ctx,(int)pCursor[0x149].pVtab)" ( identifier , (cast_expression "(int)pCursor[0x149].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x149].pVtab" (subscript_expression "pCursor[0x149]" identifier [ number_literal ]) . field_identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "case 5:\n    sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);\n    break;" case number_literal : (expression_statement "sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab);" (call_expression "sqlite3_result_int(ctx,(int)pCursor[0x14a].pVtab)" identifier (argument_list "(ctx,(int)pCursor[0x14a].pVtab)" ( identifier , (cast_expression "(int)pCursor[0x14a].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x14a].pVtab" (subscript_expression "pCursor[0x14a]" identifier [ number_literal ]) . field_identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);\n    break;" case number_literal : (expression_statement "sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab);" (call_expression "sqlite3_result_int(ctx,(int)pCursor[0x14b].pVtab)" identifier (argument_list "(ctx,(int)pCursor[0x14b].pVtab)" ( identifier , (cast_expression "(int)pCursor[0x14b].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x14b].pVtab" (subscript_expression "pCursor[0x14b]" identifier [ number_literal ]) . field_identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "case 7:\n    sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);\n    break;" case number_literal : (expression_statement "sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab);" (call_expression "sqlite3_result_int(ctx,(int)pCursor[0x14c].pVtab)" identifier (argument_list "(ctx,(int)pCursor[0x14c].pVtab)" ( identifier , (cast_expression "(int)pCursor[0x14c].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x14c].pVtab" (subscript_expression "pCursor[0x14c]" identifier [ number_literal ]) . field_identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "case 8:\n    sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));\n    break;" case number_literal : (expression_statement "sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d));" (call_expression "sqlite3_result_int64(ctx,*(i64 *)(pCursor + 0x14d))" identifier (argument_list "(ctx,*(i64 *)(pCursor + 0x14d))" ( identifier , (pointer_expression "*(i64 *)(pCursor + 0x14d)" * (cast_expression "(i64 *)(pCursor + 0x14d)" ( (type_descriptor "i64 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCursor + 0x14d)" ( (binary_expression "pCursor + 0x14d" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 9:\n    sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);\n    break;" case number_literal : (expression_statement "sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab);" (call_expression "sqlite3_result_int(ctx,(int)pCursor[0x14f].pVtab)" identifier (argument_list "(ctx,(int)pCursor[0x14f].pVtab)" ( identifier , (cast_expression "(int)pCursor[0x14f].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[0x14f].pVtab" (subscript_expression "pCursor[0x14f]" identifier [ number_literal ]) . field_identifier)) ))) ;) (break_statement "break;" break ;)) (case_statement "default:\n    psVar1 = sqlite3_context_db_handle(ctx);\n    sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);" default : (expression_statement "psVar1 = sqlite3_context_db_handle(ctx);" (assignment_expression "psVar1 = sqlite3_context_db_handle(ctx)" identifier = (call_expression "sqlite3_context_db_handle(ctx)" identifier (argument_list "(ctx)" ( identifier )))) ;) (expression_statement "sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0);" (call_expression "sqlite3_result_text(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0)" identifier (argument_list "(ctx,psVar1->aDb[(int)pCursor[3].pVtab].zDbSName,-1,\n                        (_func_void_void_ptr *)0x0)" ( identifier , (field_expression "psVar1->aDb[(int)pCursor[3].pVtab].zDbSName" (subscript_expression "psVar1->aDb[(int)pCursor[3].pVtab]" (field_expression "psVar1->aDb" identifier -> field_identifier) [ (cast_expression "(int)pCursor[3].pVtab" ( (type_descriptor "int" primitive_type) ) (field_expression "pCursor[3].pVtab" (subscript_expression "pCursor[3]" identifier [ number_literal ]) . field_identifier)) ]) . field_identifier) , number_literal , (cast_expression "(_func_void_void_ptr *)0x0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;)) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "undefined4 FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}" type_identifier (function_declarator "FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (switch_statement "switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }" switch (parenthesized_expression "(param_3)" ( identifier )) (compound_statement "{\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }" { (case_statement "case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;" case number_literal : (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x514)" * (cast_expression "(undefined4 *)(param_1 + 0x514)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x514)" ( (binary_expression "param_1 + 0x514" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;" case number_literal : (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x518)" * (cast_expression "(undefined4 *)(param_1 + 0x518)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x518)" ( (binary_expression "param_1 + 0x518" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;" case number_literal : (expression_statement "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);" (call_expression "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x51c),0)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x51c)" * (cast_expression "(undefined4 *)(param_1 + 0x51c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x51c)" ( (binary_expression "param_1 + 0x51c" identifier + number_literal) )))) , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;" case number_literal : (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0)" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0)" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x520)" * (cast_expression "(undefined4 *)(param_1 + 0x520)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x520)" ( (binary_expression "param_1 + 0x520" identifier + number_literal) )))) , number_literal , number_literal ))) ;) (break_statement "break;" break ;)) (case_statement "case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x524))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x524)" * (cast_expression "(undefined4 *)(param_1 + 0x524)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x524)" ( (binary_expression "param_1 + 0x524" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x528))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x528)" * (cast_expression "(undefined4 *)(param_1 + 0x528)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x528)" ( (binary_expression "param_1 + 0x528" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x52c))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x52c)" * (cast_expression "(undefined4 *)(param_1 + 0x52c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x52c)" ( (binary_expression "param_1 + 0x52c" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x530))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x530)" * (cast_expression "(undefined4 *)(param_1 + 0x530)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x530)" ( (binary_expression "param_1 + 0x530" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;" case number_literal : (expression_statement "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));" (call_expression "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x534)" * (cast_expression "(undefined4 *)(param_1 + 0x534)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x534)" ( (binary_expression "param_1 + 0x534" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(param_1 + 0x538)" * (cast_expression "(undefined4 *)(param_1 + 0x538)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x538)" ( (binary_expression "param_1 + 0x538" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;" case number_literal : (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c))" identifier (argument_list "(param_2,*(undefined4 *)(param_1 + 0x53c))" ( identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x53c)" * (cast_expression "(undefined4 *)(param_1 + 0x53c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x53c)" ( (binary_expression "param_1 + 0x53c" identifier + number_literal) )))) ))) ;) (break_statement "break;" break ;)) (case_statement "default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);" default : (expression_statement "iVar1 = FUN_0001d2d0(param_2);" (assignment_expression "iVar1 = FUN_0001d2d0(param_2)" identifier = (call_expression "FUN_0001d2d0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0)" identifier (argument_list "(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0)" ( identifier , (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" * (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" ( (binary_expression "*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)" (binary_expression "*(int *)(param_1 + 0xc) * 0x10" (pointer_expression "*(int *)(param_1 + 0xc)" * (cast_expression "(int *)(param_1 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xc)" ( (binary_expression "param_1 + 0xc" identifier + number_literal) )))) * number_literal) + (pointer_expression "*(int *)(iVar1 + 0x10)" * (cast_expression "(int *)(iVar1 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) )))) , number_literal , number_literal ))) ;)) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , LIT , LIT ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (break_statement break ;)) (case_statement case LIT : (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (break_statement break ;)) (case_statement default : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )))) , LIT , LIT ))) ;)) })) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}" (type_identifier "undefined4") (function_declarator "FUN_00048120(int param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00048120") (parameter_list "(int param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (switch_statement "switch(param_3) {\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }" (switch "switch") (parenthesized_expression "(param_3)" (( "(") (identifier "param_3") () ")")) (compound_statement "{\n  case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;\n  case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;\n  case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;\n  case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;\n  case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;\n  case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;\n  case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;\n  case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;\n  case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;\n  case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;\n  default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);\n  }" ({ "{") (case_statement "case 0:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);\n    break;" (case "case") (number_literal "0") (: ":") (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff)" (identifier "FUN_00047c90") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x514)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x514)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x514)" (( "(") (binary_expression "param_1 + 0x514" (identifier "param_1") (+ "+") (number_literal "0x514")) () ")")))) (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0xffffffff") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 1:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);\n    break;" (case "case") (number_literal "1") (: ":") (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff)" (identifier "FUN_00047c90") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x518)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x518)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x518)" (( "(") (binary_expression "param_1 + 0x518" (identifier "param_1") (+ "+") (number_literal "0x518")) () ")")))) (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0xffffffff") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 2:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);\n    break;" (case "case") (number_literal "2") (: ":") (expression_statement "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);" (call_expression "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0)" (identifier "FUN_00026850") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x51c),0)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x51c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x51c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x51c)" (( "(") (binary_expression "param_1 + 0x51c" (identifier "param_1") (+ "+") (number_literal "0x51c")) () ")")))) (, ",") (number_literal "0") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 3:\n    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);\n    break;" (case "case") (number_literal "3") (: ":") (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0)" (identifier "FUN_00047c90") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x520)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x520)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x520)" (( "(") (binary_expression "param_1 + 0x520" (identifier "param_1") (+ "+") (number_literal "0x520")) () ")")))) (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 4:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));\n    break;" (case "case") (number_literal "4") (: ":") (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524))" (identifier "FUN_00026790") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x524))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x524)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x524)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x524)" (( "(") (binary_expression "param_1 + 0x524" (identifier "param_1") (+ "+") (number_literal "0x524")) () ")")))) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 5:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));\n    break;" (case "case") (number_literal "5") (: ":") (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528))" (identifier "FUN_00026790") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x528))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x528)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x528)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x528)" (( "(") (binary_expression "param_1 + 0x528" (identifier "param_1") (+ "+") (number_literal "0x528")) () ")")))) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 6:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));\n    break;" (case "case") (number_literal "6") (: ":") (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c))" (identifier "FUN_00026790") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x52c))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x52c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x52c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x52c)" (( "(") (binary_expression "param_1 + 0x52c" (identifier "param_1") (+ "+") (number_literal "0x52c")) () ")")))) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 7:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));\n    break;" (case "case") (number_literal "7") (: ":") (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530))" (identifier "FUN_00026790") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x530))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x530)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x530)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x530)" (( "(") (binary_expression "param_1 + 0x530" (identifier "param_1") (+ "+") (number_literal "0x530")) () ")")))) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 8:\n    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));\n    break;" (case "case") (number_literal "8") (: ":") (expression_statement "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));" (call_expression "FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538))" (identifier "FUN_00026850") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x534)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x534)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x534)" (( "(") (binary_expression "param_1 + 0x534" (identifier "param_1") (+ "+") (number_literal "0x534")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x538)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x538)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x538)" (( "(") (binary_expression "param_1 + 0x538" (identifier "param_1") (+ "+") (number_literal "0x538")) () ")")))) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "case 9:\n    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));\n    break;" (case "case") (number_literal "9") (: ":") (expression_statement "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));" (call_expression "FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c))" (identifier "FUN_00026790") (argument_list "(param_2,*(undefined4 *)(param_1 + 0x53c))" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x53c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x53c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x53c)" (( "(") (binary_expression "param_1 + 0x53c" (identifier "param_1") (+ "+") (number_literal "0x53c")) () ")")))) () ")"))) (; ";")) (break_statement "break;" (break "break") (; ";"))) (case_statement "default:\n    iVar1 = FUN_0001d2d0(param_2);\n    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);" (default "default") (: ":") (expression_statement "iVar1 = FUN_0001d2d0(param_2);" (assignment_expression "iVar1 = FUN_0001d2d0(param_2)" (identifier "iVar1") (= "=") (call_expression "FUN_0001d2d0(param_2)" (identifier "FUN_0001d2d0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0);" (call_expression "FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0)" (identifier "FUN_00047c90") (argument_list "(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),\n                 0xffffffff,0)" (( "(") (identifier "param_2") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10))" (( "(") (binary_expression "*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)" (binary_expression "*(int *)(param_1 + 0xc) * 0x10" (pointer_expression "*(int *)(param_1 + 0xc)" (* "*") (cast_expression "(int *)(param_1 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xc)" (( "(") (binary_expression "param_1 + 0xc" (identifier "param_1") (+ "+") (number_literal "0xc")) () ")")))) (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*(int *)(iVar1 + 0x10)" (* "*") (cast_expression "(int *)(iVar1 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) () ")")))) (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0") () ")"))) (; ";"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

int function_1(type_1 *var_5,type_2 *ctx,int i)

{
  type_3 *psVar1;
  
  switch(i) {
  case 0:
    var_1(ctx,(char *)var_5[0x145].pVtab,-1,(type_4 *)&DAT_ffffffff);
    break;
  case 1:
    var_1(ctx,(char *)var_5[0x146].pVtab,-1,(type_4 *)&DAT_ffffffff);
    break;
  case 2:
    var_2(ctx,var_3(var_5[0x147].pVtab));
    break;
  case 3:
    var_1(ctx,(char *)var_5[0x148].pVtab,-1,(type_4 *)0x0);
    break;
  case 4:
    var_4(ctx,(int)var_5[0x149].pVtab);
    break;
  case 5:
    var_4(ctx,(int)var_5[0x14a].pVtab);
    break;
  case 6:
    var_4(ctx,(int)var_5[0x14b].pVtab);
    break;
  case 7:
    var_4(ctx,(int)var_5[0x14c].pVtab);
    break;
  case 8:
    var_2(ctx,*(type_5 *)(var_5 + 0x14d));
    break;
  case 9:
    var_4(ctx,(int)var_5[0x14f].pVtab);
    break;
  default:
    psVar1 = var_6(ctx);
    var_1(ctx,psVar1->aDb[(int)var_5[3].pVtab].zDbSName,-1,
                        (type_4 *)0x0);
  }
  return 0;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (number_literal) (number_literal)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (number_literal) (number_literal)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (number_literal)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (number_literal) (number_literal)))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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))))) (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)))))))) (break_statement)) (case_statement value: (number_literal) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (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)))))))) (break_statement)) (case_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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)) 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))))))))) (number_literal) (number_literal))))))) (return_statement (number_literal)))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

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

{
  int iVar1;
  
  switch(param_3) {
  case 0:
    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x514),0xffffffff,0xffffffff);
    break;
  case 1:
    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x518),0xffffffff,0xffffffff);
    break;
  case 2:
    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x51c),0);
    break;
  case 3:
    FUN_00047c90(param_2,*(undefined4 *)(param_1 + 0x520),0xffffffff,0);
    break;
  case 4:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x524));
    break;
  case 5:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x528));
    break;
  case 6:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x52c));
    break;
  case 7:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x530));
    break;
  case 8:
    FUN_00026850(param_2,*(undefined4 *)(param_1 + 0x534),*(undefined4 *)(param_1 + 0x538));
    break;
  case 9:
    FUN_00026790(param_2,*(undefined4 *)(param_1 + 0x53c));
    break;
  default:
    iVar1 = FUN_0001d2d0(param_2);
    FUN_00047c90(param_2,*(undefined4 *)(*(int *)(param_1 + 0xc) * 0x10 + *(int *)(iVar1 + 0x10)),
                 0xffffffff,0);
  }
  return 0;
}

