//
// sub_A352C from 0xa352c to 0xa354e (34 bytes)
//
// 2 xrefs:
// > ??> @ 0xa3076
// > ??> @ 0xa351a
//
// 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:34 +0000
//
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;
}