// // sub_10022AD00 from 0x10022ad00 to 0x10022add8 (216 bytes) // // 1 xrefs: // > ProfilePage::init @ 0x10022a478 // // 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 11:01:13 +0000 // void __fastcall sub_10022AD00(__int64 a1) { __int64 v2; // x0 __int64 v3; // x0 _BOOL4 isFollowingUser; // w20 __int64 v5; // x0 __int64 v6; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v8; // [xsp+1Fh] [xbp-21h] v2 = GJAccountManager::sharedState(a1); if ( *(_DWORD *)(v2 + 352) <= *(_DWORD *)(v2 + 356) ) { sub_100009900(__p, "You need an account to follow this user."); v6 = sub_10034A8F8(0, "Follow", __p, "OK", 0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); if ( v8 < 0 ) operator delete(__p[0]); } else { v3 = GameLevelManager::sharedState(); isFollowingUser = GameLevelManager::isFollowingUser(v3, *(_DWORD *)(a1 + 736)); *(_QWORD *)(GameLevelManager::sharedState() + 464) = a1 + 720; v5 = GameLevelManager::sharedState(); if ( sub_1000C7640(v5, *(_DWORD *)(a1 + 736), !isFollowingUser) ) sub_10022E1F8(a1, !isFollowingUser); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source