//
// ThreadViewPopup::onEmotes from 0xc62f58 to 0xc62fa8 (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x47290
// > ThreadViewPopup::init @ 0xc87398
// > ??> @ 0x15415b8
//
// 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:23 +0000
//
__int64 __fastcall ThreadViewPopup::onEmotes(ThreadViewPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x20
__int64 result; // x0
v3 = *((_QWORD *)this + 115);
EmoteSprite::maxEmotesMessage(this);
result = EmotePickerPopup::toggle(v3, (int)this + 688, a2);
*((_QWORD *)this + 115) = result;
return result;
}