// // EnhancedGameObject::updateRotateAction from 0x1401a7310 to 0x1401a74a6 (406 bytes) // // 6 xrefs: // > EditorPauseLayer::togglePreviewAnim @ 0x1400dd2be // > LevelEditorLayer::updateVisibility @ 0x1402d92dd // > PlayLayer::updateVisibility @ 0x1403afdc8 // > @ 0x1406797b4 // > @ 0x1406797c4 // > @ 0x1406cc0e4 // // 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 EnhancedGameObject::updateRotateAction(EnhancedGameObject *a1, float a2) { cocos2d::CCArray *v3; // rax cocos2d::ccArray *data; // rsi __int64 num; // rax cocos2d::CCObject **arr; // rsi cocos2d::CCObject **i; // rbp cocos2d::CCObject *v8; // rdi cocos2d::CCObject_vtbl *v9; // rbx cocos2d::CCSprite *m_colorSprite; // rcx __int64 v11; // rax unsigned int *v12; // rsi __int64 v13; // rax __int64 **v14; // rsi __int64 **j; // rbp __int64 *v16; // rdi __int64 v17; // rbx cocos2d::CCSprite *m_glowSprite; // rcx __int64 v19; // rax unsigned int *v20; // rsi __int64 v21; // rax __int64 **v22; // rsi __int64 **k; // rbp __int64 *v24; // rdi __int64 v25; // rbx if ( !a1->m_disableRotation ) { a1->m_rotationAnimationSpeed = a2 + a1->m_rotationAnimationSpeed; if ( a1 ) { v3 = a1->getChildren(a1); if ( v3 ) { data = v3->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { v8 = *arr; if ( !*arr ) break; v9 = v8->__vftable; v8->getTag(*arr); v9[4].canEncode(v8); } } } } m_colorSprite = a1->m_colorSprite; if ( !a1->m_colorSpriteLocked ) { if ( m_colorSprite ) { v11 = (__int64)m_colorSprite->getChildren(m_colorSprite); if ( v11 ) { v12 = *(unsigned int **)(v11 + 56); v13 = *v12; if ( (_DWORD)v13 ) { v14 = *((__int64 ***)v12 + 2); for ( j = &v14[v13 - 1]; v14 <= j; ++v14 ) { v16 = *v14; if ( !*v14 ) break; v17 = *v16; (*(void (__fastcall **)(__int64 *))(*v16 + 56))(*v14); (*(void (__fastcall **)(__int64 *))(v17 + 336))(v16); } } } } } m_glowSprite = a1->m_glowSprite; if ( m_glowSprite ) { v19 = (__int64)m_glowSprite->getChildren(m_glowSprite); if ( v19 ) { v20 = *(unsigned int **)(v19 + 56); v21 = *v20; if ( (_DWORD)v21 ) { v22 = *((__int64 ***)v20 + 2); for ( k = &v22[v21 - 1]; v22 <= k; ++v22 ) { v24 = *v22; if ( !*v22 ) break; v25 = *v24; (*(void (__fastcall **)(__int64 *))(*v24 + 56))(*v22); (*(void (__fastcall **)(__int64 *))(v25 + 336))(v24); } } } } } }