Skip to content

32-bit Support for _AdjustLaunchApp(...) #123

Closed
@alexeSGN

Description

@alexeSGN

The implementation of _AdjustLaunchApp specifies longs, which are 32 bit on older iOS devices, whereas Unity longs are converted to Int64s via il2cpp. This was causing string mangling and invalid values for long info1 and the other values after that in this method (NaN for delayStart) from 4.12.

We believe these should be long longs or int64_t in order to support older 32-bit devices correctly, while being correct for 64 bit as per https://developer.apple.com/library/content/documentation/Darwin/Conceptual/64bitPorting/MakingCode64-BitClean/MakingCode64-BitClean.html.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions