//
// EditLevelLayer::onEmotes from 0x7ed568 to 0x7ed5c8 (96 bytes)
//
// 3 xrefs:
// > ??> @ 0x8d718
// > EditLevelLayer::init @ 0x7f0950
// > ??> @ 0x1543bc0
//
// 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:54:33 +0000
//
__int64 __fastcall EditLevelLayer::onEmotes(EditLevelLayer *this, cocos2d::CCObject *a2)
{
EmoteSprite *v3; // x0
__int64 v4; // x20
__int64 result; // x0
EmotePickerPopup *v6; // [xsp+28h] [xbp+28h]
v3 = (EmoteSprite *)(*(__int64 (__fastcall **)(EditLevelLayer *, __int64))(*(_QWORD *)this + 480LL))(this, 2);
v4 = *((_QWORD *)this + 69);
v6 = *((EmotePickerPopup **)this + 68);
EmoteSprite::maxEmotesComment(v3);
result = EmotePickerPopup::toggle(v4, (int)this + 456, v6);
*((_QWORD *)this + 69) = result;
return result;
}