//
// sub_100066E50 from 0x100066e50 to 0x100066eb6 (102 bytes)
//
// 4 xrefs:
// > ThreadViewPopup::textChanged @ 0x10093a05e
// > ThreadViewPopup::textChanged @ 0x10093a076
// > sub_10093A0A0 @ 0x10093a0c9
// > sub_10093A0A0 @ 0x10093a0e1
//
// This function is hookable on this platform (idp: pc, 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:19:43 +0000
//
__int64 __fastcall sub_100066E50(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
__int64 v3; // rax
v1 = *(_QWORD *)(a1 + 616);
if ( v1 && (v2 = *(_QWORD *)(v1 + 608)) != 0 && (v3 = *(_QWORD *)(v2 + 648)) != 0 && (int)sub_1007FEF90(v3) >= 2 )
return sub_1007FEF90(*(_QWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 616) + 608LL) + 648LL));
else
return 1;
}