Skip to content

Commit

Permalink
Update sigs for 7.01
Browse files Browse the repository at this point in the history
Untested, waiting for Dalamud to be updated
  • Loading branch information
Minmoose committed Jul 16, 2024
1 parent 323e9f4 commit e59cf26
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Brio/Game/Camera/CameraService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ public CameraService(EntityManager entityManager, GPoseService gPoseService, ISi
_cameraCollisionHook = hooking.HookFromAddress<CameraCollisionDelegate>(scanner.ScanText(cameraCollisionAddr), CameraCollisionDetour);
_cameraCollisionHook.Enable();

// TODO: Real sig?
var cameraUpdateAddr = "40 55 53 57 48 8d 6c 24 a0 48 81 ec 60 01 00 00 48 8b 1d 09 3a 0a 01 48 8b f9 48 85 db 0f 84 e6 09 00 00 48 8b cb e8 d5 5f 20 ff 84 c0 0f 84 d6 09 00 00"; // Camera.vf3
// TODO: Real sig?
var cameraUpdateAddr = "40 55 53 57 48 8D 6C 24 A0 48 81 EC 60 01 00 00 48 8B 1D ?? ?? 0A 01 48 8B F9 48 85 DB 0F 84 E6 09 00 00 48 8B CB ?? ?? ?? 20 FF 84 C0 0F 84 D6 09 00 00"; // Camera.vf3
_cameraUpdateHook = hooking.HookFromAddress<CameraUpdateDelegate>(scanner.ScanText(cameraUpdateAddr), CameraUpdateDetour);
_cameraUpdateHook.Enable();
}
Expand Down
2 changes: 1 addition & 1 deletion Brio/Game/Posing/SkeletonService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public SkeletonService(EntityManager entityManager, ObjectMonitorService monitor
_updateBonePhysicsHook = hooking.HookFromAddress<UpdateBonePhysicsDelegate>(scanner.ScanText(updateBonePhysicsAddress), UpdateBonePhysicsDetour);
_updateBonePhysicsHook.Enable();

var finalizeSkeletonsHook = "48 8B 0D F1 68 4E 02 E9 84 D9 3D"; // Framework.TaskRenderGraphicsRender
var finalizeSkeletonsHook = "48 8B 0D F1 85 4E 02 E9 E4 D8 3D 00"; // Framework.TaskRenderGraphicsRender
_finalizeSkeletonsHook = hooking.HookFromAddress<FinalizeSkeletonsDelegate>(scanner.ScanText(finalizeSkeletonsHook), FinalizeSkeletonsHook);
_finalizeSkeletonsHook.Enable();

Expand Down

0 comments on commit e59cf26

Please sign in to comment.