// // LevelListLayer::onShare from 0x6d8028 to 0x6d808e (102 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:08 +0000 // int __fastcall LevelListLayer::onShare(int this, cocos2d::CCObject *a2) { int v2; // r4 GameManager *v3; // r0 GameManager *v4; // r0 GameManager *v5; // r0 GameManager *v6; // r0 GJAccountManager *v7; // r0 GJLevelList *v8; // r1 GJAccountManager *v9; // r0 FLAlertLayer *v10; // r0 v2 = this; if ( !*(_BYTE *)(this + 660) ) { v3 = *(GameManager **)(this + 664); if ( v3 ) v3 = (GameManager *)(*(int (__fastcall **)(GameManager *))(*(_DWORD *)v3 + 580))(v3); v4 = (GameManager *)GameManager::sharedState(v3); v5 = (GameManager *)GameManager::safeModeEnabled(v4); if ( v5 ) { v6 = (GameManager *)GameManager::sharedState(v5); return GameManager::showParentalRestrictedAlert(v6); } else { v7 = (GJAccountManager *)GJAccountManager::sharedState(nullptr); if ( *((_DWORD *)v7 + 70) - *((_DWORD *)v7 + 71) > 0 ) { v10 = ShareListLayer::create(*(ShareListLayer **)(v2 + 640), v8); return (*(int (__fastcall **)(FLAlertLayer *))(*(_DWORD *)v10 + 656))(v10); } else { v9 = (GJAccountManager *)GJAccountManager::sharedState(v7); return GJAccountManager::showAccountNeededAlert(v9, "share lists"); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source