//
// sub_A3206 from 0xa3206 to 0xa322e (40 bytes)
//
// 1 xrefs:
// > sub_A2D14 @ 0xa2d24
//
// 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_A3206(_DWORD *a1)
{
int v1; // r2
int v2; // r1
int result; // r0
v1 = a1[7];
if ( v1 == -1 )
return 28;
if ( v1 != a1[1] )
return 0;
v2 = 2 * v1;
if ( v1 < 2 )
v2 = 4;
result = sub_A3148(a1, v2);
if ( !result )
return 0;
return result;
}