//
// sub_9DE50 from 0x9de50 to 0x9e038 (488 bytes)
//
// 1 xrefs:
// > sub_9D7F4 @ 0x9d984
//
// 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 12:14:27 +0000
//
__int64 sub_9DE50()
{
__int64 v0; // x19
__int64 result; // x0
int v2; // [xsp+214h] [xbp-45Ch] BYREF
_BYTE v3[520]; // [xsp+418h] [xbp-258h] BYREF
v2 = 512;
result = sub_9E898();
if ( !(_DWORD)result )
{
result = sub_9E924(result, v3, &v2);
if ( !(_DWORD)result )
{
if ( (unsigned int)sub_E3E1C("ASX VERSION", v3) )
{
return 19;
}
else
{
while ( !(unsigned int)sub_9E8EC() )
{
v3[v2] = 0;
v3[0] = 0;
if ( (unsigned int)sub_E3E1C("ENTRY", v3) )
sub_E3D58(v3);
sub_9E948(v0);
}
return 0;
}
}
}
return result;
}