Skip to content

Commit

Permalink
fix: Updated DataModel IsOpen offset
Browse files Browse the repository at this point in the history
  • Loading branch information
Pixeluted committed Nov 7, 2024
1 parent b4c7227 commit 0e59549
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RobloxManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,6 @@ void RobloxManager::SetScriptContext(const RBX::DataModelType &dataModel, void *
}

bool RobloxManager::IsDataModelOpen(void *dataModel) {
const auto isOpen = reinterpret_cast<uintptr_t>(dataModel) + 0x561;
const auto isOpen = *reinterpret_cast<int32_t*>(reinterpret_cast<uintptr_t>(dataModel) + 0x569);
return isOpen != 0;
}

0 comments on commit 0e59549

Please sign in to comment.