// // GJRotateCommandLayer::toggleEasingRateVisibility from 0x4df000 to 0x4df056 (86 bytes) // // 2 xrefs: // > GJRotateCommandLayer::init @ 0x4dfa64 // > GJRotateCommandLayer::onEasing @ 0x4e07b6 // // 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 GJRotateCommandLayer::toggleEasingRateVisibility(GJRotateCommandLayer *a1) { int isRateEasing; // r5 cocos2d::CCArray *m_gameObjects; // r0 unsigned int i; // r6 int v5; // r0 isRateEasing = GameToolbox::isRateEasing(a1->m_rotateEasingType); if ( !isRateEasing ) { m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { if ( cocos2d::CCArray::count(m_gameObjects) ) { for ( i = 0; i < cocos2d::CCArray::count(a1->m_gameObjects); ++i ) { v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, i); if ( !GameToolbox::isRateEasing(*(_DWORD *)(v5 + 1308)) ) goto LABEL_9; } isRateEasing = 1; } } } LABEL_9: a1->m_rotateEasingRateButton->setVisible(a1->m_rotateEasingRateButton, isRateEasing); }
GD Web Decomp Icon

GD Web Decomp

Raw Source