//
// sub_10026D5EC from 0x10026d5ec to 0x10026d6ac (192 bytes)
//
// 2 xrefs:
// > ShareCommentLayer::init @ 0x10026cda8
// > sub_10026D5DC @ 0x10026d5e8
//
// 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_10026D5EC(__int64 a1)
{
void (*v2)(void); // x8
__int64 v3; // x20
__int64 v4; // x0
const char *CString; // x1
__int64 (__fastcall *v6)(__int64, const char *); // x2
__int64 v7; // x0
v2 = *(void (**)(void))(**(_QWORD **)(a1 + 784) + 1024LL);
if ( *(_BYTE *)(a1 + 801) == 1 )
{
v2();
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 784) + 1072LL))(*(_QWORD *)(a1 + 784), &unk_100762E1C);
v3 = *(_QWORD *)(a1 + 784);
v4 = sub_1003065B0("%i%%", *(_DWORD *)(a1 + 804));
CString = (const char *)cocos2d::CCString::getCString(v4);
v6 = *(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v3 + 928LL);
v7 = v3;
}
else
{
v2();
(*(void (__fastcall **)(_QWORD, void *))(**(_QWORD **)(a1 + 784) + 1072LL))(*(_QWORD *)(a1 + 784), &unk_100762E1F);
v7 = *(_QWORD *)(a1 + 784);
v6 = *(__int64 (__fastcall **)(__int64, const char *))(*(_QWORD *)v7 + 928LL);
CString = "%";
}
return v6(v7, CString);
}