#include "game_types.h"

/* List_InitNode @ 0x0801F014 (real 26B) -- initializes a 3-word list node, returns it. Mirrors src/matched/List_InitNode.c. */
/* Zeroes the first two words, stores the payload in word 2, returns the node.
   (The stray branch in the asm is a no-op.) */
void *List_InitNode(int *p, int v)
{
    p[0] = 0;
    p[1] = 0;
    p[2] = v;
    return p;
}
