//
// GJScaleControl::applyFocusedInput from 0x1401a4d20 to 0x1401a4da3 (131 bytes)
//
// 3 xrefs:
// > EditorUI::keyDown @ 0x1401c1b98
// > EditorUI::handleAction @ 0x1401c1c34
// > ??> @ 0x140919ae4
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:27:49 +0000
//
char __fastcall GJScaleControl::applyFocusedInput(_QWORD *a1)
{
__int64 v1; // rax
__int64 v3; // rax
__int64 v4; // rax
v1 = a1[61];
if ( v1 && *(_BYTE *)(v1 + 468) )
{
GJScaleControl::onApplyScale((__int64)a1, a1[64]);
return 1;
}
else
{
v3 = a1[62];
if ( v3 && *(_BYTE *)(v3 + 468) )
{
GJScaleControl::onApplyScale((__int64)a1, a1[65]);
return 1;
}
else
{
v4 = a1[63];
if ( v4 && *(_BYTE *)(v4 + 468) )
{
GJScaleControl::onApplyScale((__int64)a1, a1[66]);
return 1;
}
else
{
return 0;
}
}
}
}