//
// sub_1004F6BC8 from 0x1004f6bc8 to 0x1004f6c34 (108 bytes)
//
// 1 xrefs:
// > ThreadViewPopup::onSend @ 0x1004f9cd0
//
// 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:06:48 +0000
//
bool __fastcall sub_1004F6BC8(_QWORD *a1, _QWORD *a2)
{
int v2; // w8
size_t v3; // x2
__int64 v4; // x10
int v5; // w9
v2 = *((char *)a1 + 23);
if ( v2 >= 0 )
v3 = *((unsigned __int8 *)a1 + 23);
else
v3 = a1[1];
v4 = *((unsigned __int8 *)a2 + 23);
v5 = (char)v4;
if ( (v4 & 0x80u) != 0LL )
v4 = a2[1];
if ( v3 != v4 )
return 1;
if ( v2 < 0 )
a1 = (_QWORD *)*a1;
if ( v5 < 0 )
a2 = (_QWORD *)*a2;
return memcmp(a1, a2, v3) != 0;
}