//
// sub_1800853D0 from 0x1800853d0 to 0x180085403 (51 bytes)
//
// 3 xrefs:
// > sub_180084370 @ 0x1800843e6
// > sub_180084370 @ 0x180084601
// > sub_180084370 @ 0x18008463f
//
// 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
//
char __fastcall sub_1800853D0(_DWORD **a1, __int64 a2)
{
_DWORD *v3; // rdx
v3 = *a1;
if ( *a1 && ((*v3 & 7) == 1 || (*v3 & 7u) - 5 <= 1) )
return sub_180085720(v3 + 4, v3, 16, a2);
else
return 0;
}