benilla-re systems structs docs

CreateInputControl

function · input · orchestration

Address
0x5142a0 · 77 bytes, up to 0x5142ec
Signature
void __cdecl (void)
Meaning
Registers the Joystick setting and allocates and constructs the one input control
Confidence
verified, proof one
Finding
input#joystick-setting

Finding: Joystick setting in input

Start-up registers Joystick (help enable joystick control, default 0) before it creates the input control. When the new text begins with the character 1 and the handle 0x8500b4 is −1, its callback calls 0x7a71d0(0) and keeps the result there; any other text, 2 and true included, closes a handle that is not −1 and stores −1. Closing calls 0x7a7320, which only returns, so nothing is released. The callback returns 1 either way.

The derivation is in the doc.

Callers 1

Callees 3

Calls and jumps by a bare address, from tables/calls.tsv.