// // sub_1008FC480 from 0x1008fc480 to 0x1008fc591 (273 bytes) // // 1 xrefs: // > sub_1008FB260 @ 0x1008fb81f // // 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:38:00 +0000 // __int64 __fastcall sub_1008FC480(__int64 a1) { char v1; // al __int64 v2; // rax __int64 v3; // rax char *v4; // rax _QWORD v6[2]; // [rsp+0h] [rbp-20h] BYREF void *__p; // [rsp+10h] [rbp-10h] v1 = *(_BYTE *)(a1 + 1104); *(_BYTE *)(a1 + 1104) = v1 ^ 1; if ( !v1 ) { v2 = GameManager::sharedState(); if ( !(unsigned __int8)GameManager::getGameVariable(v2, "0070") ) { v3 = GameManager::sharedState(); GameManager::setGameVariable(v3, "0070"); __p = operator new(0x50u); v6[0] = 81; v6[1] = 79; strcpy((char *)__p, "Unlisted packs can only be found by ID. This cannot be changed after uploading."); v4 = FLAlertLayer::create_1(0, (int)"Unlisted", (__int64)v6, (int)"OK", 0, 320.0); (*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 1312LL))(v4); if ( (v6[0] & 1) != 0 ) operator delete(__p); } } if ( !*(_BYTE *)(a1 + 1104) ) *(_BYTE *)(a1 + 1105) = 0; return sub_1008FC5C0(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source