// // GJAccountManager::loginAccount from 0x582f44 to 0x5830cc (392 bytes) // // 1 xrefs: // > AccountLoginLayer::onSubmit @ 0x586a80 // // 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:55 +0000 // int __fastcall GJAccountManager::loginAccount(GJAccountManager *a1, int a2, int a3) { int v6; // r2 int v7; // r3 GameManager *v8; // r0 int v9; // r0 const char *v10; // r1 int v11; // r2 int v12; // r3 cocos2d::CCString *v13; // r0 const char *CString; // r4 size_t v15; // r0 cocos2d::CCString *v16; // r0 char *v17; // r0 const char *v18; // r10 size_t v19; // r0 int v21[3]; // [sp+10h] [bp-40h] BYREF int v22[2]; // [sp+1Ch] [bp-34h] BYREF const char *v23; // [sp+24h] [bp-2Ch] int v24[3]; // [sp+28h] [bp-28h] BYREF int v25[3]; // [sp+34h] [bp-1Ch] BYREF int v26[3]; // [sp+40h] [bp-10h] BYREF if ( GJAccountManager::isDLActive(a1, "login_account") ) return 0; v8 = (GameManager *)GJAccountManager::addDLToActive(a1, "login_account", v6, v7); v9 = GameManager::sharedState(v8); std::string::basic_string(v21, v9 + 436); if ( (v21[0] & 1) != 0 ) v10 = (const char *)v21[2]; else v10 = (char *)v21 + 1; if ( (*(_BYTE *)a2 & 1) != 0 ) v11 = *(_DWORD *)(a2 + 8); else v11 = a2 + 1; if ( (*(_BYTE *)a3 & 1) != 0 ) v12 = *(_DWORD *)(a3 + 8); else v12 = a3 + 1; v13 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"udid=%s&userName=%s&gjp2=%s", v10, v11, v12); CString = (const char *)cocos2d::CCString::getCString(v13); v22[0] = 0; v22[1] = 0; v23 = nullptr; v15 = strlen(CString); std::string::__init(v22, CString, v15); std::string::append(v22, "&secret="); v16 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%c%s%s%c%c%s", (const char *)&dword_54 + 3, "mfv", "3899", 103, 99, &a1i2r3e45s789g[11]); v17 = (char *)cocos2d::CCString::getCString(v16); std::string::append(v22, v17); if ( (v22[0] & 1) != 0 ) v18 = v23; else v18 = (char *)v22 + 1; memset(v24, 0, sizeof(v24)); std::string::__init(v24, "https://www.boomlings.com/database/accounts/loginGJAccount.php", 0x3Eu); memset(v25, 0, sizeof(v25)); v19 = strlen(v18); std::string::__init(v25, v18, v19); memset(v26, 0, sizeof(v26)); std::string::__init(v26, "LoginAccount", 0xCu); GJAccountManager::ProcessHttpRequest(a1, (int)v24, (int)v25, (int)v26, 26); std::string::~string((int)v26); std::string::~string((int)v25); std::string::~string((int)v24); std::string::~string((int)v22); std::string::~string((int)v21); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source