//
// FLAlertLayer::containsNode from 0x6999a4 to 0x6999fc (88 bytes)
//
// 3 xrefs:
// > FLAlertLayer::textInputShouldOffset @ 0x699a64
// > EditorWindowPopup::activeField @ 0xcd9b24
// > ??> @ 0xab9b8
//
// 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:50:39 +0000
//
__int64 __fastcall FLAlertLayer::containsNode(__int64 a1, __int64 a2)
{
bool v2; // zf
v2 = a2 == a1;
if ( !a2 )
return 0;
while ( !v2 )
{
a2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 512LL))(a2);
v2 = a2 == a1;
if ( !a2 )
return 0;
}
return 1;
}