//
// sub_9763D0 from 0x9763d0 to 0x976410 (64 bytes)
//
// 1 xrefs:
// > sub_9762F0 @ 0x976314
//
// 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:05:57 +0000
//
char *__fastcall sub_9763D0(int a1)
{
char *result; // r0
char *v3; // r1
result = *(char **)a1;
if ( result )
{
v3 = *(char **)(a1 + 4);
if ( v3 != result )
*(_DWORD *)(a1 + 4) = &v3[~(v3 - 4 - result) & 0xFFFFFFFC];
if ( (char *)(a1 + 16) == result )
*(_BYTE *)(a1 + 128) = 0;
else
operator delete(result);
*(_DWORD *)a1 = 0;
*(_DWORD *)(a1 + 4) = 0;
*(_DWORD *)(a1 + 8) = 0;
return nullptr;
}
return result;
}