//
// sub_100655C48 from 0x100655c48 to 0x100655cf0 (168 bytes)
//
// 2 xrefs:
// > ??> @ 0x1009adfd8
// > ??> @ 0x1009ae0c0
//
// 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:10:52 +0000
//
__int64 __fastcall sub_100655C48(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // x0
*__error() = 0;
if ( (sub_100664E84(a1) & 0x3000) == 0 || *(_DWORD *)(a1 + 44) )
{
sub_100664018(a1);
return 0xFFFFFFFFLL;
}
result = (*(__int64 (__fastcall **)(__int64))(a1 + 48))(a1);
if ( (result & 0x80000000) == 0 )
{
if ( (_DWORD)result )
return sub_100664DA0(a1, a2, a3);
sub_100706FB0(20, 121, 229, "s23_lib.c", 177);
return 0xFFFFFFFFLL;
}
return result;
}