//
// sub_100139A28 from 0x100139a28 to 0x100139aa0 (120 bytes)
//
// 1 xrefs:
// > GJCompactUserCell::loadFromScore @ 0x10012eef8
//
// 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:59:28 +0000
//
void __fastcall sub_100139A28(__int64 a1)
{
__int64 v1; // x8
__int64 v2; // x19
void *__p[2]; // [xsp+0h] [xbp-30h] BYREF
__int64 v4; // [xsp+10h] [xbp-20h]
v1 = *(_QWORD *)(a1 + 552);
if ( v1 )
{
v2 = *(unsigned int *)(v1 + 376);
if ( (int)v2 >= 1 )
{
if ( *(char *)(v1 + 343) < 0 )
{
sub_1000097D0(__p, *(void **)(v1 + 320), *(_QWORD *)(v1 + 328));
}
else
{
*(_OWORD *)__p = *(_OWORD *)(v1 + 320);
v4 = *(_QWORD *)(v1 + 336);
}
sub_10050C6F4(v2, __p);
if ( SHIBYTE(v4) < 0 )
operator delete(__p[0]);
}
}
}