// // LevelListLayer::onShare from 0xbadf20 to 0xbadfbc (156 bytes) // // 3 xrefs: // > @ 0x8e048 // > LevelListLayer::init @ 0xbb0200 // > @ 0x1543c20 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:02:53 +0000 // __int64 __fastcall LevelListLayer::onShare(__int64 this, cocos2d::CCObject *a2) { __int64 v2; // x19 GameManager *v3; // x0 GameManager *v4; // x0 GameManager *v5; // x0 __int64 v6; // x0 GJLevelList *v7; // x1 GJAccountManager *v8; // x0 __int64 v9; // x0 GameManager *v10; // x0 GJAccountManager *v11; // x0 if ( !*(_BYTE *)(this + 952) ) { v2 = this; v3 = *(GameManager **)(this + 960); if ( v3 ) v3 = (GameManager *)(*(__int64 (__fastcall **)(GameManager *))(*(_QWORD *)v3 + 1160LL))(v3); v4 = (GameManager *)GameManager::sharedState(v3); v5 = (GameManager *)(unsigned __int8)GameManager::safeModeEnabled(v4); if ( (_BYTE)v5 ) { v10 = (GameManager *)GameManager::sharedState(v5); return GameManager::showParentalRestrictedAlert(v10); } else { v6 = GJAccountManager::sharedState(v5); v7 = (GJLevelList *)*(unsigned int *)(v6 + 352); v8 = (GJAccountManager *)(unsigned int)((_DWORD)v7 - *(_DWORD *)(v6 + 356)); if ( (int)v8 <= 0 ) { v11 = (GJAccountManager *)GJAccountManager::sharedState(v8); return GJAccountManager::showAccountNeededAlert(v11, "share lists"); } else { v9 = ShareListLayer::create(*(ShareListLayer **)(v2 + 912), v7); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 1312LL))(v9); } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source