//
// GameLevelManager::onReadFriendRequestCompleted from 0x4afe94 to 0x4afef6 (98 bytes)
//
// 1 xrefs:
// > GameLevelManager::handleIt @ 0x4dabba
//
// 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:50:02 +0000
//
int __fastcall GameLevelManager::onReadFriendRequestCompleted(int a1, int a2, int a3)
{
cocos2d::CCDictionary *v3; // r7
const char *v4; // r4
size_t v5; // r0
int v7[3]; // [sp+0h] [bp-14h] BYREF
v3 = *(cocos2d::CCDictionary **)(a1 + 748);
memset(v7, 0, sizeof(v7));
if ( (*(_BYTE *)a3 & 1) != 0 )
v4 = *(const char **)(a3 + 8);
else
v4 = (const char *)(a3 + 1);
v5 = strlen(v4);
std::string::__init(v7, v4, v5);
cocos2d::CCDictionary::removeObjectForKey(v3);
return std::string::~string((int)v7);
}