// // sub_1008F7160 from 0x1008f7160 to 0x1008f7306 (422 bytes) // // 1 xrefs: // > sub_1008F3770 @ 0x1008f50bc // // 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:37:58 +0000 // void __fastcall sub_1008F7160(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v3; // rax char *v4; // rbx __int64 v5; // rax __int128 *v6; // rax __int64 v7; // rax _QWORD v8[2]; // [rsp+8h] [rbp-38h] BYREF void *__p; // [rsp+18h] [rbp-28h] __int128 v10; // [rsp+20h] [rbp-20h] BYREF void *v11; // [rsp+30h] [rbp-10h] if ( *(_QWORD *)(a1 + 1088) && GJAccountManager::sharedState(a1, a2) && (v2 = GJAccountManager::sharedState(a1, a2), *(_DWORD *)(v2 + 352) > *(_DWORD *)(v2 + 356)) && (v3 = GJAccountManager::sharedState(a1, a2), *(_DWORD *)(v3 + 352) - *(_DWORD *)(v3 + 356) == *(_DWORD *)(*(_QWORD *)(a1 + 1088) + 340LL)) ) { __p = operator new(0x50u); v8[0] = 81; v8[1] = 72; strcpy((char *)__p, "Are you sure you want to delete this sound pack from the server?"); v4 = FLAlertLayer::create_1( (int)a1 + 1032, (int)"Delete Sound Pack", (__int64)v8, (int)"Cancel", (int)"Delete", 380.0); if ( (v8[0] & 1) != 0 ) operator delete(__p); (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v4 + 72LL))(v4, 7002); (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4); } else { v5 = *(_QWORD *)(a1 + 1088); if ( (*(_BYTE *)(v5 + 376) & 1) != 0 ) { sub_10001AD30(&v10, *(const void **)(v5 + 392), *(_QWORD *)(v5 + 384)); } else { v6 = (__int128 *)(v5 + 376); v11 = *((void **)v6 + 2); v10 = *v6; } v7 = sub_1009A5740((int)a1 + 1040, 7002, (int)"Delete Sound Pack"); (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); if ( (v10 & 1) != 0 ) operator delete(v11); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source