// // GameObject::addRotation_1 from 0x1005bbdc0 to 0x1005bbe37 (119 bytes) // // 5 xrefs: // > GJBaseGameLayer::processRotationActions @ 0x1001462f9 // > GJBaseGameLayer::processRotationActions @ 0x1001463c7 // > GJBaseGameLayer::rotateObject @ 0x100147397 // > GJBaseGameLayer::rotateObjects @ 0x1001477f5 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x10014a5ab // // 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::addRotation_1(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 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); }
GD Web Decomp Icon

GD Web Decomp

Raw Source