// // AccountLayer::onSync from 0x1001eed40 to 0x1001eee58 (280 bytes) // // 1 xrefs: // > AccountLayer::customSetup @ 0x1001ee6f0 // // 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:00:37 +0000 // __int64 __fastcall AccountLayer::onSync(__int64 a1) { __int64 v2; // x0 int v3; // w0 __int64 v4; // x0 char *CString; // x0 __int64 v6; // x19 void *v8[2]; // [xsp+10h] [xbp-40h] BYREF char v9; // [xsp+27h] [xbp-29h] void *__p[2]; // [xsp+28h] [xbp-28h] BYREF char v11; // [xsp+3Fh] [xbp-11h] v2 = GameLevelManager::sharedState(); v3 = sub_1000ADD00(v2, "sync_account", 30.0); if ( (unsigned int)(v3 - 1) > 0x1D ) { sub_100009900( v8, "Do you want to download your account data from the cloud?\n" "This will merge current data with the saved data."); v6 = FLAlertLayer::create_1(a1 + 632, "Load Data", v8, "Cancel", "Load", 300.0); if ( v9 < 0 ) operator delete(v8[0]); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v6 + 72LL))(v6, 2); } else { v4 = sub_1003065B0("Please wait %i seconds before attempting to sync your account again.", v3); CString = (char *)cocos2d::CCString::getCString(v4); sub_100009900(__p, CString); v6 = FLAlertLayer::create_1(0, "Too fast", __p, "OK", 0, 300.0); if ( v11 < 0 ) operator delete(__p[0]); } return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 1312LL))(v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source