//
// sub_DE7CF8 from 0xde7cf8 to 0xde7d64 (108 bytes)
//
// 2 xrefs:
// > sub_E113EC @ 0xe11534
// > sub_E113EC @ 0xe1159c
//
// 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:12 +0000
//
__int64 __fastcall sub_DE7CF8(__int64 a1, __int64 a2)
{
__int64 result; // x0
if ( !a1 )
return sub_E0FDD8(a2);
if ( *(_QWORD *)(a1 + 112) )
sub_E14C28(a1, 3, 2);
sub_E0FDD8(a2);
result = *(_QWORD *)(a1 + 112);
if ( result )
return sub_E14C88(a1, 3);
return result;
}