//
// sub_9932D6 from 0x9932d6 to 0x993314 (62 bytes)
//
// 1 xrefs:
// > sub_993314 @ 0x993314
//
// 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:06:37 +0000
//
unsigned int __fastcall sub_9932D6(int a1, int a2, unsigned int a3)
{
unsigned int v6; // r0
unsigned int v7; // r4
unsigned int v8; // r5
v6 = sub_99883C(a2);
v7 = v6;
if ( v6 >= a3 )
{
if ( a3 )
{
v8 = a3 - 1;
sub_998B80(a1, a2, v8);
*(_DWORD *)(a1 + 4 * v8) = 0;
}
}
else
{
sub_998B80(a1, a2, v6 + 1);
}
return v7;
}