// // sub_100870A20 from 0x100870a20 to 0x100870b1b (251 bytes) // // 13 xrefs: // > FRequestProfilePage::init @ 0x10086f8a0 // > sub_1008702D0 @ 0x1008703da // > sub_100870400 @ 0x1008706cb // > sub_100870B20 @ 0x100870b25 // > sub_100870C20 @ 0x100870ddb // > FRequestProfilePage::getUserListFinished @ 0x10087126b // > FRequestProfilePage::getUserListFailed @ 0x1008714be // > FRequestProfilePage::loadFRequestsFinished @ 0x10087215d // > sub_100872170 @ 0x1008721ea // > FRequestProfilePage::loadFRequestsFailed @ 0x1008722a7 // > sub_1008722C0 @ 0x10087236a // > FRequestProfilePage::setupPageInfo @ 0x100872847 // > sub_100872930 @ 0x100872986 // // 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:36:50 +0000 // void __fastcall sub_100870A20(__int64 a1) { int v2; // r14d __int64 v3; // rax __int64 StoredOnlineLevels; // rax unsigned int *v5; // rax __int64 v6; // rcx unsigned __int64 v7; // rax unsigned __int64 v8; // rcx __int64 v9; // rdi __int64 v10; // rdi unsigned __int8 v11; // al v2 = 0; if ( !*(_BYTE *)(a1 + 880) && !*(_BYTE *)(a1 + 705) ) { v3 = GameLevelManager::sharedState(); if ( (*(_BYTE *)(a1 + 712) & 1) != 0 ) { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, *(const char **)(a1 + 728)); if ( !StoredOnlineLevels ) goto LABEL_11; } else { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)(a1 + 713)); if ( !StoredOnlineLevels ) goto LABEL_11; } v5 = *(unsigned int **)(StoredOnlineLevels + 56); v6 = *v5; if ( *v5 ) { v7 = *((_QWORD *)v5 + 2); v8 = v7 + 8 * v6 - 8; v2 = 0; do { if ( !*(_QWORD *)v7 ) break; v2 += *(unsigned __int8 *)(*(_QWORD *)v7 + 725LL); v7 += 8LL; } while ( v7 <= v8 ); } } LABEL_11: v9 = *(_QWORD *)(a1 + 888); if ( v9 ) { sub_10029CB30(v9, *(unsigned __int8 *)(a1 + 705) ^ 1); sub_10029CC00(*(_QWORD *)(a1 + 888), v2); } v10 = *(_QWORD *)(a1 + 896); if ( v10 ) { if ( v2 <= 0 ) v11 = 0; else v11 = *(_BYTE *)(a1 + 704) ^ 1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 344LL))(v10, v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source