// // sub_10026FBA0 from 0x10026fba0 to 0x10026fc90 (240 bytes) // // 3 xrefs: // > ShareLevelSettingsLayer::keyBackClicked @ 0x10026fef5 // > sub_10026FF00 @ 0x10026ff0c // > ShareLevelSettingsLayer::init @ 0x10026f416 // // 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:27:37 +0000 // __int64 __fastcall sub_10026FBA0(_QWORD *a1, __int64 a2) { __int64 v2; // r14 float v3; // xmm0_4 __int64 v4; // r14 __int64 v5; // rcx __int64 v6; // rax __int64 v7; // rdx unsigned __int8 v8; // al double v10; // xmm0_8 __int64 v11; // rax v2 = a1[85]; if ( *(_DWORD *)(v2 + 980) - *(_DWORD *)(v2 + 984) == -1 ) { v3 = (float)((float)rand() * 4.6566129e-10) * 1000.0; *(_DWORD *)(v2 + 984) = (int)v3; *(_DWORD *)(v2 + 980) = (int)v3 + 1; } v4 = a1[88]; if ( v4 ) { v5 = *(_QWORD *)(v4 + 664); if ( *(_BYTE *)(v5 + 616) || (v6 = GJAccountManager::sharedState((__int64)a1, a2), v7 = *(unsigned int *)(v6 + 352), v5 = *(_QWORD *)(v4 + 664), (int)v7 <= *(_DWORD *)(v6 + 356)) || *(_BYTE *)(v5 + 785) ) { v8 = 0; } else { *(_QWORD *)&v10 = GameManager::sharedState(a1, a2, v7).u64[0]; v8 = GameManager::safeModeEnabled(v11, v10) ^ 1; v5 = *(_QWORD *)(v4 + 664); } sub_1004EB370(v4 + 696, v8, v5 + 618, v5 + 619); } (*(void (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0); return (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 528LL))(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source