// // ProfilePage::onStatInfo from 0x10022e260 to 0x10022e5dc (892 bytes) // // 1 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x10022ba24 // // 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:16 +0000 // void __fastcall ProfilePage::onStatInfo(__int64 a1, __int64 a2) { __int64 v4; // x8 __int128 *v5; // x8 __int64 v6; // x8 __int128 *v7; // x8 __int64 v8; // x8 __int128 *v9; // x8 __int64 v10; // x8 int v11; // w21 const char *v12; // x22 const char *p_dst; // x8 void **v14; // x9 __int64 v15; // x0 char *CString; // x0 __int64 v17; // x0 __int64 v18; // x20 __int64 v19; // x8 __int128 *v20; // x8 __int64 v21; // x19 void *v22; // x0 __int64 v23; // x20 __int64 v24; // x8 __int128 *v25; // x8 __int64 v26; // x20 __int64 v27; // x8 __int64 v28; // x8 void *v29[2]; // [xsp+10h] [xbp-D0h] BYREF char v30; // [xsp+27h] [xbp-B9h] void *__p[2]; // [xsp+28h] [xbp-B8h] BYREF char v32; // [xsp+3Fh] [xbp-A1h] void *v33[2]; // [xsp+40h] [xbp-A0h] BYREF __int64 v34; // [xsp+50h] [xbp-90h] __int128 v35; // [xsp+60h] [xbp-80h] BYREF __int64 v36; // [xsp+70h] [xbp-70h] __int128 v37; // [xsp+80h] [xbp-60h] BYREF __int64 v38; // [xsp+90h] [xbp-50h] __int128 __dst; // [xsp+A0h] [xbp-40h] BYREF __int64 v40; // [xsp+B0h] [xbp-30h] if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) { v4 = *(_QWORD *)(a1 + 728); if ( !v4 ) return; if ( *(char *)(v4 + 807) < 0 ) { sub_1000097D0(&__dst, *(void **)(v4 + 784), *(_QWORD *)(v4 + 792)); } else { v5 = (__int128 *)(v4 + 784); __dst = *v5; v40 = *((_QWORD *)v5 + 2); } if ( v40 >= 0 ) v18 = SHIBYTE(v40); else v18 = *((_QWORD *)&__dst + 1); if ( (SHIBYTE(v40) & 0x8000000000000000LL) != 0 ) { operator delete((void *)__dst); if ( !v18 ) return; } else if ( !v18 ) { return; } v19 = *(_QWORD *)(a1 + 728); if ( *(char *)(v19 + 807) < 0 ) { sub_1000097D0(&v37, *(void **)(v19 + 784), *(_QWORD *)(v19 + 792)); } else { v20 = (__int128 *)(v19 + 784); v37 = *v20; v38 = *((_QWORD *)v20 + 2); } v21 = StarInfoPopup::createFromString(&v37); if ( (SHIBYTE(v38) & 0x80000000) == 0 ) { LABEL_66: (*(void (__fastcall **)(__int64))(*(_QWORD *)v21 + 1312LL))(v21); return; } v22 = (void *)v37; LABEL_65: operator delete(v22); goto LABEL_66; } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 ) { v6 = *(_QWORD *)(a1 + 728); if ( !v6 ) return; if ( *(char *)(v6 + 831) < 0 ) { sub_1000097D0(&__dst, *(void **)(v6 + 808), *(_QWORD *)(v6 + 816)); } else { v7 = (__int128 *)(v6 + 808); __dst = *v7; v40 = *((_QWORD *)v7 + 2); } if ( v40 >= 0 ) v23 = SHIBYTE(v40); else v23 = *((_QWORD *)&__dst + 1); if ( (SHIBYTE(v40) & 0x8000000000000000LL) != 0 ) { operator delete((void *)__dst); if ( !v23 ) return; } else if ( !v23 ) { return; } v24 = *(_QWORD *)(a1 + 728); if ( *(char *)(v24 + 831) < 0 ) { sub_1000097D0(&v35, *(void **)(v24 + 808), *(_QWORD *)(v24 + 816)); } else { v25 = (__int128 *)(v24 + 808); v35 = *v25; v36 = *((_QWORD *)v25 + 2); } v21 = StarInfoPopup::createFromStringMoons(&v35); if ( (SHIBYTE(v36) & 0x80000000) == 0 ) goto LABEL_66; v22 = (void *)v35; goto LABEL_65; } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 ) { v8 = *(_QWORD *)(a1 + 728); if ( v8 ) { if ( *(char *)(v8 + 783) < 0 ) { sub_1000097D0(&__dst, *(void **)(v8 + 760), *(_QWORD *)(v8 + 768)); } else { v9 = (__int128 *)(v8 + 760); __dst = *v9; v40 = *((_QWORD *)v9 + 2); } if ( v40 >= 0 ) v26 = SHIBYTE(v40); else v26 = *((_QWORD *)&__dst + 1); if ( (SHIBYTE(v40) & 0x8000000000000000LL) != 0 ) operator delete((void *)__dst); if ( v26 ) { v27 = *(_QWORD *)(a1 + 728); if ( *(char *)(v27 + 783) < 0 ) { sub_1000097D0(v33, *(void **)(v27 + 760), *(_QWORD *)(v27 + 768)); } else { v28 = v27 + 760; *(_OWORD *)v33 = *(_OWORD *)v28; v34 = *(_QWORD *)(v28 + 16); } v21 = DemonInfoPopup::createFromString(v33); if ( (SHIBYTE(v34) & 0x80000000) == 0 ) goto LABEL_66; v22 = v33[0]; goto LABEL_65; } } } else if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 4 ) { v10 = *(_QWORD *)(a1 + 728); if ( v10 ) { GameToolbox::pointsToString(*(unsigned int *)(v10 + 712), (__int64)&__dst); v11 = SHIBYTE(v40); v12 = (const char *)__dst; GameToolbox::pointsToString(*(unsigned int *)(*(_QWORD *)(a1 + 728) + 716LL), (__int64)v29); if ( v11 >= 0 ) p_dst = (const char *)&__dst; else p_dst = v12; if ( v30 >= 0 ) v14 = v29; else v14 = (void **)v29[0]; v15 = sub_1003065B0( "Followers: %s\n" "Following: %s\n" "Follower counts update once per hour.\n" "A new follow can take up to an hour to show.", p_dst, (const char *)v14); CString = (char *)cocos2d::CCString::getCString(v15); sub_100009900(__p, CString); v17 = FLAlertLayer::create_1(0, "Followers", __p, "OK", 0, 380.0); (*(void (__fastcall **)(__int64))(*(_QWORD *)v17 + 1312LL))(v17); if ( v32 < 0 ) operator delete(__p[0]); if ( v30 < 0 ) operator delete(v29[0]); if ( SHIBYTE(v40) < 0 ) operator delete((void *)__dst); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source