//
// sub_10052EE44 from 0x10052ee44 to 0x10052ef1c (216 bytes)
//
// 1 xrefs:
// > sub_10052E974 @ 0x10052eab4
//
// 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 11:07:19 +0000
//
void __fastcall sub_10052EE44(__int64 a1, __int64 a2)
{
int v3; // w20
__int64 v4; // x0
_QWORD *v5; // x0
void *v6; // x0
char *CString; // x0
_QWORD *v8; // x0
void *__p[2]; // [xsp+10h] [xbp-40h] BYREF
char v10; // [xsp+27h] [xbp-29h]
void *v11[2]; // [xsp+28h] [xbp-28h] BYREF
char v12; // [xsp+3Fh] [xbp-11h]
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = GameManager::sharedState();
sub_1003B7EF4(v4, v3, *(_BYTE *)(a1 + 1024));
v5 = *(_QWORD **)(a1 + 1016);
if ( v5 )
sub_10052E69C(v5);
v6 = sub_1003065B0("Slot %i loaded", v3);
CString = (char *)cocos2d::CCString::getCString((__int64)v6);
sub_100009900(v11, CString);
sub_100009900(__p, "");
v8 = TextAlertPopup::create((__int64)v11, 150, (__int64)__p, 0.5, 0.6);
(*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v8, 100);
if ( v10 < 0 )
operator delete(__p[0]);
if ( v12 < 0 )
operator delete(v11[0]);
}