// // GameObject::GameObject from 0x1001f42c0 to 0x1001f46cd (1037 bytes) // // 10 xrefs: // > SmartGameObject::create @ 0x1001b0c0a // > ParticleGameObject::create @ 0x1001b1597 // > SpecialAnimGameObject::create @ 0x1001b39da // > AnimatedGameObject::create @ 0x1001b631a // > EffectGameObject::EffectGameObject @ 0x1001f3faa // > EndPortalObject::create @ 0x10039c397 // > PlayerObject::PlayerObject @ 0x10041dbee // > TextGameObject::create @ 0x1005a1e0a // > EnhancedGameObject::create @ 0x1005a1eaa // > GameObject::createWithFrame @ 0x1005a1fda // // 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 // GameObject *__fastcall GameObject::GameObject(GameObject *a1) { __int64 v1; // rsi GameObject *result; // rax cocos2d::CCSprite::CCSprite(a1); *(_OWORD *)&a1->m_followers = 0; *(_DWORD *)((char *)&a1->m_followingSprite + 7) = 0; a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GameObject_vtbl *)off_1009713E8; a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable = (cocos2d::CCRGBAProtocol_vtbl *)off_100971B08; a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCTextureProtocol::cocos2d::CCBlendProtocol::__vftable = (cocos2d::CCTextureProtocol_vtbl *)off_100971B88; *(_QWORD *)&a1->m_someOtherIndex = -1; *(_WORD *)&a1->m_isColorSpriteBlack = 0; *(_QWORD *)&a1->m_outerSectionIndex = 0; a1->m_hasExtendedCollision = 0; *(_QWORD *)&a1->m_blackChildOpacity = 0; a1->m_unk28c = 0; *(_QWORD *)&a1->m_activeMainColorID = 0; *(_WORD *)&a1->m_baseUsesHSV = 0; *(_OWORD *)&a1->m_positionXOffset = 0; *(_OWORD *)&a1->m_rotationYOffset = 0; *(_OWORD *)((char *)&a1->m_scaleXOffset + 3) = 0; sub_10028CC30(&a1->m_customBoxOffset); a1->m_boxOffsetCalculated = 1; sub_10028CC30(&a1->m_boxOffset); a1->m_orientedBox = nullptr; a1->m_shouldUseOuterOb = 0; a1->m_glowSprite = nullptr; a1->m_isRingPoweredOn = 0; *(_QWORD *)&a1->m_width = 0; *(float *)((char *)&a1->m_height + 3) = 0.0; *(_OWORD *)&a1->m_particle = 0; *(_OWORD *)&a1->m_particleString.m_data.m_long.size = 0; *(_DWORD *)((char *)&a1->m_particleString.m_data.m_long.longStorage + 7) = 0; sub_10028CC30(&a1->m_particleOffset); a1->m_isParticleSpriteLocked = 0; sub_10028D130(&a1->m_textureRect, v1); *(_WORD *)&a1->m_isDirty = 0; a1->m_isUnmodifiedPosDirty = 1; a1->m_fadeMargin = 0.0; sub_10028D130(&a1->m_objectRect, v1); a1->m_objectRadius = 0.0; a1->m_isRotationAligned = 0; *(_DWORD *)&a1->m_isObjectRectDirty = 0; *(_WORD *)&a1->m_canRotateFree = 0; *(_OWORD *)&a1->m_linkedGroup = 0; *(_OWORD *)((char *)&a1->m_colorType + 1) = 0; *(_OWORD *)&a1->m_spriteWidthScale = 0; a1->m_unk390 = 7; *(_QWORD *)&a1->m_unmodifiedPositionX = 0; *(_OWORD *)&a1->m_positionX = 0; sub_10028CC30(&a1->m_startPosition); *(_WORD *)&a1->m_usesAudioScale = 0; a1->m_isDisabled = 0; *(__m128i *)&a1->m_startRotationX = _mm_load_si128((const __m128i *)&xmmword_100815DE0); a1->m_unk3DE = 0; *(_OWORD *)&a1->m_customScaleX = 0; *(_QWORD *)&a1->m_enterType = 0; a1->m_unk3E8 = 0; a1->m_parentMode = -1; a1->m_hasNoGlow = 0; a1->m_targetColor = 1; a1->m_slopeDirection = 0; a1->m_slopeIsHazard = 0; *(_QWORD *)&a1->m_objectID = 0; *(_DWORD *)&a1->m_ignoreFade = 0; *(_DWORD *)&a1->m_customColorType = 0; *(_WORD *)&a1->m_hasNoEffects = 0; a1->m_defaultZOrder = 0; *(int *)((char *)&a1->m_defaultZOrder + 3) = 0; a1->m_particleLocked = 0; *(_QWORD *)&a1->m_minAudioScale = 0; *(_QWORD *)&a1->m_customGlowColor = 0; *(_QWORD *)&a1->m_property53 = 0; *(_OWORD *)&a1->m_opacityMod2 = 0; *(GJSpriteColor **)((char *)&a1->m_detailColor + 1) = nullptr; a1->m_defaultZLayer = T1; a1->m_zFixedZLayer = 0; a1->m_unk460 = 0.0; *(_QWORD *)&a1->m_zLayer = 0; *(_WORD *)&a1->m_wasSelected = 0; sub_10028CC30(&a1->m_unk464); *(_DWORD *)&a1->m_updateParents = 0; *(_OWORD *)&a1->m_scaleX = 0x3F8000003F800000uLL; a1->m_groupCount = 0; a1->m_hasGroupParentsString = 0; a1->m_colorGroups = nullptr; a1->m_colorGroupCount = 0; a1->m_opacityGroups = nullptr; *(std::array **)((char *)&a1->m_opacityGroups + 6) = nullptr; a1->m_enabledGroupsCounter = 0; *(int *)((char *)&a1->m_enabledGroupsCounter + 3) = 0; sub_10028CF90(&a1->m_lastSize); result = (GameObject *)sub_10028CC30(&a1->m_lastPosition); *(_OWORD *)&a1->m_unk4C0 = -1; a1->m_isHighDetail = 0; *(_QWORD *)&a1->m_classType = 0; *(_WORD *)&a1->m_canBeControlled = 0; *(_OWORD *)&a1->m_mainActionSprite = 0; *(_OWORD *)&a1->m_goEffectManager = 0; *(_OWORD *)&a1->m_isDecoration = 0; *(_QWORD *)&a1->m_unk50C = 0x3F8000003F800000LL; *(_QWORD *)&a1->m_pixelScaleY = 1065353216; a1->m_detailColorKeyIndex = 0; a1->m_areaOpacityRelated = -1; *(_QWORD *)&a1->m_areaOpacityValue = 0; *(_QWORD *)((char *)&a1->m_areaOpacityIndex + 3) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source