// // sub_1007C0200 from 0x1007c0200 to 0x1007c02a2 (162 bytes) // // 1 xrefs: // > @ 0x100994520 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // positive sp value has been detected, the output may be wrong! __int64 __fastcall sub_1007C0200(__int64 a1, GJUserScore *a2) { __int64 result; // rax GameManager *v3; // rax bool GameVariable; // r12 result = (unsigned int)a2->m_accountID; if ( (_DWORD)result == *(_DWORD *)(a1 + 40) ) { v3 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v3, "0076"); ProfilePage::loadPageFromUserInfo((ProfilePage *)(a1 - 656), a2); if ( a2->m_friendReqStatus == 2 || GameVariable ) (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 160) + 328LL))(*(_QWORD *)(a1 + 160), 0); else ProfilePage::loadPage((ProfilePage *)(a1 - 656), 0); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 176) + 328LL))(*(_QWORD *)(a1 + 176), 1); return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 72) + 328LL))(*(_QWORD *)(a1 + 72), 0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source