//
// SetTextPopup::create from 0x5dea2c to 0x5debb8 (396 bytes)
//
// 9 xrefs:
// > LevelBrowserLayer::onSearch @ 0x4a5236
// > SetFolderPopup::onSetFolderName @ 0x5dec7a
// > SFXBrowser::onNewFolder @ 0x6c3e5c
// > SFXBrowser::onImportSetup @ 0x6c420e
// > SFXBrowser::cellPerformedAction @ 0x6c92cc
// > SFXFolderPickerPopup::onNewFolder @ 0x72f39e
// > CreatorSettingsPopup::onDescription @ 0x7660ca
// > EditorSoundBrowserLayer::onSaveActive @ 0x781ec6
// > EditorSoundBrowserLayer::onSelectMode @ 0x7834c8
//
// 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:14 +0000
//
FLAlertLayer *__fastcall SetTextPopup::create(
int a1,
int a2,
float a3,
int a4,
int a5,
char a6,
float a7,
char a8,
int a9,
int a10)
{
FLAlertLayer *v14; // r4
int v15; // r7
int v16; // r3
int *v17; // r0
int v19[3]; // [sp+2Ch] [bp-38h] BYREF
int v20[3]; // [sp+38h] [bp-2Ch] BYREF
int v21[3]; // [sp+44h] [bp-20h] BYREF
int v22[3]; // [sp+50h] [bp-14h] BYREF
v14 = (FLAlertLayer *)operator new(0x23Cu);
FLAlertLayer::FLAlertLayer(v14);
*(_DWORD *)v14 = &off_CB9F58;
*((_DWORD *)v14 + 66) = &off_CBA20C;
*((_DWORD *)v14 + 67) = &off_CBA244;
*((_DWORD *)v14 + 68) = &off_CBA250;
*((_DWORD *)v14 + 69) = &off_CBA260;
*((_DWORD *)v14 + 70) = &off_CBA274;
*((_DWORD *)v14 + 79) = &off_CBA28C;
*((_DWORD *)v14 + 83) = &off_CBA2CC;
*((_DWORD *)v14 + 110) = &off_CBA2DC;
*((_DWORD *)v14 + 130) = &off_CBA300;
*((_DWORD *)v14 + 133) = 0;
*((_DWORD *)v14 + 131) = 0;
*((_BYTE *)v14 + 528) = 0;
*((_BYTE *)v14 + 529) = 0;
*((_DWORD *)v14 + 134) = 0;
*((_DWORD *)v14 + 135) = 0;
*((_DWORD *)v14 + 136) = 0;
*((_DWORD *)v14 + 137) = 0;
*((_DWORD *)v14 + 138) = 0;
*((_DWORD *)v14 + 139) = 0;
*((_DWORD *)v14 + 140) = 0;
*((_DWORD *)v14 + 141) = 0;
*((_DWORD *)v14 + 142) = 0;
std::string::basic_string(v19, a1);
std::string::basic_string(v20, a2);
std::string::basic_string(v21, a4);
std::string::basic_string(v22, a5);
v15 = SetTextPopup::init((int *)v14, (unsigned __int8 *)v19, (int)v20, a3, (int)v21, (int)v22, a6, a7, a8, a9, a10);
std::string::~string((int)v22);
std::string::~string((int)v21);
std::string::~string((int)v20);
std::string::~string((int)v19);
if ( v15 )
{
cocos2d::CCObject::autorelease(v14);
}
else
{
v16 = *(_DWORD *)v14;
v17 = (int *)v14;
v14 = nullptr;
(*(void (__fastcall **)(int *))(v16 + 8))(v17);
}
return v14;
}