//
// sub_1001101C0 from 0x1001101c0 to 0x100110224 (100 bytes)
//
// 1 xrefs:
// > EditLevelLayer::init @ 0x10010f5e8
//
// 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 10:59:08 +0000
//
__int64 __fastcall sub_1001101C0(_QWORD *a1)
{
__int64 v2; // x20
__int64 v3; // x21
__int64 v4; // x22
__int64 v5; // x0
__int64 result; // x0
v2 = (*(__int64 (__fastcall **)(_QWORD *, __int64))(*a1 + 480LL))(a1, 2);
v3 = a1[69];
v4 = a1[68];
v5 = EmoteSprite::maxEmotesComment(v2);
result = EmotePickerPopup::toggle(v3, a1 + 57, v4, v2, v5, 180);
a1[69] = result;
return result;
}