// // SetupPortalPopup::onEditCameraSettings from 0x96aa38 to 0x96aabc (132 bytes) // // 3 xrefs: // > @ 0x384a8 // > SetupPortalPopup::init @ 0x96a30c // > @ 0x1229bd8 // // 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) { bool v3; // w0 cocos2d::CCArray *m_gameObjects; // x1 unsigned int v5; // w20 bool v6; // cf unsigned int v7; // w1 v3 = !a1->m_cameraSettingsEnabled; m_gameObjects = a1->m_gameObjects; a1->m_cameraSettingsEnabled = v3; if ( m_gameObjects ) { BYTE5(m_gameObjects[27].__vftable) = v3; } else { v5 = 0; while ( 1 ) { v6 = v5 >= (unsigned int)cocos2d::CCArray::count((cocos2d::CCArray *)a1->m_gameObject); v7 = v5++; if ( v6 ) break; *(_BYTE *)(cocos2d::CCArray::objectAtIndex((cocos2d::CCArray *)a1->m_gameObject, v7) + 1733) = 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