// // MessagesProfilePage::loadMessagesFinished from 0x100213bb0 to 0x100213cd6 (294 bytes) // // 2 xrefs: // > sub_100213CE0 @ 0x100213cec // > @ 0x100ae5da0 // // 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:26:59 +0000 // unsigned __int8 __fastcall MessagesProfilePage::loadMessagesFinished(__int64 a1, __int64 a2, const char *a3, double a4) { unsigned __int8 result; // al unsigned int *v5; // rax __int64 v6; // rcx unsigned __int64 v7; // rax unsigned __int64 v8; // rcx int v9; // r15d __int64 v10; // r14 __int64 v11; // rax __int64 v12; // rax result = sub_100213920(a1, a3); if ( result ) { MessagesProfilePage::setupCommentsBrowser((_QWORD *)a1, a2); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 752) + 344LL))(*(_QWORD *)(a1 + 752), 0); (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 736) + 344LL))(*(_QWORD *)(a1 + 736), 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 792) + 344LL))(*(_QWORD *)(a1 + 792), 1); if ( a2 && !*(_BYTE *)(a1 + 696) && (unsigned int)sub_1007FEF90(a2) ) { v5 = *(unsigned int **)(a2 + 56); v6 = *v5; if ( *v5 ) { v7 = *((_QWORD *)v5 + 2); v8 = v7 + 8 * v6 - 8; v9 = 0; do { if ( !*(_QWORD *)v7 ) break; v9 += *(unsigned __int8 *)(*(_QWORD *)v7 + 424LL) ^ 1; v7 += 8LL; } while ( v7 <= v8 ); } else { v9 = 0; } v10 = GameLevelManager::sharedState(a4); v11 = GJAccountManager::sharedState(a2, 1); v12 = GameLevelManager::userInfoForAccountID(v10, (unsigned int)(*(_DWORD *)(v11 + 352) - *(_DWORD *)(v11 + 356))); if ( v12 ) { if ( *(_DWORD *)(v12 + 692) < v9 ) *(_DWORD *)(v12 + 692) = v9; } } return (unsigned __int8)sub_100212C00(a1, a4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source