//
// sub_100314B60 from 0x100314b60 to 0x100314be0 (128 bytes)
//
// 1 xrefs:
// > UploadPopup::levelUploadFinished @ 0x100314a84
//
// 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
//
void __fastcall sub_100314B60(__int64 *a1)
{
__int64 v2; // x20
__int64 v3; // x0
char *v4; // x0
__int64 v5; // x0
__int64 v6; // x0
__int64 v7; // x0
(*(void (__fastcall **)(__int64 *, _QWORD))(*a1 + 1072))(a1, 0);
v2 = cocos2d::CCDirector::sharedDirector();
v3 = EditLevelLayer::scene(a1[84]);
v4 = cocos2d::CCTransitionFade::create_1(v3, 0.5);
v5 = cocos2d::CCDirector::replaceScene(v2, v4);
v6 = GameManager::sharedState(v5);
if ( *(_DWORD *)(v6 + 660) == *(_DWORD *)(v6 + 664) && (*(_BYTE *)(GameManager::sharedState(v6) + 656) & 1) == 0 )
{
v7 = GameLevelManager::sharedState();
GameLevelManager::updateUserScore(v7);
}
}