//
// sub_1003143EC from 0x1003143ec to 0x10031448c (160 bytes)
//
// 4 xrefs:
// > UploadPopup::dUploadPopup @ 0x100314490
// > sub_100314494 @ 0x100314498
// > sub_10031449C @ 0x1003144a4
// > sub_1003144B0 @ 0x1003144bc
//
// 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:03:14 +0000
//
__int64 __fastcall sub_1003143EC(_QWORD *a1)
{
_DWORD *v2; // x0
*a1 = off_10092D8C0;
a1[40] = off_10092DE20;
a1[41] = &off_10092DE90;
a1[42] = off_10092DEA8;
a1[43] = off_10092DEC8;
a1[44] = off_10092DEF0;
a1[51] = off_10092DF20;
a1[54] = off_10092DFA0;
a1[68] = off_10092DFC0;
a1[83] = off_10092E008;
v2 = (_DWORD *)a1[84];
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(_QWORD *)(GameLevelManager::sharedState() + 1272)
&& *(_QWORD **)(GameLevelManager::sharedState() + 1272) == a1 + 83 )
{
*(_QWORD *)(GameLevelManager::sharedState() + 1272) = 0;
}
return sub_10034A834(a1);
}