// // SetupCameraOffsetTrigger::toggleEasingRateVisibility from 0x501ac0 to 0x501b16 (86 bytes) // // 2 xrefs: // > SetupCameraOffsetTrigger::init @ 0x502430 // > SetupCameraOffsetTrigger::onEasing @ 0x502c7e // // 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 SetupCameraOffsetTrigger::toggleEasingRateVisibility(SetupCameraOffsetTrigger *a1) { int isRateEasing; // r5 cocos2d::CCArray *m_gameObjects; // r0 unsigned int i; // r6 int v5; // r0 isRateEasing = GameToolbox::isRateEasing(a1->m_cameraEasingType); 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_cameraEasingRateButton->setVisible(a1->m_cameraEasingRateButton, isRateEasing); }
GD Web Decomp Icon

GD Web Decomp

Raw Source