// // GJMultiplayerManager::createAndAddComment from 0x5105bc to 0x51064a (142 bytes) // // 1 xrefs: // > GJMultiplayerManager::uploadComment @ 0x510cfc // // 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 // int __fastcall GJMultiplayerManager::createAndAddComment(int a1, const char **a2, char *a3, int a4) { const char *v6; // r4 GJAccountManager *v7; // r0 cocos2d::CCString *v8; // r0 char *CString; // r0 int v10; // r0 const char **v13; // [sp+4h] [bp-Ch] BYREF char *v14; // [sp+8h] [bp-8h] BYREF int v15; // [sp+Ch] [bp-4h] v13 = a2; v14 = a3; v15 = a4; v6 = *a2; v7 = GJAccountManager::sharedState(); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"2~%s~8~%i~9~7 minutes~6~-1", v6, v7->m_accountID - v7->m_unkInt1, v7->m_unkInt1, a1, v13, v14, v15); CString = (char *)cocos2d::CCString::getCString(v8); sub_776584((int)&v13, CString); sub_775C20(&v14); GJMultiplayerManager::addComment(a1, (char *)&v14, a3); sub_774008(&v14); v10 = *(_DWORD *)(a1 + 280); if ( v10 ) (*(void (__fastcall **)(int))(*(_DWORD *)v10 + 12))(v10); return sub_774008(&v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source