//
// SFXFolderPickerPopup::create from 0x730d20 to 0x730ec2 (418 bytes)
//
// 3 xrefs:
// > SFXBrowser::onMoveToFolder @ 0x6c411c
// > SFXBrowser::onShareSetup @ 0x6c8bf8
// > SFXBrowser::cellPerformedAction @ 0x6c920a
//
// 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:58:19 +0000
//
int *__fastcall SFXFolderPickerPopup::create(int a1, int a2, MusicDownloadManager *a3, int a4, int a5)
{
int *v9; // r4
int v10; // r3
int *v11; // r0
v9 = (int *)operator new(0x244u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v9);
v9[111] = 0;
v9[112] = 0;
v9[113] = 0;
*v9 = (int)&off_C86768;
*((_BYTE *)v9 + 456) = 0;
v9[66] = (int)&off_C86A10;
v9[115] = 0;
v9[67] = (int)&off_C86A48;
v9[116] = 0;
v9[68] = (int)&off_C86A54;
*((_BYTE *)v9 + 468) = 0;
v9[69] = (int)&off_C86A64;
*((_BYTE *)v9 + 469) = 0;
v9[70] = (int)&off_C86A78;
*((_BYTE *)v9 + 470) = 0;
v9[79] = (int)&off_C86A90;
*((_BYTE *)v9 + 471) = 0;
v9[83] = (int)&off_C86AD0;
v9[110] = (int)&off_C86AE0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v9 + 118));
v9[123] = -1;
v9[125] = -1;
v9[127] = 0;
v9[128] = 0;
v9[120] = 0;
v9[121] = 0;
v9[122] = 0;
*((_BYTE *)v9 + 496) = 0;
*((_BYTE *)v9 + 497) = 0;
*((_BYTE *)v9 + 504) = 0;
*((_BYTE *)v9 + 516) = 0;
*v9 = (int)&off_CEC9A8;
v9[131] = 0;
v9[66] = (int)&off_CECC54;
v9[133] = 0;
v9[67] = (int)&off_CECC8C;
v9[134] = 0;
v9[68] = (int)&off_CECC98;
v9[136] = 0;
v9[69] = (int)&off_CECCA8;
v9[137] = 0;
v9[70] = (int)&off_CECCBC;
v9[138] = 0;
v9[79] = (int)&off_CECCD4;
v9[139] = 0;
v9[83] = (int)&off_CECD14;
v9[140] = 0;
v9[110] = (int)&off_CECD24;
v9[130] = (int)&off_CECD48;
v9[141] = 0;
v9[132] = (int)(v9 + 133);
v9[135] = (int)(v9 + 136);
v9[142] = 0;
v9[143] = 0;
v9[144] = 0;
if ( SFXFolderPickerPopup::init((cocos2d::CCObject *)v9, a1, a2, a3, a4, a5) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v9);
}
else
{
v10 = *v9;
v11 = v9;
v9 = nullptr;
(*(void (__fastcall **)(int *))(v10 + 8))(v11);
}
return v9;
}