//
// sub_1006578D0 from 0x1006578d0 to 0x1006579e0 (272 bytes)
//
// 4 xrefs:
// > sub_1006579F0 @ 0x1006579f5
// > sub_100657A00 @ 0x100657a0c
// > sub_100657A20 @ 0x100657a29
// > sub_100657A40 @ 0x100657a53
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1006578D0(UserListDelegate *a1)
{
cocos2d::CCObject *v2; // rdi
cocos2d::CCObject *v3; // rdi
a1->__vftable = (UserListDelegate_vtbl *)off_100985FB8;
a1[40].__vftable = (UserListDelegate_vtbl *)off_1009864F8;
a1[41].__vftable = (UserListDelegate_vtbl *)&off_100986568;
a1[42].__vftable = (UserListDelegate_vtbl *)off_100986580;
a1[43].__vftable = (UserListDelegate_vtbl *)off_1009865A0;
a1[44].__vftable = (UserListDelegate_vtbl *)off_1009865C0;
a1[51].__vftable = (UserListDelegate_vtbl *)off_1009865E8;
a1[54].__vftable = (UserListDelegate_vtbl *)off_100986668;
a1[79].__vftable = (UserListDelegate_vtbl *)&off_100986688;
a1[80].__vftable = (UserListDelegate_vtbl *)off_1009866A0;
a1[81].__vftable = (UserListDelegate_vtbl *)&off_1009866C0;
a1[82].__vftable = (UserListDelegate_vtbl *)off_1009866D8;
if ( GameLevelManager::sharedState()->m_userListDelegate == &a1[82] )
{
GameLevelManager::sharedState()->m_userListDelegate = nullptr;
v2 = (cocos2d::CCObject *)a1[87].__vftable;
if ( !v2 )
goto LABEL_6;
goto LABEL_5;
}
v2 = (cocos2d::CCObject *)a1[87].__vftable;
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
LABEL_6:
v3 = (cocos2d::CCObject *)a1[89].__vftable;
if ( v3 )
cocos2d::CCObject::release(v3);
return FLAlertLayer::dFLAlertLayer((__int64)a1);
}