// // GameLevelManager::syncFollowListIfNeeded from 0x1402519c0 to 0x140251b01 (321 bytes) // // 3 xrefs: // > GJAccountManager::linkToAccount @ 0x140309791 // > MenuLayer::init @ 0x140473aee // > @ 0x14091c4c0 // // This function is hookable on this platform (idp: pc, 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 11:28:42 +0000 // // Hidden C++ exception states: #wind=2 char __fastcall GameLevelManager::syncFollowListIfNeeded(__int64 a1) { __int64 v2; // rax __int64 v3; // rcx __int64 v4; // rdi void *v6; // [rsp+38h] [rbp+10h] void *v7; // [rsp+38h] [rbp+10h] v2 = GJAccountManager::sharedState(a1); if ( *(_DWORD *)(v2 + 360) - *(_DWORD *)(v2 + 364) > 0 ) { v3 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v6 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v3 = qword_14090BFD0; } LOBYTE(v2) = GameManager::getGameVariable(v3, "0241"); if ( (_BYTE)v2 ) { if ( !*(_BYTE *)(a1 + 544) ) { *(_BYTE *)(a1 + 544) = 1; LOBYTE(v2) = GameLevelManager::getFollowing(a1); } } else { v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v7 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager(v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } LOBYTE(v2) = GameManager::getGameVariable(v4, "0218"); if ( !(_BYTE)v2 ) { LOBYTE(v2) = GameManager::getGameVariable(v4, "0219"); if ( !(_BYTE)v2 ) { if ( cocos2d::CCDictionary::count(*(cocos2d::CCDictionary **)(a1 + 872)) ) LOBYTE(v2) = GameLevelManager::syncFollowing(a1); else LOBYTE(v2) = GameLevelManager::getFollowing(a1); *(_BYTE *)(a1 + 544) = 1; } } } } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source