I was reading a manga and came along this text on the pillar:
I deciphered this: 〇〇爰大施餓鬼会
I can't find anything in that. I looked up various 大施餓鬼(おせがき) related articles, but those two kanji were nowhere to be found. They are written in really hard handwriting and I can't read them.
I couldn't find the 爰 either and I may have confused it with 妥 or another one, but the kanji looks more like 爰 than anything else.
After some more searching, I found also a photo of such pillar on Google:
After even more asking around, I found it is some kind of Buddhist Sanskrit signs of Zodiac or something like that, but I still don't know which sign it is exactly.
After asking a bit more I got told "You have to ask a monk!"; so I found a monk talking about gravestones and Sanskrit on them here and tldr: It says that it means something about annual event and that it means whatever the requestor had in mind without any strict rules to be followed. At least it's what I understood from his long post on his site
I might've misread something there, so I won't put it as solved yet.