//
// ShareListLayer::onUnlisted from 0x6d5010 to 0x6d5054 (68 bytes)
//
// 0 xrefs:
//
// 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:57:06 +0000
//
int __fastcall ShareListLayer::onUnlisted(ShareListLayer *this, cocos2d::CCObject *a2)
{
int result; // r0
int v4; // r3
int v5; // r2
result = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = *((_DWORD *)this + 130);
if ( result == 1 )
{
*(_BYTE *)(v4 + 326) ^= 1u;
}
else
{
v5 = *(unsigned __int8 *)(v4 + 325);
*(_BYTE *)(v4 + 325) = v5 ^ 1;
if ( v5 )
*(_BYTE *)(*((_DWORD *)this + 130) + 326) = 0;
return ShareListLayer::updateUnlistedF(this);
}
return result;
}