//
// EditLevelLayer::onEmotes from 0x49f486 to 0x49f4be (56 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:49:48 +0000
//
int __fastcall EditLevelLayer::onEmotes(EditLevelLayer *this, cocos2d::CCObject *a2)
{
EmoteSprite *v3; // r0
int v4; // r7
cocos2d::CCNode *v5; // r6
int v6; // r5
int v7; // r0
int result; // r0
v3 = (EmoteSprite *)(*(int (__fastcall **)(EditLevelLayer *, int))(*(_DWORD *)this + 240))(this, 2);
v4 = *((_DWORD *)this + 98);
v5 = *((cocos2d::CCNode **)this + 97);
v6 = (int)v3;
v7 = EmoteSprite::maxEmotesComment(v3);
result = EmotePickerPopup::toggle(v4, (int)this + 340, v5, v6, v7, 180);
*((_DWORD *)this + 98) = result;
return result;
}