//
// sub_10034F75C from 0x10034f75c to 0x10034f854 (248 bytes)
//
// 4 xrefs:
// > sub_10034F858 @ 0x10034f858
// > sub_10034F85C @ 0x10034f860
// > sub_10034F864 @ 0x10034f86c
// > sub_10034F878 @ 0x10034f884
//
// 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 sub_10034F75C(__int64 a1)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
cocos2d::CCObject *v4; // x0
*(_QWORD *)a1 = off_1007F2F40;
*(_QWORD *)(a1 + 320) = off_1007F3498;
*(_QWORD *)(a1 + 328) = &off_1007F3508;
*(_QWORD *)(a1 + 336) = off_1007F3520;
*(_QWORD *)(a1 + 344) = off_1007F3540;
*(_QWORD *)(a1 + 352) = off_1007F3560;
*(_QWORD *)(a1 + 408) = off_1007F3588;
*(_QWORD *)(a1 + 432) = off_1007F3608;
*(_QWORD *)(a1 + 632) = off_1007F3628;
*(_QWORD *)(a1 + 640) = off_1007F3658;
*(_QWORD *)(a1 + 648) = &off_1007F3680;
v2 = *(cocos2d::CCObject **)(a1 + 656);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *(cocos2d::CCObject **)(a1 + 664);
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = *(cocos2d::CCObject **)(a1 + 672);
if ( v4 )
cocos2d::CCObject::release(v4);
if ( GameLevelManager::sharedState()->m_levelCommentDelegate
&& GameLevelManager::sharedState()->m_levelCommentDelegate == (LevelCommentDelegate *)(a1 + 632) )
{
GameLevelManager::sharedState()->m_levelCommentDelegate = nullptr;
}
if ( GameLevelManager::sharedState()->m_commentUploadDelegate
&& GameLevelManager::sharedState()->m_commentUploadDelegate == (CommentUploadDelegate *)(a1 + 640) )
{
GameLevelManager::sharedState()->m_commentUploadDelegate = nullptr;
}
if ( *(char *)(a1 + 703) < 0 )
operator delete(*(void **)(a1 + 680));
return FLAlertLayer::dFLAlertLayer(a1);
}