// // GameObject::fastRotateObject from 0x1005c9e30 to 0x1005c9f07 (215 bytes) // // 1 xrefs: // > GJBaseGameLayer::processTransformActions @ 0x10014579c // // 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 // void __fastcall GameObject::fastRotateObject(GameObject *a1, float a2) { GameObject_vtbl *v2; // rax float v3; // xmm0_4 float (__cdecl **p_getRotation)(cocos2d::CCNode *__hidden); // rax __int64 v5; // r14 float v6; // xmm0_4 a1->m_rotationXOffset = a1->m_rotationXOffset + a2; a1->m_rotationYOffset = a1->m_rotationYOffset + a2; v2 = a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable; if ( a1->m_fRotationX == a1->m_fRotationY ) { p_getRotation = &v2->getRotation; v5 = 344; } else { v3 = ((float (__fastcall *)(GameObject *))v2->getRotationX)(a1); ((void (__fastcall *)(GameObject *, float))a1->setRotationX)(a1, v3 + a2); p_getRotation = &a1->getRotationY; v5 = 376; } v6 = ((float (__fastcall *)(GameObject *))*p_getRotation)(a1); (*(void (__fastcall **)(GameObject *, float))((char *)&a1->copyWithZone + v5))(a1, v6 + a2); if ( a1->m_objectType != Decoration && !a1->m_shouldUseOuterOb ) { a1->m_shouldUseOuterOb = 1; ((void (__fastcall *)(GameObject *))a1->updateOrientedBox)(a1); ((void (__fastcall *)(GameObject *))a1->getObjectRect)(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source