//
// sub_953864 from 0x953864 to 0x9538bc (88 bytes)
//
// 1 xrefs:
// > sub_95352E @ 0x953538
//
// 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:26 +0000
//
int __fastcall sub_953864(int a1)
{
int v2; // r0
int v3; // r0
int result; // r0
if ( *(_BYTE *)(a1 + 65) )
{
v2 = a1 + 72;
if ( *(_BYTE *)(a1 + 64) )
sub_953F48(v2);
else
sub_953F40(v2);
}
if ( (unsigned __int8)*(_WORD *)(a1 + 66) )
{
sub_953F50(a1 + 208);
v3 = *(unsigned __int8 *)(a1 + 67);
}
else
{
v3 = HIBYTE(*(unsigned __int16 *)(a1 + 66));
}
if ( v3 )
sub_953F58(a1 + 336);
result = *(unsigned __int8 *)(a1 + 68);
if ( *(_BYTE *)(a1 + 68) )
return sub_AF80A4(a1 + 464);
return result;
}