//
// LevelInfoLayer::onOwnerDelete from 0x7e6440 to 0x7e6520 (224 bytes)
//
// 2 xrefs:
// > LevelInfoLayer::FLAlert_Clicked @ 0x7e8488
// > ??> @ 0x8bb88
//
// 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:29 +0000
//
__int64 __fastcall LevelInfoLayer::onOwnerDelete(LevelInfoLayer *this, cocos2d::CCObject *a2)
{
void *v3; // [xsp+28h] [xbp+28h] BYREF
char *v4; // [xsp+30h] [xbp+30h]
__int64 v5; // [xsp+38h] [xbp+38h]
_QWORD v6[2]; // [xsp+40h] [xbp+40h] BYREF
void *v7; // [xsp+50h] [xbp+50h]
v6[0] = 0;
v6[1] = 0;
v7 = nullptr;
v3 = nullptr;
v4 = nullptr;
v5 = 0;
LevelInfoLayer::startServerDelete(this, (__int64)v6, (__int64)&v3);
if ( v3 )
{
if ( v4 != v3 )
v4 += 4 * ~((unsigned __int64)(v4 - 4 - (_BYTE *)v3) >> 2);
operator delete(v3);
}
if ( (v6[0] & 1) != 0 )
operator delete(v7);
return _stack_chk_guard;
}