//
// sub_A3036C from 0xa3036c to 0xa30390 (36 bytes)
//
// 3 xrefs:
// > OBJ_NAME_do_all_sorted @ 0xa30994
// > OBJ_NAME_do_all_sorted @ 0xa3099c
// > ??> @ 0xa30a18
//
// 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:08:04 +0000
//
_DWORD *__fastcall sub_A3036C(_DWORD *result, _DWORD *a2)
{
int v2; // r3
int v3; // r2
if ( *result == *a2 )
{
v2 = a2[1];
v3 = a2[2];
a2[1] = v2 + 1;
*(_DWORD *)(v3 + 4 * v2) = result;
}
return result;
}