// // sub_1004D63C8 from 0x1004d63c8 to 0x1004d648c (196 bytes) // // 1 xrefs: // > sub_1004D5758 @ 0x1004d5c6c // // This function is hookable on this platform (idp: arm, 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 11:06:31 +0000 // __int64 __fastcall sub_1004D63C8(__int64 a1) { char v2; // w8 __int64 v3; // x0 __int64 v4; // x0 void *v5; // x0 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v8; // [xsp+1Fh] [xbp-11h] v2 = *(_BYTE *)(a1 + 1104); *(_BYTE *)(a1 + 1104) = v2 ^ 1; if ( (v2 & 1) == 0 ) { v3 = GameManager::sharedState(); if ( !GameManager::getGameVariable(v3, "0070") ) { v4 = GameManager::sharedState(); GameManager::setGameVariable(v4, "0070", 1); sub_100009900(__p, "Unlisted packs can only be found by ID. This cannot be changed after uploading."); v5 = FLAlertLayer::create_1(0, (__int64)"Unlisted", (__int64)__p, (__int64)"OK", 0, 320.0); (*(void (__fastcall **)(void *))(*(_QWORD *)v5 + 1312LL))(v5); if ( v8 < 0 ) operator delete(__p[0]); } } if ( (*(_BYTE *)(a1 + 1104) & 1) == 0 ) *(_BYTE *)(a1 + 1105) = 0; return sub_1004D64B8(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source