// // PlayLayer::markCheckpoint from 0x140516630 to 0x1405166f3 (195 bytes) // // 4 xrefs: // > PlayerObject::tryPlaceCheckpoint @ 0x140501c71 // > PlayLayer::processCheckpoints @ 0x1405138b5 // > PlayLayer::processCheckpoints @ 0x1405139da // > @ 0x14092ad28 // // 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 11:33:33 +0000 // struct cocos2d::CCObject *__fastcall PlayLayer::markCheckpoint(__int64 a1) { struct cocos2d::CCObject *Checkpoint; // rdi unsigned int v4; // eax __int64 v5; // rcx if ( *(_BYTE *)(*(_QWORD *)(a1 + 3512) + 2504LL) ) return nullptr; Checkpoint = (struct cocos2d::CCObject *)PlayLayer::createCheckpoint(a1); PlayLayer::storeCheckpoint(a1, Checkpoint); (*(void (__fastcall **)(_QWORD *))(**((_QWORD **)Checkpoint + 460) + 1152LL))(*((_QWORD **)Checkpoint + 460)); if ( *(_BYTE *)(a1 + 12670) && *(_BYTE *)(a1 + 13024) && cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 14904)) > 1 ) { v4 = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 14904)); v5 = *((_QWORD *)cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(a1 + 14904), v4 - 2) + 460); *(_BYTE *)(v5 + 774) = 1; *(_BYTE *)(v5 + 1007) = 1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)(v5 + 320) + 40LL))(v5 + 320, 0); } *(_BYTE *)(a1 + 15548) = 0; return Checkpoint; }
GD Web Decomp Icon

GD Web Decomp

Raw Source