//
// GameLevelManager::createAndGetLevelComments from 0x1000a61d4 to 0x1000a6254 (128 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetLevelCommentsCompleted @ 0x10008bccc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall GameLevelManager::createAndGetLevelComments(__int64 a1, __int64 a2, __int64 a3)
{
__int64 CommentsFull; // x19
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v8; // [xsp+10h] [xbp-20h]
if ( *(char *)(a2 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a2;
v8 = *(_QWORD *)(a2 + 16);
}
CommentsFull = GameLevelManager::createAndGetCommentsFull(a1, __p, a3, 0);
if ( SHIBYTE(v8) < 0 )
operator delete(__p[0]);
return CommentsFull;
}