//
// sub_E7DB74 from 0xe7db74 to 0xe7dbd4 (96 bytes)
//
// 1 xrefs:
// > jinit_d_coef_controller @ 0xe7df68
//
// 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:10:43 +0000
//
__int64 __fastcall sub_E7DB74(__int64 a1)
{
int v1; // w1
bool v2; // cc
_DWORD *v3; // x1
__int64 result; // x0
int v5; // w2
__int64 v6; // x0
v1 = *(_DWORD *)(a1 + 448);
*(_DWORD *)(a1 + 176) = 0;
v2 = v1 <= 1;
v3 = *(_DWORD **)(a1 + 592);
if ( v2 )
{
v5 = *(_DWORD *)(a1 + 432);
v6 = *(_QWORD *)(a1 + 456);
if ( v5 == 1 )
result = *(unsigned int *)(v6 + 76);
else
result = *(unsigned int *)(v6 + 12);
v3[12] = result;
v3[10] = 0;
v3[11] = 0;
}
else
{
v3[10] = 0;
v3[12] = 1;
v3[11] = 0;
return 1;
}
return result;
}