//
// GJShopLayer::~GJShopLayer from 0x611338 to 0x6113ce (150 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'GJShopLayer::~GJShopLayer @ 0x6113d8
// > GJShopLayer::~GJShopLayer @ 0x6113e0
//
// 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:54:52 +0000
//
// Alternative name is '_ZN11GJShopLayerD1Ev'
void __fastcall GJShopLayer::~GJShopLayer(GJShopLayer *this)
{
int v2; // r0
cocos2d::CCTouchDispatcher *v3; // r0
GameManager *v4; // r0
GJShopLayer **v5; // r0
cocos2d::CCObject *v6; // r0
*(_DWORD *)this = &off_CC4C58;
*((_DWORD *)this + 66) = &off_CC4EAC;
*((_DWORD *)this + 67) = &off_CC4EE4;
*((_DWORD *)this + 68) = &off_CC4EF0;
*((_DWORD *)this + 69) = &off_CC4F00;
*((_DWORD *)this + 70) = &off_CC4F14;
*((_DWORD *)this + 79) = &off_CC4F2C;
*((_DWORD *)this + 80) = &off_CC4F38;
*((_DWORD *)this + 81) = &off_CC4F44;
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v2 + 80))(v2);
v4 = (GameManager *)cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, this);
v5 = (GJShopLayer **)GameManager::sharedState(v4);
if ( v5[248] == (GJShopLayer *)((char *)this + 324) )
*(_DWORD *)(GameManager::sharedState((GameManager *)v5) + 992) = 0;
v6 = *((cocos2d::CCObject **)this + 84);
if ( v6 )
cocos2d::CCObject::release(v6);
std::string::~string((int)this + 344);
cocos2d::CCLayer::~CCLayer(this);
}