// // SetupPortalPopup::onEditCameraSettings from 0x503be4 to 0x503c3e (90 bytes) // // 0 xrefs: // // 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 SetupPortalPopup::onEditCameraSettings(SetupPortalPopup *a1, cocos2d::CCObject *a2) { cocos2d::CCArray *m_gameObjects; // r5 bool v4; // r3 int v5; // r0 m_gameObjects = a1->m_gameObjects; v4 = !a1->m_cameraSettingsEnabled; a1->m_cameraSettingsEnabled = v4; if ( m_gameObjects ) { BYTE1(m_gameObjects[27].m_uOrderOfArrival) = v4; } else { while ( (unsigned int)m_gameObjects < cocos2d::CCArray::count((cocos2d::CCArray *)a1->m_gameObject) ) { v5 = cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1->m_gameObject, (unsigned int)m_gameObjects); m_gameObjects = (cocos2d::CCArray *)((char *)m_gameObjects + 1); *(_BYTE *)(v5 + 1557) = a1->m_cameraSettingsEnabled; } } if ( a1->m_cameraSettingsEnabled ) { SetupPortalPopup::updateCameraEasing(a1); SetupPortalPopup::updateCameraPadding(a1); } SetupPortalPopup::updateItemVisibility(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source