//
// sub_9533E0 from 0x9533e0 to 0x953482 (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_9533E0(int result, int a2, int a3)
{
int v5; // r5
v5 = result;
if ( a2 <= 12 )
{
if ( a2 == -2 )
goto LABEL_9;
if ( a2 != -1 )
goto LABEL_11;
LABEL_8:
*(_DWORD *)(result + 68) = a3;
return result;
}
switch ( a2 )
{
case 15:
goto LABEL_8;
case 14:
*(_DWORD *)(result + 64) = a3;
return result;
case 13:
LABEL_9:
*(_DWORD *)(result + 60) = a3;
return result;
}
LABEL_11:
if ( (unsigned int)a2 > 0xC )
{
if ( (a2 & 0xFFFFFFFC) != 0xC0 )
{
fprintf(
(FILE *)((char *)&_sF + 168),
"libunwind: %s %s:%d - %s\n",
"void libunwind::Registers_arm::setRegister(int, uint32_t)",
"/Volumes/Android/buildbot/src/android/ndk-r14-release/external/libcxx/../../external/libunwind_llvm/src/Registers.hpp",
1479,
"unsupported arm register");
fflush((FILE *)((char *)&_sF + 168));
abort();
}
if ( !*(_BYTE *)(result + 76) )
{
*(_BYTE *)(result + 76) = 1;
sub_953138();
}
result = v5 + 4 * a2;
*(_DWORD *)(result - 296) = a3;
}
else
{
result += 4 * a2;
*(_DWORD *)(result + 8) = a3;
}
return result;
}