//
// EditorWindowPopup::dismissDropdowns from 0x1004d9b00 to 0x1004d9b3c (60 bytes)
//
// 2 xrefs:
// > EditorWindowPopup::layoutWindow @ 0x1004d9acc
// > EditorWindowPopup::onClose @ 0x1004dac18
//
// 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:33 +0000
//
__int64 __fastcall EditorWindowPopup::dismissDropdowns(__int64 result)
{
__int64 v1; // x8
__int64 v2; // x8
__int64 v3; // x19
v1 = *(_QWORD *)(result + 1000);
if ( v1 )
{
v2 = *(_QWORD *)(v1 + 56);
if ( v2 )
{
do
{
v3 = *(_QWORD *)(v2 + 288);
result = sub_1004E6C40(*(_QWORD *)(v2 + 264));
v2 = v3;
}
while ( v3 );
}
}
return result;
}