//
// sub_10026E0A0 from 0x10026e0a0 to 0x10026e1bc (284 bytes)
//
// 4 xrefs:
// > ShareCommentLayer::init @ 0x10026d3ac
// > sub_10026D6AC @ 0x10026d6e0
// > ShareCommentLayer::textInputClosed @ 0x10026df6c
// > ShareCommentLayer::textChanged @ 0x10026e030
//
// 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 11:01:45 +0000
//
__int64 __fastcall sub_10026E0A0(__int64 a1)
{
__int64 v2; // x0
int v3; // w0
int v4; // w20
int v5; // w21
__int64 v6; // x19
__int64 v7; // x0
__int64 CString; // x1
if ( *(_BYTE *)(a1 + 700) == 1 )
{
v2 = EmoteSprite::maxEmotesComment(a1);
v3 = EmoteSprite::effectiveLength(a1 + 728, v2);
}
else
{
v3 = EmoteSprite::characterCount(a1 + 728);
}
v4 = v3;
v5 = *(_DWORD *)(a1 + 688);
if ( (float)((float)v5 * 0.7) <= (float)v3 )
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 776) + 1024LL))(*(_QWORD *)(a1 + 776), 255);
else
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 776) + 1024LL))(*(_QWORD *)(a1 + 776), 125);
(*(void (**)(void))(**(_QWORD **)(a1 + 776) + 1072LL))();
v6 = *(_QWORD *)(a1 + 776);
v7 = sub_1003065B0("%i", v5 - v4);
CString = cocos2d::CCString::getCString(v7);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 928LL))(v6, CString);
}