//
// sub_1001B5E40 from 0x1001b5e40 to 0x1001b5ef4 (180 bytes)
//
// 4 xrefs:
// > sub_1001B5EF8 @ 0x1001b5ef8
// > sub_1001B5EFC @ 0x1001b5f00
// > sub_1001B5F04 @ 0x1001b5f0c
// > sub_1001B5F18 @ 0x1001b5f24
//
// 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_1001B5E40(__int64 a1)
{
cocos2d::CCObject *v2; // x0
*(_QWORD *)a1 = off_1007B27A0;
*(_QWORD *)(a1 + 320) = off_1007B2D00;
*(_QWORD *)(a1 + 328) = &off_1007B2D70;
*(_QWORD *)(a1 + 336) = off_1007B2D88;
*(_QWORD *)(a1 + 344) = off_1007B2DA8;
*(_QWORD *)(a1 + 352) = off_1007B2DC8;
*(_QWORD *)(a1 + 408) = off_1007B2DF0;
*(_QWORD *)(a1 + 432) = off_1007B2E70;
*(_QWORD *)(a1 + 632) = &off_1007B2E90;
*(_QWORD *)(a1 + 640) = off_1007B2EA8;
*(_QWORD *)(a1 + 648) = &off_1007B2EC8;
*(_QWORD *)(a1 + 656) = off_1007B2EE0;
if ( GameLevelManager::sharedState()->m_friendRequestDelegate == (FriendRequestDelegate *)(a1 + 656) )
GameLevelManager::sharedState()->m_friendRequestDelegate = nullptr;
v2 = *(cocos2d::CCObject **)(a1 + 720);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( *(char *)(a1 + 695) < 0 )
operator delete(*(void **)(a1 + 672));
return FLAlertLayer::dFLAlertLayer(a1);
}