// // GameLevelManager::onRequestUserAccessCompleted from 0x80c46c to 0x80c66c (512 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x85c1f8 // > @ 0x6bc20 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:48 +0000 // __int64 __fastcall GameLevelManager::onRequestUserAccessCompleted(__int64 a1, __int64 a2) { __int64 v4; // x23 _BOOL4 v5; // w21 __int64 v6; // x0 const char *v7; // x23 int v8; // w21 __int64 v9; // x0 int v10; // w20 GameManager *v11; // x0 GameManager *v13; // x0 void (__fastcall ***v14)(_QWORD, _QWORD, __int64); // x0 __int64 v15; // x0 __int64 v16; // x23 GameManager *v17; // x0 __int64 v18; // [xsp+40h] [xbp+40h] BYREF __int64 v19; // [xsp+48h] [xbp+48h] void *v20; // [xsp+50h] [xbp+50h] v4 = *(_QWORD *)(a1 + 1088); v18 = 0; v19 = 0; v20 = nullptr; std::string::__init(&v18, "req_ua", 6u); cocos2d::CCDictionary::removeObjectForKey(v4, &v18); if ( (v18 & 1) != 0 ) operator delete(v20); v18 = 0; v19 = 0; v20 = nullptr; std::string::__init(&v18, &word_117CE08, 2u); v5 = sub_7FEA60(a2, (__int64)&v18); if ( (v18 & 1) != 0 ) operator delete(v20); if ( v5 ) { v6 = *(_QWORD *)(a1 + 1360); if ( v6 ) (*(void (__fastcall **)(__int64, _QWORD, __int64))(*(_QWORD *)v6 + 8LL))(v6, 0, 49); } v7 = (const char *)(a2 + 1); if ( (*(_BYTE *)a2 & 1) != 0 ) v7 = *(const char **)(a2 + 16); v8 = atoi(v7); v9 = std::string::find(a2, 0x2Cu, 0); if ( v9 == -1 ) { v10 = 0; if ( v8 != 99 ) goto LABEL_12; LABEL_15: v13 = (GameManager *)GameManager::sharedState((GameManager *)v9); *((_BYTE *)v13 + 1044) = 1; *(_DWORD *)(GameManager::sharedState(v13) + 1048) = v10; v14 = *(void (__fastcall ****)(_QWORD, _QWORD, __int64))(a1 + 1360); if ( !v14 ) return _stack_chk_guard; goto LABEL_18; } v9 = atoi(&v7[v9 + 1]); v10 = v9; if ( v8 == 99 ) goto LABEL_15; LABEL_12: v11 = (GameManager *)(unsigned int)(v8 - 1); if ( (unsigned int)v11 <= 1 ) { v15 = GameManager::sharedState(v11); *(_DWORD *)(v15 + 1040) = v8; v16 = v15; v17 = (GameManager *)(unsigned int)(int)(float)((float)((float)rand() * 4.6566e-10) * 1000.0); *(_DWORD *)(v16 + 1036) = (_DWORD)v17; *(_DWORD *)(v16 + 1032) = v8 + (_DWORD)v17; *(_DWORD *)(GameManager::sharedState(v17) + 1048) = v10; v14 = *(void (__fastcall ****)(_QWORD, _QWORD, __int64))(a1 + 1360); if ( v14 ) LABEL_18: (**v14)(v14, 0, 49); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source