// // sub_10086FCA0 from 0x10086fca0 to 0x10086fdae (270 bytes) // // 3 xrefs: // > FRequestProfilePage::keyBackClicked @ 0x100871965 // > sub_100871970 @ 0x10087197c // > FRequestProfilePage::init @ 0x10086f34d // // 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 // __int64 __fastcall sub_10086FCA0(__int64 a1) { __int64 v2; // rax __int64 v3; // rax __int64 v4; // rax __int64 v5; // rax __int64 v6; // rax const char *v7; // rsi __int64 v8; // rdi __int64 StoredOnlineLevels; // rax unsigned int *v10; // rax __int64 v11; // rcx unsigned __int64 v12; // rax unsigned __int64 v13; // rcx __int64 v14; // rax _BYTE *v15; // rax if ( *(_QWORD *)(a1 + 784) ) { v2 = cocos2d::CCDirector::sharedDirector(); v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2); cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, *(_QWORD *)(a1 + 784)); } v4 = cocos2d::CCDirector::sharedDirector(); v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4); cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1); v6 = GameLevelManager::sharedState(); if ( (*(_BYTE *)(a1 + 712) & 1) != 0 ) { v7 = *(const char **)(a1 + 728); v8 = v6; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v6, v7); if ( !StoredOnlineLevels ) goto LABEL_11; } else { v7 = (const char *)(a1 + 713); v8 = v6; StoredOnlineLevels = GameLevelManager::getStoredOnlineLevels(v6, (const char *)(a1 + 713)); if ( !StoredOnlineLevels ) goto LABEL_11; } v10 = *(unsigned int **)(StoredOnlineLevels + 56); v11 = *v10; if ( *v10 ) { v12 = *((_QWORD *)v10 + 2); v13 = v12 + 8 * v11 - 8; do { if ( !*(_QWORD *)v12 ) break; *(_BYTE *)(*(_QWORD *)v12 + 725LL) = 0; v12 += 8LL; } while ( v12 <= v13 ); } LABEL_11: v14 = GJAccountManager::sharedState(v8, (__int64)v7); v15 = (_BYTE *)ProfilePage::create((unsigned int)(*(_DWORD *)(v14 + 352) - *(_DWORD *)(v14 + 356)), 1); v15[596] = 1; (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v15 + 1312LL))(v15); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a1 + 1072LL))(a1, 0); return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 528LL))(a1, 1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source