[DiscordArchive] Got very close to something like it sometimes. But instead of the ".m_vmt" section I just got "[123]
[DiscordArchive] Got very close to something like it sometimes. But instead of the ".m_vmt" section I just got "[123]
Archived author: Natrist • Posted: 2025-06-02T18:32:34.658000+00:00
Original source
If you share whatever function you’re looking at we can help you sort it out.
Archived author: Natrist • Posted: 2025-06-02T18:32:57.385000+00:00
Original source
I’m at the gym, on my phone. Call me a shroom head anyway. ♂️
Archived author: Saty • Posted: 2025-06-02T18:33:27.953000+00:00
Original source
If you are bored, robinsch, would you help a newbie out and try to explain to me how you would create the struct and vmt for that function?
Depending on if it's a task of a few minutes or a few hours of course
Archived author: robinsch • Posted: 2025-06-02T18:34:17.910000+00:00
Original source
vmt usually sits at 0x0 offset, so first member of whatever class. You just create another struct that has the function decls in them
Archived author: robinsch • Posted: 2025-06-02T18:34:38.465000+00:00
Original source
I usually call them ObjectName_VMT
Archived author: robinsch • Posted: 2025-06-02T18:35:02.282000+00:00
Original source
so in `ObjectName` struct you have a pointer to `ObjectName_VMT` at 0x0
Archived author: robinsch • Posted: 2025-06-02T18:35:04.193000+00:00
Original source
and thats it
![[Image: IMG_4684.png?ex=690c419e&is=690af01e&hm=...cdf2d085a&]](https://cdn.discordapp.com/attachments/1086807686571642900/1379166469774114827/IMG_4684.png?ex=690c419e&is=690af01e&hm=e0f90c44f25f19383734a94c1b5b4d96d94344e3d0410aee6bedeb3cdf2d085a&)
Archived author: Natrist • Posted: 2025-06-02T18:35:10.046000+00:00
Original source
Quick example I found online of how memory works:
![[Image: IMG_4684.png?ex=690c419e&is=690af01e&hm=...cdf2d085a&]](https://cdn.discordapp.com/attachments/1086807686571642900/1379166469774114827/IMG_4684.png?ex=690c419e&is=690af01e&hm=e0f90c44f25f19383734a94c1b5b4d96d94344e3d0410aee6bedeb3cdf2d085a&)
Archived author: Natrist • Posted: 2025-06-02T18:35:24.281000+00:00
Original source
Indexes start at 0 in C/C++