// // GJFriendRequest::create from 0x3cb9d4 to 0x3cbb8a (438 bytes) // // 2 xrefs: // > GameLevelManager::onGetGJUserInfoCompleted @ 0x3cbc36 // > GameLevelManager::onGetFriendRequestsCompleted @ 0x3cbe00 // // 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 // GJFriendRequest *GJFriendRequest::create() { cocos2d::CCDictionary *v0; // r0 cocos2d::CCDictionary *v1; // r6 cocos2d::CCString *v2; // r0 cocos2d::CCString *v3; // r0 cocos2d::CCString *v4; // r0 cocos2d::CCString *v5; // r0 char *CString; // r0 cocos2d::CCString *v7; // r0 char *v8; // r0 cocos2d::CCString *v9; // r0 const char *v10; // r0 char v11; // r6 GJFriendRequest *v12; // r0 GJFriendRequest *v13; // r7 int v15; // [sp+4h] [bp-30h] int v16; // [sp+8h] [bp-2Ch] int v17; // [sp+Ch] [bp-28h] cocos2d::ZipUtils v18; // [sp+14h] [bp-20h] BYREF _BYTE v19[4]; // [sp+18h] [bp-1Ch] BYREF std::string v20; // [sp+1Ch] [bp-18h] BYREF std::string v21; // [sp+20h] [bp-14h] BYREF std::string v22; // [sp+24h] [bp-10h] BYREF std::string v23; // [sp+28h] [bp-Ch] BYREF v1 = v0; sub_776584((int)&v23, "32"); v2 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23); v15 = cocos2d::CCString::intValue(v2); sub_774008(&v23); sub_776584((int)&v23, "33"); v3 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23); v16 = cocos2d::CCString::intValue(v3); sub_774008(&v23); sub_776584((int)&v23, "34"); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v23); v17 = cocos2d::CCString::intValue(v4); sub_774008(&v23); sub_776584((int)&v22, "35"); v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v22); CString = (char *)cocos2d::CCString::getCString(v5); sub_776584((int)&v23, CString); LevelTools::base64DecodeString(&v18, &v23); sub_774008(&v23); sub_774008(&v22); sub_776584((int)&v20, "37"); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v20); v8 = (char *)cocos2d::CCString::getCString(v7); sub_776584((int)v19, v8); sub_774008(&v20); sub_776584((int)&v21, "36"); v9 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v1, &v21); v10 = cocos2d::CCString::getCString(v9); v11 = (char)v10; if ( v10 ) v11 = 1; v12 = (GJFriendRequest *)sub_774008(&v21); v13 = GJFriendRequest::create(v12); v13->m_requestID = v15; v13->m_accountID = v16; v13->m_unusedToAccountID = v17; sub_775C20(&v22, &v18); sub_775D40(&v13->m_message, &v22); sub_774008(&v22); sub_775C20(&v23, v19); sub_775D40(&v13->m_uploadDate, &v23); sub_774008(&v23); v13->m_isRead = v11; sub_774008(v19); sub_774008(&v18); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source