// // InfoLayer::commentUploadFailed from 0x1007b2f50 to 0x1007b302f (223 bytes) // // 2 xrefs: // > sub_1007B3050 @ 0x1007b305c // > @ 0x100992a08 // // 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 // void __fastcall InfoLayer::commentUploadFailed(InfoLayer *a1, int a2, CommentError a3) { GJLevelList *m_levelList; // rcx int v4; // eax GJGameLevel *m_level; // rcx __int64 v6; // rbx __int128 v7; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] if ( !a1->m_score ) { m_levelList = a1->m_levelList; if ( m_levelList ) { v4 = -m_levelList->m_listID; if ( a3 ) return; } else { m_level = a1->m_level; if ( m_level ) { v4 = m_level->m_levelID.random - m_level->m_levelID.seed; if ( a3 ) return; } else { v4 = 0; if ( a3 ) return; } } if ( v4 == a2 ) { __p = operator new(0x30u); *(_QWORD *)&v7 = 49; *((_QWORD *)&v7 + 1) = 46; strcpy((char *)__p, "Comment upload failed. Please try again later."); v6 = sub_10049B0F0(0, (__int64)"Failed", &v7, (__int64)"OK", 0, 2.438129814130629e-152); if ( (v7 & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 1288LL))(v6); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source