// // ProfilePage::onUnblockUser from 0x1008a2660 to 0x1008a2879 (537 bytes) // // 1 xrefs: // > ProfilePage::setupAccountButtons @ 0x1008a1cfb // // 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::onUnblockUser(__int64 a1) { __int64 v1; // rax __int128 *v2; // rax const char *v3; // rsi char *v4; // rax const char *CString; // r14 size_t v6; // rax size_t v7; // r15 char *v8; // r12 char *v9; // r14 size_t v10; // r13 size_t v11; // rax size_t v12; // r15 char *v13; // r12 size_t v14; // r13 char *v15; // rbx _QWORD v16[2]; // [rsp+8h] [rbp-78h] BYREF void *v17; // [rsp+18h] [rbp-68h] __int128 v18; // [rsp+20h] [rbp-60h] BYREF void *__p; // [rsp+30h] [rbp-50h] _QWORD __dst[2]; // [rsp+40h] [rbp-40h] BYREF char *__s; // [rsp+50h] [rbp-30h] v1 = *(_QWORD *)(a1 + 728); if ( (*(_BYTE *)(v1 + 320) & 1) != 0 ) { sub_10001AD30(&v18, *(const void **)(v1 + 336), *(_QWORD *)(v1 + 328)); if ( (v18 & 1) == 0 ) goto LABEL_3; } else { v2 = (__int128 *)(v1 + 320); __p = *((void **)v2 + 2); v18 = *v2; if ( (v18 & 1) == 0 ) { LABEL_3: v3 = (char *)&v18 + 1; goto LABEL_6; } } v3 = (const char *)__p; LABEL_6: v4 = sub_10088E820("Are you sure you want to unblock %s?", v3); CString = (const char *)cocos2d::CCString::getCString((__int64)v4); v6 = strlen(CString); if ( v6 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v7 = v6; if ( v6 >= 0x17 ) { v10 = 26; if ( (v6 | 7) != 0x17 ) v10 = (v6 | 7) + 1; v8 = (char *)operator new(v10); __s = v8; __dst[0] = v10 | 1; __dst[1] = v7; } else { LOBYTE(__dst[0]) = 2 * v6; v8 = (char *)__dst + 1; if ( !v6 ) { BYTE1(__dst[0]) = 0; if ( (v18 & 1) == 0 ) goto LABEL_11; goto LABEL_10; } } memmove(v8, CString, v7); v8[v7] = 0; if ( (v18 & 1) != 0 ) LABEL_10: operator delete(__p); LABEL_11: if ( (__dst[0] & 1) != 0 ) v9 = __s; else v9 = (char *)__dst + 1; v11 = strlen(v9); if ( v11 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v12 = v11; if ( v11 >= 0x17 ) { v14 = 26; if ( (v11 | 7) != 0x17 ) v14 = (v11 | 7) + 1; v13 = (char *)operator new(v14); v17 = v13; v16[0] = v14 | 1; v16[1] = v12; goto LABEL_26; } LOBYTE(v16[0]) = 2 * v11; v13 = (char *)v16 + 1; if ( v11 ) LABEL_26: memmove(v13, v9, v12); v13[v12] = 0; v15 = FLAlertLayer::create_1((int)a1 + 664, (int)"Unblock user", (__int64)v16, (int)"Back", (int)"Unblock", 300.0); if ( (v16[0] & 1) != 0 ) operator delete(v17); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v15 + 72LL))(v15, 4); (*(void (__fastcall **)(char *))(*(_QWORD *)v15 + 1312LL))(v15); if ( (__dst[0] & 1) != 0 ) operator delete(__s); }
GD Web Decomp Icon

GD Web Decomp

Raw Source