//
// sub_1000C1EDC from 0x1000c1edc to 0x1000c1f60 (132 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::onShare @ 0x10026db70
//
// 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:58:47 +0000
//
void __fastcall sub_1000C1EDC(__int64 a1, int a2, __int64 a3, int a4)
{
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
__int64 v8; // [xsp+10h] [xbp-30h]
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v8 = *(_QWORD *)(a3 + 16);
}
sub_1000C150C(a1, __p, 7, a2, a4);
if ( SHIBYTE(v8) < 0 )
operator delete(__p[0]);
}