//
// sub_10050B088 from 0x10050b088 to 0x10050b100 (120 bytes)
//
// 1 xrefs:
// > sub_100508F28 @ 0x10050a02c
//
// 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:59 +0000
//
__int64 __fastcall sub_10050B088(__int64 a1, __int64 a2)
{
__int64 v4; // x21
__int64 v5; // x22
__int64 v6; // x0
__int64 v7; // x5
__int64 result; // x0
v4 = *(_QWORD *)(a1 + 752);
v5 = *(_QWORD *)(a1 + 888);
if ( *(_BYTE *)(a1 + 737) == 1 )
v6 = EmoteSprite::maxEmotesMessage();
else
v6 = EmoteSprite::maxEmotesComment();
if ( *(_BYTE *)(a1 + 737) )
v7 = 500;
else
v7 = 300;
result = EmotePickerPopup::toggle(v4, a1 + 688, a2, v5, v6, v7);
*(_QWORD *)(a1 + 752) = result;
return result;
}