// // ProfilePage::isCorrect from 0x5f8b18 to 0x5f8bba (162 bytes) // // 3 xrefs: // > ProfilePage::loadCommentsFinished @ 0x5f8bc8 // > ProfilePage::loadCommentsFailed @ 0x5f8c12 // > ProfilePage::setupPageInfo @ 0x5fba70 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:54:33 +0000 // bool __fastcall ProfilePage::isCorrect(ProfilePage *this, const char *a2, int a3, int a4) { size_t v6; // r0 int v7; // r7 int v8; // r2 unsigned int v9; // r7 unsigned int v10; // r4 char *v11; // r0 char *v12; // r1 size_t v13; // r2 int v14; // r5 int v16; // [sp+0h] [bp-10h] BYREF unsigned int v17; // [sp+4h] [bp-Ch] char *v18; // [sp+8h] [bp-8h] int v19; // [sp+Ch] [bp-4h] v19 = a4; v16 = 0; v17 = 0; v18 = nullptr; v6 = strlen(a2); std::string::__init(&v16, a2, v6); v7 = *((unsigned __int8 *)this + 564); v8 = v7 & 1; if ( (v7 & 1) != 0 ) v9 = *((_DWORD *)this + 142); else v9 = v7 >> 1; if ( (v16 & 1) != 0 ) v10 = v17; else v10 = (int)(unsigned __int8)v16 >> 1; if ( v8 ) v11 = *((char **)this + 143); else v11 = (char *)this + 565; if ( (v16 & 1) != 0 ) v12 = v18; else v12 = (char *)&v16 + 1; v13 = v10; if ( v10 >= v9 ) v13 = v9; if ( !v13 || (v14 = memcmp(v11, v12, v13)) == 0 ) { if ( v9 < v10 ) v14 = -1; else v14 = v9 > v10; } std::string::~string((int)&v16); return v14 == 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source