Can you reproduce this issue also on desktop, or is this just Linux-musl-arm64 / HarmonyOS ?
Does this only happen with a specific PDF, or with any PDF that has a TOC?
FWIW, FPDFBookmark_GetDest() and FPDFDest_GetDestPageIndex() seem to work just fine in pypdfium2.