I was fortunate to work on the development of Hogwarts Legacy. During that time I developed several tools for tracking memory or doing offline processing of game data.

One of this tools was called layoutinfo. The tool would analyze the pdb generated by MSVC and it would generate a report that inlcuded information about the size and layout of the C++ classes found on the project.

I decided to to rewrite it and use WebAssembly to run it on the web. Here’s the result of this: https://bitnenfer.com/classlayout