//
// EditorUI::showLockedLayerAlert from 0x6f175c to 0x6f17da (126 bytes)
//
// 2 xrefs:
// > EditorUI::onCreate @ 0x4877ec
// > EditorUI::pasteObjects @ 0x6f2de4
//
// 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:57:36 +0000
//
int __fastcall EditorUI::showLockedLayerAlert(EditorUI *this, const char *a2)
{
cocos2d::CCString *v3; // r0
const char *CString; // r6
size_t v5; // r0
int v7[3]; // [sp+Ch] [bp-20h] BYREF
int v8[3]; // [sp+18h] [bp-14h] BYREF
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Layer %i is locked.", a2);
memset(v7, 0, sizeof(v7));
CString = (const char *)cocos2d::CCString::getCString(v3);
v5 = strlen(CString);
std::string::__init(v7, CString, v5);
std::string::basic_string(v8, (int)v7);
EditorUI::showTextAlert((int)this, v8, 0, 1, 127);
std::string::~string((int)v8);
return std::string::~string((int)v7);
}