//
// sub_1000C1DB4 from 0x1000c1db4 to 0x1000c1e2c (120 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::onShare @ 0x10026dc1c
//
// 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_1000C1DB4(__int64 a1, __int64 a2)
{
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v4; // [xsp+10h] [xbp-20h]
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v4 = *(_QWORD *)(a2 + 16);
}
sub_1000C150C(a1, __p, 1, 0, 0);
if ( SHIBYTE(v4) < 0 )
operator delete(__p[0]);
}