// // ProfilePage::followUserFinished from 0x1008a53e0 to 0x1008a55ba (474 bytes) // // 2 xrefs: // > sub_1008A55E0 @ 0x1008a55ec // > @ 0x100ba9bb0 // // 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 12:37:16 +0000 // void __fastcall ProfilePage::followUserFinished(__int64 a1, int a2, int a3, __m128 a4) { unsigned __int8 v4; // r14 __int64 v5; // rax int v6; // r12d __int64 v7; // rax __int64 v8; // rax __int64 v9; // rax __m128 v10; // xmm0 __int64 v11; // rax __m128 v12; // xmm0 __int64 v13; // rsi int v14; // ecx const char *v15; // rsi char *v16; // rax __int128 v17; // [rsp+8h] [rbp-58h] BYREF void *__p; // [rsp+18h] [rbp-48h] __int128 v19; // [rsp+20h] [rbp-40h] BYREF void *v20; // [rsp+30h] [rbp-30h] float v21; // [rsp+3Ch] [rbp-24h] v4 = a3; if ( a3 ) { v5 = GameLevelManager::sharedState(); v6 = cocos2d::CCDictionary::count(*(_QWORD *)(v5 + 776)); v7 = GameManager::sharedState(); GameManager::reportAchievementWithID(v7, "geometry.ach.followCreator", 100, 0); v8 = GameManager::sharedState(); v21 = (float)v6; a4.f32[0] = (float)((float)v6 / 10.0) * 100.0; GameManager::reportAchievementWithID(v8, "geometry.ach.followCreator02", (int)_mm_round_ss(a4, a4, 9).f32[0], 0); v9 = GameManager::sharedState(); v10 = (__m128)COERCE_UNSIGNED_INT((float)v6); v10.f32[0] = (float)((float)v6 / 25.0) * 100.0; GameManager::reportAchievementWithID(v9, "geometry.ach.followCreator03", (int)_mm_round_ss(v10, v10, 9).f32[0], 0); v11 = GameManager::sharedState(); v12 = (__m128)COERCE_UNSIGNED_INT((float)v6); v12.f32[0] = (float)((float)v6 / 50.0) * 100.0; GameManager::reportAchievementWithID(v11, "geometry.ach.followCreator04", (int)_mm_round_ss(v12, v12, 9).f32[0], 0); } if ( *(_DWORD *)(a1 + 736) == a2 ) { v13 = *(_QWORD *)(a1 + 728); if ( v13 ) { *(_BYTE *)(v13 + 720) = v4; v14 = 0; if ( *(_DWORD *)(v13 + 712) + ((v4 - 1) | 1) > 0 ) v14 = *(_DWORD *)(v13 + 712) + ((v4 - 1) | 1); *(_DWORD *)(v13 + 712) = v14; ProfilePage::loadPageFromUserInfo(a1, v13); v15 = "Unfollowed"; if ( v4 ) v15 = "Following"; LOBYTE(v19) = 2 * (10 - v4); memcpy((char *)&v19 + 1, v15, 10LL - v4); *((_BYTE *)&v19 + (v4 ^ 0xBLL)) = 0; LOWORD(v17) = 0; v16 = TextAlertPopup::create(&v19, 0x96u, &v17, 0.5, 0.60000002); (*(void (__fastcall **)(__int64, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v16, 100); if ( (v17 & 1) != 0 ) operator delete(__p); if ( (v19 & 1) != 0 ) operator delete(v20); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source