//
// GJAccountManager::openRegister from 0x581fec to 0x5820dc (240 bytes)
//
// 1 xrefs:
// > AccountRegisterLayer::init @ 0x5872bc
//
// 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:52:54 +0000
//
int __fastcall GJAccountManager::openRegister(GJAccountManager *this)
{
cocos2d::CCString *v2; // r0
const char *CString; // r0
cocos2d::CCString *v4; // r0
const char *v5; // r5
size_t v6; // r0
int v8[3]; // [sp+14h] [bp-38h] BYREF
int v9[3]; // [sp+20h] [bp-2Ch] BYREF
int v10[3]; // [sp+2Ch] [bp-20h] BYREF
int v11[3]; // [sp+38h] [bp-14h] BYREF
v2 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%c%s%s%c%c%s",
(const char *)&dword_54 + 3,
"mfv",
"3899",
103,
99,
&a1i2r3e45s789g[11]);
CString = (const char *)cocos2d::CCString::getCString(v2);
v4 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"secret=%s", CString);
memset(v8, 0, sizeof(v8));
v5 = (const char *)cocos2d::CCString::getCString(v4);
v6 = strlen(v5);
std::string::__init(v8, v5, v6);
memset(v9, 0, sizeof(v9));
std::string::__init(v9, "https://www.boomlings.com/database/accounts/openedRegister.php", 0x3Eu);
std::string::basic_string(v10, (int)v8);
memset(v11, 0, sizeof(v11));
std::string::__init(v11, "OpenRegister", 0xCu);
GJAccountManager::ProcessHttpRequest(this, (int)v9, (int)v10, (int)v11, 25);
std::string::~string((int)v11);
std::string::~string((int)v10);
std::string::~string((int)v9);
return std::string::~string((int)v8);
}