//
// sub_100953320 from 0x100953320 to 0x10095337e (94 bytes)
//
// 1 xrefs:
// > ThreadDescPopup::buildUI @ 0x100952d50
//
// 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:39 +0000
//
_QWORD *__fastcall sub_100953320(__int64 a1, __int64 *a2)
{
__int64 v2; // r15
__int64 v3; // r12
unsigned int v4; // eax
_QWORD *result; // rax
v2 = *(_QWORD *)(a1 + 1048);
v3 = *(_QWORD *)(a1 + 1136);
v4 = EmoteSprite::maxEmotesComment();
result = EmotePickerPopup::toggle(v3, a1 + 1024, a2, v2, v4, 0x12Cu);
*(_QWORD *)(a1 + 1136) = result;
return result;
}