//
// sub_100551888 from 0x100551888 to 0x100551908 (128 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 11:07:53 +0000
//
__int64 __fastcall sub_100551888(__int64 a1, __int64 a2, unsigned int *a3, unsigned int a4)
{
__int64 result; // x0
__int64 v9; // [xsp+8h] [xbp-28h] BYREF
v9 = 0;
result = sub_1005514FC(a1, a2, &v9);
if ( (_DWORD)result )
{
result = sub_100550E58(a1, a2, (_DWORD *)&v9 + 1, a4);
if ( (_DWORD)result )
{
*a3 = -((((_DWORD)v9 << a4) | HIDWORD(v9)) & 1) ^ ((unsigned int)(((_DWORD)v9 << a4) | HIDWORD(v9)) >> 1);
return 1;
}
}
return result;
}