// // PlayLayer::removeCheckpoint from 0x6f6454 to 0x6f6550 (252 bytes) // // 5 xrefs: // > UILayer::onDeleteCheck @ 0x6ee62c // > PlayLayer::storeCheckpoint @ 0x6f65b0 // > PlayLayer::removeAllCheckpoints @ 0x703448 // > PlayerObject::removePlacedCheckpoint @ 0x74fc48 // > @ 0xd9c30 // // 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 12:51:50 +0000 // __int64 __fastcall PlayLayer::removeCheckpoint(cocos2d::CCArray **this, unsigned __int8 a2) { int v3; // w20 __int64 result; // x0 cocos2d::CCArray *v5; // x0 CheckpointObject *v6; // x0 GameObject *Object; // x20 CheckpointObject *v8; // x0 GameObject *v9; // x20 __int64 v10; // x20 v3 = a2; result = cocos2d::CCArray::count(*(this + 1781)); if ( (_DWORD)result ) { v5 = *(this + 1781); if ( v3 ) { v6 = (CheckpointObject *)cocos2d::CCArray::objectAtIndex(v5, 0); Object = (GameObject *)CheckpointObject::getObject(v6); GJBaseGameLayer::removeObjectFromSection((GJBaseGameLayer *)this, Object); GameObject::removeGlow(Object); (*(void (__fastcall **)(GameObject *))(*(_QWORD *)Object + 536LL))(Object); return cocos2d::CCArray::removeObjectAtIndex(*(this + 1781), 0, 1); } else { v8 = (CheckpointObject *)cocos2d::CCArray::lastObject(v5); v9 = (GameObject *)CheckpointObject::getObject(v8); GJBaseGameLayer::removeObjectFromSection((GJBaseGameLayer *)this, v9); GameObject::removeGlow(v9); (*(void (__fastcall **)(GameObject *))(*(_QWORD *)v9 + 536LL))(v9); cocos2d::CCArray::removeLastObject(*(this + 1781), 1); result = *((unsigned __int8 *)this + 12238); if ( *((_BYTE *)this + 12238) ) { result = *((unsigned __int8 *)this + 12544); if ( *((_BYTE *)this + 12544) ) { result = cocos2d::CCArray::count(*(this + 1781)); if ( (_DWORD)result ) { v10 = cocos2d::CCArray::lastObject(*(this + 1781)); GameObject::makeVisible(*(GameObject **)(v10 + 3112)); result = *((unsigned int *)this + 236); *(_DWORD *)(v10 + 3872) = result; } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source