//
// 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!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
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;
}