//
// sub_953328 from 0x953328 to 0x9533ca (162 bytes)
//
// 0 xrefs:
//
// 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:25 +0000
//
int __fastcall sub_953328(int a1, int a2)
{
int v4; // r0
if ( a2 > 12 )
{
if ( a2 != 15 )
{
if ( a2 == 14 )
{
v4 = a1 + 64;
return *(_DWORD *)v4;
}
if ( a2 != 13 )
goto LABEL_11;
LABEL_9:
v4 = a1 + 60;
return *(_DWORD *)v4;
}
goto LABEL_8;
}
if ( a2 == -2 )
goto LABEL_9;
if ( a2 == -1 )
{
LABEL_8:
v4 = a1 + 68;
return *(_DWORD *)v4;
}
LABEL_11:
if ( (unsigned int)a2 > 0xC )
{
if ( (a2 & 0xFFFFFFFC) != 0xC0 )
{
fprintf(
(FILE *)((char *)&_sF + 168),
"libunwind: %s %s:%d - %s\n",
"uint32_t libunwind::Registers_arm::getRegister(int)",
"/Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libunwind_llvm/src/Registers.hpp",
1460,
"unsupported arm register");
fflush((FILE *)((char *)&_sF + 168));
abort();
}
if ( !*(_BYTE *)(a1 + 76) )
{
*(_BYTE *)(a1 + 76) = 1;
sub_953138();
}
v4 = a1 + 4 * a2 - 296;
}
else
{
v4 = a1 + 4 * a2 + 8;
}
return *(_DWORD *)v4;
}