//
// sub_535B50 from 0x535b50 to 0x535b86 (54 bytes)
//
// 7 xrefs:
// > EditorUI::getRandomStartKey @ 0x535bee
// > EditorUI::getRandomStartKey @ 0x535c38
// > EditorUI::getRandomStartKey @ 0x535c6a
// > EditorUI::getRandomStartKey @ 0x535cae
// > EditorUI::getRandomStartKey @ 0x535cfc
// > EditorUI::getRandomStartKey @ 0x535d32
// > EditorUI::convertKeyBasedOnNeighbors @ 0x53668e
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 sub_535B50()
{
unsigned int v0; // r0
v0 = (unsigned int)(214013 * qword_AC77C8 + 2531011) >> 16;
qword_AC77C8 = 214013 * qword_AC77C8 + 2531011;
return v0 & 0x7FFF;
}