//
// sub_A352C from 0xa352c to 0xa354e (34 bytes)
//
// 2 xrefs:
// > ??> @ 0xa3076
// > ??> @ 0xa351a
//
// 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_A352C(int a1)
{
int v2; // r0
int result; // r0
v2 = *(_DWORD *)(a1 + 400);
if ( !v2 )
return 28;
result = sub_A2ED6(v2, a1);
if ( !result )
{
result = 0;
*(_DWORD *)(a1 + 400) = 0;
}
return result;
}