// // sub_1005839A0 from 0x1005839a0 to 0x100583a25 (133 bytes) // // 14 xrefs: // > PlayLayer::levelComplete @ 0x100081366 // > EditLevelLayer::onPlay @ 0x1001de66b // > sub_1001E09D0 @ 0x1001e0a1c // > EditLevelLayer::FLAlert_Clicked @ 0x1001e0f1f // > GameLevelOptionsLayer::FLAlert_Clicked @ 0x1002a0237 // > sub_1002A0250 @ 0x1002a026b // > LevelInfoLayer::onPlay @ 0x1002ac7a6 // > LevelInfoLayer::FLAlert_Clicked @ 0x1002b1ba8 // > sub_10054BDE0 @ 0x10054be80 // > sub_10054BDE0 @ 0x10054bf00 // > sub_10054BDE0 @ 0x10054bf80 // > sub_10054BDE0 @ 0x10054bffe // > sub_10054BDE0 @ 0x10054c09a // > sub_100583640 @ 0x100583758 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:32:21 +0000 // void __fastcall sub_1005839A0(__int64 a1) { std::string v1; // [rsp+8h] [rbp-28h] BYREF std::string::assign((std::string *)(a1 + 1472), ""); std::string::assign((std::string *)(a1 + 1496), ""); *(_QWORD *)(a1 + 1520) = 0; GameLevelManager::sharedState(); if ( (unsigned int)(*(_DWORD *)(a1 + 1140) - 4) >= 0xFFFFFFFE ) { sub_10054CB00(&v1, a1); sub_10054DDE0(3, (__int64)&v1); if ( (*(_BYTE *)&v1.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v1.__r_.__value_.__l.__data_); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source