//
// NewThreadPopup::onEmotes from 0x748338 to 0x748372 (58 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:58:44 +0000
//
int __fastcall NewThreadPopup::onEmotes(NewThreadPopup *this, cocos2d::CCObject *a2)
{
int v4; // r7
int v5; // r5
int v6; // r8
int v7; // r0
int result; // r0
v4 = *((_DWORD *)this + 141);
v5 = *((_DWORD *)this + 159);
v6 = NewThreadPopup::bodyEmoteCap(this);
v7 = NewThreadPopup::bodyCharLimit(this);
result = EmotePickerPopup::toggle(v4, (int)this + 532, a2, v5, v6, v7);
*((_DWORD *)this + 141) = result;
return result;
}