//
// GameLevelManager::createAndGetAccountComments from 0x10056aa60 to 0x10056aad6 (118 bytes)
//
// 0 xrefs:
//
// 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:12 +0000
//
__int64 __fastcall GameLevelManager::createAndGetAccountComments(__int64 a1, __int128 *a2, __int64 a3)
{
unsigned int v3; // r14d
__int64 result; // rax
__int64 v5; // rbx
__int128 v6; // [rsp+0h] [rbp-30h] BYREF
void *__p; // [rsp+10h] [rbp-20h]
if ( (*(_BYTE *)a2 & 1) != 0 )
{
v3 = a3;
sub_10001AD30(&v6, *((const void **)a2 + 2), *((_QWORD *)a2 + 1));
a3 = v3;
}
else
{
__p = *((void **)a2 + 2);
v6 = *a2;
}
result = sub_10056AAF0(a1, &v6, a3, 1, 1);
if ( (v6 & 1) != 0 )
{
v5 = result;
operator delete(__p);
return v5;
}
return result;
}