//
// sub_55FFC from 0x55ffc to 0x56034 (56 bytes)
//
// 2 xrefs:
// > ??> @ 0x10c450
// > ??> @ 0x10c678
//
// 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 12:13:49 +0000
//
__int64 __fastcall sub_55FFC(__int64 *a1, int a2)
{
unsigned int v2; // w8
__int64 v3; // x10
unsigned int v4; // w9
int v5; // w8
v2 = *((_DWORD *)a1 + 18);
if ( ((a2 ^ (v2 >> 1)) & 1) == 0 )
JUMPOUT(0x57800);
v3 = *a1;
v4 = v2 & 0xFFFFFFFD;
v5 = v2 | 2;
if ( (a2 & 1) == 0 )
v5 = v4;
*((_DWORD *)a1 + 18) = v5;
return (*(__int64 (__fastcall **)(float))(v3 + 32))(*((float *)a1 + 12));
}