//
// GJMultiplayerManager::getBasePostString from 0x641fac to 0x64201e (114 bytes)
//
// 3 xrefs:
// > GJMultiplayerManager::joinLobby @ 0x64206a
// > GJMultiplayerManager::exitLobby @ 0x6421b6
// > GJMultiplayerManager::uploadComment @ 0x6423dc
//
// 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:29 +0000
//
GJMultiplayerManager *__fastcall GJMultiplayerManager::getBasePostString(
GJMultiplayerManager *this,
int a2,
char *a3,
int a4)
{
GJAccountManager *v5; // r0
int v6; // r0
char *v7; // r1
int v9[2]; // [sp+0h] [bp-10h] BYREF
char *v10; // [sp+8h] [bp-8h]
int v11; // [sp+Ch] [bp-4h]
v9[0] = (int)this;
v9[1] = a2;
v10 = a3;
v11 = a4;
GameLevelManager::sharedState(this);
GameLevelManager::getBasePostString(this);
v5 = (GJAccountManager *)std::string::append(this, "&username=");
v6 = GJAccountManager::sharedState(v5);
std::string::basic_string(v9, v6 + 268);
if ( (v9[0] & 1) != 0 )
v7 = v10;
else
v7 = (char *)v9 + 1;
std::string::append(this, v7);
std::string::~string((int)v9);
return this;
}