// // sub_1003BB008 from 0x1003bb008 to 0x1003bb1c8 (448 bytes) // // 2 xrefs: // > AppDelegate::applicationWillBecomeActive @ 0x1003070ec // > AppDelegate::applicationWillEnterForeground @ 0x100307334 // // 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:03:59 +0000 // __int64 __fastcall sub_1003BB008(__int64 a1) { __int64 result; // x0 unsigned __int64 v3; // d2 double v4; // d0 double v5; // d0 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 __int64 v10; // x0 __int64 v11; // x0 __int64 v12; // x0 __int64 v13; // x0 __int64 v14; // x0 __int64 v15; // x0 void (__fastcall ***v16)(_QWORD); // x0 timeb v17; // [xsp+0h] [xbp-20h] BYREF result = ftime(&v17); v4 = *(double *)(a1 + 696); if ( v4 == 0.0 || (LOWORD(v3) = v17.millitm, v5 = (double)v3 / 1000.0 + (double)v17.time - v4, v5 >= 4.0) || v5 <= 0.0 ) { if ( *(_BYTE *)(a1 + 685) == 1 ) { v6 = GameManager::sharedState(); GameManager::setUGV(v6, "23", 1); v7 = GameManager::sharedState(); GameManager::reportAchievementWithID(v7, "geometry.ach.facebook", 100, 0); } if ( *(_BYTE *)(a1 + 687) == 1 ) { v8 = GameManager::sharedState(); GameManager::setUGV(v8, "22", 1); v9 = GameManager::sharedState(); GameManager::reportAchievementWithID(v9, "geometry.ach.youtube", 100, 0); } if ( *(_BYTE *)(a1 + 686) == 1 ) { v10 = GameManager::sharedState(); GameManager::setUGV(v10, "24", 1); v11 = GameManager::sharedState(); GameManager::reportAchievementWithID(v11, "geometry.ach.twitter", 100, 0); } if ( *(_BYTE *)(a1 + 688) == 1 ) { v12 = GameManager::sharedState(); GameManager::setUGV(v12, "26", 1); } if ( *(_BYTE *)(a1 + 689) == 1 ) { v13 = GameManager::sharedState(); GameManager::setUGV(v13, "27", 1); } if ( *(_BYTE *)(a1 + 690) == 1 ) { v14 = GameManager::sharedState(); GameManager::setUGV(v14, "32", 1); } if ( *(_BYTE *)(a1 + 691) == 1 ) { v15 = GameManager::sharedState(); GameManager::setUGV(v15, "39", 1); } v16 = *(void (__fastcall ****)(_QWORD))(a1 + 936); if ( v16 ) (**v16)(v16); result = *(_QWORD *)(a1 + 944); if ( result ) return (**(__int64 (__fastcall ***)(__int64))result)(result); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source