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

_rl_search_cxt * _rl_scxt_alloc(int type,int flags)

{
  Keymap pKVar1;
  _rl_search_cxt *p_Var2;
  int iVar3;
  
  p_Var2 = (_rl_search_cxt *)xmalloc(0x84);
  p_Var2->search_string = (char *)0x0;
  p_Var2->type = type;
  p_Var2->search_string_index = 0;
  p_Var2->sflags = flags;
  p_Var2->search_string_size = 0;
  iVar3 = rl_point;
  p_Var2->lines = (char **)0x0;
  p_Var2->allocated_line = (char *)0x0;
  p_Var2->save_point = iVar3;
  p_Var2->hindex = 0;
  iVar3 = rl_mark;
  p_Var2->hlen = 0;
  p_Var2->save_mark = iVar3;
  iVar3 = where_history();
  p_Var2->prev_line_found = (char *)0x0;
  p_Var2->save_line = iVar3;
  p_Var2->last_found_line = iVar3;
  p_Var2->save_undo_list = (UNDO_LIST *)0x0;
  pKVar1 = _rl_keymap;
  p_Var2->history_pos = 0;
  p_Var2->direction = 0;
  p_Var2->keymap = pKVar1;
  p_Var2->okeymap = pKVar1;
  p_Var2->lastc = 0;
  p_Var2->prevc = 0;
  p_Var2->sline = (char *)0x0;
  p_Var2->sline_index = 0;
  p_Var2->sline_len = 0;
  p_Var2->search_terminators = (char *)0x0;
  return p_Var2;
}



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

undefined4 * _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  puVar2 = (undefined4 *)xmalloc(0x84);
  puVar2[2] = 0;
  *puVar2 = param_1;
  puVar2[3] = 0;
  puVar2[1] = param_2;
  puVar2[4] = 0;
  uVar3 = rl_point;
  puVar2[5] = 0;
  puVar2[6] = 0;
  puVar2[9] = uVar3;
  puVar2[8] = 0;
  uVar3 = rl_mark;
  puVar2[7] = 0;
  puVar2[10] = uVar3;
  uVar3 = where_history();
  puVar2[0xd] = 0;
  puVar2[0xb] = uVar3;
  puVar2[0xc] = uVar3;
  puVar2[0xe] = 0;
  puVar1 = _rl_keymap;
  puVar2[0x11] = 0;
  puVar2[0x12] = 0;
  puVar2[0xf] = puVar1;
  puVar2[0x10] = puVar1;
  puVar2[0x14] = 0;
  puVar2[0x13] = 0;
  puVar2[0x1d] = 0;
  puVar2[0x1f] = 0;
  puVar2[0x1e] = 0;
  puVar2[0x20] = 0;
  return puVar2;
}


