//
// sub_10041F5C0 from 0x10041f5c0 to 0x10041f6c8 (264 bytes)
//
// 4 xrefs:
// > sub_10041F6D0 @ 0x10041f6d5
// > sub_10041F6E0 @ 0x10041f6ec
// > sub_10041F700 @ 0x10041f709
// > sub_10041F720 @ 0x10041f733
//
// 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_10041F5C0(__int64 a1)
{
cocos2d::CCObject *v2; // rdi
*(_QWORD *)a1 = off_1009344C8;
*(_QWORD *)(a1 + 320) = off_100934A00;
*(_QWORD *)(a1 + 328) = &off_100934A70;
*(_QWORD *)(a1 + 336) = off_100934A88;
*(_QWORD *)(a1 + 344) = off_100934AA8;
*(_QWORD *)(a1 + 352) = off_100934AC8;
*(_QWORD *)(a1 + 408) = off_100934AF0;
*(_QWORD *)(a1 + 432) = off_100934B70;
*(_QWORD *)(a1 + 632) = &off_100934B90;
*(_QWORD *)(a1 + 640) = &off_100934BA8;
*(_QWORD *)(a1 + 648) = off_100934BC0;
v2 = *(cocos2d::CCObject **)(a1 + 656);
if ( v2 )
cocos2d::CCObject::release(v2);
if ( GameManager::sharedState()->m_gameRateDelegate2 == (GameRateDelegate *)(a1 + 640) )
GameManager::sharedState()->m_gameRateDelegate2 = nullptr;
if ( GameManager::sharedState()->m_rewardedVideoDelegate == (RewardedVideoDelegate *)(a1 + 648) )
GameManager::sharedState()->m_rewardedVideoDelegate = nullptr;
return FLAlertLayer::dFLAlertLayer(a1);
}