// // GJMultiplayerManager::createAndAddComment from 0x641978 to 0x641a22 (170 bytes) // // 1 xrefs: // > GJMultiplayerManager::uploadComment @ 0x6425b6 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:55:28 +0000 // int __fastcall GJMultiplayerManager::createAndAddComment(GJAccountManager *a1, int a2, int a3) { const char *v5; // r4 int v6; // r0 cocos2d::CCString *v7; // r0 const char *CString; // r5 size_t v9; // r0 int v10; // r0 int v12[3]; // [sp+4h] [bp-1Ch] BYREF int v13[3]; // [sp+10h] [bp-10h] BYREF if ( (*(_BYTE *)a2 & 1) != 0 ) v5 = *(const char **)(a2 + 8); else v5 = (const char *)(a2 + 1); v6 = GJAccountManager::sharedState(a1); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"2~%s~8~%i~9~7 minutes~6~-1", v5, *(_DWORD *)(v6 + 280) - *(_DWORD *)(v6 + 284)); memset(v12, 0, sizeof(v12)); CString = (const char *)cocos2d::CCString::getCString(v7); v9 = strlen(CString); std::string::__init(v12, CString, v9); std::string::basic_string(v13, (int)v12); GJMultiplayerManager::addComment((int)a1, (int)v13, a3); std::string::~string((int)v13); v10 = *((_DWORD *)a1 + 70); if ( v10 ) (*(void (__fastcall **)(int))(*(_DWORD *)v10 + 12))(v10); return std::string::~string((int)v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source