// // sub_1008702D0 from 0x1008702d0 to 0x1008703fc (300 bytes) // // 1 xrefs: // > FRequestProfilePage::init @ 0x10086f7ff // // 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 // char __fastcall sub_1008702D0(__int64 a1, double a2) { __int64 StoredOnlineLevels; // rax __int64 v3; // rax __int64 v4; // r14 __int64 v5; // rax __int64 v6; // rsi __int64 v7; // rax int v8; // r15d unsigned int *v9; // rax __int64 v10; // rcx unsigned __int64 v11; // rax unsigned __int64 v12; // rcx int v13; // eax unsigned int *v14; // rcx __int64 v15; // rdx bool v16; // al __int64 *v17; // rcx unsigned __int64 v18; // rdx if ( !*(_BYTE *)(a1 + 880) ) { v3 = GameLevelManager::sharedState(); if ( (*(_BYTE *)(a1 + 712) & 1) != 0 ) { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, *(const char **)(a1 + 728)); if ( !StoredOnlineLevels ) return StoredOnlineLevels; } else { StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v3, (const char *)(a1 + 713)); if ( !StoredOnlineLevels ) return StoredOnlineLevels; } v4 = StoredOnlineLevels; LODWORD(StoredOnlineLevels) = sub_1007FEF90(StoredOnlineLevels); if ( (_DWORD)StoredOnlineLevels ) { v5 = GameLevelManager::sharedState(); if ( (*(_BYTE *)(a1 + 712) & 1) != 0 ) v6 = *(_QWORD *)(a1 + 728); else v6 = a1 + 713; v7 = GameLevelManager::getStoredOnlineLevels(v5, (const char *)v6); v8 = 0; if ( v7 ) { v9 = *(unsigned int **)(v7 + 56); v10 = *v9; if ( *v9 ) { v11 = *((_QWORD *)v9 + 2); v12 = v11 + 8 * v10 - 8; v8 = 0; do { if ( !*(_QWORD *)v11 ) break; v8 += *(unsigned __int8 *)(*(_QWORD *)v11 + 725LL); v11 += 8LL; } while ( v11 <= v12 ); } } v13 = sub_1007FEF90(v4); v14 = *(unsigned int **)(v4 + 56); v15 = *v14; if ( *v14 ) { v16 = v8 != v13; v17 = *((__int64 **)v14 + 2); v18 = (unsigned __int64)&v17[v15 - 1]; do { v6 = *v17; if ( !*v17 ) break; *(_BYTE *)(v6 + 725) = v16; ++v17; } while ( (unsigned __int64)v17 <= v18 ); } sub_100870A20(a1); LOBYTE(StoredOnlineLevels) = CustomListView::reloadAll(*(_QWORD *)(*(_QWORD *)(a1 + 784) + 544LL), v6, a2); } } return StoredOnlineLevels; }
GD Web Decomp Icon

GD Web Decomp

Raw Source