//
// cocos2d::CCNotificationCenter::removeObserver from 0x7f59f6 to 0x7f5a54 (94 bytes)
//
// 15 xrefs:
// > LevelBrowserLayer::~LevelBrowserLayer @ 0x4a483c
// > LevelBrowserLayer::~LevelBrowserLayer @ 0x4a484a
// > InfoLayer::~InfoLayer @ 0x53de82
// > MessagesProfilePage::~MessagesProfilePage @ 0x5efa96
// > FRequestProfilePage::~FRequestProfilePage @ 0x5f1742
// > ShaderLayer::~ShaderLayer @ 0x685718
// > AccountReviewPopup::~AccountReviewPopup @ 0x734500
// > ReportQueuePopup::~ReportQueuePopup @ 0x73ae40
// > MessageThreadsPage::~MessageThreadsPage @ 0x7487f0
// > MessageThreadsPage::~MessageThreadsPage @ 0x7487fe
// > cocos2d::CCDrawNode::~CCDrawNode @ 0x7cbfda
// > cocos2d::CCRenderTexture::~CCRenderTexture @ 0x7e029c
// > cocos2d::CCRenderTexture::~CCRenderTexture @ 0x7e02aa
// > cocos2d::CCParticleSystemQuad::~CCParticleSystemQuad @ 0x7e6008
// > cocos2d::CCTextureAtlas::~CCTextureAtlas @ 0x7fff9e
//
// 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 12:01:08 +0000
//
cocos2d::CCObject *__fastcall cocos2d::CCNotificationCenter::removeObserver(
cocos2d::CCObject *this,
cocos2d::CCObject *a2,
const char *a3)
{
cocos2d::CCObject *v3; // r6
int v4; // r3
_DWORD *v7; // r2
cocos2d::CCObject **v8; // r5
cocos2d::CCObject **v9; // r9
cocos2d::CCObject *v10; // r4
cocos2d::CCObject *v11; // t1
const char *v12; // r0
v3 = this;
v4 = *((_DWORD *)this + 13);
if ( v4 )
{
v7 = *(_DWORD **)(v4 + 52);
if ( *v7 )
{
v8 = (cocos2d::CCObject **)v7[3];
v9 = &v8[*v7] + 0x3FFFFFFF;
while ( v8 <= v9 )
{
v11 = *v8++;
v10 = v11;
if ( !v11 )
break;
v12 = (const char *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v10 + 48))(v10);
this = (cocos2d::CCObject *)strcmp(v12, a3);
if ( !this )
{
this = (cocos2d::CCObject *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)v10 + 40))(v10);
if ( a2 == this )
return (cocos2d::CCObject *)cocos2d::CCArray::removeObject(*((cocos2d::CCArray **)v3 + 13), v10, 1);
}
}
}
}
return this;
}