# -*- coding: utf-8 -*-
import re
from pathlib import Path

so = Path(__file__).resolve().parent.parent / "extracted" / "native" / "libsdkutils.so"
data = so.read_bytes()
for name in sorted(set(m.group().decode() for m in re.finditer(rb"Java_com_shopee_bke_lib_jni_[A-Za-z0-9_]+", data))):
    if "utils" in name or "encrypt" in name.lower():
        print(name)
