// // PlayLayer::PlayLayer from 0x1000bfd90 to 0x1000c0092 (770 bytes) // // 2 xrefs: // > PlayLayer::scene @ 0x1000ac0d2 // > PlayLayer::create @ 0x1000ac160 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // PlayLayer *__fastcall PlayLayer::PlayLayer(PlayLayer *a1) { unsigned int *v1; // rax PlayLayer *result; // rax GJBaseGameLayer::GJBaseGameLayer(a1); a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (PlayLayer_vtbl *)off_1008B6E50; a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1008B7490; a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1008B7500; a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1008B7518; a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)off_1008B7538; a1->GJBaseGameLayer::cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1008B7558; a1->GJBaseGameLayer::TriggerEffectDelegate::__vftable = (TriggerEffectDelegate_vtbl *)off_1008B7580; a1->CCCircleWaveDelegate::__vftable = (CCCircleWaveDelegate_vtbl *)&off_1008B75A8; a1->CurrencyRewardDelegate::__vftable = (CurrencyRewardDelegate_vtbl *)&off_1008B75C0; a1->DialogDelegate::__vftable = (DialogDelegate_vtbl *)&off_1008B75D8; a1->m_statusLabel = nullptr; a1->m_unk3778 = 0.0; *(_QWORD *)&a1->m_unk3780 = 0; a1->m_endChecked = 0; *(_WORD *)&a1->m_unk37b0 = 0; *(_DWORD *)&a1->m_unk36cc = 0; a1->m_damageVerified = 0; *(_OWORD *)&a1->m_objectStrings.__begin_ = 0; *(_OWORD *)&a1->m_objectStrings.__end_cap_.__value_ = 0; a1->m_passedIntegrity = 0; *(_OWORD *)((char *)&a1->m_dynamicSaveObjects2.__end_ + 7) = 0; *(_OWORD *)((char *)&a1->m_dynamicSaveObjects2.__begin_ + 4) = 0; *(_OWORD *)((char *)&a1->m_activeSaveObjects2.__end_ + 4) = 0; *(_OWORD *)((char *)&a1->m_activeSaveObjects1.__end_cap_.__value_ + 4) = 0; *(_OWORD *)((char *)&a1->m_activeSaveObjects1.__begin_ + 4) = 0; *(_OWORD *)((char *)&a1->m_dynamicSaveObjects.__end_ + 4) = 0; *(_OWORD *)&a1->m_objectsCreated = 0; *(_OWORD *)&a1->m_endXPosition = 0; HIDWORD(a1->m_checkpointArray) = 0; sub_10028CC30(&a1->m_enterEffectPosition); a1->m_isSilent = 0; *(_QWORD *)&a1->m_pulseRodIndex = 0; a1->m_attemptLabel = nullptr; *(_WORD *)&a1->m_decimalPercentage = 0; a1->m_gravityEffects = nullptr; a1->m_doNot = 0; a1->m_unk383c = 0.0; a1->m_skipAudioStep = 0; a1->m_blendingColors.__table_.__bucket_list_ = 0; *(_OWORD *)&a1->m_blendingColors.__table_.__p1_.__value_.__next_ = 0; *(_OWORD *)&a1->m_circleWaveArray = 0; a1->m_unk37e0 = 0; *(_OWORD *)&a1->m_progressBar = 0; *(_OWORD *)&a1->m_progressWidth = 0; a1->m_gravityEffectIndex = 0; a1->m_blendingColors.__table_.__p3_.__value_ = 1.0; a1->m_jumps = 0; a1->m_hasJumped = 0; a1->m_lastAttemptPercent = 0; a1->m_endLayerStars = 0; *(_QWORD *)&a1->m_unk38cc = 0; a1->m_infoLabel = nullptr; *(int *)((char *)&a1->m_uncommittedJumps + 3) = 0; a1->m_uncommittedJumps = 0; *(_WORD *)&a1->m_secretKey = 0; *(_QWORD *)&a1->m_orbs = 0; *(_OWORD *)((char *)&a1->m_unk38b8 + 1) = 0; *(_OWORD *)&a1->m_unk38b0 = 0; *(_OWORD *)&a1->m_attemptTime = 0; *(_OWORD *)((char *)&a1->m_pauseDelta + 1) = 0; *(_OWORD *)&a1->m_currentTime = 0; sub_10028CC30(&a1->m_unk3918); sub_10028CC30(&a1->m_unk3920); *(_OWORD *)&a1->m_keyPulses.m_bits.__begin_ = 0; *(_OWORD *)&a1->m_keyOpacities.__end_ = 0; *(_OWORD *)&a1->m_keyColors.__end_cap_.__value_ = 0; *(_OWORD *)&a1->m_keyColors.__begin_ = 0; a1->m_keyPulses.m_bits.__end_cap_.__value_ = nullptr; v1 = (unsigned int *)operator new(8u); *(_QWORD *)v1 = 0; a1->m_keyPulses.m_bits.__begin_ = v1; a1->m_keyPulses.m_bits.__end_ = v1 + 2; a1->m_keyPulses.m_bits.__end_cap_.__value_ = v1 + 2; a1->m_nextColorKey = 0; a1->m_tryPlaceCheckpoint = 0; a1->m_activatedCheckpoint = nullptr; a1->m_musicPrepared = 0; result = (PlayLayer *)sub_10028CC30(&a1->m_endPosition); a1->m_platformerEndTrigger = nullptr; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source