//
// sub_E309D8 from 0xe309d8 to 0xe30a44 (108 bytes)
//
// 1 xrefs:
// > sub_DF5648 @ 0xdf5e0c
//
// 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:55 +0000
//
__int64 __fastcall sub_E309D8(__int64 *a1, int a2)
{
__int64 v2; // x19
int v4; // w1
__int64 result; // x0
__int64 v6; // x2
__int64 *v7; // x19
__int64 *v8; // x2
v2 = a2;
v4 = sub_E2F20C(a1, a2);
result = 80;
if ( !v4 )
{
v6 = 5 * v2;
v7 = &a1[v2];
v8 = &a1[v6];
*((_BYTE *)v8 + 664) = 0;
*((_DWORD *)v8 + 167) = 0;
v7[79] = (__int64)sub_DF1F70;
v7[81] = (__int64)sub_DF1D0C;
return 0;
}
return result;
}