// // sub_1002509AC from 0x1002509ac to 0x100250a28 (124 bytes) // // 1 xrefs: // > CreatorLayer::sceneWillResume @ 0x1000dc794 // // 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:01:31 +0000 // __int64 __fastcall sub_1002509AC(__int64 result) { __int64 v1; // x8 __int64 v2; // x20 __int64 v3; // x19 __int64 v4; // x0 __int64 SavedLevel_1; // x0 __int64 v6; // x1 __int64 v7; // x20 v1 = *(_QWORD *)(result + 720); if ( v1 ) { if ( (*(_BYTE *)(v1 + 369) & 1) == 0 ) { v2 = *(_QWORD *)(v1 + 328); if ( v2 ) { v3 = result; v4 = GameLevelManager::sharedState(); SavedLevel_1 = GameLevelManager::getSavedLevel_1(v4, v2); if ( SavedLevel_1 ) v6 = SavedLevel_1; else v6 = v2; v7 = *(_QWORD *)(v3 + 720); *(_QWORD *)(v3 + 720) = 0; DailyLevelPage::createDailyNode(v3, v6, 1, 0, 0.0); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 536LL))(v7); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source