//
// SoundPackDescPopup::onEmotes from 0xcccd3c to 0xcccd8c (80 bytes)
//
// 3 xrefs:
// > ??> @ 0x87310
// > SoundPackDescPopup::init @ 0xcd024c
// > ??> @ 0x15438c0
//
// 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:06:25 +0000
//
_QWORD *__fastcall SoundPackDescPopup::onEmotes(SoundPackDescPopup *this, cocos2d::CCObject *a2)
{
__int64 v3; // x20
int v4; // w0
_QWORD *result; // x0
__int64 v7; // [xsp+28h] [xbp+28h]
v3 = *((_QWORD *)this + 136);
v7 = *((_QWORD *)this + 129);
v4 = EmoteSprite::maxEmotesComment(this);
result = EmotePickerPopup::toggle(v3, (__int64)this + 1016, a2, v7, v4, 140);
*((_QWORD *)this + 136) = result;
return result;
}