//
// sub_EA544 from 0xea544 to 0xea5dc (152 bytes)
//
// 1 xrefs:
// > sub_E9974 @ 0xe9980
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}