// // GJMultiplayerManager::onUploadCommentCompleted from 0x10065a140 to 0x10065a206 (198 bytes) // // 0 xrefs: // // 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 // unsigned __int8 __fastcall GJMultiplayerManager::onUploadCommentCompleted( GJMultiplayerManager *a1, unsigned __int8 *a2, __int64 a3) { const char *v5; // r15 unsigned int v6; // r15d const void *v7; // rdi unsigned __int64 v8; // rcx size_t v9; // rdx bool v10; // r14 unsigned __int8 result; // al GJMPDelegate *m_mpDelegate; // rdi _WORD __s2[23]; // [rsp+1h] [rbp-2Fh] BYREF if ( (*(_BYTE *)a3 & 1) != 0 ) { GJMultiplayerManager::removeDLFromActive(a1, *(const char **)(a3 + 16)); if ( (*(_BYTE *)a3 & 1) != 0 ) goto LABEL_3; } else { GJMultiplayerManager::removeDLFromActive(a1, (const char *)(a3 + 1)); if ( (*(_BYTE *)a3 & 1) != 0 ) { LABEL_3: v5 = *(const char **)(a3 + 16); goto LABEL_6; } } v5 = (const char *)(a3 + 1); LABEL_6: v6 = atoi(v5); strcpy((char *)__s2, "-1"); v7 = a2 + 1; v8 = *a2 >> 1; if ( (*a2 & 1) != 0 ) { v7 = *((const void **)a2 + 2); v8 = *((_QWORD *)a2 + 1); } v9 = 2; if ( v8 < 2 ) v9 = v8; v10 = v8 == 2; result = memcmp(v7, __s2, v9) == 0; if ( (v10 & result) == 0 ) { m_mpDelegate = a1->m_mpDelegate; if ( m_mpDelegate ) return ((__int64 (__fastcall *)(GJMPDelegate *, _QWORD))m_mpDelegate->didUploadMPComment)(m_mpDelegate, v6); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source