
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "<anon>": Some values do not have unique names */
/* DWARF original prototype: void do_write(Arm_input_section<true> * this, Output_file * of) */

void __thiscall
anon_unknown.dwarf_91258a::Arm_input_section<true>::do_write
          (Arm_input_section<true> *this,Output_file *of)

{
}



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

void FUN_0010c1d0(int param_1,int param_2)

{
  int *piVar1;
  
  if (*(void **)(param_1 + 0x40) == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);
  }
  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {
    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),
           *(size_t *)(param_1 + 0x38));
    piVar1 = *(int **)(param_1 + 0x3c);
    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&
       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {
                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (**(code **)(*piVar1 + 8))();
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00050b50
ADD EBX,0x4dde24
MOV EDI,dword ptr [ESP + 0x14]
MOV EDX,dword ptr [ESI + 0x40]
TEST EDX,EDX
JZ 0x0010c248
MOV ECX,dword ptr [ESI + 0x38]
TEST byte ptr [ESI + 0x1c],0x4
JZ 0x0010c261
MOV EAX,dword ptr [ESI + 0x14]
SUB ESP,0x4
ADD EAX,dword ptr [EDI + 0x10]
PUSH ECX
PUSH EDX
PUSH EAX
CALL 0x000392d0
MOV EAX,dword ptr [ESI + 0x3c]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0010c216
CMP ESI,dword ptr [EAX + 0x20]
JZ 0x0010c220
POP EBX
POP ESI
POP EDI
RET
MOV ECX,dword ptr [EAX + 0x30]
TEST ECX,ECX
JNZ 0x0010c236
MOV EDX,dword ptr [EAX + 0x64]
TEST EDX,EDX
JNZ 0x0010c236
MOV ECX,dword ptr [EAX + 0x68]
CMP dword ptr [EAX + 0x6c],ECX
JZ 0x0010c216
MOV EDX,dword ptr [EAX]
MOV dword ptr [ESP + 0x14],EDI
MOV dword ptr [ESP + 0x10],EAX
POP EBX
MOV EAX,dword ptr [EDX + 0x8]
POP ESI
POP EDI
JMP EAX
LEA EAX,[EBX + 0xffe7fe64]
PUSH EDI
PUSH EAX
LEA EAX,[EBX + 0xffe7d346]
PUSH 0x14d4
PUSH EAX
CALL 0x002446e0
LEA EAX,[EBX + 0xffe806f0]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xffe6335d]
PUSH 0xe3
PUSH EAX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_0010c1d0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}\n\n" comment (function_definition "void FUN_0010c1d0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}" primitive_type (function_declarator "FUN_0010c1d0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }" if (parenthesized_expression "(*(void **)(param_1 + 0x40) == (void *)0x0)" ( (binary_expression "*(void **)(param_1 + 0x40) == (void *)0x0" (pointer_expression "*(void **)(param_1 + 0x40)" * (cast_expression "(void **)(param_1 + 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }" { comment (expression_statement "FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);" (call_expression "FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2)" identifier (argument_list "("../../gold/arm.cc",0x14d4,"do_write",param_2)" ( (string_literal ""../../gold/arm.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 4) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 4)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 4" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }" { (expression_statement "memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));" (call_expression "memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38))" identifier (argument_list "((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38))" ( (cast_expression "(void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10))" ( (binary_expression "*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ))) , (pointer_expression "*(void **)(param_1 + 0x40)" * (cast_expression "(void **)(param_1 + 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 0x38)" * (cast_expression "(size_t *)(param_1 + 0x38)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x3c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x3c)" identifier = (pointer_expression "*(int **)(param_1 + 0x3c)" * (cast_expression "(int **)(param_1 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }" if (parenthesized_expression "(((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))))))" ( (binary_expression "((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))" (parenthesized_expression "((piVar1 != (int *)0x0) && (param_1 == piVar1[8]))" ( (binary_expression "(piVar1 != (int *)0x0) && (param_1 == piVar1[8])" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1 == piVar1[8])" ( (binary_expression "param_1 == piVar1[8]" identifier == (subscript_expression "piVar1[8]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))" ( (parenthesized_expression "(piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))))" ( (binary_expression "piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))" (binary_expression "piVar1[0xc] != 0" (subscript_expression "piVar1[0xc]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))" ( (parenthesized_expression "(piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))" ( (binary_expression "piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])" (binary_expression "piVar1[0x19] != 0" (subscript_expression "piVar1[0x19]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "(piVar1[0x1b] != piVar1[0x1a])" ( (binary_expression "piVar1[0x1b] != piVar1[0x1a]" (subscript_expression "piVar1[0x1b]" identifier [ number_literal ]) != (subscript_expression "piVar1[0x1a]" identifier [ number_literal ])) ))) )) ))) )) ))) )) (compound_statement "{\n                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n      (**(code **)(*piVar1 + 8))();\n      return;\n    }" { comment comment (expression_statement "(**(code **)(*piVar1 + 8))();" (call_expression "(**(code **)(*piVar1 + 8))()" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) comment (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "<anon>": Some values do not have unique names */\n/* DWARF original prototype: void do_write(Arm_input_section<true> * this, Output_file * of) */\n\nvoid __thiscall\nanon_unknown.dwarf_91258a::Arm_input_section<true>::do_write\n          (Arm_input_section<true> *this,Output_file *of)\n\n{\n}\n\n" comment comment comment (function_definition "void __thiscall\nanon_unknown.dwarf_91258a::Arm_input_section<true>::do_write\n          (Arm_input_section<true> *this,Output_file *of)\n\n{\n}" primitive_type (ms_call_modifier "__thiscall" __thiscall) (ERROR "anon_unknown.dwarf_91258a::Arm_input_section<true>::" identifier . identifier : : identifier < true > : :) (function_declarator "do_write\n          (Arm_input_section<true> *this,Output_file *of)" identifier (parameter_list "(Arm_input_section<true> *this,Output_file *of)" ( (parameter_declaration "Arm_input_section<true> *this" type_identifier (ERROR "<true>" < true >) (pointer_declarator "*this" * identifier)) , (parameter_declaration "Output_file *of" type_identifier (pointer_declarator "*of" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "void FUN_0010c1d0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}\n\n" (function_definition "void FUN_0010c1d0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}" primitive_type (function_declarator "FUN_0010c1d0(int param_1,int param_2)" identifier (parameter_list "(int param_1,int param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) ))) (compound_statement "{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (if_statement "if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }" if (parenthesized_expression "(*(void **)(param_1 + 0x40) == (void *)0x0)" ( (binary_expression "*(void **)(param_1 + 0x40) == (void *)0x0" (pointer_expression "*(void **)(param_1 + 0x40)" * (cast_expression "(void **)(param_1 + 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }" { (expression_statement "FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);" (call_expression "FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2)" identifier (argument_list "("../../gold/arm.cc",0x14d4,"do_write",param_2)" ( (string_literal ""../../gold/arm.cc"" " string_content ") , number_literal , (string_literal ""do_write"" " string_content ") , identifier ))) ;) })) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }" if (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 4) != 0)" ( (binary_expression "(*(byte *)(param_1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 4)" ( (binary_expression "*(byte *)(param_1 + 0x1c) & 4" (pointer_expression "*(byte *)(param_1 + 0x1c)" * (cast_expression "(byte *)(param_1 + 0x1c)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) )))) & number_literal) )) != number_literal) )) (compound_statement "{\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }" { (expression_statement "memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));" (call_expression "memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38))" identifier (argument_list "((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38))" ( (cast_expression "(void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10))" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10))" ( (binary_expression "*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x14)" * (cast_expression "(int *)(param_1 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x14)" ( (binary_expression "param_1 + 0x14" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_2 + 0x10)" * (cast_expression "(int *)(param_2 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) ))))) ))) , (pointer_expression "*(void **)(param_1 + 0x40)" * (cast_expression "(void **)(param_1 + 0x40)" ( (type_descriptor "void **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) , (pointer_expression "*(size_t *)(param_1 + 0x38)" * (cast_expression "(size_t *)(param_1 + 0x38)" ( (type_descriptor "size_t *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x38)" ( (binary_expression "param_1 + 0x38" identifier + number_literal) )))) ))) ;) (expression_statement "piVar1 = *(int **)(param_1 + 0x3c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x3c)" identifier = (pointer_expression "*(int **)(param_1 + 0x3c)" * (cast_expression "(int **)(param_1 + 0x3c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x3c)" ( (binary_expression "param_1 + 0x3c" identifier + number_literal) ))))) ;) (if_statement "if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }" if (parenthesized_expression "(((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))))))" ( (binary_expression "((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))" (parenthesized_expression "((piVar1 != (int *)0x0) && (param_1 == piVar1[8]))" ( (binary_expression "(piVar1 != (int *)0x0) && (param_1 == piVar1[8])" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(param_1 == piVar1[8])" ( (binary_expression "param_1 == piVar1[8]" identifier == (subscript_expression "piVar1[8]" identifier [ number_literal ])) ))) )) && (parenthesized_expression "((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))" ( (parenthesized_expression "(piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))))" ( (binary_expression "piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))" (binary_expression "piVar1[0xc] != 0" (subscript_expression "piVar1[0xc]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))" ( (parenthesized_expression "(piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))" ( (binary_expression "piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])" (binary_expression "piVar1[0x19] != 0" (subscript_expression "piVar1[0x19]" identifier [ number_literal ]) != number_literal) || (parenthesized_expression "(piVar1[0x1b] != piVar1[0x1a])" ( (binary_expression "piVar1[0x1b] != piVar1[0x1a]" (subscript_expression "piVar1[0x1b]" identifier [ number_literal ]) != (subscript_expression "piVar1[0x1a]" identifier [ number_literal ])) ))) )) ))) )) ))) )) (compound_statement "{\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }" { (expression_statement "(**(code **)(*piVar1 + 8))();" (call_expression "(**(code **)(*piVar1 + 8))()" (parenthesized_expression "(**(code **)(*piVar1 + 8))" ( (pointer_expression "**(code **)(*piVar1 + 8)" * (pointer_expression "*(code **)(*piVar1 + 8)" * (cast_expression "(code **)(*piVar1 + 8)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(*piVar1 + 8)" ( (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" * identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1)" identifier (argument_list "("../../gold/output.h",0xe3,"offset",param_1)" ( (string_literal ""../../gold/output.h"" " string_content ") , number_literal , (string_literal ""offset"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (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) ))))) ))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (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) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == (subscript_expression IDENT [ LIT ])) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != (subscript_expression IDENT [ LIT ])) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "void FUN_0010c1d0(int param_1,int param_2)\n\n{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}" (primitive_type "void") (function_declarator "FUN_0010c1d0(int param_1,int param_2)" (identifier "FUN_0010c1d0") (parameter_list "(int param_1,int param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) () ")"))) (compound_statement "{\n  int *piVar1;\n  \n  if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }\n  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }\n                    \n  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (if_statement "if (*(void **)(param_1 + 0x40) == (void *)0x0) {\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }" (if "if") (parenthesized_expression "(*(void **)(param_1 + 0x40) == (void *)0x0)" (( "(") (binary_expression "*(void **)(param_1 + 0x40) == (void *)0x0" (pointer_expression "*(void **)(param_1 + 0x40)" (* "*") (cast_expression "(void **)(param_1 + 0x40)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (== "==") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    \n    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);\n  }" ({ "{") (expression_statement "FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);" (call_expression "FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2)" (identifier "FUN_002446e0") (argument_list "("../../gold/arm.cc",0x14d4,"do_write",param_2)" (( "(") (string_literal ""../../gold/arm.cc"" (" """) (string_content "../../gold/arm.cc") (" """)) (, ",") (number_literal "0x14d4") (, ",") (string_literal ""do_write"" (" """) (string_content "do_write") (" """)) (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "((*(byte *)(param_1 + 0x1c) & 4) != 0)" (( "(") (binary_expression "(*(byte *)(param_1 + 0x1c) & 4) != 0" (parenthesized_expression "(*(byte *)(param_1 + 0x1c) & 4)" (( "(") (binary_expression "*(byte *)(param_1 + 0x1c) & 4" (pointer_expression "*(byte *)(param_1 + 0x1c)" (* "*") (cast_expression "(byte *)(param_1 + 0x1c)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")")))) (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));\n    piVar1 = *(int **)(param_1 + 0x3c);\n    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }\n    return;\n  }" ({ "{") (expression_statement "memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38));" (call_expression "memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38))" (identifier "memcpy") (argument_list "((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),\n           *(size_t *)(param_1 + 0x38))" (( "(") (cast_expression "(void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10))" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10))" (( "(") (binary_expression "*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)" (pointer_expression "*(int *)(param_1 + 0x14)" (* "*") (cast_expression "(int *)(param_1 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x14)" (( "(") (binary_expression "param_1 + 0x14" (identifier "param_1") (+ "+") (number_literal "0x14")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_2 + 0x10)" (* "*") (cast_expression "(int *)(param_2 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")"))))) () ")"))) (, ",") (pointer_expression "*(void **)(param_1 + 0x40)" (* "*") (cast_expression "(void **)(param_1 + 0x40)" (( "(") (type_descriptor "void **" (primitive_type "void") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (, ",") (pointer_expression "*(size_t *)(param_1 + 0x38)" (* "*") (cast_expression "(size_t *)(param_1 + 0x38)" (( "(") (type_descriptor "size_t *" (primitive_type "size_t") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x38)" (( "(") (binary_expression "param_1 + 0x38" (identifier "param_1") (+ "+") (number_literal "0x38")) () ")")))) () ")"))) (; ";")) (expression_statement "piVar1 = *(int **)(param_1 + 0x3c);" (assignment_expression "piVar1 = *(int **)(param_1 + 0x3c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(param_1 + 0x3c)" (* "*") (cast_expression "(int **)(param_1 + 0x3c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x3c)" (( "(") (binary_expression "param_1 + 0x3c" (identifier "param_1") (+ "+") (number_literal "0x3c")) () ")"))))) (; ";")) (if_statement "if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }" (if "if") (parenthesized_expression "(((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))))))" (( "(") (binary_expression "((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&\n       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))" (parenthesized_expression "((piVar1 != (int *)0x0) && (param_1 == piVar1[8]))" (( "(") (binary_expression "(piVar1 != (int *)0x0) && (param_1 == piVar1[8])" (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(param_1 == piVar1[8])" (( "(") (binary_expression "param_1 == piVar1[8]" (identifier "param_1") (== "==") (subscript_expression "piVar1[8]" (identifier "piVar1") ([ "[") (number_literal "8") (] "]"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))" (( "(") (parenthesized_expression "(piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))))" (( "(") (binary_expression "piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))" (binary_expression "piVar1[0xc] != 0" (subscript_expression "piVar1[0xc]" (identifier "piVar1") ([ "[") (number_literal "0xc") (] "]")) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))" (( "(") (parenthesized_expression "(piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a]))" (( "(") (binary_expression "piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])" (binary_expression "piVar1[0x19] != 0" (subscript_expression "piVar1[0x19]" (identifier "piVar1") ([ "[") (number_literal "0x19") (] "]")) (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(piVar1[0x1b] != piVar1[0x1a])" (( "(") (binary_expression "piVar1[0x1b] != piVar1[0x1a]" (subscript_expression "piVar1[0x1b]" (identifier "piVar1") ([ "[") (number_literal "0x1b") (] "]")) (!= "!=") (subscript_expression "piVar1[0x1a]" (identifier "piVar1") ([ "[") (number_literal "0x1a") (] "]"))) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n                    \n                    \n      (**(code **)(*piVar1 + 8))();\n      return;\n    }" ({ "{") (expression_statement "(**(code **)(*piVar1 + 8))();" (call_expression "(**(code **)(*piVar1 + 8))()" (parenthesized_expression "(**(code **)(*piVar1 + 8))" (( "(") (pointer_expression "**(code **)(*piVar1 + 8)" (* "*") (pointer_expression "*(code **)(*piVar1 + 8)" (* "*") (cast_expression "(code **)(*piVar1 + 8)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(*piVar1 + 8)" (( "(") (binary_expression "*piVar1 + 8" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (+ "+") (number_literal "8")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);" (call_expression "FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/output.h",0xe3,"offset",param_1)" (( "(") (string_literal ""../../gold/output.h"" (" """) (string_content "../../gold/output.h") (" """)) (, ",") (number_literal "0xe3") (, ",") (string_literal ""offset"" (" """) (string_content "offset") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "<anon>": Some values do not have unique names */
/* DWARF original prototype: void do_write(Arm_input_section<true> * this, Output_file * of) */

void __thiscall
anon_unknown.dwarf_91258a::type_1<true>::function_1
          (type_1<true> *this,type_2 *of)

{
}


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

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

void MASKED(int param_1,int param_2)

{
  int *piVar1;
  
  if (*(void **)(param_1 + 0x40) == (void *)0x0) {
                    /* WARNING: Subroutine does not return */
    FUN_002446e0("../../gold/arm.cc",0x14d4,"do_write",param_2);
  }
  if ((*(byte *)(param_1 + 0x1c) & 4) != 0) {
    memcpy((void *)(*(int *)(param_1 + 0x14) + *(int *)(param_2 + 0x10)),*(void **)(param_1 + 0x40),
           *(size_t *)(param_1 + 0x38));
    piVar1 = *(int **)(param_1 + 0x3c);
    if (((piVar1 != (int *)0x0) && (param_1 == piVar1[8])) &&
       ((piVar1[0xc] != 0 || ((piVar1[0x19] != 0 || (piVar1[0x1b] != piVar1[0x1a])))))) {
                    /* WARNING: Could not recover jumptable at 0x0010c246. Too many branches */
                    /* WARNING: Treating indirect jump as call */
      (**(code **)(*piVar1 + 8))();
      return;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/output.h",0xe3,"offset",param_1);
}

