// // MessagesProfilePage::loadMessagesFinished from 0x1002653a8 to 0x1002654c8 (288 bytes) // // 2 xrefs: // > sub_1002654C8 @ 0x1002654cc // > @ 0x1009123b0 // // 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 11:01:41 +0000 // __int64 __fastcall MessagesProfilePage::loadMessagesFinished(__int64 a1, __int64 a2, char *a3) { __int64 result; // x0 unsigned int *v6; // x8 __int64 v7; // x9 int v8; // w21 unsigned __int64 v9; // x8 unsigned __int64 v10; // x9 __int64 v11; // x20 __int64 v12; // x0 __int64 v13; // x0 result = sub_1002651F4(a1, a3); if ( (_DWORD)result ) { sub_100265244(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) & 1) == 0 && (unsigned int)sub_1002E757C(a2) ) { v6 = *(unsigned int **)(a2 + 56); v7 = *v6; if ( (_DWORD)v7 ) { v8 = 0; v9 = *((_QWORD *)v6 + 2); v10 = v9 + 8 * v7 - 8; do { if ( !*(_QWORD *)v9 ) break; v8 += *(unsigned __int8 *)(*(_QWORD *)v9 + 424LL) ^ 1; v9 += 8LL; } while ( v9 <= v10 ); } else { v8 = 0; } v11 = GameLevelManager::sharedState(); v12 = GJAccountManager::sharedState(v11); v13 = GameLevelManager::userInfoForAccountID(v11, *(_DWORD *)(v12 + 352) - *(_DWORD *)(v12 + 356)); if ( v13 ) { if ( *(_DWORD *)(v13 + 692) < v8 ) *(_DWORD *)(v13 + 692) = v8; } } return sub_100264984(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source