//
// ThreadDescPopup::onEmotes from 0xc640a4 to 0xc640f4 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x79798
// > ThreadDescPopup::buildUI @ 0xc7a370
// > ??> @ 0x1543180
//
// 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 13:05:24 +0000
//
__int64 __fastcall ThreadDescPopup::onEmotes(ThreadDescPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x20
__int64 result; // x0
v3 = *((_QWORD *)this + 142);
EmoteSprite::maxEmotesComment(this);
result = EmotePickerPopup::toggle(v3, (int)this + 1024, a2);
*((_QWORD *)this + 142) = result;
return result;
}