//
// LevelInfoLayer::onOwnerDelete from 0x49b450 to 0x49b4ce (126 bytes)
//
// 1 xrefs:
// > LevelInfoLayer::FLAlert_Clicked @ 0x49bbbc
//
// 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::onOwnerDelete(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
void *v4; // [sp+4h] [bp-20h] BYREF
int v5; // [sp+8h] [bp-1Ch]
int v6; // [sp+Ch] [bp-18h]
int v7[3]; // [sp+10h] [bp-14h] BYREF
memset(v7, 0, sizeof(v7));
std::string::__init(v7, &unk_B6B226, 0);
v4 = nullptr;
v5 = 0;
v6 = 0;
LevelInfoLayer::startServerDelete(this, (int)v7, (int)&v4);
if ( v4 )
{
v5 -= 4 * ((unsigned int)(v5 - (_DWORD)v4) >> 2);
operator delete(v4);
}
return std::string::~string((int)v7);
}