diff --git a/CHANGELOG.md b/CHANGELOG.md index b8849df3..17ffddf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,8 @@ Release notes on GitHub are taken from the matching section here. ### Changed +- On ARM64, Nightcap runs Roblox 2.748.1527, the same version as x86-64, and new installs start on it. + Before, ARM64 stayed on 2.742. - Session logs show the error text of failed Roblox web requests (4xx and 5xx) under Roblox's own `HttpTraceError` line, so a refused action such as blocking a player says why. Each text is logged once. - `scripts/auto_update_roblox.sh` downloads its fallback Roblox version from APKPure like every other diff --git a/config/roblox_compatibility.json b/config/roblox_compatibility.json index 04836a8a..8407b31d 100644 --- a/config/roblox_compatibility.json +++ b/config/roblox_compatibility.json @@ -102,6 +102,18 @@ "vtable_layout_version": 2 }, "reason": "Derived from 2.746.1266 and verified with two isolated Vulkan canaries and real game sessions; exact Build-ID native allocator, constructor replay, fullscreen, and FMOD output-device profile." + }, + { + "version_name": "2.748.1527", + "version_code": 22294, + "abi": "arm64-v8a", + "elf_build_id": "c9b85f90f6882869f1f855110f89d3bcc33d6a48", + "status": "supported", + "default_allowed": true, + "allow_legacy_binary_patches": false, + "allow_host_abi_bridges": true, + "allow_host_constructor_replay": true, + "reason": "Exact ARM64 Build-ID native allocator and pre-JNI registry profile matched against 2.742.1059 arm64-v8a; index 7 is an added constructor, so the process-load checkpoint moved to 8. Activation still requires the selected graphics backend's readiness canary." } ] } diff --git a/config/roblox_download_sources.json b/config/roblox_download_sources.json index e5a8a589..3d8f4037 100644 --- a/config/roblox_download_sources.json +++ b/config/roblox_download_sources.json @@ -22,6 +22,27 @@ } ] }, + { + "package": "com.roblox.client", + "version_name": "2.748.1527", + "version_code": 22294, + "abi": "arm64-v8a", + "elf_build_id": "c9b85f90f6882869f1f855110f89d3bcc33d6a48", + "archives": [ + { + "filename": "base.apk", + "url": "https://github.com/Roblox-DeployHistory-Updates/android-runner/releases/download/22294/com.roblox.client-22294.apk", + "sha256": "2badef75db6f27724ed2c667fa5d5a4ab91c40fa425826bb00c5bfbd41de4f17", + "size": 105833792 + }, + { + "filename": "split_config.arm64_v8a.apk", + "url": "https://github.com/Roblox-DeployHistory-Updates/android-runner/releases/download/22294/com.roblox.client-config.arm64_v8a-22294.apk", + "sha256": "7b2f0668936e50bee563e8bd6a0ff7858771c3467227647bc9d510203a4cf074", + "size": 50050034 + } + ] + }, { "package": "com.roblox.client", "version_name": "2.746.1266", diff --git a/config/roblox_payload.arm64-v8a.json b/config/roblox_payload.arm64-v8a.json index 83d2a374..8f1abe20 100644 --- a/config/roblox_payload.arm64-v8a.json +++ b/config/roblox_payload.arm64-v8a.json @@ -1,24 +1,24 @@ { "schema_version": 1, "package": "com.roblox.client", - "version_name": "2.742.1059", - "version_code": 3222, + "version_name": "2.748.1527", + "version_code": 22294, "abi": "arm64-v8a", - "elf_build_id": "25aa7fd31008a744c3c99f717e7d16d81d371d12", + "elf_build_id": "c9b85f90f6882869f1f855110f89d3bcc33d6a48", "sha256": { - "libroblox": "086a5d9726301b64b87da9dd37fb28127ef3dc670b2dd284be75ca9c81512f40", - "base_apk": "86eb9e513c01b0d9f2b5658b390e53b9b9fb192aae307d91dd4792a57bc0e2f1", - "arm64_v8a_split_apk": "86eb9e513c01b0d9f2b5658b390e53b9b9fb192aae307d91dd4792a57bc0e2f1" + "libroblox": "31716eafe9985ced8814c0133ccc6654c104fedb55de95102a38da616f065fbe", + "base_apk": "2badef75db6f27724ed2c667fa5d5a4ab91c40fa425826bb00c5bfbd41de4f17", + "arm64_v8a_split_apk": "7b2f0668936e50bee563e8bd6a0ff7858771c3467227647bc9d510203a4cf074" }, "signing_certificates_sha256": [ "44932ea35a17a267372d71b54d1a0cb3da0dca5113e94406ae2fe18090ba1477" ], "assets": { - "file_count": 596, - "sha256_tree": "4b534483ccf88c10eb7ddbb94521d2a5bc1187bbbf4695dbc868364d68f53bc9" + "file_count": 605, + "sha256_tree": "a49766fca938351fa3da69a0344134e5e251442b6920ffd7b172e378842da425" }, - "source": "native-local-import", - "imported_at": "2026-11-05T18:50:25Z", + "source": "pinned-native", + "imported_at": "2026-11-29T18:40:00Z", "compatibility_status": "supported", - "apk_layout": "monolithic" + "apk_layout": "split" } diff --git a/include/compat/web_view_protocol_contract.h b/include/compat/web_view_protocol_contract.h index 4bbdbd7d..cf838e56 100644 --- a/include/compat/web_view_protocol_contract.h +++ b/include/compat/web_view_protocol_contract.h @@ -20,7 +20,7 @@ // check the getter's own code. Only relocated or build-varying fields (stack // slots, frame sizes, PC-relative offsets, the call target) are masked. // Verified on x86_64 2.734.917, 2.736.1408 and 2.738.1397, and on arm64-v8a -// 2.738.1397 and 2.740.931. +// 2.738.1397, 2.740.931 and 2.748.1527. namespace mocktail::compat { diff --git a/src/compat/host_abi_profile.cc b/src/compat/host_abi_profile.cc index b00fe278..65fdc112 100644 --- a/src/compat/host_abi_profile.cc +++ b/src/compat/host_abi_profile.cc @@ -79,6 +79,30 @@ constexpr HostAbiProfile kProfiles[] = { {0x2245a0c, 0x79a9478}, HostAllocatorStrategy::kNativeMimalloc, false}, + // Roblox 2.748.1527 arm64-v8a. Matched against 2.742.1059 arm64-v8a. Index + // 7 is an added constructor, so process-load moved to 8. + {"c9b85f90f6882869f1f855110f89d3bcc33d6a48", + {{{0x1b484b0, HostBridgeKind::kAllocate, "small-allocate"}, + {0x1b4c2a8, HostBridgeKind::kUsableSize, "usable-size"}, + {0x1b66af8, HostBridgeKind::kReallocate, "reallocate"}, + {0x1b47f3c, HostBridgeKind::kAllocate, "allocate"}, + {0x615facc, HostBridgeKind::kAlignedAllocate, + "aligned-allocate-direct"}, + {0x1b4d9cc, HostBridgeKind::kFree, "free"}}}, + 6, + {0, 0, 0x6ef8b38, 0x400, 0x1b48858, 0x1b4c6f4, + 0x778c8b0, 0x778c940, 0x400000}, + {0x1b47f3c, 0x1b4d9cc}, + 0x66e6840, + 2353, + {{{2, 2353}}}, + 1, + {{{2, 2353}}}, + 1, + 8, + {0x1eedc6c, 0x6e3c548}, + HostAllocatorStrategy::kNativeMimalloc, + false}, // Roblox 2.742.1059 arm64-v8a. {"25aa7fd31008a744c3c99f717e7d16d81d371d12", {{{0x1e40368, HostBridgeKind::kAllocate, "small-allocate"}, diff --git a/tests/host_abi_profile_test.cc b/tests/host_abi_profile_test.cc index 7f969f11..fd47597d 100644 --- a/tests/host_abi_profile_test.cc +++ b/tests/host_abi_profile_test.cc @@ -242,6 +242,29 @@ TEST(HostAbiProfileTest, Arm64UpdateInitializesThreadAtRelocatedProcessLoad) { EXPECT_TRUE(profile->HasValidNativePreJniBootstrap()); } +TEST(HostAbiProfileTest, Arm64Roblox2748InitializesThreadAfterAddedConstructor) { + const auto* profile = + FindHostAbiProfile("c9b85f90f6882869f1f855110f89d3bcc33d6a48"); + ASSERT_NE(profile, nullptr); + EXPECT_EQ(profile->init_array_offset, 0x66e6840u); + EXPECT_EQ(profile->init_array_count, 2353u); + EXPECT_EQ(profile->ResolveAllocatorStrategy(false, false), + HostAllocatorStrategy::kNativeMimalloc); + EXPECT_FALSE(profile->host_allocator_bridges_supported); + ASSERT_TRUE(profile->HasValidNativeMimallocConstructorRanges()); + EXPECT_FALSE(profile->AllowsNativeMimallocConstructor(1)); + // Index 7 is a constructor 2.748 added; process-load moved to 8. + for (std::size_t index = 2; index < profile->init_array_count; ++index) { + EXPECT_TRUE(profile->AllowsNativeMimallocConstructor(index)) << index; + EXPECT_EQ( + profile->ShouldInitializeNativeMimallocThreadAfterConstructor(index), + index == 8) << index; + } + EXPECT_TRUE(profile->native_allocator.IsValid()); + EXPECT_TRUE(profile->HasValidNativePreJniBootstrap()); + EXPECT_NE(profile->data_seeds.allocator_thread_initializer, 0u); +} + TEST(HostAbiProfileTest, UnknownBuildHasNoNativeOffsets) { EXPECT_EQ(FindHostAbiProfile("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"), nullptr); diff --git a/tests/web_view_protocol_contract_test.cc b/tests/web_view_protocol_contract_test.cc index 2554586c..ee7a3f6c 100644 --- a/tests/web_view_protocol_contract_test.cc +++ b/tests/web_view_protocol_contract_test.cc @@ -69,6 +69,12 @@ constexpr KnownBuild kArm64Builds[] = { 0x23818f4, "fd7bbea9f30b00f9fd030091492f02d029212a91f30308aa29fddf0809010036402f02d0" "0080299117000094600200f9f30b40f9fd7bc2a8c0035fd6"}, + {"2.748.1527", 0x21be384, + "ffc301d1fd7b02a9f91b00f9f85f04a9f65705a9f44f06a9fd830091d72902f0f77e46f9" + "e80240f9a8831ff8e82b0091e8030091d5cbf897f30340f9680e40f9", + 0x1ff130c, + "fd7bbea9f30b00f9fd030091094002f029e13c91f30308aa29fddf0809010036004002f0" + "00403c9117000094600200f9f30b40f9fd7bc2a8c0035fd6"}, }; TEST(WebViewProtocolContractTest, FindsX86_64GetterInKnownBuilds) {