PUSH ESI
PUSH EBX
CALL 0x000312b0
ADD EBX,0x7eda9
SUB ESP,0x10
PUSH 0x84
CALL 0x000ad700
MOV ESI,EAX
MOV EAX,dword ptr [ESP + 0x20]
MOV dword ptr [ESI + 0x8],0x0
MOV dword ptr [ESI],EAX
MOV EAX,dword ptr [ESP + 0x24]
MOV dword ptr [ESI + 0xc],0x0
MOV dword ptr [ESI + 0x4],EAX
LEA EAX,[EBX + 0xd988]
MOV dword ptr [ESI + 0x10],0x0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x14],0x0
MOV dword ptr [ESI + 0x18],0x0
MOV dword ptr [ESI + 0x24],EAX
LEA EAX,[EBX + 0xd97c]
MOV dword ptr [ESI + 0x20],0x0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x1c],0x0
MOV dword ptr [ESI + 0x28],EAX
CALL 0x00107a00
MOV dword ptr [ESI + 0x34],0x0
MOV dword ptr [ESI + 0x2c],EAX
MOV dword ptr [ESI + 0x30],EAX
LEA EAX,[EBX + 0x1d5c]
MOV dword ptr [ESI + 0x38],0x0
MOV EAX,dword ptr [EAX]
MOV dword ptr [ESI + 0x44],0x0
MOV dword ptr [ESI + 0x48],0x0
MOV dword ptr [ESI + 0x3c],EAX
MOV dword ptr [ESI + 0x40],EAX
MOV EAX,ESI
MOV dword ptr [ESI + 0x50],0x0
MOV dword ptr [ESI + 0x4c],0x0
MOV dword ptr [ESI + 0x74],0x0
MOV dword ptr [ESI + 0x7c],0x0
MOV dword ptr [ESI + 0x78],0x0
MOV dword ptr [ESI + 0x80],0x0
ADD ESP,0x14
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 * _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}\n\n" comment (function_definition "undefined4 * _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}" type_identifier (pointer_declarator "* _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)" * (function_declarator "_rl_scxt_alloc(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x84);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x84)" identifier = (cast_expression "(undefined4 *)xmalloc(0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x84)" identifier (argument_list "(0x84)" ( number_literal ))))) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[4] = 0;" (assignment_expression "puVar2[4] = 0" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = rl_point;" (assignment_expression "uVar3 = rl_point" identifier = identifier) ;) (expression_statement "puVar2[5] = 0;" (assignment_expression "puVar2[5] = 0" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[9] = uVar3;" (assignment_expression "puVar2[9] = uVar3" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = rl_mark;" (assignment_expression "uVar3 = rl_mark" identifier = identifier) ;) (expression_statement "puVar2[7] = 0;" (assignment_expression "puVar2[7] = 0" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = uVar3;" (assignment_expression "puVar2[10] = uVar3" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = where_history();" (assignment_expression "uVar3 = where_history()" identifier = (call_expression "where_history()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2[0xd] = 0;" (assignment_expression "puVar2[0xd] = 0" (subscript_expression "puVar2[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = uVar3;" (assignment_expression "puVar2[0xb] = uVar3" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xc] = uVar3;" (assignment_expression "puVar2[0xc] = uVar3" (subscript_expression "puVar2[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xe] = 0;" (assignment_expression "puVar2[0xe] = 0" (subscript_expression "puVar2[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = _rl_keymap;" (assignment_expression "puVar1 = _rl_keymap" identifier = identifier) ;) (expression_statement "puVar2[0x11] = 0;" (assignment_expression "puVar2[0x11] = 0" (subscript_expression "puVar2[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x12] = 0;" (assignment_expression "puVar2[0x12] = 0" (subscript_expression "puVar2[0x12]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xf] = puVar1;" (assignment_expression "puVar2[0xf] = puVar1" (subscript_expression "puVar2[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x10] = puVar1;" (assignment_expression "puVar2[0x10] = puVar1" (subscript_expression "puVar2[0x10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x14] = 0;" (assignment_expression "puVar2[0x14] = 0" (subscript_expression "puVar2[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x13] = 0;" (assignment_expression "puVar2[0x13] = 0" (subscript_expression "puVar2[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x1d] = 0;" (assignment_expression "puVar2[0x1d] = 0" (subscript_expression "puVar2[0x1d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x1f] = 0;" (assignment_expression "puVar2[0x1f] = 0" (subscript_expression "puVar2[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x1e] = 0;" (assignment_expression "puVar2[0x1e] = 0" (subscript_expression "puVar2[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x20] = 0;" (assignment_expression "puVar2[0x20] = 0" (subscript_expression "puVar2[0x20]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return puVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\n_rl_search_cxt * _rl_scxt_alloc(int type,int flags)\n\n{\n  Keymap pKVar1;\n  _rl_search_cxt *p_Var2;\n  int iVar3;\n  \n  p_Var2 = (_rl_search_cxt *)xmalloc(0x84);\n  p_Var2->search_string = (char *)0x0;\n  p_Var2->type = type;\n  p_Var2->search_string_index = 0;\n  p_Var2->sflags = flags;\n  p_Var2->search_string_size = 0;\n  iVar3 = rl_point;\n  p_Var2->lines = (char **)0x0;\n  p_Var2->allocated_line = (char *)0x0;\n  p_Var2->save_point = iVar3;\n  p_Var2->hindex = 0;\n  iVar3 = rl_mark;\n  p_Var2->hlen = 0;\n  p_Var2->save_mark = iVar3;\n  iVar3 = where_history();\n  p_Var2->prev_line_found = (char *)0x0;\n  p_Var2->save_line = iVar3;\n  p_Var2->last_found_line = iVar3;\n  p_Var2->save_undo_list = (UNDO_LIST *)0x0;\n  pKVar1 = _rl_keymap;\n  p_Var2->history_pos = 0;\n  p_Var2->direction = 0;\n  p_Var2->keymap = pKVar1;\n  p_Var2->okeymap = pKVar1;\n  p_Var2->lastc = 0;\n  p_Var2->prevc = 0;\n  p_Var2->sline = (char *)0x0;\n  p_Var2->sline_index = 0;\n  p_Var2->sline_len = 0;\n  p_Var2->search_terminators = (char *)0x0;\n  return p_Var2;\n}\n\n" comment comment (function_definition "_rl_search_cxt * _rl_scxt_alloc(int type,int flags)\n\n{\n  Keymap pKVar1;\n  _rl_search_cxt *p_Var2;\n  int iVar3;\n  \n  p_Var2 = (_rl_search_cxt *)xmalloc(0x84);\n  p_Var2->search_string = (char *)0x0;\n  p_Var2->type = type;\n  p_Var2->search_string_index = 0;\n  p_Var2->sflags = flags;\n  p_Var2->search_string_size = 0;\n  iVar3 = rl_point;\n  p_Var2->lines = (char **)0x0;\n  p_Var2->allocated_line = (char *)0x0;\n  p_Var2->save_point = iVar3;\n  p_Var2->hindex = 0;\n  iVar3 = rl_mark;\n  p_Var2->hlen = 0;\n  p_Var2->save_mark = iVar3;\n  iVar3 = where_history();\n  p_Var2->prev_line_found = (char *)0x0;\n  p_Var2->save_line = iVar3;\n  p_Var2->last_found_line = iVar3;\n  p_Var2->save_undo_list = (UNDO_LIST *)0x0;\n  pKVar1 = _rl_keymap;\n  p_Var2->history_pos = 0;\n  p_Var2->direction = 0;\n  p_Var2->keymap = pKVar1;\n  p_Var2->okeymap = pKVar1;\n  p_Var2->lastc = 0;\n  p_Var2->prevc = 0;\n  p_Var2->sline = (char *)0x0;\n  p_Var2->sline_index = 0;\n  p_Var2->sline_len = 0;\n  p_Var2->search_terminators = (char *)0x0;\n  return p_Var2;\n}" type_identifier (pointer_declarator "* _rl_scxt_alloc(int type,int flags)" * (function_declarator "_rl_scxt_alloc(int type,int flags)" identifier (parameter_list "(int type,int flags)" ( (parameter_declaration "int type" primitive_type identifier) , (parameter_declaration "int flags" primitive_type identifier) )))) (compound_statement "{\n  Keymap pKVar1;\n  _rl_search_cxt *p_Var2;\n  int iVar3;\n  \n  p_Var2 = (_rl_search_cxt *)xmalloc(0x84);\n  p_Var2->search_string = (char *)0x0;\n  p_Var2->type = type;\n  p_Var2->search_string_index = 0;\n  p_Var2->sflags = flags;\n  p_Var2->search_string_size = 0;\n  iVar3 = rl_point;\n  p_Var2->lines = (char **)0x0;\n  p_Var2->allocated_line = (char *)0x0;\n  p_Var2->save_point = iVar3;\n  p_Var2->hindex = 0;\n  iVar3 = rl_mark;\n  p_Var2->hlen = 0;\n  p_Var2->save_mark = iVar3;\n  iVar3 = where_history();\n  p_Var2->prev_line_found = (char *)0x0;\n  p_Var2->save_line = iVar3;\n  p_Var2->last_found_line = iVar3;\n  p_Var2->save_undo_list = (UNDO_LIST *)0x0;\n  pKVar1 = _rl_keymap;\n  p_Var2->history_pos = 0;\n  p_Var2->direction = 0;\n  p_Var2->keymap = pKVar1;\n  p_Var2->okeymap = pKVar1;\n  p_Var2->lastc = 0;\n  p_Var2->prevc = 0;\n  p_Var2->sline = (char *)0x0;\n  p_Var2->sline_index = 0;\n  p_Var2->sline_len = 0;\n  p_Var2->search_terminators = (char *)0x0;\n  return p_Var2;\n}" { (declaration "Keymap pKVar1;" type_identifier identifier ;) (declaration "_rl_search_cxt *p_Var2;" type_identifier (pointer_declarator "*p_Var2" * identifier) ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "p_Var2 = (_rl_search_cxt *)xmalloc(0x84);" (assignment_expression "p_Var2 = (_rl_search_cxt *)xmalloc(0x84)" identifier = (cast_expression "(_rl_search_cxt *)xmalloc(0x84)" ( (type_descriptor "_rl_search_cxt *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x84)" identifier (argument_list "(0x84)" ( number_literal ))))) ;) (expression_statement "p_Var2->search_string = (char *)0x0;" (assignment_expression "p_Var2->search_string = (char *)0x0" (field_expression "p_Var2->search_string" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p_Var2->type = type;" (assignment_expression "p_Var2->type = type" (field_expression "p_Var2->type" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->search_string_index = 0;" (assignment_expression "p_Var2->search_string_index = 0" (field_expression "p_Var2->search_string_index" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->sflags = flags;" (assignment_expression "p_Var2->sflags = flags" (field_expression "p_Var2->sflags" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->search_string_size = 0;" (assignment_expression "p_Var2->search_string_size = 0" (field_expression "p_Var2->search_string_size" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar3 = rl_point;" (assignment_expression "iVar3 = rl_point" identifier = identifier) ;) (expression_statement "p_Var2->lines = (char **)0x0;" (assignment_expression "p_Var2->lines = (char **)0x0" (field_expression "p_Var2->lines" identifier -> field_identifier) = (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) ;) (expression_statement "p_Var2->allocated_line = (char *)0x0;" (assignment_expression "p_Var2->allocated_line = (char *)0x0" (field_expression "p_Var2->allocated_line" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p_Var2->save_point = iVar3;" (assignment_expression "p_Var2->save_point = iVar3" (field_expression "p_Var2->save_point" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->hindex = 0;" (assignment_expression "p_Var2->hindex = 0" (field_expression "p_Var2->hindex" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar3 = rl_mark;" (assignment_expression "iVar3 = rl_mark" identifier = identifier) ;) (expression_statement "p_Var2->hlen = 0;" (assignment_expression "p_Var2->hlen = 0" (field_expression "p_Var2->hlen" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->save_mark = iVar3;" (assignment_expression "p_Var2->save_mark = iVar3" (field_expression "p_Var2->save_mark" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar3 = where_history();" (assignment_expression "iVar3 = where_history()" identifier = (call_expression "where_history()" identifier (argument_list "()" ( )))) ;) (expression_statement "p_Var2->prev_line_found = (char *)0x0;" (assignment_expression "p_Var2->prev_line_found = (char *)0x0" (field_expression "p_Var2->prev_line_found" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p_Var2->save_line = iVar3;" (assignment_expression "p_Var2->save_line = iVar3" (field_expression "p_Var2->save_line" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->last_found_line = iVar3;" (assignment_expression "p_Var2->last_found_line = iVar3" (field_expression "p_Var2->last_found_line" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->save_undo_list = (UNDO_LIST *)0x0;" (assignment_expression "p_Var2->save_undo_list = (UNDO_LIST *)0x0" (field_expression "p_Var2->save_undo_list" identifier -> field_identifier) = (cast_expression "(UNDO_LIST *)0x0" ( (type_descriptor "UNDO_LIST *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pKVar1 = _rl_keymap;" (assignment_expression "pKVar1 = _rl_keymap" identifier = identifier) ;) (expression_statement "p_Var2->history_pos = 0;" (assignment_expression "p_Var2->history_pos = 0" (field_expression "p_Var2->history_pos" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->direction = 0;" (assignment_expression "p_Var2->direction = 0" (field_expression "p_Var2->direction" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->keymap = pKVar1;" (assignment_expression "p_Var2->keymap = pKVar1" (field_expression "p_Var2->keymap" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->okeymap = pKVar1;" (assignment_expression "p_Var2->okeymap = pKVar1" (field_expression "p_Var2->okeymap" identifier -> field_identifier) = identifier) ;) (expression_statement "p_Var2->lastc = 0;" (assignment_expression "p_Var2->lastc = 0" (field_expression "p_Var2->lastc" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->prevc = 0;" (assignment_expression "p_Var2->prevc = 0" (field_expression "p_Var2->prevc" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->sline = (char *)0x0;" (assignment_expression "p_Var2->sline = (char *)0x0" (field_expression "p_Var2->sline" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "p_Var2->sline_index = 0;" (assignment_expression "p_Var2->sline_index = 0" (field_expression "p_Var2->sline_index" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->sline_len = 0;" (assignment_expression "p_Var2->sline_len = 0" (field_expression "p_Var2->sline_len" identifier -> field_identifier) = number_literal) ;) (expression_statement "p_Var2->search_terminators = (char *)0x0;" (assignment_expression "p_Var2->search_terminators = (char *)0x0" (field_expression "p_Var2->search_terminators" identifier -> field_identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (return_statement "return p_Var2;" return identifier ;) })))
(translation_unit "undefined4 * _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}\n\n" (function_definition "undefined4 * _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}" type_identifier (pointer_declarator "* _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)" * (function_declarator "_rl_scxt_alloc(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) )))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x84);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x84)" identifier = (cast_expression "(undefined4 *)xmalloc(0x84)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "xmalloc(0x84)" identifier (argument_list "(0x84)" ( number_literal ))))) ;) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" * identifier) = identifier) ;) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[4] = 0;" (assignment_expression "puVar2[4] = 0" (subscript_expression "puVar2[4]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = rl_point;" (assignment_expression "uVar3 = rl_point" identifier = identifier) ;) (expression_statement "puVar2[5] = 0;" (assignment_expression "puVar2[5] = 0" (subscript_expression "puVar2[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[9] = uVar3;" (assignment_expression "puVar2[9] = uVar3" (subscript_expression "puVar2[9]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "uVar3 = rl_mark;" (assignment_expression "uVar3 = rl_mark" identifier = identifier) ;) (expression_statement "puVar2[7] = 0;" (assignment_expression "puVar2[7] = 0" (subscript_expression "puVar2[7]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[10] = uVar3;" (assignment_expression "puVar2[10] = uVar3" (subscript_expression "puVar2[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar3 = where_history();" (assignment_expression "uVar3 = where_history()" identifier = (call_expression "where_history()" identifier (argument_list "()" ( )))) ;) (expression_statement "puVar2[0xd] = 0;" (assignment_expression "puVar2[0xd] = 0" (subscript_expression "puVar2[0xd]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xb] = uVar3;" (assignment_expression "puVar2[0xb] = uVar3" (subscript_expression "puVar2[0xb]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xc] = uVar3;" (assignment_expression "puVar2[0xc] = uVar3" (subscript_expression "puVar2[0xc]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0xe] = 0;" (assignment_expression "puVar2[0xe] = 0" (subscript_expression "puVar2[0xe]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1 = _rl_keymap;" (assignment_expression "puVar1 = _rl_keymap" identifier = identifier) ;) (expression_statement "puVar2[0x11] = 0;" (assignment_expression "puVar2[0x11] = 0" (subscript_expression "puVar2[0x11]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x12] = 0;" (assignment_expression "puVar2[0x12] = 0" (subscript_expression "puVar2[0x12]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0xf] = puVar1;" (assignment_expression "puVar2[0xf] = puVar1" (subscript_expression "puVar2[0xf]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x10] = puVar1;" (assignment_expression "puVar2[0x10] = puVar1" (subscript_expression "puVar2[0x10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar2[0x14] = 0;" (assignment_expression "puVar2[0x14] = 0" (subscript_expression "puVar2[0x14]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x13] = 0;" (assignment_expression "puVar2[0x13] = 0" (subscript_expression "puVar2[0x13]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x1d] = 0;" (assignment_expression "puVar2[0x1d] = 0" (subscript_expression "puVar2[0x1d]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x1f] = 0;" (assignment_expression "puVar2[0x1f] = 0" (subscript_expression "puVar2[0x1f]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x1e] = 0;" (assignment_expression "puVar2[0x1e] = 0" (subscript_expression "puVar2[0x1e]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar2[0x20] = 0;" (assignment_expression "puVar2[0x20] = 0" (subscript_expression "puVar2[0x20]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return puVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( LIT ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 * _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}" (type_identifier "undefined4") (pointer_declarator "* _rl_scxt_alloc(undefined4 param_1,undefined4 param_2)" (* "*") (function_declarator "_rl_scxt_alloc(undefined4 param_1,undefined4 param_2)" (identifier "_rl_scxt_alloc") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")")))) (compound_statement "{\n  undefined *puVar1;\n  undefined4 *puVar2;\n  undefined4 uVar3;\n  \n  puVar2 = (undefined4 *)xmalloc(0x84);\n  puVar2[2] = 0;\n  *puVar2 = param_1;\n  puVar2[3] = 0;\n  puVar2[1] = param_2;\n  puVar2[4] = 0;\n  uVar3 = rl_point;\n  puVar2[5] = 0;\n  puVar2[6] = 0;\n  puVar2[9] = uVar3;\n  puVar2[8] = 0;\n  uVar3 = rl_mark;\n  puVar2[7] = 0;\n  puVar2[10] = uVar3;\n  uVar3 = where_history();\n  puVar2[0xd] = 0;\n  puVar2[0xb] = uVar3;\n  puVar2[0xc] = uVar3;\n  puVar2[0xe] = 0;\n  puVar1 = _rl_keymap;\n  puVar2[0x11] = 0;\n  puVar2[0x12] = 0;\n  puVar2[0xf] = puVar1;\n  puVar2[0x10] = puVar1;\n  puVar2[0x14] = 0;\n  puVar2[0x13] = 0;\n  puVar2[0x1d] = 0;\n  puVar2[0x1f] = 0;\n  puVar2[0x1e] = 0;\n  puVar2[0x20] = 0;\n  return puVar2;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (expression_statement "puVar2 = (undefined4 *)xmalloc(0x84);" (assignment_expression "puVar2 = (undefined4 *)xmalloc(0x84)" (identifier "puVar2") (= "=") (cast_expression "(undefined4 *)xmalloc(0x84)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "xmalloc(0x84)" (identifier "xmalloc") (argument_list "(0x84)" (( "(") (number_literal "0x84") () ")"))))) (; ";")) (expression_statement "puVar2[2] = 0;" (assignment_expression "puVar2[2] = 0" (subscript_expression "puVar2[2]" (identifier "puVar2") ([ "[") (number_literal "2") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar2 = param_1;" (assignment_expression "*puVar2 = param_1" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "puVar2[3] = 0;" (assignment_expression "puVar2[3] = 0" (subscript_expression "puVar2[3]" (identifier "puVar2") ([ "[") (number_literal "3") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[1] = param_2;" (assignment_expression "puVar2[1] = param_2" (subscript_expression "puVar2[1]" (identifier "puVar2") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "param_2")) (; ";")) (expression_statement "puVar2[4] = 0;" (assignment_expression "puVar2[4] = 0" (subscript_expression "puVar2[4]" (identifier "puVar2") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = rl_point;" (assignment_expression "uVar3 = rl_point" (identifier "uVar3") (= "=") (identifier "rl_point")) (; ";")) (expression_statement "puVar2[5] = 0;" (assignment_expression "puVar2[5] = 0" (subscript_expression "puVar2[5]" (identifier "puVar2") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[6] = 0;" (assignment_expression "puVar2[6] = 0" (subscript_expression "puVar2[6]" (identifier "puVar2") ([ "[") (number_literal "6") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[9] = uVar3;" (assignment_expression "puVar2[9] = uVar3" (subscript_expression "puVar2[9]" (identifier "puVar2") ([ "[") (number_literal "9") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar2[8] = 0;" (assignment_expression "puVar2[8] = 0" (subscript_expression "puVar2[8]" (identifier "puVar2") ([ "[") (number_literal "8") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar3 = rl_mark;" (assignment_expression "uVar3 = rl_mark" (identifier "uVar3") (= "=") (identifier "rl_mark")) (; ";")) (expression_statement "puVar2[7] = 0;" (assignment_expression "puVar2[7] = 0" (subscript_expression "puVar2[7]" (identifier "puVar2") ([ "[") (number_literal "7") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[10] = uVar3;" (assignment_expression "puVar2[10] = uVar3" (subscript_expression "puVar2[10]" (identifier "puVar2") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar3 = where_history();" (assignment_expression "uVar3 = where_history()" (identifier "uVar3") (= "=") (call_expression "where_history()" (identifier "where_history") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "puVar2[0xd] = 0;" (assignment_expression "puVar2[0xd] = 0" (subscript_expression "puVar2[0xd]" (identifier "puVar2") ([ "[") (number_literal "0xd") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0xb] = uVar3;" (assignment_expression "puVar2[0xb] = uVar3" (subscript_expression "puVar2[0xb]" (identifier "puVar2") ([ "[") (number_literal "0xb") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar2[0xc] = uVar3;" (assignment_expression "puVar2[0xc] = uVar3" (subscript_expression "puVar2[0xc]" (identifier "puVar2") ([ "[") (number_literal "0xc") (] "]")) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "puVar2[0xe] = 0;" (assignment_expression "puVar2[0xe] = 0" (subscript_expression "puVar2[0xe]" (identifier "puVar2") ([ "[") (number_literal "0xe") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar1 = _rl_keymap;" (assignment_expression "puVar1 = _rl_keymap" (identifier "puVar1") (= "=") (identifier "_rl_keymap")) (; ";")) (expression_statement "puVar2[0x11] = 0;" (assignment_expression "puVar2[0x11] = 0" (subscript_expression "puVar2[0x11]" (identifier "puVar2") ([ "[") (number_literal "0x11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x12] = 0;" (assignment_expression "puVar2[0x12] = 0" (subscript_expression "puVar2[0x12]" (identifier "puVar2") ([ "[") (number_literal "0x12") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0xf] = puVar1;" (assignment_expression "puVar2[0xf] = puVar1" (subscript_expression "puVar2[0xf]" (identifier "puVar2") ([ "[") (number_literal "0xf") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar2[0x10] = puVar1;" (assignment_expression "puVar2[0x10] = puVar1" (subscript_expression "puVar2[0x10]" (identifier "puVar2") ([ "[") (number_literal "0x10") (] "]")) (= "=") (identifier "puVar1")) (; ";")) (expression_statement "puVar2[0x14] = 0;" (assignment_expression "puVar2[0x14] = 0" (subscript_expression "puVar2[0x14]" (identifier "puVar2") ([ "[") (number_literal "0x14") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x13] = 0;" (assignment_expression "puVar2[0x13] = 0" (subscript_expression "puVar2[0x13]" (identifier "puVar2") ([ "[") (number_literal "0x13") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x1d] = 0;" (assignment_expression "puVar2[0x1d] = 0" (subscript_expression "puVar2[0x1d]" (identifier "puVar2") ([ "[") (number_literal "0x1d") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x1f] = 0;" (assignment_expression "puVar2[0x1f] = 0" (subscript_expression "puVar2[0x1f]" (identifier "puVar2") ([ "[") (number_literal "0x1f") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x1e] = 0;" (assignment_expression "puVar2[0x1e] = 0" (subscript_expression "puVar2[0x1e]" (identifier "puVar2") ([ "[") (number_literal "0x1e") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2[0x20] = 0;" (assignment_expression "puVar2[0x20] = 0" (subscript_expression "puVar2[0x20]" (identifier "puVar2") ([ "[") (number_literal "0x20") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return puVar2;" (return "return") (identifier "puVar2") (; ";")) (} "}")))

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

type_1 * function_1(int type,int flags)

{
  type_2 pKVar1;
  type_1 *p_Var2;
  int iVar3;
  
  p_Var2 = (type_1 *)var_1(0x84);
  p_Var2->search_string = (char *)0x0;
  p_Var2->type = type;
  p_Var2->search_string_index = 0;
  p_Var2->sflags = flags;
  p_Var2->search_string_size = 0;
  iVar3 = rl_point;
  p_Var2->lines = (char **)0x0;
  p_Var2->allocated_line = (char *)0x0;
  p_Var2->save_point = iVar3;
  p_Var2->hindex = 0;
  iVar3 = rl_mark;
  p_Var2->hlen = 0;
  p_Var2->save_mark = iVar3;
  iVar3 = var_2();
  p_Var2->prev_line_found = (char *)0x0;
  p_Var2->save_line = iVar3;
  p_Var2->last_found_line = iVar3;
  p_Var2->save_undo_list = (type_3 *)0x0;
  pKVar1 = _rl_keymap;
  p_Var2->history_pos = 0;
  p_Var2->direction = 0;
  p_Var2->keymap = pKVar1;
  p_Var2->okeymap = pKVar1;
  p_Var2->lastc = 0;
  p_Var2->prevc = 0;
  p_Var2->sline = (char *)0x0;
  p_Var2->sline_index = 0;
  p_Var2->sline_len = 0;
  p_Var2->search_terminators = (char *)0x0;
  return p_Var2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement (identifier)))))

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

undefined4 * MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined *puVar1;
  undefined4 *puVar2;
  undefined4 uVar3;
  
  puVar2 = (undefined4 *)xmalloc(0x84);
  puVar2[2] = 0;
  *puVar2 = param_1;
  puVar2[3] = 0;
  puVar2[1] = param_2;
  puVar2[4] = 0;
  uVar3 = rl_point;
  puVar2[5] = 0;
  puVar2[6] = 0;
  puVar2[9] = uVar3;
  puVar2[8] = 0;
  uVar3 = rl_mark;
  puVar2[7] = 0;
  puVar2[10] = uVar3;
  uVar3 = where_history();
  puVar2[0xd] = 0;
  puVar2[0xb] = uVar3;
  puVar2[0xc] = uVar3;
  puVar2[0xe] = 0;
  puVar1 = _rl_keymap;
  puVar2[0x11] = 0;
  puVar2[0x12] = 0;
  puVar2[0xf] = puVar1;
  puVar2[0x10] = puVar1;
  puVar2[0x14] = 0;
  puVar2[0x13] = 0;
  puVar2[0x1d] = 0;
  puVar2[0x1f] = 0;
  puVar2[0x1e] = 0;
  puVar2[0x20] = 0;
  return puVar2;
}

