//
// sub_1003D9DE0 from 0x1003d9de0 to 0x1003d9ecb (235 bytes)
//
// 2 xrefs:
// > sub_1003D9EE0 @ 0x1003d9eec
// > ??> @ 0x100930f50
//
// 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
//
void __fastcall sub_1003D9DE0(_QWORD *__p)
{
cocos2d::CCObject *v2; // rdi
*__p = off_100930F40;
__p[40] = off_100931488;
__p[41] = &off_1009314F8;
__p[42] = off_100931510;
__p[43] = off_100931530;
__p[44] = off_100931550;
__p[51] = off_100931578;
__p[54] = off_1009315F8;
__p[79] = off_100931618;
__p[80] = &off_100931648;
if ( GameLevelManager::sharedState()->m_leaderboardManagerDelegate != (LeaderboardManagerDelegate *)(__p + 79) )
{
v2 = (cocos2d::CCObject *)__p[81];
if ( !v2 )
goto LABEL_6;
goto LABEL_5;
}
GameLevelManager::sharedState()->m_leaderboardManagerDelegate = nullptr;
v2 = (cocos2d::CCObject *)__p[81];
if ( v2 )
LABEL_5:
cocos2d::CCObject::release(v2);
LABEL_6:
FLAlertLayer::dFLAlertLayer(__p);
operator delete(__p);
}