Skip to content

Handle additional information in newer MSVC versions correctly #85

Open
@jonschz

Description

@jonschz

Running reccmp-reccmp I get the following:

AssertionError: Unhandled in union:     # members = 2,  field list type 0x22e2, SEALED, Size = 4        ,class name = <unnamed-tag>, unique name = .?AT<unnamed-tag>@@

If I look in the console output, the first error I get is:

[ERROR] Unmatched line in class:        Size = (LF_ULONG) 320996, class name = ViewportRenderState, unique name = .?AVViewportRenderState@@, UDT(0x00001056

I am running reccmp-reccmp on: the original binary, the recompiled binary (Release build), the Release build pdb file.

What should I look into to get this issue resolved?

I annotated my class function like this:
The game uses a single static instance of this class, so my recompilation does too.

class ViewportRenderState : ViewportRenderStateStruct {
    public:

    //FUNCTION: MYEXE 0x401000
    BOOL xyAreValid( uint x, uint y) {
        ....
    }
}

Originally posted by @gynt in #82

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions