//
// LevelInfoLayer::confirmMoveToBottom from 0x7e58a8 to 0x7e59d0 (296 bytes)
//
// 3 xrefs:
// > ??> @ 0x8d328
// > LevelInfoLayer::init @ 0x7ebabc
// > ??> @ 0x1543b98
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:54:28 +0000
//
__int64 __fastcall LevelInfoLayer::confirmMoveToBottom(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
__int64 v4; // x20
_QWORD v5[2]; // [xsp+20h] [xbp+20h] BYREF
void *v6; // [xsp+30h] [xbp+30h]
if ( !*((_BYTE *)this + 488) )
{
v6 = (void *)operator new(0x40u);
v5[0] = 65;
v5[1] = 49;
strcpy((char *)v6, "Move this level to the bottom of the levels list?");
v4 = FLAlertLayer::create(
(__int64)this + 440,
(cocos2d::CCLabelBMFont *)"Move to Bottom",
(char *)v5,
(ButtonSprite *)"NO",
(ButtonSprite *)"YES",
300.0);
if ( (v5[0] & 1) != 0 )
operator delete(v6);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 72LL))(v4, 12);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4);
}
return _stack_chk_guard;
}