#include <iostream>
void fun() { std::cout << "called\n"; }
struct Game
{
void (*fptr)();
};
typedef void (*Game::*pVoidPointer)();
int main()
{
pVoidPointer ptr = &Game::fptr;
Game g;
g.fptr = fun;
(g.*ptr)();
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdm9pZCBmdW4oKSB7IHN0ZDo6Y291dCA8PCAiY2FsbGVkXG4iOyB9CgpzdHJ1Y3QgR2FtZQp7CiAgICB2b2lkICgqZnB0cikoKTsKfTsKCnR5cGVkZWYgdm9pZCAoKkdhbWU6OipwVm9pZFBvaW50ZXIpKCk7CgppbnQgbWFpbigpCnsKICAgIHBWb2lkUG9pbnRlciBwdHIgPSAmR2FtZTo6ZnB0cjsKCiAgICBHYW1lIGc7CiAgICBnLmZwdHIgPSBmdW47CgogICAgKGcuKnB0cikoKTsKfQo=