//
// sub_100157708 from 0x100157708 to 0x10015773c (52 bytes)
//
// 2 xrefs:
// > EditorUI::keyDown @ 0x1001624a4
// > EditorUI::handleAction @ 0x100162584
//
// 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 10:59:42 +0000
//
__int64 __fastcall sub_100157708(__int64 a1)
{
__int64 v1; // x8
v1 = *(_QWORD *)(a1 + 464);
if ( !v1 || *(_BYTE *)(v1 + 460) != 1 )
return 0;
sub_100157424(a1);
return 1;
}