// // GameLevelManager::onGetGJUserInfoCompleted from 0x4d24c4 to 0x4d25de (282 bytes) // // 1 xrefs: // > GameLevelManager::handleIt @ 0x4daafa // // 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:48 +0000 // int (***__fastcall GameLevelManager::onGetGJUserInfoCompleted( GameLevelManager *a1, unsigned __int8 *a2, int a3, int a4))(void) { const char *v6; // r4 int SplitIntFromKey; // r9 _BOOL4 v8; // r7 cocos2d::CCNode *v9; // r10 cocos2d::CCDictionary *v10; // r1 cocos2d::CCNode *v11; // r7 int (***result)(void); // r0 int (*v13)(void); // r3 cocos2d::CCDictionary *v14; // r1 _BOOL4 v15; // r6 cocos2d::CCNode *v16; // r0 GameLevelManager *v17; // [sp+0h] [bp-10h] BYREF unsigned __int8 *v18; // [sp+4h] [bp-Ch] int v19; // [sp+8h] [bp-8h] int v20; // [sp+Ch] [bp-4h] v17 = a1; v18 = a2; v19 = a3; v20 = a4; if ( (*(_BYTE *)a3 & 1) != 0 ) v6 = *(const char **)(a3 + 8); else v6 = (const char *)(a3 + 1); GameLevelManager::removeDLFromActive(a1, v6); v17 = nullptr; v18 = nullptr; v19 = 0; SplitIntFromKey = GameLevelManager::getSplitIntFromKey(a1, v6, 1u); std::string::__init((int *)&v17, "-1", 2u); v8 = sub_4A9CC4(a2, (unsigned __int8 *)&v17); std::string::~string((int)&v17); if ( v8 || (std::string::basic_string((int *)&v17, (int)a2), v9 = (cocos2d::CCNode *)GameLevelManager::responseToDict((cocos2d::CCDictionary *)&v17, 0), std::string::~string((int)&v17), (v11 = GJUserScore::create(v9, v10)) == nullptr) ) { result = *((int (****)(void))a1 + 221); if ( !result ) return result; v13 = (*result)[1]; return (int (***)(void))v13(); } GameLevelManager::storeUserInfo((int)a1, v11); if ( *((_DWORD *)v11 + 130) == 4 ) { v17 = nullptr; v18 = nullptr; v19 = 0; std::string::__init((int *)&v17, "32", 2u); v15 = cocos2d::CCDictionary::objectForKey(v9, &v17) != 0; std::string::~string((int)&v17); } else { v15 = 0; } if ( *((_DWORD *)v11 + 130) == 3 || v15 ) { v16 = GJFriendRequest::create(v9, v14); *((_DWORD *)v16 + 67) = SplitIntFromKey; GameLevelManager::storeFriendRequest((int)a1, v16); } result = *((int (****)(void))a1 + 221); if ( result ) { v13 = **result; return (int (***)(void))v13(); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source