//
// GJScaleControl::applyFocusedInput from 0x6ee708 to 0x6ee74c (68 bytes)
//
// 2 xrefs:
// > EditorUI::keyDown @ 0x6f12ba
// > EditorUI::handleAction @ 0x6f2742
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:57:33 +0000
//
int __fastcall GJScaleControl::applyFocusedInput(GJScaleControl *this)
{
int v1; // r2
int v2; // r4
cocos2d::CCObject *v3; // r1
int v4; // r2
v1 = *((_DWORD *)this + 92);
if ( v1 )
{
v2 = *(unsigned __int8 *)(v1 + 344);
if ( *(_BYTE *)(v1 + 344) )
{
v3 = *((cocos2d::CCObject **)this + 95);
LABEL_10:
GJScaleControl::onApplyScale((int)this, v3);
return v2;
}
}
v4 = *((_DWORD *)this + 93);
if ( v4 )
{
v2 = *(unsigned __int8 *)(v4 + 344);
if ( *(_BYTE *)(v4 + 344) )
{
v3 = *((cocos2d::CCObject **)this + 96);
goto LABEL_10;
}
}
v2 = *((_DWORD *)this + 94);
if ( v2 )
{
v2 = *(unsigned __int8 *)(v2 + 344);
if ( v2 )
{
v3 = *((cocos2d::CCObject **)this + 97);
goto LABEL_10;
}
}
return v2;
}