//
// sub_10034A8F8 from 0x10034a8f8 to 0x10034a99c (164 bytes)
//
// 54 xrefs:
// > GameToolbox::doWeHaveInternet @ 0x100048048
// > sub_100085900 @ 0x100085944
// > sub_100098730 @ 0x1000988d4
// > sub_100111434 @ 0x100111518
// > VideoOptionsLayer::onApply @ 0x100114d44
// > LevelCell::onClick @ 0x100136814
// > GameSettingsLayer::onCustomButton @ 0x1001670d0
// > sub_10022AD00 @ 0x10022ada4
// > ProfilePage::followUserFailed @ 0x10022fe58
// > ProfilePage::commentUploadFailed @ 0x1002311ac
// > ProfilePage::commentDeleteFailed @ 0x100231268
// > sub_10024C070 @ 0x10024c100
// > sub_100264808 @ 0x100264898
// > sub_1003B6200 @ 0x1003b623c
// > sub_1003E4B38 @ 0x1003e4b7c
// > InfoLayer::commentUploadFailed @ 0x1003f1d14
// > LevelBrowserLayer::showExportResult @ 0x10049a8ac
// > LevelBrowserLayer::showImportResult @ 0x10049aa68
// > EditorSoundBrowserLayer::setTextPopupClosed @ 0x1004ce018
// > EditorSoundBrowserLayer::setTextPopupClosed @ 0x1004ce06c
// > sub_1004D268C @ 0x1004d2744
// > sub_1004D3A2C @ 0x1004d3ae4
// > sub_1004D3A2C @ 0x1004d3b84
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d3dec
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d3f00
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d4000
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d4080
// > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x1004d4120
// > EditorSoundConfigInfoLayer::downloadEditorSoundFinished @ 0x1004d44a0
// > EditorSoundConfigInfoLayer::downloadEditorSoundFailed @ 0x1004d456c
// > EditorSoundConfigInfoLayer::deleteEditorSoundFinished @ 0x1004d4688
// > EditorSoundConfigInfoLayer::deleteEditorSoundFailed @ 0x1004d4764
// > sub_1004D501C @ 0x1004d5098
// > sub_1004D65A0 @ 0x1004d66ec
// > sub_1004D65A0 @ 0x1004d6798
// > sub_1004D65A0 @ 0x1004d67e4
// > EditorSoundConfigUploadPopup::uploadEditorSoundFinished @ 0x1004d6c14
// > EditorSoundConfigUploadPopup::uploadEditorSoundFailed @ 0x1004d6d54
// > sub_1004EE760 @ 0x1004ee7ac
// > sub_1004EE760 @ 0x1004ee804
// > ThreadViewPopup::onSend @ 0x1004f9c9c
// > sub_1004FCC08 @ 0x1004fcf44
// > sub_10050A580 @ 0x10050a62c
// > sub_10050A580 @ 0x10050a78c
// > sub_10050A580 @ 0x10050a828
// > sub_10050A580 @ 0x10050a888
// > sub_1005135EC @ 0x10051366c
// > sub_1005192D4 @ 0x100519650
// > sub_10051C1D8 @ 0x10051c2b8
// > sub_100521918 @ 0x100521a2c
// > sub_100531F3C @ 0x100532038
// > sub_1005320C8 @ 0x10053224c
// > NotificationsPage::notificationRewardFailed @ 0x10053be24
// > NotificationsPage::notificationMuteFailed @ 0x10053bf08
//
// 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:16 +0000
//
__int64 __fastcall sub_10034A8F8(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5)
{
__int64 v9; // x19
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
__int64 v12; // [xsp+10h] [xbp-30h]
if ( *(char *)(a3 + 23) < 0 )
{
sub_1000097D0(__p, *(void **)a3, *(_QWORD *)(a3 + 8));
}
else
{
*(_OWORD *)__p = *(_OWORD *)a3;
v12 = *(_QWORD *)(a3 + 16);
}
v9 = FLAlertLayer::create(a1, a2, __p, a4, a5, 0, 250.0, 0.0, 1.0);
if ( SHIBYTE(v12) < 0 )
operator delete(__p[0]);
return v9;
}