//
// sub_EA544 from 0xea544 to 0xea5dc (152 bytes)
//
// 1 xrefs:
// > sub_E9974 @ 0xe9980
//
// 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 12:15:01 +0000
//
__int64 __fastcall sub_EA544(__int64 a1)
{
if ( !*(_QWORD *)(a1 + 1536) )
return 0;
if ( (unsigned int)sub_EA660(*(_QWORD *)(a1 + 1544), 1) || (unsigned int)sub_EA6D0(*(_QWORD *)(a1 + 1552)) )
return 28;
sub_EA680();
*(_QWORD *)(a1 + 1536) = 0;
*(_QWORD *)(a1 + 1544) = 0;
*(_QWORD *)(a1 + 1552) = 0;
sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), *(_DWORD **)(a1 + 1576));
*(_QWORD *)(a1 + 1576) = 0;
return 0;
}