// // GameLevelManager::onUploadLevelListCompleted from 0x7319e8 to 0x731ac4 (220 bytes) // // 2 xrefs: // > GameLevelManager::handleIt @ 0x731ee4 // > @ 0x9dc80 // // 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 // __int64 __fastcall GameLevelManager::onUploadLevelListCompleted(GameLevelManager *a1, const char **a2, const void **a3) { std::set *p_m_queuedLists; // x21 _QWORD *v7; // x0 _QWORD *v8; // x1 __int64 result; // x0 unsigned int v10; // w20 GJLevelList *v11; // x0 GJLevelList *v12; // x1 ListUploadDelegate *m_listUploadDelegate; // x21 GameLevelManager *v14; // x0 void (__fastcall *listUploadFailed)(ListUploadDelegate *__hidden, GJLevelList *, int); // x19 GJLevelList *LocalLevelList; // x0 int v17; // [xsp+38h] [xbp+38h] p_m_queuedLists = &a1->m_queuedLists; v7 = std::_Rb_tree,std::less,std::allocator>::equal_range( (__int64)&a1->m_queuedLists, a3); std::_Rb_tree,std::less,std::allocator>::_M_erase_aux( p_m_queuedLists, v7, v8); v17 = atoi((const char *)*a3); result = atoi(*a2); v10 = result; if ( (result & 0x80000000) != 0 ) { m_listUploadDelegate = a1->m_listUploadDelegate; if ( m_listUploadDelegate ) { v14 = a1; listUploadFailed = m_listUploadDelegate->listUploadFailed; LocalLevelList = GameLevelManager::getLocalLevelList(v14, v17); return ((__int64 (__fastcall *)(ListUploadDelegate *, GJLevelList *, _QWORD))listUploadFailed)( m_listUploadDelegate, LocalLevelList, v10); } } else { v11 = GameLevelManager::getLocalLevelList(a1, v17); v12 = v11; if ( v11 ) { v11->m_listID = v10; v11->m_uploaded = 1; } result = (__int64)a1->m_listUploadDelegate; if ( result ) return (**(__int64 (__fastcall ***)(__int64, GJLevelList *))result)(result, v12); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source