//
// sub_83F770 from 0x83f770 to 0x83f7b8 (72 bytes)
//
// 1 xrefs:
// > sub_83AF74 @ 0x83b010
//
// 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_83F770(_DWORD *a1, _DWORD *a2)
{
int **v4; // r0
int v5; // r6
int v6; // r0
*a2 = 0;
if ( !a1 || *a1 != 764702 || !sub_83E2FC(a1[5]) )
return 0;
v4 = (int **)a1[5];
v5 = **v4;
sub_83E21C((int)v4, *v4, 0);
v6 = sub_83E2FC(a1[5]);
*a2 = sub_84B860(v6);
return v5;
}