//
// EmotePickerPopup::onClose from 0x100903c00 to 0x100903c62 (98 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb93a8
//
// 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:38:04 +0000
//
__int64 __fastcall EmotePickerPopup::onClose(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // rax
void (__fastcall ***v5)(_QWORD, __int64); // rdi
v4 = *(_QWORD *)(a1 + 1168);
if ( v4 && *(_QWORD *)(v4 + 496) == a1 + 544 )
*(_QWORD *)(v4 + 496) = 0;
v5 = *(void (__fastcall ****)(_QWORD, __int64))(a1 + 1184);
if ( v5 )
{
*(_QWORD *)(a1 + 1184) = 0;
(**v5)(v5, a1);
}
return EditorWindowPopup::onClose(a1, a2, a3);
}