//
// sub_10000B9C0 from 0x10000b9c0 to 0x10000ba13 (83 bytes)
//
// 1 xrefs:
// > EditorWindowPopup::onClose @ 0x1009021f6
//
// 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:18:50 +0000
//
void __fastcall sub_10000B9C0(__int64 a1, __int64 a2)
{
_QWORD *v2; // rdx
void *v3; // rdi
void *__p; // [rsp+8h] [rbp-18h] BYREF
v2 = (_QWORD *)(a1 + 592);
while ( 1 )
{
v2 = (_QWORD *)*v2;
if ( !v2 )
break;
if ( v2[3] == a2 )
{
sub_10001AE30(&__p, a1 + 576);
v3 = __p;
__p = nullptr;
if ( v3 )
operator delete(v3);
return;
}
}
}