// // GameObjectCopy::init from 0x36a2a4 to 0x36a308 (100 bytes) // // 1 xrefs: // > GameObjectCopy::create @ 0x36a342 // // 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 // bool GameObjectCopy::init(GameObjectCopy *a1, GameObject *a2) { float v3; // r0 int v4; // r2 bool v5; // r3 bool v6; // r0 GameObject *m_object; // r3 a1->m_object = a2; cocos2d::CCObject::retain(a2); v3 = ((float (__fastcall *)(GameObject *))a1->m_object->getPosition)(a1->m_object); cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_position, v3, v4, v5); LODWORD(a1->m_rotationX) = ((int (__fastcall *)(GameObject *))a1->m_object->getRotationX)(a1->m_object); LODWORD(a1->m_rotationY) = ((int (__fastcall *)(GameObject *))a1->m_object->getRotationY)(a1->m_object); a1->m_isFlipX = a1->m_object->isFlipX(a1->m_object); v6 = a1->m_object->isFlipY(a1->m_object); m_object = a1->m_object; a1->m_customScaleX = m_object->m_scaleX; a1->m_customScaleY = m_object->m_scaleY; a1->m_isFlipY = v6; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source