//
// ShareCommentLayer::onEmotes from 0x1006b3070 to 0x1006b30d3 (99 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::init @ 0x1006b230d
//
// 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:35:25 +0000
//
__int64 __fastcall ShareCommentLayer::onEmotes(__int64 a1, __int64 a2)
{
__int64 v2; // r14
__int64 v3; // r12
__int64 v4; // r13
unsigned int v5; // eax
__int64 result; // rax
v2 = *(_QWORD *)(a1 + 720);
v3 = *(_QWORD *)(a1 + 704);
v4 = *(_QWORD *)(a1 + 712);
v5 = EmoteSprite::maxEmotesComment(a1, a2);
result = EmotePickerPopup::toggle(v2, a1 + 680, v4, v3, v5, *(unsigned int *)(a1 + 688));
*(_QWORD *)(a1 + 720) = result;
return result;
}