Difference between revisions of "Call targets (list)"

From Final Fantasy XII Wiki
Jump to navigation Jump to search
(Created page with "Virtual Machine supports ~2000 predefined call targets. About third of them were never used in original scripts. For calls that were used, most of the time it was possible to...")
 
Line 3: Line 3:
 
In case of unused call targets, signatures have to be either guessed or retrieved from the game's executable. Some of the unused targets are connected to empty/removed functions. Calling non-existent target doesn't crash the VM, instead it's equivalent to calling a target with no arguments.
 
In case of unused call targets, signatures have to be either guessed or retrieved from the game's executable. Some of the unused targets are connected to empty/removed functions. Calling non-existent target doesn't crash the VM, instead it's equivalent to calling a target with no arguments.
  
== Basic calls ==
+
==Basic calls==
 
General usage calls used in all types of situations.
 
General usage calls used in all types of situations.
  
=== Used calls ===
+
===Used calls===
TBC
+
{| class="wikitable sortable"
 +
!Call ID
 +
!Call name
 +
!Arguments
 +
!Returns
 +
!ACT
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|-
 +
|
 +
|
 +
|
 +
|
 +
|
 +
|}
  
=== Unused calls ===
+
===Unused calls===
 
TBC
 
TBC
  
== Debug calls ==
+
==Debug calls==
 
Calls used mostly for debugging purposes. Many lead to empty functions or functions usable only in debug environment.
 
Calls used mostly for debugging purposes. Many lead to empty functions or functions usable only in debug environment.
  
=== Used calls ===
+
===Used calls===
 
TBC
 
TBC
  
=== Unused calls ===
+
===Unused calls===
 
TBC
 
TBC
  
== Battle calls ==
+
==Battle calls==
 
Calls used mostly in battle context.
 
Calls used mostly in battle context.
  
=== Used calls ===
+
===Used calls===
 
TBC
 
TBC
  
=== Unused calls ===
+
===Unused calls===
 
TBC
 
TBC
  
== Menu calls ==
+
==Menu calls==
 
Calls used mostly in menu context.
 
Calls used mostly in menu context.
  
=== Used calls ===
+
===Used calls===
 
TBC
 
TBC
  
=== Unused calls ===
+
===Unused calls===
 
TBC
 
TBC
 +
[[Category:Call targets]]

Revision as of 07:22, 23 July 2019

Virtual Machine supports ~2000 predefined call targets. About third of them were never used in original scripts. For calls that were used, most of the time it was possible to automatically get signatures with argument count, return value, ACT usage and variable types. In other cases signatures were retrieved manually.

In case of unused call targets, signatures have to be either guessed or retrieved from the game's executable. Some of the unused targets are connected to empty/removed functions. Calling non-existent target doesn't crash the VM, instead it's equivalent to calling a target with no arguments.

Basic calls

General usage calls used in all types of situations.

Used calls

Call ID Call name Arguments Returns ACT

Unused calls

TBC

Debug calls

Calls used mostly for debugging purposes. Many lead to empty functions or functions usable only in debug environment.

Used calls

TBC

Unused calls

TBC

Battle calls

Calls used mostly in battle context.

Used calls

TBC

Unused calls

TBC

Menu calls

Calls used mostly in menu context.

Used calls

TBC

Unused calls

TBC