// // ProfilePage::isCorrect from 0xa544e4 to 0xa54644 (352 bytes) // // 4 xrefs: // > ProfilePage::loadCommentsFailed @ 0xa54654 // > ProfilePage::loadCommentsFinished @ 0xa54c2c // > ProfilePage::setupPageInfo @ 0xa58388 // > @ 0xa2220 // // 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 13:00:06 +0000 // bool __fastcall ProfilePage::isCorrect(ProfilePage *this, const char *a2) { size_t v3; // x0 size_t v4; // x20 const char *v5; // x1 unsigned __int64 v6; // x0 __int64 v7; // x23 char *v8; // x0 char *v9; // x3 unsigned __int8 v10; // w0 int v11; // w1 size_t v12; // x23 int v13; // w24 size_t v14; // x20 char *v15; // x0 char *v16; // x1 size_t v17; // x2 _BOOL4 v18; // w19 __int64 v21; // [xsp+50h] [xbp+50h] BYREF size_t v22; // [xsp+58h] [xbp+58h] void *v23; // [xsp+60h] [xbp+60h] v21 = 0; v22 = 0; v23 = nullptr; v3 = strlen(a2); v4 = v3; v5 = a2; if ( v3 > 0xFFFFFFFFFFFFFFEFLL ) sub_62DCFC(); if ( v3 > 0x16 ) { v6 = (v3 + 16) & 0xFFFFFFFFFFFFFFF0LL; v7 = v6 | 1; v8 = (char *)operator new(v6); v21 = v7; v5 = a2; v9 = v8; v23 = v8; v22 = v4; LABEL_4: v9 = (char *)memcpy(v9, v5, v4); goto LABEL_5; } LOBYTE(v21) = 2 * v3; v9 = (char *)&v21 + 1; if ( v3 ) goto LABEL_4; LABEL_5: v9[v4] = 0; v10 = *((_BYTE *)this + 744); v11 = v10 & 1; v12 = v10 >> 1; if ( (v10 & 1) != 0 ) v12 = *((_QWORD *)this + 94); v13 = v21 & 1; v14 = (unsigned __int8)v21 >> 1; if ( v13 ) v14 = v22; v15 = (char *)this + 745; if ( v11 ) v15 = *((char **)this + 95); v16 = (char *)&v21 + 1; if ( v13 ) v16 = (char *)v23; if ( v14 > v12 ) v17 = v12; else v17 = v14; if ( !v17 || (v18 = 0, !memcmp(v15, v16, v17)) ) { v18 = v12 <= v14; if ( v12 < v14 ) v18 = 0; } if ( v13 ) operator delete(v23); return v18; }
GD Web Decomp Icon

GD Web Decomp

Raw Source