// // GameLevelManager::onUploadFriendRequestCompleted from 0x10008cdf4 to 0x10008cf20 (300 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x100088c24 // // 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, _QWORD *a2, char *__s) { char *v3; // x20 cocos2d::CCDictionary *m_friendReqAndUserBlocks; // x21 GameLevelManager *v7; // x0 __int64 SplitIntFromKey; // x21 _BOOL4 v9; // w0 _BOOL4 v10; // w22 UploadActionDelegate *m_uploadActionDelegate; // x0 cocos2d::CCObject *v12; // x0 cocos2d::CCObject *v13; // x1 UserInfoDelegate *m_userInfoDelegate; // x0 UploadActionDelegate *v15; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v17; // [xsp+1Fh] [xbp-21h] v3 = __s; if ( __s[23] < 0 ) v3 = *(char **)__s; m_friendReqAndUserBlocks = a1->m_friendReqAndUserBlocks; sub_100009900(__p, v3); v7 = (GameLevelManager *)cocos2d::CCDictionary::removeObjectForKey_1((int)m_friendReqAndUserBlocks, (char *)__p); if ( v17 < 0 ) operator delete(__p[0]); SplitIntFromKey = GameLevelManager::getSplitIntFromKey(v7, v3, 1); sub_100009900(__p, "-1"); v9 = sub_1000045BC(a2, __p); v10 = v9; if ( v17 < 0 ) { operator delete(__p[0]); if ( v10 ) goto LABEL_7; } else if ( v9 ) { LABEL_7: m_uploadActionDelegate = a1->m_uploadActionDelegate; if ( m_uploadActionDelegate ) ((void (__fastcall *)(UploadActionDelegate *, __int64, __int64))m_uploadActionDelegate->uploadActionFailed)( m_uploadActionDelegate, SplitIntFromKey, 29); GameLevelManager::resetTimerForKey(a1, v3); return; } v12 = cocos2d::CCDictionary::objectForKey(a1->m_storedUserInfo, (int)SplitIntFromKey); if ( v12 ) { v13 = v12; LODWORD(v12[12].__vftable) = 4; m_userInfoDelegate = a1->m_userInfoDelegate; if ( m_userInfoDelegate ) ((void (__fastcall *)(UserInfoDelegate *, cocos2d::CCObject *))m_userInfoDelegate->userInfoChanged)( m_userInfoDelegate, v13); } v15 = a1->m_uploadActionDelegate; if ( v15 ) ((void (__fastcall *)(UploadActionDelegate *, __int64, __int64))v15->uploadActionFinished)(v15, SplitIntFromKey, 29); }
GD Web Decomp Icon

GD Web Decomp

Raw Source