// // GameLevelManager::onGetFollowingCompleted from 0x10053d280 to 0x10053d334 (180 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x1005206a5 // > GameLevelManager::handleIt @ 0x100520e09 // // This function is hookable on this platform (idp: pc, 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:31:55 +0000 // void __fastcall GameLevelManager::onGetFollowingCompleted(__int64 a1, unsigned __int8 *a2, __int64 a3) { __int64 v4; // rdx unsigned int v5; // eax unsigned __int8 *v6; // rdx __int64 v7; // rax __int64 v8; // rsi unsigned __int8 v9; // cl __int64 v10; // rax if ( (*(_BYTE *)a3 & 1) != 0 ) v4 = *(_QWORD *)(a3 + 16); else v4 = a3 + 1; GameLevelManager::removeDLFromActive(a1, v4); v5 = *a2; if ( (v5 & 1) != 0 ) { v7 = *((_QWORD *)a2 + 1); if ( !v7 ) return; v6 = *((unsigned __int8 **)a2 + 2); } else { if ( !*a2 ) return; v6 = a2 + 1; v7 = v5 >> 1; } v8 = 0; while ( 1 ) { v9 = v6[v8]; if ( v9 > 0x3Fu || ((1LL << v9) & 0x3FF100000000000LL) == 0 ) break; if ( v7 == ++v8 ) goto LABEL_16; } if ( v8 != -1 ) return; LABEL_16: sub_100576C60(a1, a2); v10 = GameManager::sharedState(); GameManager::setGameVariable(v10, (std::string::value_type *)"0241"); }
GD Web Decomp Icon

GD Web Decomp

Raw Source