// // GameLevelManager::onUploadFriendRequestCompleted from 0x3c26cc to 0x3c2798 (204 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x3d72bc // // 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 // void __fastcall GameLevelManager::onUploadFriendRequestCompleted(GameLevelManager *a1, int a2, char **a3, int a4) { const char *v4; // r8 cocos2d::CCDictionary *m_friendReqAndUserBlocks; // r7 int SplitIntFromKey; // r7 _BOOL4 v9; // r9 UploadActionDelegate *m_uploadActionDelegate; // r0 GJUserScore *v11; // r0 GJUserScore *v12; // r1 UserInfoDelegate *m_userInfoDelegate; // r0 UploadActionDelegate *v14; // r0 _DWORD v17[2]; // [sp+8h] [bp-8h] BYREF v17[0] = a3; v17[1] = a4; v4 = *a3; m_friendReqAndUserBlocks = a1->m_friendReqAndUserBlocks; sub_776584((int)v17, *a3); cocos2d::CCDictionary::removeObjectForKey(m_friendReqAndUserBlocks); sub_774008(v17); SplitIntFromKey = GameLevelManager::getSplitIntFromKey(a1, v4, 1); sub_776584((int)v17, "-1"); v9 = sub_3BE0D8(a2, (int)v17); sub_774008(v17); if ( v9 ) { m_uploadActionDelegate = a1->m_uploadActionDelegate; if ( m_uploadActionDelegate ) ((void (__fastcall *)(UploadActionDelegate *, int, int, void (__fastcall *)(UploadActionDelegate *__hidden, int, int), GameLevelManager *, int))m_uploadActionDelegate->uploadActionFailed)( m_uploadActionDelegate, SplitIntFromKey, 29, m_uploadActionDelegate->uploadActionFailed, a1, a2); GameLevelManager::resetTimerForKey(a1, v4); } else { v11 = GameLevelManager::userInfoForAccountID(a1, SplitIntFromKey); v12 = v11; if ( v11 ) { v11->m_friendReqStatus = 4; m_userInfoDelegate = a1->m_userInfoDelegate; if ( m_userInfoDelegate ) m_userInfoDelegate->userInfoChanged(m_userInfoDelegate, v12); } v14 = a1->m_uploadActionDelegate; if ( v14 ) ((void (__fastcall *)(UploadActionDelegate *, int, int, void (__fastcall *)(UploadActionDelegate *__hidden, int, int), GameLevelManager *, int))v14->uploadActionFinished)( v14, SplitIntFromKey, 29, v14->uploadActionFinished, a1, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source