// // PlayLayer::storeCheckpoint from 0x10008ac50 to 0x10008ad27 (215 bytes) // // 3 xrefs: // > PlayLayer::markCheckpoint @ 0x100088a2e // > PlayLayer::loadPersistentCheckpoint @ 0x10008beac // > PlayerObject::tryPlaceCheckpoint @ 0x1003f0127 // // 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:20:06 +0000 // __int64 __fastcall PlayLayer::storeCheckpoint(__int64 a1, __int64 a2) { __int64 v2; // rax unsigned int v3; // r15d __int64 v4; // rax __int64 v5; // r14 __int64 result; // rax sub_1007FEBF0(*(_QWORD *)(a1 + 14248), a2); v2 = sub_1005DDE90(a2); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1344LL))(a1, v2); v3 = 500; if ( *(_BYTE *)(a1 + 12238) == 1 ) { v3 = 1; if ( *(_BYTE *)(a1 + 12544) ) v3 = 500; } while ( 1 ) { result = sub_1007FEF90(*(_QWORD *)(a1 + 14248)); if ( (unsigned int)result <= v3 ) break; if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 14248)) ) { v4 = sub_1007FEFE0(*(_QWORD *)(a1 + 14248), 0); v5 = sub_1005DDE90(v4); GJBaseGameLayer::removeObjectFromSection(a1, v5); GameObject::removeGlow(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 536LL))(v5); sub_1007FF150(*(_QWORD *)(a1 + 14248), 0, 1); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source