//
// OptionsScrollLayer::create from 0x6c08b4 to 0x6c09ba (262 bytes)
//
// 2 xrefs:
// > MusicBrowser::onTagFilters @ 0x6c09fe
// > MusicBrowser::onArtistFilters @ 0x6c0a8c
//
// 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:56:50 +0000
//
int __fastcall OptionsScrollLayer::create(cocos2d::CCObject *a1, char a2, int a3, cocos2d::CCObject *a4)
{
int v8; // r4
cocos2d::CCDirector *v9; // r6
int v10; // r3
int v11; // r0
int v13[3]; // [sp+8h] [bp-10h] BYREF
v8 = operator new(0x238u);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v8);
*(_DWORD *)v8 = &off_CE4480;
*(_DWORD *)(v8 + 264) = &off_CE4730;
*(_DWORD *)(v8 + 268) = &off_CE4768;
*(_DWORD *)(v8 + 272) = &off_CE4774;
*(_DWORD *)(v8 + 276) = &off_CE4784;
*(_DWORD *)(v8 + 280) = &off_CE4798;
*(_DWORD *)(v8 + 316) = &off_CE47B0;
*(_DWORD *)(v8 + 332) = &off_CE47F0;
*(_DWORD *)(v8 + 440) = &off_CE4800;
*(_DWORD *)(v8 + 520) = &off_CE4824;
*(_DWORD *)(v8 + 524) = 0;
*(_DWORD *)(v8 + 528) = 0;
*(_BYTE *)(v8 + 532) = 0;
*(_DWORD *)(v8 + 536) = 0;
*(_DWORD *)(v8 + 540) = 0;
*(_DWORD *)(v8 + 544) = 0;
*(_DWORD *)(v8 + 548) = 0;
*(_DWORD *)(v8 + 552) = 0;
*(_DWORD *)(v8 + 556) = 0;
*(_DWORD *)(v8 + 560) = 0;
*(_DWORD *)(v8 + 564) = 0;
std::string::basic_string(v13, a3);
v9 = OptionsScrollLayer::init(v8, a1, a2, (int)v13, a4);
std::string::~string((int)v13);
if ( v9 )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v8);
}
else
{
v10 = *(_DWORD *)v8;
v11 = v8;
v8 = 0;
(*(void (__fastcall **)(int))(v10 + 8))(v11);
}
return v8;
}