//
// EditorUI::showLockedLayerAlert from 0x100163c2c to 0x100163cd0 (164 bytes)
//
// 2 xrefs:
// > EditorUI::pasteObjects @ 0x10018a114
// > EditorUI::onCreate @ 0x1004744d4
//
// 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 10:59:47 +0000
//
void __fastcall EditorUI::showLockedLayerAlert(__int64 a1, int a2)
{
__int64 v3; // x0
char *CString; // x0
std::string __p; // [xsp+10h] [xbp-40h] BYREF
std::string v6; // [xsp+28h] [xbp-28h] BYREF
v3 = sub_1003065B0("Layer %i is locked.", a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_100009900(&v6, CString);
if ( SHIBYTE(v6.__r_.__value_.__r.__words[2]) < 0 )
sub_1000097D0(&__p, v6.__r_.__value_.__l.__data_, v6.__r_.__value_.__l.__size_);
else
__p = v6;
EditorUI::showTextAlert(a1, &__p, 0, 1, 127);
if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__p.__r_.__value_.__l.__data_);
if ( SHIBYTE(v6.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v6.__r_.__value_.__l.__data_);
}