// // SetupCameraModePopup::onEditCameraSettings from 0xa17094 to 0xa17118 (132 bytes) // // 3 xrefs: // > @ 0xa1a18 // > SetupCameraModePopup::init @ 0xa167ec // > @ 0x122d900 // // 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 SetupCameraModePopup::onEditCameraSettings(SetupCameraModePopup *a1, cocos2d::CCObject *a2) { bool v3; // w0 EffectGameObject *m_gameObject; // x1 unsigned int v5; // w20 bool v6; // cf unsigned int v7; // w1 v3 = !a1->m_cameraSettingsEnabled; m_gameObject = a1->m_gameObject; a1->m_cameraSettingsEnabled = v3; if ( m_gameObject ) { m_gameObject->m_cameraEditCameraSettings = v3; } else { v5 = 0; while ( 1 ) { v6 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v7 = v5++; if ( v6 ) break; *(_BYTE *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7) + 1733) = a1->m_cameraSettingsEnabled; } } if ( a1->m_cameraSettingsEnabled ) { SetupCameraModePopup::updateCameraEasing(a1); SetupCameraModePopup::updateCameraPadding(a1); } SetupCameraModePopup::updateItemVisibility(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source