//
// sub_10042458C from 0x10042458c to 0x100424644 (184 bytes)
//
// 4 xrefs:
// > sub_100424648 @ 0x100424648
// > sub_10042464C @ 0x100424650
// > sub_100424654 @ 0x10042465c
// > sub_100424668 @ 0x100424674
//
// 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_10042458C(__int64 a1)
{
cocos2d::CCObject *v2; // x0
*(_QWORD *)a1 = off_100825DB8;
*(_QWORD *)(a1 + 320) = off_1008262F0;
*(_QWORD *)(a1 + 328) = &off_100826360;
*(_QWORD *)(a1 + 336) = off_100826378;
*(_QWORD *)(a1 + 344) = off_100826398;
*(_QWORD *)(a1 + 352) = off_1008263B8;
*(_QWORD *)(a1 + 408) = off_1008263E0;
*(_QWORD *)(a1 + 432) = off_100826460;
*(_QWORD *)(a1 + 632) = &off_100826480;
*(_QWORD *)(a1 + 640) = &off_100826498;
*(_QWORD *)(a1 + 648) = off_1008264B0;
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);
}