Skip to content

Commit

Permalink
Generic reverse engineering progress
Browse files Browse the repository at this point in the history
  • Loading branch information
roblabla committed Nov 1, 2024
1 parent d1b4ab9 commit 1454ad1
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
6 changes: 2 additions & 4 deletions src/th06_102h.exe/ReplayManager/DeletedCallback.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

undefined4 th06::ReplayManager::DeletedCallback(ReplayManager *param_1)
ZunResult th06::ReplayManager::DeletedCallback(ReplayManager *param_1)

{
Chain::Cut(&g_Chain,param_1->draw_chain);
Expand All @@ -13,6 +11,6 @@ undefined4 th06::ReplayManager::DeletedCallback(ReplayManager *param_1)
_free(g_ReplayManager->data);
operator_delete(g_ReplayManager);
g_ReplayManager = (ReplayManager *)0x0;
return 0;
return ZUN_SUCCESS;
}

4 changes: 2 additions & 2 deletions src/th06_102h.exe/ReplayManager/OnDraw.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

undefined4 th06::ReplayManager::OnDraw(void)
ChainCallbackResult th06::ReplayManager::OnDraw(void)

{
return 1;
return CHAIN_CALLBACK_RESULT_CONTINUE;
}

6 changes: 2 additions & 4 deletions src/th06_102h.exe/ReplayManager/OnUpdate.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

undefined4 th06::ReplayManager::OnUpdate(ReplayManager *param_1)
ChainCallbackResult th06::ReplayManager::OnUpdate(ReplayManager *param_1)

{
ushort uVar1;
Expand All @@ -16,6 +14,6 @@ undefined4 th06::ReplayManager::OnUpdate(ReplayManager *param_1)
}
param_1->frame_id = param_1->frame_id + 1;
}
return 1;
return CHAIN_CALLBACK_RESULT_CONTINUE;
}

4 changes: 2 additions & 2 deletions src/th06_102h.exe/ReplayManager/OnUpdateDemoHighPrio.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

/* WARNING: Removing unreachable block (ram,0x0042a60a) */

undefined4 th06::ReplayManager::OnUpdateDemoHighPrio(ReplayManager *param_1)
ChainCallbackResult th06::ReplayManager::OnUpdateDemoHighPrio(ReplayManager *param_1)

{
if (g_GameManager.is_in_menu != 0) {
Expand All @@ -23,6 +23,6 @@ undefined4 th06::ReplayManager::OnUpdateDemoHighPrio(ReplayManager *param_1)
}
param_1->frame_id = param_1->frame_id + 1;
}
return 1;
return CHAIN_CALLBACK_RESULT_CONTINUE;
}

2 changes: 1 addition & 1 deletion th06_102h.exe.version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
285
286

0 comments on commit 1454ad1

Please sign in to comment.