//
// sub_A3206 from 0xa3206 to 0xa322e (40 bytes)
//
// 1 xrefs:
// > sub_A2D14 @ 0xa2d24
//
// 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_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;
}