//
// sub_9DB7C from 0x9db7c to 0x9db90 (20 bytes)
//
// 3 xrefs:
// > sub_9D7EC @ 0x9d85e
// > sub_9D7EC @ 0x9d89a
// > sub_9D7EC @ 0x9d8ba
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:41:31 +0000
//
int __fastcall sub_9DB7C(int a1)
{
int result; // r0
result = *(_DWORD *)a1;
if ( result )
{
if ( !*(_BYTE *)(a1 + 4) )
{
*(_BYTE *)(a1 + 4) = 1;
return sub_6502C(result);
}
}
return result;
}