// // GJRequestCell::uploadActionFinished from 0x60b6d4 to 0x60b8d0 (508 bytes) // // 3 xrefs: // > `non-virtual thunk to'GJRequestCell::uploadActionFinished @ 0x60b8d4 // > @ 0xa7340 // > @ 0x1150ec8 // // 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::uploadActionFinished(GJRequestCell *a1, int a2, int a3) { GameLevelManager *v6; // x0 GJFriendRequest *v7; // x0 UploadActionPopup *m_popup; // x21 void *v9; // x0 char *v10; // x1 char *v11; // x0 unsigned int *v12; // x1 int v13; // w2 unsigned int *v14; // x1 int v15; // w2 char *v16; // [xsp+58h] [xbp+58h] BYREF __int64 v17; // [xsp+60h] [xbp+60h] BYREF if ( a1->m_score ) { v6 = GameLevelManager::sharedState(); v7 = GameLevelManager::friendRequestFromAccountID(v6, a1->m_score->m_accountID); if ( !v7 || v7->m_accountID == a2 ) { if ( a1->m_popup ) { sub_D153B8((int)&v16, "Unknown action finished"); if ( a3 == 30 ) sub_D1798C(&v16, "Request removed!", 16); m_popup = a1->m_popup; sub_D153B8((int)&v17, v16); UploadActionPopup::showSuccessMessage(m_popup, (std::string)&v17); v9 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v14 = (unsigned int *)(v17 - 8); do v15 = __ldaxr(v14); while ( __stlxr(v15 - 1, v14) ); } else { v15 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v15 - 1; } if ( v15 <= 0 ) operator delete(v9); } v10 = v16; a1->m_popup->m_delegate = nullptr; v11 = v10 - 24; a1->m_popup = nullptr; if ( v10 - 24 != (char *)&qword_124B6B0 ) { if ( &pthread_create ) { v12 = (unsigned int *)(v10 - 8); do v13 = __ldaxr(v12); while ( __stlxr(v13 - 1, v12) ); } else { v13 = *((_DWORD *)v10 - 2); *((_DWORD *)v10 - 2) = v13 - 1; } if ( v13 <= 0 ) operator delete(v11); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source