//
// ShareCommentLayer::onEmotes from 0x90df58 to 0x90dfac (84 bytes)
//
// 3 xrefs:
// > ??> @ 0x4e268
// > ShareCommentLayer::init @ 0x90f4b4
// > ??> @ 0x15419c0
//
// 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 12:57:14 +0000
//
__int64 __fastcall ShareCommentLayer::onEmotes(ShareCommentLayer *this, cocos2d::CCObject *a2)
{
__int64 v3; // x20
__int64 result; // x0
EmotePickerPopup *v5; // [xsp+20h] [xbp+20h]
v3 = *((_QWORD *)this + 90);
v5 = *((EmotePickerPopup **)this + 89);
EmoteSprite::maxEmotesComment(this);
result = EmotePickerPopup::toggle(v3, (int)this + 680, v5);
*((_QWORD *)this + 90) = result;
return result;
}