//
// sub_E1D604 from 0xe1d604 to 0xe1d688 (132 bytes)
//
// 2 xrefs:
// > ??> @ 0x13fc478
// > ??> @ 0x13fc528
//
// 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:09:45 +0000
//
__int64 __fastcall sub_E1D604(__int64 a1, unsigned int a2)
{
__int64 v2; // x20
v2 = *(_QWORD *)(*(_QWORD *)a1 + 536LL);
if ( !v2 )
return 0;
if ( a2 )
sub_E0F4CC(a1, 1);
off_154A3C8(*(void **)(v2 + 8));
*(_QWORD *)(v2 + 8) = 0;
off_154A3C8(*(void **)(v2 + 16));
*(_QWORD *)(v2 + 16) = 0;
*(_DWORD *)v2 = 0;
return a2;
}