I don't even know if it is fixable without completely overhauling both that side and the other side. And I sure as hell don't have enough time to do it by my original deadline for NDK. I'm in such a bad mood right now I can't even think straight. Gonna take a breather for now and come back to it eventually.
Might just scrap it entirely and do it again later. Dunno.