//
// LevelInfoLayer::confirmMoveToTop from 0x49adc8 to 0x49ae48 (128 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:49:45 +0000
//
int __fastcall LevelInfoLayer::confirmMoveToTop(int this, cocos2d::CCObject *a2)
{
int v2; // r4
int v3; // r5
int *v4; // r5
int v5[3]; // [sp+8h] [bp-10h] BYREF
v2 = *(unsigned __int8 *)(this + 356);
v3 = this;
if ( !*(_BYTE *)(this + 356) )
{
v5[0] = *(unsigned __int8 *)(this + 356);
v5[1] = v2;
v5[2] = v2;
std::string::__init(v5, "Move this level to the top of the levels list?", 0x2Eu);
v4 = FLAlertLayer::create(
v3 + 332,
(cocos2d::CCLabelBMFont *)"Move to Top",
(int)v5,
(ButtonSprite *)"NO",
(ButtonSprite *)"YES",
300.0);
std::string::~string((int)v5);
(*(void (__fastcall **)(int *, int))(*v4 + 36))(v4, 11);
return (*(int (__fastcall **)(int *))(*v4 + 656))(v4);
}
return this;
}