// // ProfilePage::onStatInfo from 0x1008a2db0 to 0x1008a3258 (1192 bytes) // // 1 xrefs: // > ProfilePage::loadPageFromUserInfo @ 0x10089fd5e // // 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:15 +0000 // void __fastcall ProfilePage::onStatInfo(__int64 a1, __int64 a2) { __int64 v2; // rax __int128 *v3; // rax __int64 v4; // rax __int128 *v5; // rax __int64 v6; // rax __int128 *v7; // rax __int64 v8; // r14 __int64 v9; // rax __int128 *v10; // rax __int64 v11; // rax char v12; // r15 const char *v13; // r14 const char *v14; // rdx __int64 v15; // rbx void *v16; // rdi __int64 v17; // r14 __int64 v18; // rax __int128 *v19; // rax __int64 v20; // r14 __int64 v21; // rax __int128 *v22; // rax char *v23; // rax const char *CString; // rbx size_t v25; // rax size_t v26; // r14 char *v27; // r15 size_t v28; // r12 char *v29; // rax size_t v30[2]; // [rsp+8h] [rbp-C8h] BYREF void *v31; // [rsp+18h] [rbp-B8h] __int128 v32; // [rsp+20h] [rbp-B0h] BYREF void *v33; // [rsp+30h] [rbp-A0h] __int128 v34; // [rsp+40h] [rbp-90h] BYREF void *v35; // [rsp+50h] [rbp-80h] __int128 v36; // [rsp+60h] [rbp-70h] BYREF void *v37; // [rsp+70h] [rbp-60h] _QWORD __dst[2]; // [rsp+78h] [rbp-58h] BYREF void *v39; // [rsp+88h] [rbp-48h] __int128 v40; // [rsp+90h] [rbp-40h] BYREF void *__p; // [rsp+A0h] [rbp-30h] if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) { v2 = *(_QWORD *)(a1 + 728); if ( !v2 ) return; if ( (*(_BYTE *)(v2 + 784) & 1) != 0 ) { sub_10001AD30(&v40, *(const void **)(v2 + 800), *(_QWORD *)(v2 + 792)); } else { v3 = (__int128 *)(v2 + 784); __p = *((void **)v3 + 2); v40 = *v3; } if ( (v40 & 1) != 0 ) { v8 = *((_QWORD *)&v40 + 1); operator delete(__p); if ( !v8 ) return; } else if ( !((unsigned __int8)v40 >> 1) ) { return; } v9 = *(_QWORD *)(a1 + 728); if ( (*(_BYTE *)(v9 + 784) & 1) != 0 ) { sub_10001AD30(&v32, *(const void **)(v9 + 800), *(_QWORD *)(v9 + 792)); } else { v10 = (__int128 *)(v9 + 784); v33 = *((void **)v10 + 2); v32 = *v10; } v15 = StarInfoPopup::createFromString(&v32); if ( (v32 & 1) == 0 ) goto LABEL_50; v16 = v33; LABEL_49: operator delete(v16); LABEL_50: (*(void (__fastcall **)(__int64))(*(_QWORD *)v15 + 1312LL))(v15); return; } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 2 ) { v4 = *(_QWORD *)(a1 + 728); if ( !v4 ) return; if ( (*(_BYTE *)(v4 + 808) & 1) != 0 ) { sub_10001AD30(&v40, *(const void **)(v4 + 824), *(_QWORD *)(v4 + 816)); } else { v5 = (__int128 *)(v4 + 808); __p = *((void **)v5 + 2); v40 = *v5; } if ( (v40 & 1) != 0 ) { v17 = *((_QWORD *)&v40 + 1); operator delete(__p); if ( !v17 ) return; } else if ( !((unsigned __int8)v40 >> 1) ) { return; } v18 = *(_QWORD *)(a1 + 728); if ( (*(_BYTE *)(v18 + 808) & 1) != 0 ) { sub_10001AD30(&v34, *(const void **)(v18 + 824), *(_QWORD *)(v18 + 816)); } else { v19 = (__int128 *)(v18 + 808); v35 = *((void **)v19 + 2); v34 = *v19; } v15 = StarInfoPopup::createFromStringMoons(&v34); if ( (v34 & 1) == 0 ) goto LABEL_50; v16 = v35; goto LABEL_49; } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 3 ) { v6 = *(_QWORD *)(a1 + 728); if ( !v6 ) return; if ( (*(_BYTE *)(v6 + 760) & 1) != 0 ) { sub_10001AD30(&v40, *(const void **)(v6 + 776), *(_QWORD *)(v6 + 768)); } else { v7 = (__int128 *)(v6 + 760); __p = *((void **)v7 + 2); v40 = *v7; } if ( (v40 & 1) != 0 ) { v20 = *((_QWORD *)&v40 + 1); operator delete(__p); if ( !v20 ) return; } else if ( !((unsigned __int8)v40 >> 1) ) { return; } v21 = *(_QWORD *)(a1 + 728); if ( (*(_BYTE *)(v21 + 760) & 1) != 0 ) { sub_10001AD30(&v36, *(const void **)(v21 + 776), *(_QWORD *)(v21 + 768)); } else { v22 = (__int128 *)(v21 + 760); v37 = *((void **)v22 + 2); v36 = *v22; } v15 = DemonInfoPopup::createFromString(&v36); if ( (v36 & 1) == 0 ) goto LABEL_50; v16 = v37; goto LABEL_49; } if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 4 ) return; v11 = *(_QWORD *)(a1 + 728); if ( !v11 ) return; GameToolbox::pointsToString((size_t *)&v40, *(_DWORD *)(v11 + 712)); v12 = v40; v13 = (const char *)__p; GameToolbox::pointsToString(v30, *(_DWORD *)(*(_QWORD *)(a1 + 728) + 716LL)); if ( (v12 & 1) == 0 ) v13 = (char *)&v40 + 1; if ( (v30[0] & 1) != 0 ) v14 = (const char *)v31; else v14 = (char *)v30 + 1; v23 = sub_10088E820( "Followers: %s\n" "Following: %s\n" "Follower counts update once per hour.\n" "A new follow can take up to an hour to show.", v13, v14); CString = (const char *)cocos2d::CCString::getCString((__int64)v23); v25 = strlen(CString); if ( v25 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v26 = v25; if ( v25 >= 0x17 ) { v28 = 26; if ( (v25 | 7) != 0x17 ) v28 = (v25 | 7) + 1; v27 = (char *)operator new(v28); v39 = v27; __dst[0] = v28 | 1; __dst[1] = v26; goto LABEL_60; } LOBYTE(__dst[0]) = 2 * v25; v27 = (char *)__dst + 1; if ( v25 ) LABEL_60: memmove(v27, CString, v26); v27[v26] = 0; v29 = FLAlertLayer::create_1(0, (int)"Followers", (__int64)__dst, (int)"OK", 0, 380.0); (*(void (__fastcall **)(char *))(*(_QWORD *)v29 + 1312LL))(v29); if ( (__dst[0] & 1) != 0 ) { operator delete(v39); if ( (v30[0] & 1) == 0 ) { LABEL_63: if ( (v40 & 1) != 0 ) goto LABEL_67; return; } } else if ( (v30[0] & 1) == 0 ) { goto LABEL_63; } operator delete(v31); if ( (v40 & 1) != 0 ) LABEL_67: operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source