// // LevelEditorLayer::LevelEditorLayer from 0x10036c620 to 0x10036c7ec (460 bytes) // // 1 xrefs: // > LevelEditorLayer::create @ 0x100356b54 // // 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 // LevelEditorLayer *__fastcall LevelEditorLayer::LevelEditorLayer(LevelEditorLayer *a1) { int *p_m_activeGradients; // x21 GJBaseGameLayer *v3; // x0 p_m_activeGradients = &a1->m_activeGradients; v3 = GJBaseGameLayer::GJBaseGameLayer(a1); v3->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJBaseGameLayer_vtbl *)off_1007F3E00; v3->cocos2d::CCLayer::cocos2d::CCTouchDelegate::__vftable = (cocos2d::CCTouchDelegate_vtbl *)off_1007F4438; v3->cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = (cocos2d::CCAccelerometerDelegate_vtbl *)&off_1007F44A8; v3->cocos2d::CCLayer::cocos2d::CCKeypadDelegate::__vftable = (cocos2d::CCKeypadDelegate_vtbl *)off_1007F44C0; v3->cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = (cocos2d::CCKeyboardDelegate_vtbl *)&off_1007F44E0; v3->cocos2d::CCLayer::cocos2d::CCMouseDelegate::__vftable = (cocos2d::CCMouseDelegate_vtbl *)off_1007F4500; v3->TriggerEffectDelegate::__vftable = (TriggerEffectDelegate_vtbl *)off_1007F4528; v3[1].cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJBaseGameLayer_vtbl *)&off_1007F4558; v3[1].m_eObjType = 0; *((_BYTE *)p_m_activeGradients + 1472) = 0; *(_QWORD *)&v3[1].m_sInverse.ty = 0; *((_BYTE *)p_m_activeGradients + 1633) = 0; *((_WORD *)p_m_activeGradients + 829) = 0; HIDWORD(v3[1].m_pParent) = 0; v3[1].m_pUserData = nullptr; *(_QWORD *)((char *)&v3[1].m_nTag + 1) = 0; *(_WORD *)((char *)&v3[1].m_uAutoReleaseCount + 1) = 0; *(_OWORD *)&v3[1].m_unknown2 = 0u; *(_OWORD *)&v3[1].m_fRotationX = 0u; *(_OWORD *)&v3[1].m_fVertexZ = 0u; *(_OWORD *)&v3[1].m_fSkewY = 0u; *(_OWORD *)&v3[1].m_obAnchorPoint.y = 0u; *(_OWORD *)&v3[1].m_sAdditionalTransform.b = 0u; *(_OWORD *)&v3[1].m_sAdditionalTransform.ty = 0u; *(_OWORD *)((char *)&v3[1].m_sTransform.b + 1) = 0u; LOBYTE(v3[1].m_sInverse.tx) = 0; *(_OWORD *)&v3[1].m_sInverse.a = 0u; *(_OWORD *)&v3[1].m_pGrid = 0u; LOBYTE(v3[1].m_pParent) = 0; __asm { FMOV V0.2S, #1.0 } v3[1].m_pUserObject = _D0; v3[1].m_pShaderProgram = nullptr; *(cocos2d::CCGLProgram **)((char *)&v3[1].m_pShaderProgram + 6) = nullptr; *(_OWORD *)&v3[1].m_pScheduler = 0u; *(_OWORD *)&v3[1].m_bRunning = 0u; *(_DWORD *)&v3[1].m_bReorderChildDirty = 0; *(_QWORD *)&v3[1].m_nUpdateScriptHandler = 0; *(cocos2d::ccScriptType *)((char *)&v3[1].m_eScriptType + 3) = kScriptTypeNone; *(_OWORD *)&v3[1].m_bUseChildIndex = 0u; *(_OWORD *)&v3[1].cocos2d::CCLayer::cocos2d::CCAccelerometerDelegate::__vftable = 0u; *(_OWORD *)&v3[1].cocos2d::CCLayer::cocos2d::CCKeyboardDelegate::__vftable = 0u; *(_OWORD *)&v3[1].m_bTouchEnabled = 0u; v3[1].m_pScriptKeypadHandlerEntry = nullptr; *(_OWORD *)&v3[1].m_gameState.m_unkPoint15.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint17.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint11.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint13.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint7.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint9.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint3.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint5.x = 0u; *(_OWORD *)&v3[1].m_gameState.m_cameraZoom = 0u; *(_OWORD *)&v3[1].m_gameState.m_unkPoint1.x = 0u; *(_OWORD *)&v3[1].m_nTouchPriority = 0u; *(_OWORD *)&v3[1].TriggerEffectDelegate::__vftable = 0u; sub_1000229B0(&v3[1].m_gameState.m_unkPoint19); *(_OWORD *)&a1->m_spawnGroupDelays.__end_ = 0u; *(_OWORD *)&a1->m_toggledGroupStates.__end_cap_.__value_ = 0u; *(_OWORD *)&a1->m_toggledGroupStates.__begin_ = 0u; *(_OWORD *)&a1->m_blendingColors2.__end_ = 0u; *(_OWORD *)&a1->m_blendingColors.__end_cap_.__value_ = 0u; *(_OWORD *)&a1->m_blendingColors.__begin_ = 0u; *(_OWORD *)((char *)&a1->m_spawnGroupDelays.__end_cap_.__value_ + 1) = 0u; *(_OWORD *)&a1->m_playbackObject = 0u; *(_OWORD *)&a1->m_traceOutObject = 0u; *(_OWORD *)&a1->m_delayedSpawnNodes.__begin_ = 0u; *(_OWORD *)&a1->m_delayedSpawnNodes.__end_cap_.__value_ = 0u; *(_OWORD *)&a1->m_delayedSpawnNodes2.__end_ = 0u; a1->m_unk3ae0.__table_.__bucket_list_ = 0u; *(_OWORD *)&a1->m_unk3ae0.__table_.__p1_.__value_.__next_ = 0u; a1->m_unk3ae0.__table_.__p3_.__value_ = 1.0; *((_WORD *)p_m_activeGradients + 1132) = 0; *((_BYTE *)p_m_activeGradients + 2266) = 0; *(_OWORD *)&a1->m_unk3b48.__end_ = 0u; *(_OWORD *)((char *)&a1->m_unk3b30.__begin_ + 4) = 0u; *(_OWORD *)((char *)&a1->m_unk3b30.__end_cap_.__value_ + 4) = 0u; *(_OWORD *)&a1->m_unk3b24 = 0u; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source