//
// LevelInfoLayer::confirmClone from 0x3b0be4 to 0x3b0c86 (162 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::tryCloneLevel @ 0x3b11ce
// > LevelInfoLayer::numberInputClosed @ 0x3b1312
//
// 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 LevelInfoLayer::confirmClone(LevelInfoLayer *a1, cocos2d::CCObject *a2)
{
int v3; // r4
GameManager *v4; // r0
char *v5; // r1
FLAlertLayer *v6; // r5
_BYTE v7[4]; // [sp+10h] [bp-8h] BYREF
if ( !a1->m_isBusy )
{
v3 = a1->m_level->m_userID.random - a1->m_level->m_userID.seed;
v4 = GameManager::sharedState();
if ( v3 == v4->m_playerUserID.random - v4->m_playerUserID.seed )
v5 = "Create a copy of this level?\n(Creator enabled)";
else
v5 = "Create a copy of this level?";
sub_776584((int)v7, v5);
v6 = FLAlertLayer::create((int)&a1->FLAlertLayerProtocol, (int)"Clone Level", (int)v7, (int)"NO", (int)"YES", 300.0);
sub_774008(v7);
v6->setTag(v6, 6);
v6->show(v6);
}
}