#include "unk_0208A300.h"

#include "global.h"

#include "heap.h"

struct UnkStruct_0208A300 *sub_0208A300(HeapID heapId) {
    struct UnkStruct_0208A300 *ret = AllocFromHeap(heapId, sizeof(struct UnkStruct_0208A300));

    memset(ret, 0, sizeof(struct UnkStruct_0208A300));
    ret->unk4 = 2;

    return ret;
}

void sub_0208A320(struct UnkStruct_0208A300 *unk) {
    FreeToHeap(unk);
}

u32 sub_0208A328(struct UnkStruct_0208A300 *unk) {
    return unk->unk0;
}

void sub_0208A32C(struct UnkStruct_0208A300 *unk, u32 a1) {
    unk->unk0 = a1;
}

u32 sub_0208A330(struct UnkStruct_0208A300 *unk) {
    return unk->unk4;
}

void sub_0208A334(struct UnkStruct_0208A300 *unk, u32 a1) {
    unk->unk4 = a1;
}
