//
// sub_10056D310 from 0x10056d310 to 0x10056d37b (107 bytes)
//
// 1 xrefs:
// > ShareCommentLayer::onShare @ 0x1006b2e56
//
// This function is hookable on this platform (idp: pc, 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 12:32:13 +0000
//
void __fastcall sub_10056D310(__int64 a1, int a2, __int128 *a3)
{
__int128 v3; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
if ( (*(_BYTE *)a3 & 1) != 0 )
{
sub_10001AD30(&v3, *((const void **)a3 + 2), *((_QWORD *)a3 + 1));
}
else
{
__p = *((void **)a3 + 2);
v3 = *a3;
}
GameLevelManager::uploadComment(a1, (__int64)&v3, 6u, a2, 0);
if ( (v3 & 1) != 0 )
operator delete(__p);
}