//
// GJGarageLayer::~GJGarageLayer from 0x50c620 to 0x50c6de (190 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'GJGarageLayer::~GJGarageLayer @ 0x50c6e8
// > GJGarageLayer::~GJGarageLayer @ 0x50c6f0
//
// 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:51:28 +0000
//
// Alternative name is '_ZN13GJGarageLayerD1Ev'
void __fastcall GJGarageLayer::~GJGarageLayer(GJGarageLayer *this)
{
cocos2d::CCObject *v2; // r0
cocos2d::CCObject *v3; // r0
GJGarageLayer **v4; // r0
*(_DWORD *)this = &off_CA6F68;
*((_DWORD *)this + 66) = &off_CA71D8;
*((_DWORD *)this + 67) = &off_CA7210;
*((_DWORD *)this + 68) = &off_CA721C;
*((_DWORD *)this + 69) = &off_CA722C;
*((_DWORD *)this + 70) = &off_CA7240;
*((_DWORD *)this + 79) = &off_CA7258;
*((_DWORD *)this + 80) = &off_CA727C;
*((_DWORD *)this + 81) = &off_CA7288;
*((_DWORD *)this + 82) = &off_CA7294;
*((_DWORD *)this + 83) = &off_CA72A0;
*((_DWORD *)this + 84) = &off_CA72AC;
*((_DWORD *)this + 85) = &off_CA72BC;
*(_DWORD *)(GameManager::sharedState(this) + 736) = 0;
v2 = *((cocos2d::CCObject **)this + 88);
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = *((cocos2d::CCObject **)this + 89);
if ( v3 )
v3 = (cocos2d::CCObject *)cocos2d::CCObject::release(v3);
v4 = (GJGarageLayer **)GameManager::sharedState(v3);
if ( v4[248] == (GJGarageLayer *)((char *)this + 340) )
*(_DWORD *)(GameManager::sharedState((GameManager *)v4) + 992) = 0;
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::destroy(
(int)this + 376,
*((_DWORD **)this + 95));
cocos2d::CCLayer::~CCLayer(this);
}