def METHOD_NAME(sources, nodes_to_extract):
    includes = [
        '#include <stdbool.h>',
        '#include <string.h>',
        '#include "os.h"',
        '#include "cx.h"',
        '#ifdef HAVE_NBGL',
        '#include "nbgl_types.h"',
        '#endif'
    ]
    body = extract_from_headers(sources, nodes_to_extract)
    eth_internals_h = '\n\n'.join([
        "/* This file is auto-generated, don't edit it */",
        "#pragma once",
        '\n'.join(includes),
        body
    ])
    with open("ethereum-plugin-sdk/include/eth_internals.h", 'w') as f:
        f.write(eth_internals_h)