//
// UploadPopup::create from 0x4a3c1c to 0x4a3cc0 (164 bytes)
//
// 1 xrefs:
// > ShareLevelLayer::onShare @ 0x4a3d6e
//
// 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:49:52 +0000
//
FLAlertLayer *__fastcall UploadPopup::create(UploadPopup *this, GJGameLevel *a2)
{
FLAlertLayer *v3; // r4
int v4; // r3
FLAlertLayer *v5; // r0
v3 = (FLAlertLayer *)operator new(0x21Cu);
FLAlertLayer::FLAlertLayer(v3);
*(_DWORD *)v3 = &off_C98488;
*((_DWORD *)v3 + 66) = &off_C98738;
*((_DWORD *)v3 + 67) = &off_C98770;
*((_DWORD *)v3 + 68) = &off_C9877C;
*((_DWORD *)v3 + 69) = &off_C9878C;
*((_DWORD *)v3 + 70) = &off_C987A0;
*((_DWORD *)v3 + 79) = &off_C987B8;
*((_DWORD *)v3 + 83) = &off_C987F8;
*((_DWORD *)v3 + 110) = &off_C98808;
*((_DWORD *)v3 + 130) = &off_C9882C;
*((_DWORD *)v3 + 131) = 0;
*((_DWORD *)v3 + 132) = 0;
*((_DWORD *)v3 + 133) = 0;
*((_DWORD *)v3 + 134) = 0;
if ( UploadPopup::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(FLAlertLayer *))(v4 + 8))(v5);
}
return v3;
}