//
// sub_83FCBC from 0x83fcbc to 0x83fd28 (108 bytes)
//
// 0 xrefs:
//
// 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 12:02:19 +0000
//
int __fastcall sub_83FCBC(_DWORD *a1, _DWORD *a2, int a3)
{
int v3; // r5
int result; // r0
int v7; // r3
if ( !a1 || *a1 != 764702 )
return 1;
if ( !a2 || a2[8739] != -1059136595 )
return 2;
v3 = 7;
if ( a2[16] )
return v3;
v3 = sub_83FB9C((int)a1, (int)a2);
if ( v3 )
return v3;
sub_8315D4((int)a2, 0);
v7 = a2[3];
a2[2] = a3;
result = 0;
if ( v7 != 14 )
a2[3] = 14;
a2[76] |= 1u;
return result;
}