//
// MPLobbyLayer::~MPLobbyLayer from 0xb053fc to 0xb054c8 (204 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::~MPLobbyLayer @ 0xb054cc
// > MPLobbyLayer::~MPLobbyLayer @ 0xb054e0
// > ??> @ 0x5eb28
// > ??> @ 0xa1458
// > ??> @ 0x14b0d18
//
// 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 13:01:23 +0000
//
// Alternative name is '_ZN12MPLobbyLayerD1Ev'
void __fastcall MPLobbyLayer::~MPLobbyLayer(MPLobbyLayer *this)
{
MPLobbyLayer *v2; // x1
GJMultiplayerManager *v3; // x0
__int64 v4; // x0
*((_QWORD *)this + 54) = &off_14B1368;
*(_QWORD *)this = &off_14B0D10;
*((_QWORD *)this + 40) = off_14B1200;
*((_QWORD *)this + 41) = &off_14B1270;
*((_QWORD *)this + 42) = off_14B1288;
*((_QWORD *)this + 43) = off_14B12A8;
*((_QWORD *)this + 44) = off_14B12D0;
*((_QWORD *)this + 51) = &off_14B1300;
*((_QWORD *)this + 52) = &off_14B1330;
*((_QWORD *)this + 53) = off_14B1348;
*((_QWORD *)this + 55) = off_14B1380;
v2 = *(MPLobbyLayer **)(GJMultiplayerManager::sharedState((GJMultiplayerManager *)off_14B1380) + 352);
v3 = (MPLobbyLayer *)((char *)this + 408);
if ( v2 == (MPLobbyLayer *)((char *)this + 408) )
{
v3 = (GJMultiplayerManager *)GJMultiplayerManager::sharedState(v3);
*((_QWORD *)v3 + 44) = 0;
}
if ( *(MPLobbyLayer **)(GJMultiplayerManager::sharedState(v3) + 360) == (MPLobbyLayer *)((char *)this + 424) )
*(_QWORD *)(GJMultiplayerManager::sharedState((MPLobbyLayer *)((char *)this + 424)) + 360) = 0;
v4 = *((_QWORD *)this + 58);
if ( v4 )
*(_QWORD *)(v4 + 664) = 0;
cocos2d::CCLayer::~CCLayer(this);
}