//
// sub_97EB90 from 0x97eb90 to 0x97ebba (42 bytes)
//
// 2 xrefs:
// > sub_97EB00 @ 0x97eb4c
// > sub_97EB00 @ 0x97eb5a
//
// 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:05 +0000
//
int __fastcall sub_97EB90(int a1)
{
char *v2; // r0
char *v3; // r1
v2 = *(char **)a1;
if ( v2 )
{
v3 = *(char **)(a1 + 4);
if ( v3 != v2 )
*(_DWORD *)(a1 + 4) = &v3[~(v3 - 4 - v2) & 0xFFFFFFFC];
operator delete(v2);
}
return a1;
}