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

Valtype gold::read_from_pointer<8>(uchar **source)

{
}



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

undefined1 __regparm1 FUN_003174c0(undefined4 param_1,undefined4 *param_2)

{
  undefined1 uVar1;
  
  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {
    uVar1 = *(undefined1 *)*param_2;
    *param_2 = (undefined1 *)*param_2 + 1;
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);
}


PUSH EBX
CALL 0x00050b50
ADD EBX,0x2d2b3a
SUB ESP,0x8
MOV ECX,dword ptr [ESP + 0x10]
LEA EDX,[EBX + 0x7c8]
MOV EDX,dword ptr [EDX]
MOV EDX,dword ptr [EDX + 0xc]
TEST EDX,EDX
JZ 0x003174f1
MOV EDX,dword ptr [ECX]
MOVZX EAX,byte ptr [EDX]
ADD EDX,0x1
MOV dword ptr [ECX],EDX
ADD ESP,0x8
POP EBX
RET
LEA EDX,[EBX + 0xffeab5dc]
PUSH EAX
PUSH EDX
LEA EDX,[EBX + 0xffe5e26d]
PUSH 0x69
PUSH EDX
CALL 0x002446e0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined1 __regparm1 FUN_003174c0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}\n\n" comment (function_definition "undefined1 __regparm1 FUN_003174c0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_003174c0(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    /* WARNING: Subroutine does not return */\n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 0xc) != 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 0xc)" * (cast_expression "(int *)(DAT_005ea7c8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0xc)" ( (binary_expression "DAT_005ea7c8 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }" { (expression_statement "uVar1 = *(undefined1 *)*param_2;" (assignment_expression "uVar1 = *(undefined1 *)*param_2" identifier = (pointer_expression "*(undefined1 *)*param_2" * (cast_expression "(undefined1 *)*param_2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (expression_statement "*param_2 = (undefined1 *)*param_2 + 1;" (assignment_expression "*param_2 = (undefined1 *)*param_2 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "(undefined1 *)*param_2 + 1" (cast_expression "(undefined1 *)*param_2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) + number_literal)) ;) (return_statement "return uVar1;" return identifier ;) })) comment (expression_statement "FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);" (call_expression "FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_1)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nValtype gold::read_from_pointer<8>(uchar **source)\n\n{\n}\n\n" comment comment (ERROR "Valtype gold::read_from_pointer<8>(uchar **source)" type_identifier (ERROR "gold::" identifier : :) identifier < (binary_expression "8>(uchar **source)" number_literal > (parenthesized_expression "(uchar **source)" ( (binary_expression "uchar **source" identifier * (pointer_expression "*source" * identifier)) )))) (compound_statement "{\n}" { }))
(translation_unit "undefined1 __regparm1 FUN_003174c0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    \n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}\n\n" (function_definition "undefined1 __regparm1 FUN_003174c0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    \n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}" type_identifier (ERROR "__regparm1" identifier) (function_declarator "FUN_003174c0(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 (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    \n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}" { (declaration "undefined1 uVar1;" type_identifier identifier ;) (if_statement "if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }" if (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 0xc) != 0)" ( (binary_expression "*(int *)(DAT_005ea7c8 + 0xc) != 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 0xc)" * (cast_expression "(int *)(DAT_005ea7c8 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_005ea7c8 + 0xc)" ( (binary_expression "DAT_005ea7c8 + 0xc" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }" { (expression_statement "uVar1 = *(undefined1 *)*param_2;" (assignment_expression "uVar1 = *(undefined1 *)*param_2" identifier = (pointer_expression "*(undefined1 *)*param_2" * (cast_expression "(undefined1 *)*param_2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)))) ;) (expression_statement "*param_2 = (undefined1 *)*param_2 + 1;" (assignment_expression "*param_2 = (undefined1 *)*param_2 + 1" (pointer_expression "*param_2" * identifier) = (binary_expression "(undefined1 *)*param_2 + 1" (cast_expression "(undefined1 *)*param_2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_2" * identifier)) + number_literal)) ;) (return_statement "return uVar1;" return identifier ;) })) (expression_statement "FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);" (call_expression "FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1)" identifier (argument_list "("../../gold/parameters.h",0x69,"target",param_1)" ( (string_literal ""../../gold/parameters.h"" " string_content ") , number_literal , (string_literal ""target"" " string_content ") , identifier ))) ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT)) + LIT)) ;) (return_statement return IDENT ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , LIT , (string_literal " string_content ") , IDENT ))) ;) })))
(function_definition "undefined1 __regparm1 FUN_003174c0(undefined4 param_1,undefined4 *param_2)\n\n{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    \n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}" (type_identifier "undefined1") (ERROR "__regparm1" (identifier "__regparm1")) (function_declarator "FUN_003174c0(undefined4 param_1,undefined4 *param_2)" (identifier "FUN_003174c0") (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") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  undefined1 uVar1;\n  \n  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }\n                    \n  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);\n}" ({ "{") (declaration "undefined1 uVar1;" (type_identifier "undefined1") (identifier "uVar1") (; ";")) (if_statement "if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }" (if "if") (parenthesized_expression "(*(int *)(DAT_005ea7c8 + 0xc) != 0)" (( "(") (binary_expression "*(int *)(DAT_005ea7c8 + 0xc) != 0" (pointer_expression "*(int *)(DAT_005ea7c8 + 0xc)" (* "*") (cast_expression "(int *)(DAT_005ea7c8 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_005ea7c8 + 0xc)" (( "(") (binary_expression "DAT_005ea7c8 + 0xc" (identifier "DAT_005ea7c8") (+ "+") (number_literal "0xc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    uVar1 = *(undefined1 *)*param_2;\n    *param_2 = (undefined1 *)*param_2 + 1;\n    return uVar1;\n  }" ({ "{") (expression_statement "uVar1 = *(undefined1 *)*param_2;" (assignment_expression "uVar1 = *(undefined1 *)*param_2" (identifier "uVar1") (= "=") (pointer_expression "*(undefined1 *)*param_2" (* "*") (cast_expression "(undefined1 *)*param_2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))))) (; ";")) (expression_statement "*param_2 = (undefined1 *)*param_2 + 1;" (assignment_expression "*param_2 = (undefined1 *)*param_2 + 1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (binary_expression "(undefined1 *)*param_2 + 1" (cast_expression "(undefined1 *)*param_2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_2" (* "*") (identifier "param_2"))) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}"))) (expression_statement "FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);" (call_expression "FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1)" (identifier "FUN_002446e0") (argument_list "("../../gold/parameters.h",0x69,"target",param_1)" (( "(") (string_literal ""../../gold/parameters.h"" (" """) (string_content "../../gold/parameters.h") (" """)) (, ",") (number_literal "0x69") (, ",") (string_literal ""target"" (" """) (string_content "target") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (} "}")))

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

Valtype gold::read_from_pointer<8>(uchar **source)

{
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) 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)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))) right: (number_literal)))) (return_statement (identifier)))) (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 */

undefined1 __regparm1 MASKED(undefined4 param_1,undefined4 *param_2)

{
  undefined1 uVar1;
  
  if (*(int *)(DAT_005ea7c8 + 0xc) != 0) {
    uVar1 = *(undefined1 *)*param_2;
    *param_2 = (undefined1 *)*param_2 + 1;
    return uVar1;
  }
                    /* WARNING: Subroutine does not return */
  FUN_002446e0("../../gold/parameters.h",0x69,"target",param_1);
}

