// // sub_1002555F0 from 0x1002555f0 to 0x10025569a (170 bytes) // // 1 xrefs: // > @ 0x1008e6bc0 // // 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 sub_1002555F0(__int64 a1, __int64 a2, unsigned __int8 a3) { char v3; // r15 GameLevelManager *v4; // rax _DWORD *v5; // rcx int v6; // edx GJComment *v7; // rsi if ( a3 ^ 1 | ((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) != 0) ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); } else if ( *(_QWORD *)(a1 + 24) ) { v3 = *(_BYTE *)(a1 + 32); v4 = GameLevelManager::sharedState(); v5 = *(_DWORD **)(a1 + 24); v6 = v5[92]; if ( v3 ) GameLevelManager::deleteAccountComment(v4, v5[97], v6); else GameLevelManager::deleteLevelComment(v4, v5[95], v6); v7 = *(GJComment **)(a1 + 24); v7->m_commentDeleted = 1; CommentCell::loadFromComment((CommentCell *)(a1 - 560), v7); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source