//
// GameLevelManager::requestUserAccess from 0x3d3a4c to 0x3d3b84 (312 bytes)
//
// 1 xrefs:
// > SupportLayer::onRequestAccess @ 0x42c7fa
//
// 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
//
bool GameLevelManager::requestUserAccess(GameLevelManager *a1)
{
cocos2d::CCDictionary *m_friendReqAndUserBlocks; // r6
int v3; // r6
cocos2d::CCDictionary *v4; // r7
cocos2d::CCNode *v5; // r6
cocos2d::CCString *v6; // r0
const char *CString; // r0
cocos2d::CCString *v8; // r0
char *v9; // r0
char *v11; // [sp+1Ch] [bp-18h] BYREF
char *v12; // [sp+20h] [bp-14h] BYREF
const char *v13; // [sp+24h] [bp-10h] BYREF
std::string v14; // [sp+28h] [bp-Ch] BYREF
m_friendReqAndUserBlocks = a1->m_friendReqAndUserBlocks;
sub_776584((int)&v14, "req_ua");
v3 = cocos2d::CCDictionary::objectForKey(m_friendReqAndUserBlocks, &v14);
sub_774008(&v14);
if ( v3 )
return 0;
v4 = a1->m_friendReqAndUserBlocks;
v5 = cocos2d::CCNode::create();
sub_776584((int)&v14, "req_ua");
cocos2d::CCDictionary::setObject((int)v4, v5);
sub_774008(&v14);
GameLevelManager::getBasePostString((GameLevelManager *)&v11);
v6 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat(
(cocos2d::CCString *)"%c%s%s%c%c%s",
(const char *)&dword_54 + 3,
"mfd",
"2893",
103,
98,
&aO1i2r3e45s7t89[10]);
CString = cocos2d::CCString::getCString(v6);
v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"&secret=%s", CString);
v9 = (char *)cocos2d::CCString::getCString(v8);
sub_774544((int)&v11, v9);
sub_776584((int)&v12, "https://www.boomlings.com/database/requestUserAccess.php");
sub_776584((int)&v13, v11);
sub_776584((int)&v14, "req_ua");
GameLevelManager::ProcessHttpRequest(a1, &v12, &v13, (char **)&v14, 43);
sub_774008(&v14);
sub_774008(&v13);
sub_774008(&v12);
sub_774008(&v11);
return 1;
}