Skip to content

Commit

Permalink
fix 0c decompiler
Browse files Browse the repository at this point in the history
  • Loading branch information
ate47 committed Oct 22, 2024
1 parent 1de3051 commit 44dc8b0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/acts/tools/gsc_opcodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6348,8 +6348,8 @@ int ASMContextNodeBlock::ComputeForEachBlocks(ASMContext& ctx) {
*/
constexpr uint64_t getfirstarraykeyIWHash = hashutils::HashJupScr("getfirstarraykey");
constexpr uint64_t getnextarraykeyIWHash = hashutils::HashJupScr("getnextarraykey");
constexpr uint64_t getfirstarraykeyCerHash = 0x7e4a95b654d9324;
constexpr uint64_t getnextarraykeyCerHash = 0xbedcb09342b6223;
constexpr uint64_t getfirstarraykeyCerHash = hashutils::HashT10Scr("getfirstarraykey");
constexpr uint64_t getnextarraykeyCerHash = hashutils::HashT10Scr("getnextarraykey");

size_t index = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/acts/tools/gsc_opcodes_load.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1249,7 +1249,7 @@ namespace tool::gsc::opcode {
RegisterOpCode(VM_BO6_07, PLATFORM_PC, OPCODE_Nop, 0xe0, 0xe1, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, 0xe7, 0xe8, 0xe9, 0xea, 0xeb, 0xec, 0xed, 0xee, 0xef);
RegisterOpCode(VM_BO6_07, PLATFORM_PC, OPCODE_Nop, 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb, 0xfc, 0xfd, 0xfe, 0xff);

RegisterVM(VM_BO6_0C, "Call of Duty: Black Ops 6", "t10", "bo6", VmFlags::VMF_EXPORT_CRC32 | VmFlags::VMF_HASH64 | VmFlags::VMF_FULL_FILE_NAMESPACE | VmFlags::VMF_HASH_CER | VmFlags::VMF_CALL_NO_PARAMS); // VmFlags::VMF_IW_CALLS | VmFlags::VMF_NO_PARAM_FLAGS
RegisterVM(VM_BO6_0C, "Call of Duty: Black Ops 6", "t10", "bo6", VmFlags::VMF_CRC_DUMP | VmFlags::VMF_FOREACH_IW | VmFlags::VMF_EXPORT_CRC32 | VmFlags::VMF_HASH64 | VmFlags::VMF_FULL_FILE_NAMESPACE | VmFlags::VMF_HASH_CER | VmFlags::VMF_CALL_NO_PARAMS); // VmFlags::VMF_IW_CALLS | VmFlags::VMF_NO_PARAM_FLAGS
RegisterVmName(VM_BO6_0C, "cer", "t10", "blackops6");
RegisterVMPlatform(VM_BO6_0C, PLATFORM_PC);
RegisterVMGlobalVariable(VM_BO6_0C, "level", OPCODE_IW_GetLevel);
Expand Down

0 comments on commit 44dc8b0

Please sign in to comment.