//
// UploadActionPopup::create from 0x5d9a98 to 0x5d9b70 (216 bytes)
//
// 49 xrefs:
// > GJMessageCell::FLAlert_Clicked @ 0x42821e
// > EditLevelLayer::FLAlert_Clicked @ 0x4a22b2
// > SupportLayer::onRequestAccess @ 0x53997c
// > ShareCommentLayer::onShare @ 0x541058
// > GJRateLevelLayer::onCustomButton @ 0x566306
// > GJRateLevelLayer::FLAlert_Clicked @ 0x5663ca
// > GJRateLevelLayer::onRate @ 0x56648a
// > GJRateLevelListLayer::onCustomButton @ 0x5666ba
// > GJRateLevelListLayer::FLAlert_Clicked @ 0x566778
// > GJRateLevelListLayer::onSubmit @ 0x566870
// > GJRateEditorSoundLayer::onCustomButton @ 0x566a9e
// > GJRateEditorSoundLayer::FLAlert_Clicked @ 0x566b5c
// > GJRateEditorSoundLayer::onSubmit @ 0x566c20
// > RateStarsLayer::onRate @ 0x569406
// > FriendRequestPopup::onAccept @ 0x5d9bb8
// > FriendRequestPopup::onRemove @ 0x5d9c6a
// > FriendRequestPopup::blockUser @ 0x5d9cec
// > GJMessagePopup::blockUser @ 0x5d9da8
// > GJMessagePopup::FLAlert_Clicked @ 0x5d9e5c
// > GJWriteMessagePopup::onSend @ 0x5d9fce
// > MessagesProfilePage::deleteSelected @ 0x5efd20
// > FRequestProfilePage::deleteSelected @ 0x5f1a56
// > FriendsProfilePage::FLAlert_Clicked @ 0x5f489c
// > ProfilePage::blockUser @ 0x5f6e4c
// > ProfilePage::unblockUser @ 0x5f6ec8
// > ProfilePage::FLAlert_Clicked @ 0x5f70c0
// > ProfilePage::FLAlert_Clicked @ 0x5f710a
// > RateDemonLayer::onRate @ 0x6166a2
// > MPLobbyLayer::tryExitLobby @ 0x66a806
// > AccountReviewPopup::adminActionConfirmed @ 0x732ee8
// > AccountBanPopup::executeAction @ 0x762f88
// > AccountBanPopup::executeAction @ 0x762fe0
// > AccountBanPopup::executeAction @ 0x763022
// > AccountBanPopup::executeAction @ 0x763064
// > AccountBanPopup::executeAction @ 0x7630bc
// > AccountBanPopup::executeAction @ 0x7630fe
// > AccountBanPopup::executeAction @ 0x763156
// > AccountBanPopup::executeAction @ 0x763198
// > AccountBanPopup::executeAction @ 0x7631dc
// > AccountBanPopup::executeAction @ 0x76321e
// > AccountBanPopup::executeAction @ 0x763262
// > AccountBanPopup::executeAction @ 0x7632a2
// > AccountBanPopup::executeAction @ 0x7632e2
// > AccountBanPopup::executeAction @ 0x763320
// > CreatorSettingsPopup::setTextPopupClosed @ 0x76624a
// > EditorSoundConfigInfoLayer::soundPackDescSaved @ 0x786464
// > PlatformerControlsPopup::FLAlert_Clicked @ 0x79dfdc
// > PlatformerControlsPopup::onUpload @ 0x79e2b2
// > RateStarsModLayer::onRate @ 0x79e818
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:54:11 +0000
//
int __fastcall UploadActionPopup::create(int a1, int a2, int a3, int a4)
{
int v6; // r4
int v7; // r7
int v8; // r3
int v9; // r0
int v11[4]; // [sp+0h] [bp-10h] BYREF
v11[0] = a1;
v11[1] = a2;
v11[2] = a3;
v11[3] = a4;
v6 = operator new(0x21Cu);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v6);
*(_DWORD *)v6 = &off_CB8C08;
*(_DWORD *)(v6 + 264) = &off_CB8EB0;
*(_DWORD *)(v6 + 268) = &off_CB8EE8;
*(_DWORD *)(v6 + 272) = &off_CB8EF4;
*(_DWORD *)(v6 + 276) = &off_CB8F04;
*(_DWORD *)(v6 + 280) = &off_CB8F18;
*(_DWORD *)(v6 + 316) = &off_CB8F30;
*(_DWORD *)(v6 + 332) = &off_CB8F70;
*(_DWORD *)(v6 + 440) = &off_CB8F80;
*(_DWORD *)(v6 + 520) = 0;
*(_DWORD *)(v6 + 524) = 0;
*(_DWORD *)(v6 + 528) = 0;
*(_DWORD *)(v6 + 532) = 0;
*(_BYTE *)(v6 + 536) = 0;
std::string::basic_string(v11, a2);
v7 = UploadActionPopup::init(v6, a1, (int)v11);
std::string::~string((int)v11);
if ( v7 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v8 = *(_DWORD *)v6;
v9 = v6;
v6 = 0;
(*(void (__fastcall **)(int))(v8 + 8))(v9);
}
return v6;
}