//
// GJScaleControl::hasActiveInput from 0xbd043c to 0xbd0478 (60 bytes)
//
// 2 xrefs:
// > EditorUI::keyDown @ 0xbd6ccc
// > ??> @ 0x51460
//
// This function is hookable on this platform (idp: arm, 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 13:03:37 +0000
//
__int64 __fastcall GJScaleControl::hasActiveInput(GJScaleControl *this)
{
__int64 v1; // x1
unsigned int v2; // w1
__int64 v3; // x1
__int64 v4; // x0
v1 = *((_QWORD *)this + 61);
if ( !v1 || (v2 = *(unsigned __int8 *)(v1 + 460)) == 0 )
{
v3 = *((_QWORD *)this + 62);
if ( !v3 || (v2 = *(unsigned __int8 *)(v3 + 460)) == 0 )
{
v4 = *((_QWORD *)this + 63);
if ( v4 )
return *(unsigned __int8 *)(v4 + 460);
else
return 0;
}
}
return v2;
}