// // GJRequestCell::uploadActionFailed from 0x60b29c to 0x60b3d8 (316 bytes) // // 3 xrefs: // > `non-virtual thunk to'GJRequestCell::uploadActionFailed @ 0x60b3dc // > @ 0xc17a0 // > @ 0x1150ed0 // // 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 GJRequestCell::uploadActionFailed(GJRequestCell *a1, int a2, int a3) { GameLevelManager *v5; // x0 GJFriendRequest *v6; // x0 UploadActionPopup *m_popup; // x21 void *v8; // x0 unsigned int *v9; // x2 int v10; // w1 __int64 v11; // [xsp+40h] [xbp+40h] BYREF if ( a1->m_score ) { v5 = GameLevelManager::sharedState(); v6 = GameLevelManager::friendRequestFromAccountID(v5, a1->m_score->m_accountID); if ( !v6 || v6->m_accountID == a2 ) { m_popup = a1->m_popup; if ( m_popup ) { sub_D153B8((int)&v11, "Failed. Please try again later."); UploadActionPopup::showFailMessage(m_popup, (std::string)&v11); v8 = (void *)(v11 - 24); if ( (__int64 *)(v11 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v11 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v11 - 8); *(_DWORD *)(v11 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v8); } a1->m_popup->m_delegate = nullptr; a1->m_popup = nullptr; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source