//
// sub_A308E0 from 0xa308e0 to 0xa30910 (48 bytes)
//
// 3 xrefs:
// > OBJ_NAME_cleanup @ 0xa30a5c
// > OBJ_NAME_cleanup @ 0xa30a64
// > ??> @ 0xa30aac
//
// 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
//
int *__fastcall sub_A308E0(int *result)
{
int v1; // r1
if ( result )
{
v1 = *result;
if ( dword_D35798 < 0 || dword_D35798 == v1 )
return (int *)OBJ_NAME_remove(result[2], v1);
}
return result;
}